[MacPorts] #61477: clang-9.0 fails to build on Big Sur macOS 11.0.1 Xcode 12.2
MacPorts
noreply at macports.org
Mon Nov 16 19:01:34 UTC 2020
#61477: clang-9.0 fails to build on Big Sur macOS 11.0.1 Xcode 12.2
------------------------+----------------------
Reporter: jhoyt4 | Owner: kencu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: clang-9.0 |
------------------------+----------------------
Comment (by karoliskoncevicius):
For me clang-devel is also failing:
{{{
---> Attempting to fetch clang-
devel-20200531-77e1181d_0+analyzer+assertions+libstdcxx.darwin_20.x86_64.tbz2
from https://nue.de.packages.macports.org/clang-devel
---> Attempting to fetch clang-
devel-20200531-77e1181d_0+analyzer+assertions+libstdcxx.darwin_20.x86_64.tbz2
from https://lil.fr.packages.macports.org/clang-devel
---> Attempting to fetch clang-
devel-20200531-77e1181d_0+analyzer+assertions+libstdcxx.darwin_20.x86_64.tbz2
from https://mse.uk.packages.macports.org/clang-devel
---> Fetching distfiles for clang-devel
---> Verifying checksums for clang-devel
---> Extracting clang-devel
---> Applying patches to clang-devel
Warning: reinplace s|/usr/bin/env python|/opt/local/bin/python3.8|g didn't
change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work
/llvm-project/llvm/tools/clang/tools/scan-build/bin/set-xcode-analyzer
---> Configuring clang-devel
---> Building clang-devel
Error: Failed to build clang-devel: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port clang-devel failed
}}}
The log:
{{{
:info:build unsigned struct_stat64_sz = sizeof(struct stat64);
:info:build ^ ~~~~~~~~~~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work
/llvm-project/llvm/projects/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:174:45: note:
forward declar ation of '__sanitizer::stat64'
:info:build unsigned struct_stat64_sz = sizeof(struct stat64);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work
/llvm-project/llvm/projects/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:201:33: error:
invalid appli cation of 'sizeof' to an incomplete type 'struct statfs64'
:info:build unsigned struct_statfs64_sz = sizeof(struct statfs64);
:info:build ^ ~~~~~~~~~~~~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work
/llvm-project/llvm/projects/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:201:47: note:
forward declar ation of '__sanitizer::statfs64'
:info:build unsigned struct_statfs64_sz = sizeof(struct statfs64);
:info:build ^
:info:build [ 16%] Copying cfi_blacklist.txt...
:info:build cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_llvm-devel/clang-
devel/work/build/projects/compiler-rt/lib/cfi && /opt/local/bin/cmake -E
copy_if_different /opt/local/var/macports/build/_opt_local_
var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work
/llvm-project/llvm/projects/compiler-rt/lib/cfi/cfi_blacklist.txt
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports
_lang_llvm-devel/clang-
devel/work/build/./lib/clang/11.0.0/share/cfi_blacklist.txt
:info:build 2 errors generated.
:info:build make[2]: *** [projects/compiler-
rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.osx.dir/sanitizer_platform_limits_posix.cpp.o]
Error 1
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_llvm-devel/clang-
devel/work/build'
:info:build make[1]: *** [projects/compiler-
rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.osx.dir/all] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build [ 16%] Building CXX object utils/TableGen/CMakeFiles/obj
.llvm-tblgen.dir/InstrInfoEmitter.cpp.o
}}}
...
{{{
:info:build make: *** [all] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_llvm-devel/clang-
devel/work/build'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_llvm-devel/clang-
devel/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON-
:info:build Exit code: 2
:error:build Failed to build clang-devel: command execution failed
:debug:build Error code: CHILDSTATUS 62223 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec build"
:debug:build (procedure "portbuild::build_main" line 8)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/main.log
for details.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61477#comment:20>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list