=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for clang-16.0.6.src.tar.xz => Checksum SHA512 OK for clang-16.0.6.src.tar.xz => Checksum BLAKE2s OK for cmake-16.0.6.src.tar.xz => Checksum SHA512 OK for cmake-16.0.6.src.tar.xz ===> Installing dependencies for clang-16.0.6nb1 ========================================================================== The supported build options for clang are: tests z3 You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.clang (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, clang-16.0.6nb1. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 311 * TERMINFO_DEFAULT = terminfo Based on these variables, the following variables have been set: * PYPACKAGE = python311 * TERMINFO_TYPE = terminfo You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency cmake>=3.18: found cmake-3.27.8 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency llvm-16.0.6{,nb*}: found llvm-16.0.6nb1 => Full dependency llvm>=16.0.0<17: found llvm-16.0.6nb1 => Full dependency perl>=5.0: found perl-5.38.0 => Full dependency libxml2>=2.10.4nb3: found libxml2-2.10.4nb4 => Full dependency python311>=3.11.0: found python311-3.11.6nb4 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for clang-16.0.6nb1 ===> Extracting for clang-16.0.6nb1 /bin/ln -f -s /tmp/lang/clang/work/cmake-16.0.6.src /tmp/lang/clang/work/cmake /bin/mkdir -p /tmp/lang/clang/work/clang-16.0.6.src/build ===> Patching for clang-16.0.6nb1 => Applying pkgsrc patches for clang-16.0.6nb1 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-lib_Basic_Targets_OSTargets.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-lib_Basic_Targets_OSTargets.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_Basic_Targets_OSTargets.h,v 1.4 2019/10/19 13:54:29 adam Exp $ | |Sync SunOS default defines with a working reality. |NetBSD __float128, needed to build anything with base libstdc++ |which assumes __float128. | |--- lib/Basic/Targets/OSTargets.h.orig 2019-08-01 08:49:35.000000000 +0000 |+++ lib/Basic/Targets/OSTargets.h -------------------------- Patching file lib/Basic/Targets/OSTargets.h using Plan A... Hunk #1 succeeded at 437 (offset 1 line). Hunk #2 succeeded at 653 (offset 33 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-lib_Driver_ToolChain.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-lib_Driver_ToolChain.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_Driver_ToolChain.cpp,v 1.2 2021/07/12 18:42:06 adam Exp $ | |[LLD] Add NetBSD support as a new flavor of LLD (nb.lld) |https://reviews.llvm.org/D70048 | |--- lib/Driver/ToolChain.cpp.orig 2019-07-11 19:06:38.000000000 +0000 |+++ lib/Driver/ToolChain.cpp -------------------------- Patching file lib/Driver/ToolChain.cpp using Plan A... Hunk #1 succeeded at 697 (offset 191 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-lib_Driver_ToolChains_Solaris.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-lib_Driver_ToolChains_Solaris.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_Driver_ToolChains_Solaris.cpp,v 1.11 2023/10/06 19:15:20 adam Exp $ | |Use compiler-rt instead of libgcc. |Pull in libcxx correctly. |Specify paths to system objects explicitly. |Don't specify --dynamic-linker, makes it impossible for the user to use -Wl,-r |Ensure we reset to -zdefaultextract prior to adding compiler-rt. |Test removing -Bdynamic for golang. | |--- lib/Driver/ToolChains/Solaris.cpp.orig 2023-04-05 05:36:38.000000000 +0200 |+++ lib/Driver/ToolChains/Solaris.cpp 2023-04-29 00:04:57.086200010 +0200 -------------------------- Patching file lib/Driver/ToolChains/Solaris.cpp using Plan A... Hunk #1 succeeded at 52. Hunk #2 succeeded at 86. Hunk #3 succeeded at 107. Hunk #4 succeeded at 124. Hunk #5 succeeded at 146. Hunk #6 succeeded at 153. Hunk #7 succeeded at 179. Hunk #8 succeeded at 209. Hunk #9 succeeded at 236. Hunk #10 succeeded at 293. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-lib_Driver_ToolChains_Solaris.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-lib_Driver_ToolChains_Solaris.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_Driver_ToolChains_Solaris.h,v 1.4 2021/07/12 18:42:06 adam Exp $ | |Override AddCXXStdlibLibArgs(). | |--- lib/Driver/ToolChains/Solaris.h.orig 2021-04-06 16:38:18.000000000 +0000 |+++ lib/Driver/ToolChains/Solaris.h -------------------------- Patching file lib/Driver/ToolChains/Solaris.h using Plan A... Hunk #1 succeeded at 59. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-lib_Interpreter_IncrementalParser.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-lib_Interpreter_IncrementalParser.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_Interpreter_IncrementalParser.cpp,v 1.1 2022/12/27 10:49:42 he Exp $ | |NetBSD doesn't have ENOTRECOVERABLE, so doesn't have |std::errc::state_not_recoverable either. Use |std::errc::operation_not_supported instead. | |--- lib/Interpreter/IncrementalParser.cpp.orig 2022-11-16 06:28:29.000000000 +0000 |+++ lib/Interpreter/IncrementalParser.cpp -------------------------- Patching file lib/Interpreter/IncrementalParser.cpp using Plan A... Hunk #1 succeeded at 53. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-lib_Lex_InitHeaderSearch.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-lib_Lex_InitHeaderSearch.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_Lex_InitHeaderSearch.cpp,v 1.3 2023/10/06 19:15:20 adam Exp $ | |Don't add /usr/local/include by default on Solaris. |was: patch-lib_Frontend_InitHeaderSearch.cpp | |--- lib/Lex/InitHeaderSearch.cpp.orig 2023-04-05 05:36:38.000000000 +0200 |+++ lib/Lex/InitHeaderSearch.cpp 2023-04-28 23:52:32.313523683 +0200 -------------------------- Patching file lib/Lex/InitHeaderSearch.cpp using Plan A... Hunk #1 succeeded at 236. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-tools_clang-shlib_CMakeLists.txt => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-tools_clang-shlib_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-tools_clang-shlib_CMakeLists.txt,v 1.2 2022/01/14 08:58:48 tm Exp $ | |-B flag symbolic-functions is not supported on Solaris before 11.4 | |--- tools/clang-shlib/CMakeLists.txt.orig 2021-09-24 16:18:10.000000000 +0000 |+++ tools/clang-shlib/CMakeLists.txt -------------------------- Patching file tools/clang-shlib/CMakeLists.txt using Plan A... Hunk #1 succeeded at 50. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-tools_libclang_CMakeLists.txt => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-tools_libclang_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-tools_libclang_CMakeLists.txt,v 1.2 2022/01/14 08:58:48 tm Exp $ | |Only the linker on Solaris 11.4 supports GNU ld version script and only if |the special option gnu-version-script-compat is used. Older Solaris linker |doesn't support version script. | |--- tools/libclang/CMakeLists.txt.orig 2021-09-24 16:18:10.000000000 +0000 |+++ tools/libclang/CMakeLists.txt -------------------------- Patching file tools/libclang/CMakeLists.txt using Plan A... Hunk #1 succeeded at 185 (offset 18 lines). done ===> Creating toolchain wrappers for clang-16.0.6nb1 ===> Configuring for clang-16.0.6nb1 => Replacing python interpreter in bindings/python/examples/cindex/cindex-dump.py bindings/python/examples/cindex/cindex-includes.py docs/tools/dump_ast_matchers.py docs/tools/dump_format_style.py docs/tools/generate_formatted_state.py lib/Tooling/DumpTool/generate_cxx_src_locs.py test/AST/gen_ast_dump_json_test.py test/Analysis/check-analyzer-fixit.py test/Driver/check-time-trace-sections.py tools/clang-format/clang-format-diff.py tools/clang-format/git-clang-format tools/scan-build-py/bin/analyze-build tools/scan-build-py/bin/intercept-build tools/scan-build-py/bin/scan-build tools/scan-build-py/libexec/analyze-c++ tools/scan-build-py/libexec/analyze-cc tools/scan-build-py/libexec/intercept-c++ tools/scan-build-py/libexec/intercept-cc tools/scan-build/bin/set-xcode-analyzer tools/scan-view/bin/scan-view tools/scan-view/share/Reporter.py tools/scan-view/share/startfile.py utils/ABITest/ABITestGen.py utils/CIndex/completion_logger_server.py utils/CaptureCmd utils/CmpDriver utils/FindSpecRefs utils/FuzzTest utils/TestUtils/deep-stack.py utils/analyzer/CmpRuns.py utils/analyzer/SATest.py utils/analyzer/SATestAdd.py utils/analyzer/SATestBuild.py utils/analyzer/SATestUpdateDiffs.py utils/analyzer/SumTimerInfo.py utils/analyzer/exploded-graph-rewriter.py utils/check_cfc/check_cfc.py utils/check_cfc/obj_diff.py utils/check_cfc/test_check_cfc.py utils/clangdiag.py utils/convert_arm_neon.py utils/creduce-clang-crash.py utils/hmaptool/hmaptool utils/modfuzz.py utils/module-deps-to-rsp.py utils/token-delta.py www/builtins.py www/make_cxx_dr_status. => Replacing Perl interpreter in test/make_test_dirs.pl tools/scan-build/bin/scan-build tools/scan-build/libexec/c++-analyzer tools/scan-build/libexec/ccc-analyzer utils/TestUtils/pch-test.pl utils/analyzer/reducer.pl utils/analyzer/update_plist_test.pl www/demo/index.cgi. WARNING: [replace-interpreter] Skipping non-existent file "test/make_test_dirs.pl". => Fixing CMAKE_MODULE_PATH in CMakeLists.txt INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt". => Checking for portability problems in extracted files CMake Deprecation Warning at /tmp/lang/clang/work/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy): The OLD behavior for policy CMP0114 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:6 (include) -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /tmp/lang/clang/work/.cwrapper/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /tmp/lang/clang/work/.cwrapper/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test Terminfo_LINKABLE -- Performing Test Terminfo_LINKABLE - Success -- Found Terminfo: /usr/lib/libterminfo.so -- Found ZLIB: /usr/lib/libz.so (found version "1.2.10") -- Found zstd: /usr/pkg/lib/libzstd.so -- Found LibXml2: /usr/pkg/lib/libxml2.so (found version "2.10.4") -- Linker detection: GNU ld -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test C_SUPPORTS_WERROR_DATE_TIME -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG - Failed -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG - Failed -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Failed -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Failed -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success -- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG -- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Failed -- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG -- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Failed -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FDATA_SECTIONS -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success -- Looking for os_signpost_interval_begin -- Looking for os_signpost_interval_begin - not found -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success -- Performing Test LLVM_HAS_ATOMICS -- Performing Test LLVM_HAS_ATOMICS - Success -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Clang version: 16.0.6 -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Failed -- Could NOT find Git (missing: GIT_EXECUTABLE) CMake Warning (dev) at tools/nvptx-arch/CMakeLists.txt:13 (find_package): Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake --help-policy CMP0146" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring done (28.5s) -- Generating done (2.3s) CMake Warning: Manually-specified variables were not used by the project: PYTHON_EXECUTABLE PYTHON_INCLUDE_DIR PYTHON_INCLUDE_PATH PYVERSSUFFIX Python3_INCLUDE_DIR Python_EXECUTABLE Python_INCLUDE_DIR -- Build files have been written to: /tmp/lang/clang/work/clang-16.0.6.src/build => Rewrite cmake Dependencies files