+ 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/gearsystem-3.4.1nb6/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gearsystem-3.4.1nb6/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for gearsystem-3.4.1.tar.gz
=> Checksum SHA512 OK for gearsystem-3.4.1.tar.gz
===> Installing dependencies for gearsystem-3.4.1nb6
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.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 SDL2>=2.28.5nb1: found SDL2-2.30.0
=> Full dependency MesaLib>=21.3.9nb3: found MesaLib-21.3.9nb4
=> Full dependency glew>=2.1.0: found glew-2.2.0nb2
===> Overriding tools for gearsystem-3.4.1nb6
===> Extracting for gearsystem-3.4.1nb6
===> Patching for gearsystem-3.4.1nb6
=> Applying pkgsrc patches for gearsystem-3.4.1nb6
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/gearsystem/../../emulators/gearsystem/patches/patch-platforms_desktop-shared_Makefile.common
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/gearsystem/../../emulators/gearsystem/patches/patch-platforms_desktop-shared_Makefile.common
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-platforms_desktop-shared_Makefile.common,v 1.3 2021/08/24 13:50:07 nia Exp $
|
|Avoid overriding variables we want to pass through pkgsrc.
|
|--- platforms/desktop-shared/Makefile.common.orig	2021-08-13 21:24:47.000000000 +0000
|+++ platforms/desktop-shared/Makefile.common
--------------------------
Patching file platforms/desktop-shared/Makefile.common using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 21.
done
===> Creating toolchain wrappers for gearsystem-3.4.1nb6
===> Configuring for gearsystem-3.4.1nb6
=> Checking for portability problems in extracted files