+ 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/open-simh-4.1.0.20240904/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/open-simh-4.1.0.20240904/work.log
=> Checksum BLAKE2s OK for open-simh-4.1.0-2437b13fb1602416dda7886f2023ffdf1f175880.tar.gz
=> Checksum SHA512 OK for open-simh-4.1.0-2437b13fb1602416dda7886f2023ffdf1f175880.tar.gz
===> Installing dependencies for open-simh-4.1.0.20240904
==========================================================================
The following variables will affect the build process of this package,
open-simh-4.1.0.20240904.  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/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.2
=> 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
=> Full dependency dejavu-ttf-[0-9]*: found dejavu-ttf-2.37
=> Full dependency SDL2>=2.30.2nb1: found SDL2-2.30.10
=> Full dependency SDL2_ttf>=2.22.0nb2: found SDL2_ttf-2.22.0nb2
=> Full dependency editline>=3.0.20130712nb1: found editline-3.1.20221030nb2
=> Full dependency libpcap>=1.3.0nb1: found libpcap-1.10.5
=> Full dependency pcre>=8.30nb1: found pcre-8.45
=> Full dependency png>=1.6.0nb1: found png-1.6.44
=> 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 brotli>=1.0.1: found brotli-1.1.0
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency flac>=1.1.0nb1: found flac-1.4.3
=> Full dependency freetype2>=2.13.0: found freetype2-2.13.3
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency glib2>=2.4.0: found glib2-2.82.2
=> Full dependency graphite2>=1.2: found graphite2-1.3.14nb3
=> Full dependency harfbuzz>=2.1.1: found harfbuzz-10.1.0
=> 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 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 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
=> Full dependency pcre2>=10.21: found pcre2-10.44
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for open-simh-4.1.0.20240904
===> Extracting for open-simh-4.1.0.20240904
/usr/bin/mkdir -p /home/pbulk/build/emulators/open-simh/work/simh-2437b13fb1602416dda7886f2023ffdf1f175880/BIN
===> Patching for open-simh-4.1.0.20240904
=> Applying pkgsrc patches for open-simh-4.1.0.20240904
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/open-simh/patches/patch-makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/open-simh/patches/patch-makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-makefile,v 1.4 2024/10/03 12:42:53 rhialto Exp $
|
|Fix png16 detection.
|Let INCLUDES and LIBRARIES be the sole source for INCPATH and LIBPATH,
|to avoid seeing non-pkgsrc libraries (except MacOS platform).
|
|--- makefile.orig	2024-09-05 21:21:41.000000000 +0000
|+++ makefile
--------------------------
Patching file makefile using Plan A...
Hunk #1 succeeded at 404.
Hunk #2 succeeded at 421.
Hunk #3 succeeded at 432.
Hunk #4 succeeded at 449.
Hunk #5 succeeded at 458.
Hunk #6 succeeded at 489.
Hunk #7 succeeded at 499.
Hunk #8 succeeded at 511.
Hunk #9 succeeded at 553.
Hunk #10 succeeded at 671.
Hunk #11 succeeded at 922.
Hunk #12 succeeded at 1322.
done
===> Creating toolchain wrappers for open-simh-4.1.0.20240904
===> Configuring for open-simh-4.1.0.20240904
=> Checking for portability problems in extracted files