+ 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/srb2-2.2.4nb9/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/srb2-2.2.4nb9/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
=> Checksum BLAKE2s OK for srb2-2.2.4/srb2-assets-opt.7z
=> Checksum SHA512 OK for srb2-2.2.4/srb2-assets-opt.7z
=> Checksum BLAKE2s OK for srb2-2.2.4/srb2-assets.7z
=> Checksum SHA512 OK for srb2-2.2.4/srb2-assets.7z
=> Checksum BLAKE2s OK for srb2-2.2.4/srb2-patch.zip
=> Checksum SHA512 OK for srb2-2.2.4/srb2-patch.zip
=> Checksum BLAKE2s OK for srb2-2.2.4/srb2.tar.gz
=> Checksum SHA512 OK for srb2-2.2.4/srb2.tar.gz
===> Installing dependencies for srb2-2.2.4nb9
==========================================================================
The following variables will affect the build process of this package,
srb2-2.2.4nb9.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses

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

        * CURSES_TYPE = ncurses
        * 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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency nasm>=1.1: found nasm-2.16.01
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency p7zip>=9.04: found p7zip-16.02nb2
=> Tool dependency cmake>=3.18: found cmake-3.31.3
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency unzip-[0-9]*: found unzip-6.0nb10
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency SDL2>=2.30.2nb1: found SDL2-2.30.10
=> Full dependency SDL2_mixer>=2.0.0: found SDL2_mixer-2.0.4nb15
=> Full dependency game-music-emu>=0.6.2: found game-music-emu-0.6.3
=> 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 alsa-lib>=1.0.18: found alsa-lib-1.2.12
=> Full dependency flac>=1.1.0nb1: found flac-1.4.3
=> 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 libffi>=1.20: found libffi-3.4.6
=> 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 libxkbcommon>=0.4.0: found libxkbcommon-1.7.0nb5
=> Full dependency libxshmfence>=1.2: found libxshmfence-1.3.3
=> Full dependency mpg123>=1.0.0: found mpg123-1.32.10
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency wayland>=1.21.0: found wayland-1.23.0nb3
=> Full dependency wayland-protocols>=1.17: found wayland-protocols-1.39
===> Overriding tools for srb2-2.2.4nb9
===> Extracting for srb2-2.2.4nb9

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Scanning the drive for archives:
1 file, 58929031 bytes (57 MiB)

Extracting archive: /nfs/distfiles/srb2-2.2.4/srb2-assets.7z
--
Path = /nfs/distfiles/srb2-2.2.4/srb2-assets.7z
Type = 7z
Physical Size = 58929031
Headers Size = 352
Method = LZMA2:24
Solid = +
Blocks = 3

Everything is Ok

Files: 8
Size:       65002414
Compressed: 58929031

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Scanning the drive for archives:
1 file, 104289314 bytes (100 MiB)

Extracting archive: /nfs/distfiles/srb2-2.2.4/srb2-assets-opt.7z
--
Path = /nfs/distfiles/srb2-2.2.4/srb2-assets-opt.7z
Type = 7z
Physical Size = 104289314
Headers Size = 122
Method = Copy
Solid = -
Blocks = 1

Everything is Ok

Size:       104289192
Compressed: 104289314
===> Patching for srb2-2.2.4nb9
=> Applying pkgsrc patches for srb2-2.2.4nb9
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/games/srb2/patches/patch-src_sdl_i__system.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/games/srb2/patches/patch-src_sdl_i__system.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_sdl_i__system.c,v 1.2 2020/02/26 17:55:51 nia Exp $
|
|Hunk 1: Support searching PREFIX for data files.
|
|Hunk 2: Support NetBSD's spelling of statfs.
|
|--- src/sdl/i_system.c.orig	2020-02-22 22:27:19.000000000 +0000
|+++ src/sdl/i_system.c
--------------------------
Patching file src/sdl/i_system.c using Plan A...
Hunk #1 succeeded at 139.
Hunk #2 succeeded at 2565.
done
===> Creating toolchain wrappers for srb2-2.2.4nb9
===> Configuring for srb2-2.2.4nb9
=> Setting PREFIX search paths.
/bin/mkdir -p /home/pbulk/build/games/srb2/work/SRB2-SRB2_release_2.2.4/assets/installer
/bin/mv /home/pbulk/build/games/srb2/work/*.dta /home/pbulk/build/games/srb2/work/*.pk3  /home/pbulk/build/games/srb2/work/SRB2-SRB2_release_2.2.4/assets/installer
/bin/mv /home/pbulk/build/games/srb2/work/2.2.3-patch/*.dta  /home/pbulk/build/games/srb2/work/2.2.3-patch/*.pk3  /home/pbulk/build/games/srb2/work/SRB2-SRB2_release_2.2.4/assets/installer
/bin/mkdir -p /home/pbulk/build/games/srb2/work/SRB2-SRB2_release_2.2.4/build
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
CMake Deprecation Warning at CMakeLists.txt:1 (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 8.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/games/srb2/work/.cwrapper/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Target is 64-bit
-- Found GME 
CMake Warning at cmake/Modules/LibFindMacros.cmake:263 (message):
  WARNING: MISSING PACKAGE

  We could not find development headers for OPENMPT.  Do you have the
  necessary dev package installed? This package is NOT REQUIRED and you may
  ignore this warning but by doing so you may miss some functionality of
  SRB2.

  Relevant CMake configuration variables:

    OPENMPT_INCLUDE_DIR=<not found>
    OPENMPT_LIBRARY=<not found>

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/Modules/FindOPENMPT.cmake:23 (libfind_process)
  src/CMakeLists.txt:359 (find_package)


CMake Warning at src/CMakeLists.txt:365 (message):
  You have specified that OpenMPT is available but it was not found.


-- Found ZLIB: /usr/pkg/lib/libz.so (found version "1.3.1")
-- Found PNG: /usr/pkg/lib/libpng16.so (found version "1.6.44")
-- Found SDL2_MIXER 
-- Found SDL2 
-- Configuring done (1.4s)
-- Generating done (0.1s)
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/srb2/work/SRB2-SRB2_release_2.2.4/build
=> Rewrite cmake Dependencies files