+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pocl-4.0nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pocl-4.0nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for pocl-4.0.tar.gz
=> Checksum SHA512 OK for pocl-4.0.tar.gz
===> Installing dependencies for pocl-4.0nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.28.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3
=> 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-2021.04.29
=> Full dependency clang>=16.0.6nb1<17: found clang-16.0.6nb1
=> Full dependency llvm>=16.0.0<17: found llvm-16.0.6nb1
=> Full dependency hwloc>=1.11.13nb8: found hwloc-1.11.13nb8
=> Full dependency ocl-icd>=2.3.0: found ocl-icd-2.3.0nb2
===> Overriding tools for pocl-4.0nb1
===> Extracting for pocl-4.0nb1
===> Patching for pocl-4.0nb1
===> Creating toolchain wrappers for pocl-4.0nb1
===> Configuring for pocl-4.0nb1
/bin/ln -sf /usr/pkg/bin/clang /home/pbulk/build/parallel/pocl/work/.cwrapper/bin/clang
/bin/ln -sf /usr/pkg/bin/clang++ /home/pbulk/build/parallel/pocl/work/.cwrapper/bin/clang++
/bin/ln -sf /usr/pkg/bin/clang-cpp /home/pbulk/build/parallel/pocl/work/.cwrapper/bin/clang-cpp
=> Adding run-time search paths to pkg-config files.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted 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 11.3.1
-- The CXX compiler identification is GNU 11.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/parallel/pocl/work/.cwrapper/bin/cc - 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: /home/pbulk/build/parallel/pocl/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_SYSTEM_NAME: Linux
-- CMAKE_SYSTEM_PROCESSOR: x86_64
-- CMAKE_LIBRARY_ARCHITECTURE: 
-- Performing Test HAVE_WARN_INCOMPATIBLE_POINTER_TYPES
-- Performing Test HAVE_WARN_INCOMPATIBLE_POINTER_TYPES - Success
fatal: not a git repository (or any of the parent directories): .git
-- No git and/or not a prerelease -> not adding git commit to version.
-- Host CPU cores: 8
-- Found PkgConfig: /home/pbulk/build/parallel/pocl/work/.tools/bin/pkg-config (found version "2.0.3") 
-- 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/include:hwloc
-- Hwloc_VERSION 1.11.13
-- Hwloc_LIBRARIES hwloc
-- Hwloc_INCLUDE_DIRS /usr/pkg/include;/usr/pkg/include/libxml2;/usr/include
-- Using hwloc (cached): 1
-- L1D Cacheline size detected: 64
CMake Error at CMakeLists.txt:509 (message):
  Could not find patch command.


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/parallel/pocl
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/parallel/pocl