+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/gambatte-571/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/gambatte-571/work.log
=> Checksum BLAKE2s OK for gambatte_src-r571.tar.gz
=> Checksum SHA512 OK for gambatte_src-r571.tar.gz
===> Installing dependencies for gambatte-571
==========================================================================
The following variables will affect the build process of this package,
gambatte-571.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 312

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

        * PYPACKAGE = python312

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 python312>=3.12: found python312-3.12.8nb2
=> Tool dependency py312-scons>=4.5.2nb1: found py312-scons-4.8.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency SDL>=1.2.15nb17: found SDL-1.2.15nb43
=> 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 glu>=6.0: found glu-9.0.3
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency libICE>=0.99.1: found libICE-1.1.2
=> Full dependency libSM>=0.99.2: found libSM-1.2.5
=> Full dependency libX11>=1.1: found libX11-1.8.10
=> Full dependency libXau>=1.0: found libXau-1.0.12
=> Full dependency libXdamage>=1.0.3: found libXdamage-1.1.6
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libXext>=0.99.0: found libXext-1.3.6
=> Full dependency libXfixes>=4.0.1: found libXfixes-6.0.1
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.4
=> Full dependency libXrender>=0.9.2: found libXrender-0.9.12
=> Full dependency libXt>=1.0.0: found libXt-1.3.1
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.6
=> Full dependency libdrm>=2.4.15: found libdrm-2.4.124
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
=> Full dependency libxshmfence>=1.2: found libxshmfence-1.3.3
===> Overriding tools for gambatte-571
===> Extracting for gambatte-571
===> Patching for gambatte-571
=> Applying pkgsrc patches for gambatte-571
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/gambatte/patches/patch-gambatte__sdl_SConstruct
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/gambatte/patches/patch-gambatte__sdl_SConstruct
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gambatte__sdl_SConstruct,v 1.4 2024/04/19 12:04:23 nia Exp $
|
|Copy environment to SCons environment.
|
|Use absolute path for sdl-config. I don't understand why this is necessary,
|since PATH is set properly, but life's too short for debugging scons.
|
|--- gambatte_sdl/SConstruct.orig	2014-09-28 22:13:10.000000000 +0000
|+++ gambatte_sdl/SConstruct
--------------------------
Patching file gambatte_sdl/SConstruct using Plan A...
Hunk #1 succeeded at 1.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/gambatte/patches/patch-libgambatte_SConstruct
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/gambatte/patches/patch-libgambatte_SConstruct
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libgambatte_SConstruct,v 1.4 2024/04/19 12:04:23 nia Exp $
|
|Copy environment to SCons environment.
|
|--- libgambatte/SConstruct.orig	2024-04-15 16:11:45.938327465 +0000
|+++ libgambatte/SConstruct
--------------------------
Patching file libgambatte/SConstruct using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 37.
done
===> Creating toolchain wrappers for gambatte-571
===> Configuring for gambatte-571
=> Substituting "paths" in gambatte_sdl/SConstruct
=> Checking for portability problems in extracted files