=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for pocl-6.0.tar.gz
=> Checksum SHA512 OK for pocl-6.0.tar.gz
===> Installing dependencies for pocl-6.0
==========================================================================
The following variables will affect the build process of this package,
pocl-6.0.  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>=0: found cmake-3.30.3
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency distcc-[0-9]*: found distcc-3.4
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency x11-links>=1.36: found x11-links-1.36
=> Build dependency opencl-headers>=2021.04.29: found opencl-headers-2024.05.08
=> Full dependency clang>=18.0.0: found clang-18.1.8
=> Full dependency llvm>=18.0.0: found llvm-18.1.8
=> Full dependency hwloc>=1.11.13nb8: found hwloc-1.11.13nb9
=> Full dependency ocl-icd>=2.3.0: found ocl-icd-2.3.2
===> 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-6.0
===> Extracting for pocl-6.0
===> Patching for pocl-6.0
=> Applying pkgsrc patches for pocl-6.0
===> Creating toolchain wrappers for pocl-6.0
===> Configuring for pocl-6.0
/bin/ln -sf /usr/pkg/bin/clang /tmp/pkgbuild/parallel/pocl/work.sparc64/.cwrapper/bin/clang
/bin/ln -sf /usr/pkg/bin/clang++ /tmp/pkgbuild/parallel/pocl/work.sparc64/.cwrapper/bin/clang++
/bin/ln -sf /usr/pkg/bin/clang-cpp /tmp/pkgbuild/parallel/pocl/work.sparc64/.cwrapper/bin/clang-cpp
=> Generating pkg-config files for builtin xz package.
=> Adding run-time search paths to pkg-config files.
CMake Deprecation Warning at CMakeLists.txt:27 (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: /tmp/pkgbuild/parallel/pocl/work.sparc64/.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: /tmp/pkgbuild/parallel/pocl/work.sparc64/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_SYSTEM_NAME: NetBSD
-- CMAKE_SYSTEM_PROCESSOR: sparc64
-- CMAKE_LIBRARY_ARCHITECTURE: 
-- 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: 2
-- Found PkgConfig: /tmp/pkgbuild/parallel/pocl/work.sparc64/.tools/bin/pkg-config (found version "2.3.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
-- Using hwloc (cached): 1
getconf: LEVEL1_DCACHE_LINESIZE: unknown variable
CMake Warning at CMakeLists.txt:524 (message):
  getconf exited with nonzero status!


CMake Warning at CMakeLists.txt:542 (message):
  Unable to detect cacheline size - assuming 64byte cacheline, override with
  -DHOST_CPU_CACHELINE_SIZE=<number> (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: 18.1.8
-- LLVM_VERSION: 18.1
-- llvm-config's LLVM_CFLAGS is: -I/usr/pkg/include  -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__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-- llvm-config's LLVM_CPPFLAGS is: -I/usr/pkg/include -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_ALL_TARGETS is: Sparc
-- llvm-config's LLVM_HOST_TARGET is: sparc64-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-18
-- 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 llvm-spirv!
-- Did NOT find spirv-link!
-- udivmodti4 compiles without extra flags
-- Checking if LLVM is a DEBUG build
-- DEBUG build
-- Find out LLC target triple (for host sparc64-unknown-netbsd10.0)
-- Find out LLC host CPU with /usr/pkg/bin/llc
CMake Error at cmake/LLVM.cmake:692 (message):
  LLVM could not recognize your CPU model automatically.  Please run CMake
  with -DLLC_HOST_CPU=<cpu> (you can find valid names with: llc -mcpu=help)
Call Stack (most recent call first):
  CMakeLists.txt:579 (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