=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> 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-4.0.0.src.tar.xz => Checksum RMD160 OK for cfe-4.0.0.src.tar.xz => Checksum SHA512 OK for cfe-4.0.0.src.tar.xz ===> Installing dependencies for clang-4.0.0 ========================================================================== 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-4.0.0. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 27 Based on these variables, the following variables have been set: * PYPACKAGE = python27 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.8.1 => Tool dependency checkperms>=1.1: found checkperms-1.11nb1 => Build dependency python27>=2.7.1nb2: found python27-2.7.13nb1 => Build dependency cwrappers>=20150314: found cwrappers-20170112 => Full dependency llvm-4.0.0{,nb*}: found llvm-4.0.0nb1 => Full dependency llvm>=4.0.0: found llvm-4.0.0nb1 => Full dependency libxml2>=2.8.0nb2: found libxml2-2.9.4nb2 ===> Overriding tools for clang-4.0.0 ===> Extracting for clang-4.0.0 ===> Patching for clang-4.0.0 => Applying pkgsrc patches for clang-4.0.0 => Verifying /data/pkgsrc/lang/clang/../../lang/clang/patches/patch-tools_clang-format_CMakeLists.txt => Applying pkgsrc patch /data/pkgsrc/lang/clang/../../lang/clang/patches/patch-tools_clang-format_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-tools_clang-format_CMakeLists.txt,v 1.2 2016/11/14 20:15:33 ryoon Exp $ | |git-clang-format is a git integration for clang-format, |written in python. It could be moved to a separate package |to avoid a python runtime dependency here, but for now I just opted |to move it to share/clang and skip the interpreter check. | |--- tools/clang-format/CMakeLists.txt.orig 2016-02-23 20:33:15.000000000 +0000 |+++ tools/clang-format/CMakeLists.txt -------------------------- Patching file tools/clang-format/CMakeLists.txt using Plan A... Hunk #1 succeeded at 35. done ===> Creating toolchain wrappers for clang-4.0.0 ===> Configuring for clang-4.0.0 => 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 Clang 5.0.5 -- The CXX compiler identification is Clang 5.0.5 -- Check for working C compiler: /data/scratch/lang/clang/work/.cwrapper/bin/clang -- Check for working C compiler: /data/scratch/lang/clang/work/.cwrapper/bin/clang -- 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: /data/scratch/lang/clang/work/.cwrapper/bin/clang++ -- Check for working CXX compiler: /data/scratch/lang/clang/work/.cwrapper/bin/clang++ -- 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 -- Performing Test LLVM_NO_OLD_LIBSTDCXX -- Performing Test LLVM_NO_OLD_LIBSTDCXX - Success -- 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 CXX_SUPPORTS_CXX11 -- Performing Test CXX_SUPPORTS_CXX11 - Success -- 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 sys/resource.h -- Looking for sys/resource.h - found -- Clang version: 4.0.0 -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Success -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_MANDIR PYVERSSUFFIX -- Build files have been written to: /data/scratch/lang/clang/work/build => Rewrite cmake Dependencies files