=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for pocl-1.8.tar.gz => Checksum SHA512 OK for pocl-1.8.tar.gz ===> Installing dependencies for pocl-1.8nb1 ========================================================================== The following variables will affect the build process of this package, pocl-1.8nb1. 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 cmake>=2.8.1nb1: found cmake-3.22.3nb1 => 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>=13.0.0: found clang-13.0.1 => Full dependency llvm>=13.0.0: found llvm-13.0.1 => Full dependency hwloc>=1.11.13nb3: found hwloc-1.11.13nb4 => Full dependency ocl-icd>=2.3.0: found ocl-icd-2.3.0nb2 ===> 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'. ===> Overriding tools for pocl-1.8nb1 ===> Extracting for pocl-1.8nb1 ===> Patching for pocl-1.8nb1 => Applying pkgsrc patches for pocl-1.8nb1 => Verifying /usr/pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_devices.c => Applying pkgsrc patch /usr/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.2 2021/11/20 20:05:37 wiz Exp $ | |Add support for non-Linux unixes. | |--- lib/CL/devices/devices.c.orig 2021-10-12 14:33:15.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 469. done ===> Creating toolchain wrappers for pocl-1.8nb1 ===> Configuring for pocl-1.8nb1 /bin/ln -sf /usr/pkg/bin/clang /usr/pkgsrc/parallel/pocl/work/.cwrapper/bin/clang /bin/ln -sf /usr/pkg/bin/clang++ /usr/pkgsrc/parallel/pocl/work/.cwrapper/bin/clang++ /bin/ln -sf /usr/pkg/bin/clang-cpp /usr/pkgsrc/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 7.4.0 -- The CXX compiler identification is GNU 7.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/pkgsrc/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: /usr/pkgsrc/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: 1 -- Found PkgConfig: /usr/pkgsrc/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_LIBRARIES hwloc -- Hwloc_INCLUDE_DIRS /usr/pkg/include;/usr/pkg/include/libxml2;/usr/X11R7/include getconf: LEVEL1_DCACHE_LINESIZE: unknown variable CMake Warning at CMakeLists.txt:422 (message): getconf exited with nonzero status! CMake Warning at CMakeLists.txt:440 (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: 13.0.1 -- LLVM_VERSION: 13.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 -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -latomic -- 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: /usr/pkgsrc/lang/llvm/work/llvm-13.0.1.src -- llvm-config's LLVM_OBJ_ROOT is: /usr/pkg -- llvm-config's LLVM_ALL_TARGETS is: PowerPC -- llvm-config's LLVM_HOST_TARGET is: powerpc-unknown-netbsd9.0 -- 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-13 -- 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 -- Not a DEBUG build -- adding -DNDEBUG explicitly -- Find out LLC target triple (for host powerpc-unknown-netbsd9.0) -- Find out LLC host CPU with /usr/pkg/bin/llc CMake Error at cmake/LLVM.cmake:721 (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:472 (include) -- Configuring incomplete, errors occurred! See also "/usr/pkgsrc/parallel/pocl/work/pocl-1.8/CMakeFiles/CMakeOutput.log". *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/parallel/pocl *** Error code 1 Stop. make: stopped in /usr/pkgsrc/parallel/pocl