=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. => Checksum SHA1 OK for cfe-8.0.1.src.tar.xz => Checksum RMD160 OK for cfe-8.0.1.src.tar.xz => Checksum SHA512 OK for cfe-8.0.1.src.tar.xz ===> Installing dependencies for clang-8.0.1 ========================================================================== The supported build options for clang are: tests 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-8.0.1. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 37 * TERMINFO_DEFAULT = terminfo Based on these variables, the following variables have been set: * PYPACKAGE = python37 * TERMINFO_TYPE = terminfo You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency cmake>=2.8.1nb1: found cmake-3.15.3 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency llvm-8.0.1{,nb*}: found llvm-8.0.1nb1 => Full dependency llvm>=8.0.0: found llvm-8.0.1nb1 => Full dependency libxml2>=2.8.0nb2: found libxml2-2.9.9 => Full dependency python37>=3.7.0: found python37-3.7.4 ===> Overriding tools for clang-8.0.1 ===> Extracting for clang-8.0.1 /bin/mkdir -p /tmp/lang/clang/work/build ===> Patching for clang-8.0.1 => Applying pkgsrc patches for clang-8.0.1 => 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.3 2018/12/09 20:04:38 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 2018-07-23 17:44:00.000000000 +0000 |+++ lib/Basic/Targets/OSTargets.h -------------------------- Patching file lib/Basic/Targets/OSTargets.h using Plan A... Hunk #1 succeeded at 406 (offset 42 lines). Hunk #2 succeeded at 590 (offset 42 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.3 2019/01/23 15:44:34 jperkin 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 2018-02-06 13:21:12.000000000 +0000 |+++ lib/Driver/ToolChains/Solaris.cpp -------------------------- Patching file lib/Driver/ToolChains/Solaris.cpp using Plan A... Hunk #1 succeeded at 49. Hunk #2 succeeded at 84. Hunk #3 succeeded at 104. Hunk #4 succeeded at 129. Hunk #5 succeeded at 183. Hunk #6 succeeded at 205. Hunk #7 succeeded at 263. 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.3 2019/01/23 15:44:34 jperkin Exp $ | |Override AddCXXStdlibLibArgs(). | |--- lib/Driver/ToolChains/Solaris.h.orig 2018-02-05 23:59:13.000000000 +0000 |+++ lib/Driver/ToolChains/Solaris.h -------------------------- Patching file lib/Driver/ToolChains/Solaris.h using Plan A... Hunk #1 succeeded at 60 (offset -2 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-lib_Frontend_InitHeaderSearch.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/clang/patches/patch-lib_Frontend_InitHeaderSearch.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_Frontend_InitHeaderSearch.cpp,v 1.2 2018/12/09 20:04:38 adam Exp $ | |Don't add /usr/local/include by default on Solaris. | |--- lib/Frontend/InitHeaderSearch.cpp.orig 2018-06-28 23:23:45.000000000 +0000 |+++ lib/Frontend/InitHeaderSearch.cpp -------------------------- Patching file lib/Frontend/InitHeaderSearch.cpp using Plan A... Hunk #1 succeeded at 221. done ===> Creating toolchain wrappers for clang-8.0.1 ===> Configuring for clang-8.0.1 => Patching toolchain to use libstdc++ (matching the host compiler) WARNING: [subst.mk:libcxx] Ignoring non-existent file "./lib/Driver/ToolChains.cpp". WARNING: [subst.mk:libcxx] Ignoring non-existent file "./lib/Driver/Tools.cpp". => 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 tools/clang-format/clang-format-diff.py tools/clang-format/git-clang-format tools/scan-build/bin/set-xcode-analyzer tools/scan-view/bin/scan-view 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/SATestAdd.py utils/analyzer/SATestBuild.py utils/analyzer/SumTimerInfo.py utils/analyzer/ubiviz utils/check_cfc/check_cfc.py utils/check_cfc/obj_diff.py utils/check_cfc/test_check_cfc.py utils/hmaptool/hmaptool utils/token-delta.py www/builtins.py. WARNING: [replace-interpreter] Skipping non-existent file "utils/analyzer/ubiviz". => 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. => Fixing CMAKE_MODULE_PATH in CMakeLists.txt INFO: [subst.mk:cmake] Nothing changed in ./CMakeLists.txt. => Checking for portability problems in extracted files -- The C compiler identification is GNU 7.4.0 -- The CXX compiler identification is GNU 7.4.0 -- Check for working C compiler: /tmp/lang/clang/work/.cwrapper/bin/gcc -- Check for working C compiler: /tmp/lang/clang/work/.cwrapper/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /tmp/lang/clang/work/.cwrapper/bin/c++ -- Check for working CXX compiler: /tmp/lang/clang/work/.cwrapper/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found LLVM_CONFIG as /usr/pkg/bin/llvm-config CMake Deprecation Warning at CMakeLists.txt:17 (message): Using llvm-config to detect the LLVM installation is deprecated. The installed cmake files should be used instead. CMake should be able to detect your LLVM install automatically, but you can also use LLVM_DIR to specify the path containing LLVMConfig.cmake. -- 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 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_CXX11 -- Performing Test CXX_SUPPORTS_CXX11 - Success -- 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_NOEXCEPT_TYPE_FLAG -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Failed -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success -- 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 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 CMake Warning (dev) at /usr/pkg/lib/cmake/llvm/HandleLLVMOptions.cmake:781 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'LLVM_ENABLE_EH'. Call Stack (most recent call first): CMakeLists.txt:110 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/pkg/lib/cmake/llvm/HandleLLVMOptions.cmake:782 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'LLVM_ENABLE_RTTI'. Call Stack (most recent call first): CMakeLists.txt:110 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/pkg/lib/cmake/llvm/HandleLLVMOptions.cmake:861 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'LLVM_EXPORT_SYMBOLS_FOR_PLUGINS'. Call Stack (most recent call first): CMakeLists.txt:110 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Clang version: 8.0.1 -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Failed -- Could NOT find Z3 (missing: Z3_LIBRARIES Z3_INCLUDE_DIR) (Required is at least version "4.7.1") -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_MANDIR PYTHON_EXECUTABLE PYTHON_INCLUDE_DIR PYTHON_INCLUDE_PATH PYVERSSUFFIX -- Build files have been written to: /tmp/lang/clang/work/build => Rewrite cmake Dependencies files