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

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = jpeg
        * LUA_VERSION_DEFAULT = 54
        * 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 = lua54
        * 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 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
=> Full dependency SDL>=1.2.15nb17: found SDL-1.2.15nb43
=> Full dependency SDL_image>=1.2.12nb6: found SDL_image-1.2.12nb11
=> Full dependency SDL_ttf>=2.0.11nb6: found SDL_ttf-2.0.11nb6
=> Full dependency fontconfig>=2.14.2nb3: found fontconfig-2.15.0
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency lua54>=5.4.0<5.5: found lua54-5.4.7
=> Full dependency png>=1.6.0nb1: found png-1.6.44
=> Full dependency tiff>=4.6.0: found tiff-4.7.0
=> 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 expat>=1.95.7: found expat-2.6.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 glu>=6.0: found glu-9.0.3
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency jbigkit>=2.0: found jbigkit-2.1nb1
=> Full dependency jpeg>=8nb1: found jpeg-9f
=> 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
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency readline>=2.2: found readline-8.2nb2
=> Full dependency xz>=5.0.0: found xz-5.6.3
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for grafx2-2.8.3132nb4
===> Extracting for grafx2-2.8.3132nb4
===> Patching for grafx2-2.8.3132nb4
=> Applying pkgsrc patches for grafx2-2.8.3132nb4
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/grafx2/patches/patch-main.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/grafx2/patches/patch-main.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-main.c,v 1.2 2020/02/10 13:08:10 ryoon Exp $
|
|* Enable non-absolute path execute
|
|--- main.c.orig	2020-02-06 21:01:27.000000000 +0000
|+++ main.c
--------------------------
Patching file main.c using Plan A...
Hunk #1 succeeded at 640 (offset -14 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/grafx2/patches/patch-misc.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/grafx2/patches/patch-misc.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-misc.c,v 1.4 2022/07/15 21:21:29 wiz Exp $
|
|* Fix sysctl build failure
|
|--- misc.c.orig	2022-05-19 07:17:59.000000000 +0000
|+++ misc.c
--------------------------
Patching file misc.c using Plan A...
Hunk #1 succeeded at 21.
done
===> Creating toolchain wrappers for grafx2-2.8.3132nb4
/usr/bin/ln -s /home/pbulk/build/graphics/grafx2/work/.buildlink/lib/pkgconfig/lua-5.4.pc /home/pbulk/build/graphics/grafx2/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for grafx2-2.8.3132nb4
=> Set PREFIX
=> Checking for portability problems in extracted files