+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/openjk-0.0.0.20191030nb9/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/openjk-0.0.0.20191030nb9/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for openjk-0.0.0.20191030-4881be7478a833791d127fce7563de252d2246f7.tar.gz
=> Checksum SHA512 OK for openjk-0.0.0.20191030-4881be7478a833791d127fce7563de252d2246f7.tar.gz
===> Installing dependencies for openjk-0.0.0.20191030nb9
==========================================================================
The following variables will affect the build process of this package,
openjk-0.0.0.20191030nb9.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

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
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency icoutils-[0-9]*: found icoutils-0.32.3nb5
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.28.3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.23.1nb3
=> Full dependency SDL2>=2.28.5nb1: found SDL2-2.30.0
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency glu>=7.11.2: found glu-9.0.3
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency png>=1.6.0nb1: found png-1.6.42
=> Full dependency jpeg>=9: found jpeg-9e
===> Overriding tools for openjk-0.0.0.20191030nb9
===> Extracting for openjk-0.0.0.20191030nb9
===> Patching for openjk-0.0.0.20191030nb9
=> Applying pkgsrc patches for openjk-0.0.0.20191030nb9
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/openjk/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/openjk/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.1 2021/09/25 05:40:00 nia Exp $
|
|Cope with NetBSD calling 32-bit ARM "earm".
|
|--- CMakeLists.txt.orig	2019-10-30 05:48:12.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 114.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/openjk/patches/patch-CMakeModules_InstallConfig.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/openjk/patches/patch-CMakeModules_InstallConfig.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeModules_InstallConfig.cmake,v 1.1 2019/11/03 12:12:56 nia Exp $
|
|Install to share/.
|
|--- CMakeModules/InstallConfig.cmake.orig	2019-10-30 05:48:12.000000000 +0000
|+++ CMakeModules/InstallConfig.cmake
--------------------------
Patching file CMakeModules/InstallConfig.cmake using Plan A...
Hunk #1 succeeded at 17.
done
===> Creating toolchain wrappers for openjk-0.0.0.20191030nb9
===> Configuring for openjk-0.0.0.20191030nb9
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:19 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/games/openjk/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: /home/pbulk/build/games/openjk/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Architecture is i386
-- Git revision is GITDIR-NOTFOUND
-- No build type selected, default to RELEASE
-- Found JPEG: /opt/pkg/lib/libjpeg.so (found version "90") 
-- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.3.1")  
-- Found PNG: /opt/pkg/lib/libpng16.so (found version "1.6.42") 
-- Found OpenGL: /opt/pkg/lib/libGL.so   
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found SDL2: /opt/pkg/lib/libSDL2main.a;/opt/pkg/lib/libSDL2.so  
-- Configuring done (12.3s)
-- Generating done (0.3s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /home/pbulk/build/games/openjk/work/OpenJK-4881be7478a833791d127fce7563de252d2246f7
=> Rewrite cmake Dependencies files