+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/openjk-0.0.0.20191030nb10/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/openjk-0.0.0.20191030nb10/work.log
WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
=> 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.20191030nb10
==========================================================================
The following variables will affect the build process of this package,
openjk-0.0.0.20191030nb10.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = libjpeg-turbo

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

        * CURSES_TYPE = ncurses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = libjpeg-turbo
        * TERMCAP_TYPE = curses

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/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency icoutils-[0-9]*: found icoutils-0.32.3nb5
=> Tool dependency cmake>=3.18: found cmake-3.31.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc13>=13.1.0: found gcc13-13.3.0
=> Full dependency SDL2>=2.30.2nb1: found SDL2-2.30.10
=> Full dependency gcc13-libs>=13.2.0: found gcc13-libs-13.3.0
=> 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 libjpeg-turbo>=1.1.0: found libjpeg-turbo-3.0.4
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.24.1
=> Full dependency png>=1.6.0nb1: found png-1.6.44
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency MesaLib>=3.4.2: found MesaLib-21.3.9nb4
=> Full dependency flac>=1.1.0nb1: found flac-1.4.3
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency lame>=3.93.1nb2: found lame-3.100nb6
=> Full dependency libX11>=1.5: found libX11-1.8.10
=> Full dependency libXScrnSaver>=1.1.2: found libXScrnSaver-1.2.4
=> Full dependency libXau>=1.0: found libXau-1.0.12
=> Full dependency libXcursor>=1.1.1: found libXcursor-1.2.3
=> Full dependency libXdamage>=1.0.3: found libXdamage-1.1.6
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libXext>=1.1: found libXext-1.3.6
=> Full dependency libXfixes>=4.0.1: found libXfixes-6.0.1
=> Full dependency libXi>=1.0.0: found libXi-1.8.2
=> Full dependency libXinerama>=1.0.1: found libXinerama-1.1.5
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.4
=> Full dependency libXrender>=0.9.2: found libXrender-0.9.12
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.6
=> Full dependency libdrm>=2.4.15: found libdrm-2.4.124
=> Full dependency libogg>=1.1: found libogg-1.3.5nb1
=> Full dependency libopus>=1.1: found libopus-1.5.2
=> Full dependency libsamplerate>=0.0.13nb1: found libsamplerate-0.2.2nb4
=> Full dependency libsndfile>=1.0.0: found libsndfile-1.2.2nb1
=> Full dependency libvorbis>=1.0.1: found libvorbis-1.3.7
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
=> Full dependency libxshmfence>=1.2: found libxshmfence-1.3.3
=> Full dependency mpg123>=1.0.0: found mpg123-1.32.9
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
===> Overriding tools for openjk-0.0.0.20191030nb10
===> Extracting for openjk-0.0.0.20191030nb10
===> Patching for openjk-0.0.0.20191030nb10
=> Applying pkgsrc patches for openjk-0.0.0.20191030nb10
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/openjk/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/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-trunk-x86_64/games/openjk/patches/patch-CMakeModules_InstallConfig.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/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.20191030nb10
/usr/bin/sed  -e '/^#/d'  -e 's,@LINK_ARCH_DEFAULT@,link_arch64,g'  -e 's,@LINK_LIBGCC_DEFAULT@,link_libgcc_arch64,g'  -e 's,@LIBGCC_PREFIX@,/opt/local/gcc13/x86_64-sun-solaris2.11,g'  < ../../extra/gcc13-libs/files/specs.pkgsrc  > /home/pbulk/build/games/openjk/work/.cwrapper/specs.pkgsrc
===> Configuring for openjk-0.0.0.20191030nb10
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
CMake Deprecation Warning at CMakeLists.txt:19 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.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/local/lib/libjpeg.so (found version "80")
-- Found ZLIB: /opt/local/lib/libz.so (found version "1.3.1")
-- Found PNG: /opt/local/lib/libpng16.so (found version "1.6.44")
-- Found OpenGL: /opt/local/lib/libGL.so
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found SDL2: /opt/local/lib/libSDL2main.a;/opt/local/lib/libSDL2.so
-- Configuring done (7.0s)
-- Generating done (0.4s)
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