=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for pocl-7.0.tar.gz => Checksum SHA512 OK for pocl-7.0.tar.gz ===> Installing dependencies for pocl-7.0 ========================================================================== The following variables will affect the build process of this package, pocl-7.0. Their current value is shown below: * JPEG_DEFAULT = libjpeg-turbo * TERMINFO_DEFAULT = terminfo Based on these variables, the following variables have been set: * JPEGBASE (defined, but empty) * JPEG_TYPE = libjpeg-turbo * 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>=0: found cmake-3.31.7nb2 => Tool dependency mktools-[0-9]*: found mktools-20250213 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.4.3nb1 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency opencl-headers>=2021.04.29: found opencl-headers-2024.10.24 => Build dependency x11-links>=1.36: found x11-links-1.36 => Full dependency clang>=19.1.7nb1: found clang-19.1.7nb1 => Full dependency hwloc>=1.11.13nb13: found hwloc-1.11.13nb13 => Full dependency libatomic>=12.1.0nb1: found libatomic-13.2.0 => Full dependency libjpeg-turbo>=1.1.0: found libjpeg-turbo-3.1.1 => Full dependency llvm>=19.1.7: found llvm-19.1.7 => Full dependency ocl-icd>=2.3.0: found ocl-icd-2.3.3 ===> 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-7.0 ===> Extracting for pocl-7.0 ===> Patching for pocl-7.0 => Applying pkgsrc patches for pocl-7.0 => Verifying /usr/pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_CMakeLists.txt => Applying pkgsrc patch /usr/pkgsrc/parallel/pocl/patches/patch-lib_CL_devices_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_CL_devices_CMakeLists.txt,v 1.1 2025/05/25 13:01:56 adam Exp $ | |On Darwin, use correct install_name. | |--- lib/CL/devices/CMakeLists.txt.orig 2025-05-25 07:45:29.079693588 +0000 |+++ lib/CL/devices/CMakeLists.txt -------------------------- Patching file lib/CL/devices/CMakeLists.txt using Plan A... Hunk #1 succeeded at 35. done => Verifying /usr/pkgsrc/parallel/pocl/patches/patch-lib_CL_pocl__cl.h => Applying pkgsrc patch /usr/pkgsrc/parallel/pocl/patches/patch-lib_CL_pocl__cl.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_CL_pocl__cl.h,v 1.1 2025/05/25 13:01:56 adam Exp $ | |alloca.h is not portable. | |--- lib/CL/pocl_cl.h.orig 2025-05-25 07:35:36.948949856 +0000 |+++ lib/CL/pocl_cl.h -------------------------- Patching file lib/CL/pocl_cl.h using Plan A... Hunk #1 succeeded at 32. done ===> Creating toolchain wrappers for pocl-7.0 ===> Configuring for pocl-7.0 /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. => Checking for portability problems in extracted files CMake Deprecation Warning at CMakeLists.txt:28 (cmake_policy): The OLD behavior for policy CMP0067 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 10.5.0 -- The CXX compiler identification is GNU 10.5.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 -- CMAKE_SYSTEM_NAME: NetBSD -- CMAKE_SYSTEM_PROCESSOR: powerpc -- CMAKE_LIBRARY_ARCHITECTURE: -- Performing Test HAVE_WARN_INCOMPATIBLE_POINTER_TYPES -- Performing Test HAVE_WARN_INCOMPATIBLE_POINTER_TYPES - Success -- Performing Test HAVE_C_WERROR_RETURN_TYPE -- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success -- Performing Test HAVE_C_WERROR_VLA -- Performing Test HAVE_C_WERROR_VLA - Success -- Performing Test HAVE_CXX_WERROR_VLA -- Performing Test HAVE_CXX_WERROR_VLA - 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 "2.4.3") -- Checking for module 'hwloc>=1.0' -- Found hwloc, version 1.11.13 -- Using hwloc (cached): 1 getconf: LEVEL1_DCACHE_LINESIZE: unknown variable CMake Warning at CMakeLists.txt:705 (message): getconf exited with nonzero status! CMake Warning at CMakeLists.txt:723 (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: 19.1.7 -- LLVM_VERSION: 19.1 -- 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++17 -fno-exceptions -funwind-tables -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_INCLUDE_DIRS is: /usr/pkg/include -- llvm-config's LLVM_CMAKEDIR is: /usr/pkg/lib/cmake/llvm -- llvm-config's LLVM_ALL_TARGETS is: PowerPC -- llvm-config's LLVM_HOST_TARGET is: powerpc-unknown-netbsd10.0 -- llvm-config's LLVM_BUILD_MODE is: Release -- llvm-config's LLVM_ASSERTS_BUILD is: OFF -- llvm-config's LLVM_HAS_RTTI is: YES -- llvm-config's LLVM_LIBS is: -lLLVM-19 -- 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 -- Did NOT find usable llvm-spirv! -- Did NOT find spirv-link! -- LLVMSPIRV library not found: LLVM_SPIRV_INCLUDEDIR-NOTFOUND | LLVM_SPIRV_LIB-NOTFOUND -- 64bit division compiles without extra flags -- Find out LLC target triple (for host powerpc-unknown-netbsd10.0) -- Find out LLC host CPU with /usr/pkg/bin/llc CMake Error at cmake/LLVM.cmake:722 (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:747 (include) -- Configuring incomplete, errors occurred! *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/parallel/pocl *** Error code 1 Stop. make: stopped in /usr/pkgsrc/parallel/pocl