=> Bootstrap dependency digest>=20010302: found digest-20180917 => Checksum SHA1 OK for llvm-7.0.1.src.tar.xz => Checksum RMD160 OK for llvm-7.0.1.src.tar.xz => Checksum SHA512 OK for llvm-7.0.1.src.tar.xz ===> Installing dependencies for llvm-7.0.1 ========================================================================== The supported build options for llvm are: llvm-target-aarch64 llvm-target-amdgpu llvm-target-arm llvm-target-bpf llvm-target-hexagon llvm-target-mips llvm-target-msp430 llvm-target-nvptx llvm-target-powerpc llvm-target-sparc llvm-target-systemz llvm-target-x86 llvm-target-xcore terminfo The currently selected options are: llvm-target-aarch64 llvm-target-amdgpu llvm-target-arm llvm-target-bpf llvm-target-hexagon llvm-target-mips llvm-target-msp430 llvm-target-nvptx llvm-target-powerpc llvm-target-sparc llvm-target-systemz llvm-target-x86 llvm-target-xcore terminfo You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.llvm (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, llvm-7.0.1. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 27 * TERMINFO_DEFAULT = terminfo Based on these variables, the following variables have been set: * PYPACKAGE = python27 * 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.13.2 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency python27>=2.7.1nb2: found python27-2.7.15nb1 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency libxml2>=2.8.0nb2: found libxml2-2.9.8nb4 ===> Overriding tools for llvm-7.0.1 ===> Extracting for llvm-7.0.1 /bin/mkdir -p /tmp/pkgbuild/lang/llvm/work/build cp ../../mk/gnu-config/config.guess /tmp/pkgbuild/lang/llvm/work/llvm-7.0.1.src/cmake/config.guess cp ../../mk/gnu-config/config.sub /tmp/pkgbuild/lang/llvm/work/llvm-7.0.1.src/cmake/config.sub ===> Patching for llvm-7.0.1 => Applying pkgsrc patches for llvm-7.0.1 => Verifying /usr/pkgsrc/lang/llvm/patches/patch-CMakeLists.txt => Applying pkgsrc patch /usr/pkgsrc/lang/llvm/patches/patch-CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CMakeLists.txt,v 1.1 2018/01/08 10:48:34 jperkin Exp $ | |Don't implement sys/regset.h workaround, fix source instead. | |--- CMakeLists.txt.orig 2017-08-15 00:16:21.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 830 (offset 21 lines). done => Verifying /usr/pkgsrc/lang/llvm/patches/patch-cmake_config-ix.cmake => Applying pkgsrc patch /usr/pkgsrc/lang/llvm/patches/patch-cmake_config-ix.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cmake_config-ix.cmake,v 1.3 2018/08/07 10:44:50 adam Exp $ | |Do not generate invalid llvm-config in pkgsrc. | |--- cmake/config-ix.cmake.orig 2018-01-02 17:53:08.000000000 +0000 |+++ cmake/config-ix.cmake -------------------------- Patching file cmake/config-ix.cmake using Plan A... Hunk #1 succeeded at 128 (offset -25 lines). done => Verifying /usr/pkgsrc/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake => Applying pkgsrc patch /usr/pkgsrc/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.4 2018/12/09 20:04:38 adam Exp $ | |Don't use non-portable -z discard-unused on SunOS. |On Darwin, create symbolic links to shared libraries. |On Darwin, use correct install-name for shared libraries. | |--- cmake/modules/AddLLVM.cmake.orig 2018-08-01 07:51:55.000000000 +0000 |+++ cmake/modules/AddLLVM.cmake -------------------------- Patching file cmake/modules/AddLLVM.cmake using Plan A... Hunk #1 succeeded at 218. Hunk #2 succeeded at 514. Hunk #3 succeeded at 1629. done => Verifying /usr/pkgsrc/lang/llvm/patches/patch-cmake_modules_CheckAtomic.cmake => Applying pkgsrc patch /usr/pkgsrc/lang/llvm/patches/patch-cmake_modules_CheckAtomic.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cmake_modules_CheckAtomic.cmake,v 1.1 2018/03/31 15:13:28 he Exp $ | |Omit check for native 8-byte atomics, platform may not have them, |and they are actually not required here. Makes powerpc build llvm. | |--- cmake/modules/CheckAtomic.cmake.orig 2016-06-23 06:39:35.000000000 +0000 |+++ cmake/modules/CheckAtomic.cmake -------------------------- Patching file cmake/modules/CheckAtomic.cmake using Plan A... Hunk #1 succeeded at 63 (offset 1 line). done => Verifying /usr/pkgsrc/lang/llvm/patches/patch-cmake_modules_HandleLLVMOptions.cmake => Applying pkgsrc patch /usr/pkgsrc/lang/llvm/patches/patch-cmake_modules_HandleLLVMOptions.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cmake_modules_HandleLLVMOptions.cmake,v 1.1 2017/03/19 19:01:48 adam Exp $ | |DragonflyBSD support | |--- cmake/modules/HandleLLVMOptions.cmake.orig 2016-01-06 19:05:19.000000000 +0000 |+++ cmake/modules/HandleLLVMOptions.cmake -------------------------- Patching file cmake/modules/HandleLLVMOptions.cmake using Plan A... Hunk #1 succeeded at 137 (offset 5 lines). done => Verifying /usr/pkgsrc/lang/llvm/patches/patch-include_llvm-c_DataTypes.h => Applying pkgsrc patch /usr/pkgsrc/lang/llvm/patches/patch-include_llvm-c_DataTypes.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_llvm-c_DataTypes.h,v 1.1 2018/12/15 23:41:45 jperkin Exp $ | |Don't implement sys/regset.h workaround, fix source instead. | |--- include/llvm-c/DataTypes.h.orig 2018-04-02 13:22:26.000000000 +0000 |+++ include/llvm-c/DataTypes.h -------------------------- Patching file include/llvm-c/DataTypes.h using Plan A... Hunk #1 succeeded at 87. done => Verifying /usr/pkgsrc/lang/llvm/patches/patch-include_llvm_Analysis_ConstantFolding.h => Applying pkgsrc patch /usr/pkgsrc/lang/llvm/patches/patch-include_llvm_Analysis_ConstantFolding.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_llvm_Analysis_ConstantFolding.h,v 1.1 2018/12/15 23:41:45 jperkin Exp $ | |Fix SunOS CS conflict not handled by include/llvm-c/DataTypes.h | |--- include/llvm/Analysis/ConstantFolding.h.orig 2018-05-01 15:54:18.000000000 +0000 |+++ include/llvm/Analysis/ConstantFolding.h -------------------------- Patching file include/llvm/Analysis/ConstantFolding.h using Plan A... Hunk #1 succeeded at 20. done => Verifying /usr/pkgsrc/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt => Applying pkgsrc patch /usr/pkgsrc/lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.4 2018/12/09 20:04:38 adam Exp $ | |Use the Linux style linking everywhere except Darwin and SunOS. | |--- tools/llvm-shlib/CMakeLists.txt.orig 2018-08-03 10:15:36.000000000 +0000 |+++ tools/llvm-shlib/CMakeLists.txt -------------------------- Patching file tools/llvm-shlib/CMakeLists.txt using Plan A... Hunk #1 succeeded at 37. Hunk #2 succeeded at 52. done ===> Creating toolchain wrappers for llvm-7.0.1 ===> Configuring for llvm-7.0.1 => Replacing python interpreter in tools/opt-viewer/*.py tools/sancov/*.py utils/*.py utils/Misc/zkill utils/bisect utils/clang-parse-diagnostics-file utils/git/find-rev utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest utils/llvm-build/llvm-build utils/llvm-compilers-check utils/llvm-lit/llvm-lit.in. INFO: [replace-interpreter] Nothing changed in tools/opt-viewer/optpmap.py. INFO: [replace-interpreter] Nothing changed in utils/lldbDataFormatters.py. WARNING: [replace-interpreter] Skipping non-existent file "utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest". => Replacing Perl interpreter in utils/*.pl utils/codegen-diff utils/llvm-native-gxx. => 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 CMakeLists.txt:14 (cmake_policy): The OLD behavior for policy CMP0051 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. -- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- The ASM compiler identification is GNU -- Found assembler: /tmp/pkgbuild/lang/llvm/work/.cwrapper/bin/gcc -- Check for working C compiler: /tmp/pkgbuild/lang/llvm/work/.cwrapper/bin/gcc -- Check for working C compiler: /tmp/pkgbuild/lang/llvm/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/pkgbuild/lang/llvm/work/.cwrapper/bin/c++ -- Check for working CXX compiler: /tmp/pkgbuild/lang/llvm/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 -- Looking for dlfcn.h CMake Warning (dev) at /usr/pkg/share/cmake-3.13/Modules/CheckIncludeFile.cmake:70 (message): Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMAKE_REQUIRED_LIBRARIES is set to: m For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): cmake/config-ix.cmake:26 (check_include_file) CMakeLists.txt:600 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for dlfcn.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for link.h -- Looking for link.h - found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for malloc/malloc.h -- Looking for malloc/malloc.h - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for sys/ioctl.h -- Looking for sys/ioctl.h - found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for valgrind/valgrind.h -- Looking for valgrind/valgrind.h - not found -- Looking for zlib.h -- Looking for zlib.h - found -- Looking for fenv.h -- Looking for fenv.h - found -- Looking for FE_ALL_EXCEPT -- Looking for FE_ALL_EXCEPT - found -- Looking for FE_INEXACT -- Looking for FE_INEXACT - found -- Looking for mach/mach.h -- Looking for mach/mach.h - not found -- Looking for histedit.h -- Looking for histedit.h - found -- Looking for CrashReporterClient.h -- Looking for CrashReporterClient.h - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for pthread_getspecific in pthread -- Looking for pthread_getspecific in pthread - found -- Looking for pthread_rwlock_init in pthread -- Looking for pthread_rwlock_init in pthread - found -- Looking for pthread_mutex_lock in pthread -- Looking for pthread_mutex_lock in pthread - found -- Looking for dlopen in dl -- Looking for dlopen in dl - not found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for pfm_initialize in pfm -- Looking for pfm_initialize in pfm - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for compress2 in z -- Looking for compress2 in z - found -- Looking for el_init in edit -- Looking for el_init in edit - found -- Looking for setupterm in terminfo -- Looking for setupterm in terminfo - found -- Looking for xar_open in xar -- Looking for xar_open in xar - not found -- Looking for arc4random -- Looking for arc4random - found -- Looking for backtrace -- Looking for backtrace - not found -- Found Backtrace: /usr/lib/libexecinfo.so -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Looking for _Unwind_Backtrace -- Looking for _Unwind_Backtrace - found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for sysconf -- Looking for sysconf - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for setrlimit -- Looking for setrlimit - found -- Looking for isatty -- Looking for isatty - found -- Looking for futimens -- Looking for futimens - found -- Looking for futimes -- Looking for futimes - found -- Looking for posix_fallocate -- Looking for posix_fallocate - found -- Looking for sigaltstack -- Looking for sigaltstack - found -- Looking for lseek64 -- Looking for lseek64 - not found -- Looking for mallctl -- Looking for mallctl - not found -- Looking for mallinfo -- Looking for mallinfo - not found -- Looking for malloc_zone_statistics -- Looking for malloc_zone_statistics - not found -- Looking for getrlimit -- Looking for getrlimit - found -- Looking for posix_spawn -- Looking for posix_spawn - found -- Looking for pread -- Looking for pread - found -- Looking for realpath -- Looking for realpath - found -- Looking for sbrk -- Looking for sbrk - found -- Looking for strerror -- Looking for strerror - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for strerror_s -- Looking for strerror_s - not found -- Looking for setenv -- Looking for setenv - found -- Looking for dlopen -- Looking for dlopen - found -- Looking for dladdr -- Looking for dladdr - found -- Looking for __GLIBC__ -- Looking for __GLIBC__ - not found -- Looking for sched_getaffinity -- Looking for sched_getaffinity - not found -- Looking for CPU_COUNT -- Looking for CPU_COUNT - not found -- Looking for pthread_getname_np -- Looking for pthread_getname_np - found -- Looking for pthread_setname_np -- Looking for pthread_setname_np - 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 -- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG -- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success -- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG -- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Failed -- Performing Test HAS_MAYBE_UNINITIALIZED -- Performing Test HAS_MAYBE_UNINITIALIZED - Success CMake Error at cmake/config-ix.cmake:408 (message): Unknown architecture alpha Call Stack (most recent call first): CMakeLists.txt:600 (include) -- Configuring incomplete, errors occurred! See also "/tmp/pkgbuild/lang/llvm/work/build/CMakeFiles/CMakeOutput.log". See also "/tmp/pkgbuild/lang/llvm/work/build/CMakeFiles/CMakeError.log". *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/lang/llvm *** Error code 1 Stop. make: stopped in /usr/pkgsrc/lang/llvm