+ 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/srb2-2.2.4nb7/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/srb2-2.2.4nb7/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> 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.4nb7
=> 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>=2.8.1nb1: found cmake-3.26.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.5
=> Tool dependency unzip-[0-9]*: found unzip-6.0nb9
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb2
=> Full dependency game-music-emu>=0.6.2: found game-music-emu-0.6.3
=> Full dependency SDL2_mixer>=2.0.4nb12: found SDL2_mixer-2.0.4nb12
=> Full dependency SDL2>=2.26.5nb1: found SDL2-2.26.5nb1
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency png>=1.6.0nb1: found png-1.6.39
===> Overriding tools for srb2-2.2.4nb7
===> Extracting for srb2-2.2.4nb7

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=C,Utf16=off,HugeFiles=on,64 bits,1 CPU x64)

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

Extracting archive: /data/distfiles/srb2-2.2.4/srb2-assets.7z
--
Path = /data/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=C,Utf16=off,HugeFiles=on,64 bits,1 CPU x64)

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

Extracting archive: /data/distfiles/srb2-2.2.4/srb2-assets-opt.7z
--
Path = /data/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.4nb7
=> Applying pkgsrc patches for srb2-2.2.4nb7
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/srb2/patches/patch-src_sdl_i__system.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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.4nb7
===> Configuring for srb2-2.2.4nb7
=> Setting PREFIX search paths.
/usr/bin/mkdir -p /home/pbulk/build/games/srb2/work/SRB2-SRB2_release_2.2.4/assets/installer
/usr/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
/usr/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
/usr/bin/mkdir -p /home/pbulk/build/games/srb2/work/SRB2-SRB2_release_2.2.4/build
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 12.2.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/gcc - 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: /opt/pkg/lib/libz.so (found version "1.2.13")  
-- Found PNG: /opt/pkg/lib/libpng16.so (found version "1.6.39") 
-- Found SDL2_MIXER 
-- Found SDL2 
-- Configuring done (1.5s)
-- 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