[MacPorts] #60481: clang-devel @20200505-6d6d48ad does not build on El Capitan 10.11

MacPorts noreply at macports.org
Wed May 13 12:55:30 UTC 2020


#60481: clang-devel @20200505-6d6d48ad does not build on El Capitan 10.11
-----------------------+-------------------------
 Reporter:  snowflake  |      Owner:  kencu
     Type:  defect     |     Status:  assigned
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.6.99
 Keywords:             |       Port:  clang-devel
-----------------------+-------------------------
 My error is the same as the buildbot.

 {{{
 [  5%] Building C object projects/compiler-
 rt/lib/builtins/CMakeFiles/clang_rt.cc_kext_i386_osx.dir/__/profile/InstrProfiling.c.o
 cd /opt/local/var/macports/build/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_lang_llvm-devel/clang-
 devel/work/build/projects/compiler-rt/lib/builtins && /opt/local/bin
 /clang-mp-9.0 -DKERNEL_USE -D_DEBUG -D__STDC_CONSTANT_MACROS
 -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
 -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_lang_llvm-devel/clang-
 devel/work/build/projects/compiler-rt/lib/builtins
 -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_lang_llvm-devel/clang-devel/work/llvm-
 project/llvm/projects/compiler-rt/lib/builtins
 -I//opt/local/include/libxml2
 -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_lang_llvm-devel/clang-
 devel/work/build/include
 -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_lang_llvm-devel/clang-devel/work/llvm-
 project/llvm/include
 -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_lang_llvm-devel/clang-devel/work/llvm-
 project/llvm/projects/compiler-rt/lib/builtins/../../include  -arch i386
 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-
 version-min=10.5 -fPIC -O3 -fvisibility=hidden -DVISIBILITY_HIDDEN -Wall
 -fomit-frame-pointer -arch i386 -mkernel -UNDEBUG -o
 CMakeFiles/clang_rt.cc_kext_i386_osx.dir/__/profile/InstrProfiling.c.o
 -c /opt/local/var/macports/build/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_lang_llvm-devel/clang-devel/work/llvm-
 project/llvm/projects/compiler-rt/lib/profile/InstrProfiling.c
 In file included from
 /opt/local/var/macports/build/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_lang_llvm-devel/clang-devel/work/llvm-
 project/llvm/projects/compiler-rt/lib/profile/InstrProfiling.c:14:
 In file included from
 /opt/local/var/macports/build/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_lang_llvm-devel/clang-devel/work/llvm-
 project/llvm/projects/compiler-rt/lib/profile/InstrProfiling.h:12:
 In file included from
 /opt/local/var/macports/build/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_lang_llvm-devel/clang-devel/work/llvm-
 project/llvm/projects/compiler-rt/lib/profile/InstrProfilingPort.h:112:
 In file included from /opt/local/include/LegacySupport/unistd.h:32:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:72:
 /opt/local/include/LegacySupport/sys/unistd.h:56:12: error: conflicting
 types for 'getattrlistat'
 extern int getattrlistat(int dirfd, const char *pathname, struct attrlist
 *a,
            ^
 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/unistd.h:209:5:
 note: previous declaration is here
 int     getattrlistat(int, const char *, void *, void *, size_t, unsigned
 long) __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0);
         ^
 1 error generated.
 make[2]: *** [projects/compiler-
 rt/lib/builtins/CMakeFiles/clang_rt.cc_kext_i386_osx.dir/__/profile/InstrProfiling.c.o]
 Error 1
 }}}

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


More information about the macports-tickets mailing list