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

        * PYTHON_VERSION_DEFAULT = 311

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

        * PYPACKAGE = python311

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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency python311>=3.11.0: found python311-3.11.9
===> Overriding tools for gng-1.0.4nb1
===> Extracting for gng-1.0.4nb1
===> Patching for gng-1.0.4nb1
=> Applying pkgsrc patches for gng-1.0.4nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gng/patches/patch-bin_gng
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gng/patches/patch-bin_gng
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-bin_gng,v 1.3 2023/02/08 15:51:46 schmonz Exp $
|
|Use pkgsrc paths.
|
|--- bin/gng.orig	2021-10-13 09:10:21.000000000 +0000
|+++ bin/gng
--------------------------
Patching file bin/gng using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 69.
Hunk #3 succeeded at 132.
done
===> Creating toolchain wrappers for gng-1.0.4nb1
ERROR: gettext-lib>=0.22 is not installed; can't buildlink files.
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gng
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gng