+ 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=310 LUA_VERSION_REQD=53 WRKLOG=/tmp/bulklog/mame-0.251/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 LUA_VERSION_REQD=53 WRKLOG=/tmp/bulklog/mame-0.251/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for mame-0.251.tar.gz
=> Checksum SHA512 OK for mame-0.251.tar.gz
===> Installing dependencies for mame-0.251
==========================================================================
The following variables will affect the build process of this package,
mame-0.251.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = jpeg
        * LUA_VERSION_DEFAULT = 54
        * PYTHON_VERSION_DEFAULT = 310
        * READLINE_DEFAULT = readline

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

        * CURSES_TYPE = ncurses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * LUA_PACKAGE = lua53
        * PYPACKAGE = python310
        * READLINE_TYPE = readline
        * 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.74.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency gmake>=3.81: found gmake-4.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency py310-expat-[0-9]*: found py310-expat-3.10.9nb1
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb1
=> Build dependency glm>=0.9.7: found glm-0.9.9.8
=> Build dependency python310>=3.10: found python310-3.10.9
=> Build dependency rapidjson>=1.1.0: found rapidjson-1.1.0nb1
=> Full dependency liberation-ttf-[0-9]*: found liberation-ttf-2.1.5
=> Full dependency flac>=1.4.0: found flac-1.4.2
=> Full dependency utf8proc>=2.1.1: found utf8proc-2.8.0
=> Full dependency GConf>=3.2.3nb15: found GConf-3.2.3nb15
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency expat>=2.0.0nb1: found expat-2.5.0
=> Full dependency SDL2>=2.24.0nb2: found SDL2-2.26.1
=> Full dependency sqlite3>=3.40.0nb1: found sqlite3-3.40.1
=> Full dependency SDL2_ttf>=2.20.1nb1: found SDL2_ttf-2.20.1nb1
=> Full dependency fontconfig>=2.13.1nb1: found fontconfig-2.13.1nb6
=> Full dependency lua53>=5.3.0<5.4: found lua53-5.3.6
=> Full dependency pugixml>=1.7: found pugixml-1.13
=> Full dependency jpeg>=9: found jpeg-9e
===> Overriding tools for mame-0.251
===> Extracting for mame-0.251
/usr/bin/rm /home/pbulk/build/emulators/mame/work/mame-mame0251/3rdparty/bx/include/compat/freebsd/signal.h
/usr/bin/rm /home/pbulk/build/emulators/mame/work/mame-mame0251/3rdparty/bx/include/compat/freebsd/dirent.h
/usr/bin/mv /home/pbulk/build/emulators/mame/work/mame-mame0251/3rdparty/genie/build/gmake.freebsd /home/pbulk/build/emulators/mame/work/mame-mame0251/3rdparty/genie/build/gmake.bsd
===> Patching for mame-0.251
=> Applying pkgsrc patches for mame-0.251
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mame/patches/patch-3rdparty_genie_build_gmake.darwin_genie.make
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mame/patches/patch-3rdparty_genie_build_gmake.darwin_genie.make
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-3rdparty_genie_build_gmake.darwin_genie.make,v 1.3 2019/11/08 09:44:17 wiz Exp $
|
|Do not set optimization level, nor minimal macOS version.
|
|--- 3rdparty/genie/build/gmake.darwin/genie.make.orig	2019-10-29 17:16:37.000000000 +0000
|+++ 3rdparty/genie/build/gmake.darwin/genie.make
--------------------------
Patching file 3rdparty/genie/build/gmake.darwin/genie.make using Plan A...
Hunk #1 succeeded at 49.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mame/patches/patch-makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mame/patches/patch-makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-makefile,v 1.24 2020/10/28 16:56:24 wiz Exp $
|
|Treat all BSDs the same.
|
|Do not set compiler optimization.
|
|--- makefile.orig	2020-10-27 01:00:36.000000000 +0000
|+++ makefile
--------------------------
Patching file makefile using Plan A...
Hunk #1 succeeded at 206 (offset 6 lines).
Hunk #2 succeeded at 622 (offset 23 lines).
done
===> Creating toolchain wrappers for mame-0.251
/usr/bin/ln -s /home/pbulk/build/emulators/mame/work/.buildlink/lib/pkgconfig/lua-5.3.pc /home/pbulk/build/emulators/mame/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for mame-0.251
=> Checking for portability problems in extracted files