[MacPorts] #57694: clang-6.0: build fails in compiler_rt on < SnowLeopard due to fatal error: 'dispatch/dispatch.h' file not found

MacPorts noreply at macports.org
Wed Nov 28 07:15:59 UTC 2018


#57694: clang-6.0: build fails in compiler_rt on < SnowLeopard due to fatal error:
'dispatch/dispatch.h' file not found
--------------------+-----------------------
 Reporter:  kencu   |      Owner:  jeremyhu
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  clang-6.0
--------------------+-----------------------
 libdispatch is available on SnowLeopard and newer:
 {{{
 :info:build [ 12%] Building C object projects/compiler-
 rt/lib/builtins/CMakeFiles/clang_rt.builtins_x86_64_10.4.dir/os_version_check.c.o
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-6.0/clang-6.0/work/build/projects
 /compiler-rt/lib/builtins && /opt/local/bin/clang-mp-3.7
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS
 -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-6.0/clang-6.0/work/build/projects
 /compiler-rt/lib/builtins
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-6.0/clang-6.0/work/llvm-6.0.1.src/projects
 /compiler-rt/lib/builtins -I/opt/local/include/libxml2
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-6.0/clang-6.0/work/build/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-6.0/clang-6.0/work/llvm-6.0.1.src/include
 -DNDEBUG -arch x86_64    -isysroot /Developer/SDKs/MacOSX10.5.sdk
 -mmacosx-version-min=10.4 -fPIC -O3 -fvisibility=hidden
 -DVISIBILITY_HIDDEN -Wall -fomit-frame-pointer -arch x86_64 -o
 CMakeFiles/clang_rt.builtins_x86_64_10.4.dir/os_version_check.c.o   -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-6.0/clang-6.0/work/llvm-6.0.1.src/projects
 /compiler-rt/lib/builtins/os_version_check.c
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-6.0/clang-6.0/work/llvm-6.0.1.src/projects
 /compiler-rt/lib/builtins/os_version_check.c:19:10: fatal error:
 'dispatch/dispatch.h' file not found
 :info:build #include <dispatch/dispatch.h>
 :info:build          ^
 :info:build 1 error generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/57694>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list