=> Bootstrap dependency digest>=20010302: found digest-20190127 => Checksum SHA1 OK for pocl-1.7.tar.gz => Checksum RMD160 OK for pocl-1.7.tar.gz => Checksum SHA512 OK for pocl-1.7.tar.gz ===> Installing dependencies for pocl-1.7nb2 ========================================================================== The following variables will affect the build process of this package, pocl-1.7nb2. Their current value is shown below: * TERMINFO_DEFAULT = terminfo Based on these variables, the following variables have been set: * 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 bsdtar-[0-9]*: found bsdtar-3.4.3 => Tool dependency cmake>=2.8.1nb1: found cmake-3.21.2 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency x11-links>=1.34: found x11-links-1.34 => Build dependency opencl-headers>=2021.04.29: found opencl-headers-2021.04.29 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency clang>=12.0.0: found clang-12.0.1 => Full dependency llvm>=10.0.1: found llvm-12.0.1 => Full dependency hwloc>=1.11.13nb3: found hwloc-1.11.13nb3 => Full dependency ocl-icd>=2.3.0: found ocl-icd-2.3.0nb2 ===> 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 pocl-1.7nb2 ===> Extracting for pocl-1.7nb2 ===> Patching for pocl-1.7nb2 => Applying pkgsrc patches for pocl-1.7nb2 => Verifying /tree/pkgsrc/parallel/pocl/patches/patch-CMakeLists.txt => Applying pkgsrc patch /tree/pkgsrc/parallel/pocl/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.2 2021/06/10 12:26:26 nia Exp $ | |Fix detection of dlopen |https://github.com/pocl/pocl/pull/950 | |--- CMakeLists.txt.orig 2021-05-19 08:12:19.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 787. Hunk #2 succeeded at 795. done => Verifying /tree/pkgsrc/parallel/pocl/patches/patch-config.h.in.cmake => Applying pkgsrc patch /tree/pkgsrc/parallel/pocl/patches/patch-config.h.in.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-config.h.in.cmake,v 1.2 2021/06/10 12:26:26 nia Exp $ | |Fix detection of dlopen |https://github.com/pocl/pocl/pull/950 | |--- config.h.in.cmake.orig 2021-05-19 08:12:19.000000000 +0000 |+++ config.h.in.cmake -------------------------- Patching file config.h.in.cmake using Plan A... Hunk #1 succeeded at 35. Hunk #2 succeeded at 59. done => Verifying /tree/pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_basic_basic.c => Applying pkgsrc patch /tree/pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_basic_basic.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_CL_devices_basic_basic.c,v 1.2 2021/06/10 12:26:26 nia Exp $ | |Fix detection of dlopen |https://github.com/pocl/pocl/pull/950 | |--- lib/CL/devices/basic/basic.c.orig 2021-05-19 08:12:19.000000000 +0000 |+++ lib/CL/devices/basic/basic.c -------------------------- Patching file lib/CL/devices/basic/basic.c using Plan A... Hunk #1 succeeded at 50. done => Verifying /tree/pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_common.c => Applying pkgsrc patch /tree/pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_common.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_CL_devices_common.c,v 1.2 2021/06/10 12:26:26 nia Exp $ | |Fix detection of dlopen |https://github.com/pocl/pocl/pull/950 | |--- lib/CL/devices/common.c.orig 2021-05-19 08:12:19.000000000 +0000 |+++ lib/CL/devices/common.c -------------------------- Patching file lib/CL/devices/common.c using Plan A... Hunk #1 succeeded at 61. done => Verifying /tree/pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_cpuinfo.c => Applying pkgsrc patch /tree/pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_cpuinfo.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_CL_devices_cpuinfo.c,v 1.2 2021/06/10 12:26:26 nia Exp $ | |Do not segfault if /sys/bus/pci/devices/0000:00:00.0/vendor does not exist. | |https://github.com/pocl/pocl/pull/948 | |--- lib/CL/devices/cpuinfo.c.orig 2021-05-19 08:12:19.000000000 +0000 |+++ lib/CL/devices/cpuinfo.c -------------------------- Patching file lib/CL/devices/cpuinfo.c using Plan A... Hunk #1 succeeded at 416. done => Verifying /tree/pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_devices.c => Applying pkgsrc patch /tree/pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_devices.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_CL_devices_devices.c,v 1.1 2021/06/10 09:57:40 nia Exp $ | |Add support for non-Linux unixes. | |--- lib/CL/devices/devices.c.orig 2021-05-19 08:12:19.000000000 +0000 |+++ lib/CL/devices/devices.c -------------------------- Patching file lib/CL/devices/devices.c using Plan A... Hunk #1 succeeded at 27. Hunk #2 succeeded at 70. Hunk #3 succeeded at 303. Hunk #4 succeeded at 335. Hunk #5 succeeded at 388. Hunk #6 succeeded at 554. done => Verifying /tree/pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_hsa_pocl-hsa.c => Applying pkgsrc patch /tree/pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_hsa_pocl-hsa.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_CL_devices_hsa_pocl-hsa.c,v 1.2 2021/06/10 12:26:26 nia Exp $ | |Fix detection of dlopen |https://github.com/pocl/pocl/pull/950 | |--- lib/CL/devices/hsa/pocl-hsa.c.orig 2021-05-19 08:12:19.000000000 +0000 |+++ lib/CL/devices/hsa/pocl-hsa.c -------------------------- Patching file lib/CL/devices/hsa/pocl-hsa.c using Plan A... Hunk #1 succeeded at 73. done => Verifying /tree/pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_pthread_pthread.c => Applying pkgsrc patch /tree/pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_pthread_pthread.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_CL_devices_pthread_pthread.c,v 1.2 2021/06/10 12:26:26 nia Exp $ | |Fix detection of dlopen |https://github.com/pocl/pocl/pull/950 | |--- lib/CL/devices/pthread/pthread.c.orig 2021-05-19 08:12:19.000000000 +0000 |+++ lib/CL/devices/pthread/pthread.c -------------------------- Patching file lib/CL/devices/pthread/pthread.c using Plan A... Hunk #1 succeeded at 51. done => Verifying /tree/pkgsrc/parallel/pocl/patches/patch-lib_CL_pocl__timing.c => Applying pkgsrc patch /tree/pkgsrc/parallel/pocl/patches/patch-lib_CL_pocl__timing.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_CL_pocl__timing.c,v 1.2 2021/06/10 12:26:26 nia Exp $ | |NetBSD does not have CLOCK_UPTIME_FAST. |https://github.com/pocl/pocl/pull/949 | |--- lib/CL/pocl_timing.c.orig 2021-05-19 08:12:19.000000000 +0000 |+++ lib/CL/pocl_timing.c -------------------------- Patching file lib/CL/pocl_timing.c using Plan A... Hunk #1 succeeded at 74. done ===> Creating toolchain wrappers for pocl-1.7nb2 ===> Configuring for pocl-1.7nb2 /bin/ln -sf /usr/pkg/bin/clang /scratch/work/parallel/pocl/work/.cwrapper/bin/clang /bin/ln -sf /usr/pkg/bin/clang++ /scratch/work/parallel/pocl/work/.cwrapper/bin/clang++ /bin/ln -sf /usr/pkg/bin/clang-cpp /scratch/work/parallel/pocl/work/.cwrapper/bin/clang-cpp => Generating pkg-config files for builtin xz package. => Adding run-time search paths to pkg-config files. => Fixing CMAKE_MODULE_PATH in CMakeLists.txt => Checking for portability problems in extracted files -- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /scratch/work/parallel/pocl/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: /scratch/work/parallel/pocl/work/.cwrapper/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test HAVE_WARN_INCOMPATIBLE_POINTER_TYPES -- Performing Test HAVE_WARN_INCOMPATIBLE_POINTER_TYPES - Success -- No git and/or not a prerelease -> not adding git commit to version. -- Host CPU cores: 4 -- Found PkgConfig: /scratch/work/parallel/pocl/work/.tools/bin/pkg-config (found version "1.8.0") -- Checking for module 'hwloc' -- Found hwloc, version 1.11.13 -- Found Hwloc: hwloc -- Found hwloc 1.11.13 in /usr/pkg/include;/usr/pkg/include/libxml2;/usr/X11R7/include:hwloc -- Hwloc_VERSION 1.11.13 -- Hwloc_LDFLAGS -L/usr/pkg/lib;-lhwloc -- Hwloc_CFLAGS -I/usr/pkg/include;-I/usr/pkg/include/libxml2;-I/usr/X11R7/include getconf: LEVEL1_DCACHE_LINESIZE: unknown variable CMake Warning at CMakeLists.txt:421 (message): getconf exited with nonzero status! CMake Warning at CMakeLists.txt:435 (message): Unable to detect cacheline size - assuming 64byte cacheline, override with -DHOST_CPU_CACHELINE_SIZE= (Note: this is merely used for optimization, at worst pocl will be slightly slower) -- Using llvm-config: /usr/pkg/bin/llvm-config -- LLVM binaries suffix : -- llvm-config's LLVM_PREFIX is: /usr/pkg -- llvm-config's LLVM_VERSION_FULL is: 12.0.1 -- LLVM_VERSION: 12.0 -- llvm-config's LLVM_CFLAGS is: -I/usr/pkg/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_CXXFLAGS is: -I/usr/pkg/include -std=c++14 -fno-exceptions -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_CPPFLAGS is: -I/usr/pkg/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_LDFLAGS is: -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -- llvm-config's LLVM_BINDIR is: /usr/pkg/bin -- llvm-config's LLVM_LIBDIR is: /usr/pkg/lib -- llvm-config's LLVM_INCLUDEDIR is: /usr/pkg/include -- llvm-config's LLVM_SRC_ROOT is: /scratch/work/lang/llvm/work/llvm-12.0.1.src -- llvm-config's LLVM_OBJ_ROOT is: /usr/pkg -- llvm-config's LLVM_ALL_TARGETS is: ARM -- llvm-config's LLVM_HOST_TARGET is: armv7-unknown-netbsdelf8.0-eabihf -- llvm-config's LLVM_BUILD_MODE is: Release -- llvm-config's LLVM_ASSERTS_BUILD is: OFF -- llvm-config's LLVM_SYSLIBS is: -- llvm-config's LLVM_HAS_RTTI is: YES -- llvm-config's LLVM_LIBS is: -lLLVM-12 -- llvm-config's LLVM_SYSLIBS is: -- Found clang: /usr/pkg/bin/clang -- Found clang++: /usr/pkg/bin/clang++ -- Found opt: /usr/pkg/bin/opt -- Found llc: /usr/pkg/bin/llc -- Found llvm-as: /usr/pkg/bin/llvm-as -- Found llvm-link: /usr/pkg/bin/llvm-link -- Found lli: /usr/pkg/bin/lli -- 64bit division compiles without extra flags -- Checking if clang++ works (required by vecmathlib) -- Checking if LLVM is a DEBUG build -- DEBUG build -- Find out LLC target triple (for host armv7-unknown-netbsdelf8.0-eabihf) -- Find out LLC host CPU with /usr/pkg/bin/llc CMake Error at cmake/LLVM.cmake:715 (message): LLVM could not recognize your CPU model automatically. Please run CMake with -DLLC_HOST_CPU= (you can find valid names with: llc -mcpu=help) Call Stack (most recent call first): CMakeLists.txt:467 (include) -- Configuring incomplete, errors occurred! See also "/scratch/work/parallel/pocl/work/pocl-1.7/CMakeFiles/CMakeOutput.log". *** Error code 1 Stop. make[1]: stopped in /tree/pkgsrc/parallel/pocl *** Error code 1 Stop. make: stopped in /tree/pkgsrc/parallel/pocl