+ 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/sameboy-0.15.8nb3/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sameboy-0.15.8nb3/work.log
=> Checksum BLAKE2s OK for sameboy-0.15.8.tar.gz
=> Checksum SHA512 OK for sameboy-0.15.8.tar.gz
===> Installing dependencies for sameboy-0.15.8nb3
==========================================================================
The supported build options for sameboy are:

	openal

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.sameboy (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
sameboy-0.15.8nb3.  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
`/opt/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency rgbds>=0.5.0: found rgbds-0.5.1
=> Tool dependency gmake>=3.81: found gmake-4.4.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 MesaLib>=21.3.9nb3: found MesaLib-21.3.9nb4
=> 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 hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> 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 sameboy-0.15.8nb3
===> Extracting for sameboy-0.15.8nb3
===> Patching for sameboy-0.15.8nb3
=> Applying pkgsrc patches for sameboy-0.15.8nb3
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/emulators/sameboy/../../emulators/sameboy/patches/patch-Core_gb.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/emulators/sameboy/../../emulators/sameboy/patches/patch-Core_gb.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Core_gb.c,v 1.1 2021/08/10 12:20:41 nia Exp $
|
|Fix building with memcpy defined as a macro (FORTIFY_SOURCE/SSP).
|
|--- Core/gb.c.orig	2021-08-01 13:19:40.000000000 +0000
|+++ Core/gb.c
--------------------------
Patching file Core/gb.c using Plan A...
Hunk #1 succeeded at 340 (offset 33 lines).
Hunk #2 succeeded at 354 (offset 33 lines).
done
===> Creating toolchain wrappers for sameboy-0.15.8nb3
/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/emulators/sameboy/work/.cwrapper/specs.pkgsrc
===> Configuring for sameboy-0.15.8nb3