[MacPorts] #61477: clang-9.0 fails to build on Big Sur macOS 11.0.1 Xcode 12.2
MacPorts
noreply at macports.org
Sun Nov 15 16:32:55 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 kencu):
{{{
:info:build [ 27%] Building C object
lib/Support/CMakeFiles/LLVMSupport.dir/regexec.c.o
:info:build cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/clang-9.0/work/build/lib/Support
&& /usr/bin/clang -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-9.0/clang-9.0/work/build/lib/Support
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/clang-9.0/work/llvm-9.0.1.src/lib/Support
-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-9.0/clang-9.0/work/build/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/clang-9.0/work/llvm-9.0.1.src/include
-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
-fPIC -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers
-pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default
-Wdelete-non-virtual-dtor -Wstring-conversion -DNDEBUG -arch x86_64
-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
-mmacosx-version-min=11.0 -o CMakeFiles/LLVMSupport.dir/regexec.c.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/clang-9.0/work/llvm-9.0.1.src/lib/Support/regexec.c
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/clang-9.0/work/llvm-9.0.1.src/projects
/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:169:31: error:
invalid application of 'sizeof' to an incomplete type 'struct 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-9.0/clang-9.0/work/llvm-9.0.1.src/projects
/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:169:45: note:
forward declaration 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-9.0/clang-9.0/work/llvm-9.0.1.src/projects
/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:195:33: error:
invalid application 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-9.0/clang-9.0/work/llvm-9.0.1.src/projects
/compiler-
rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:195:47: note:
forward declaration of '__sanitizer::statfs64'
:info:build unsigned struct_statfs64_sz = sizeof(struct statfs64);
:info:build ^
:info:build 2 errors generated.
:info:build make[2]: *** [projects/compiler-
rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.osx.dir/sanitizer_platform_limits_posix.cc.o]
Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61477#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list