+ 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=51 WRKLOG=/tmp/bulklog/stratagus-2.1nb22/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=51 WRKLOG=/tmp/bulklog/stratagus-2.1nb22/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for stratagus-2.1-src.tar.gz
=> Checksum SHA512 OK for stratagus-2.1-src.tar.gz
===> Installing dependencies for stratagus-2.1nb22
==========================================================================
The following variables will affect the build process of this package,
stratagus-2.1nb22.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * LUA_VERSION_DEFAULT = 54
        * READLINE_DEFAULT = readline

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

        * CURSES_TYPE = ncurses
        * LUA_PACKAGE = lua51
        * 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 mktools-[0-9]*: found mktools-20220614
=> 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
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Full dependency bzip2>=1.0.3: found bzip2-1.0.8
=> Full dependency flac>=1.4.0: found flac-1.4.3
=> Full dependency libogg>=1.1.2nb1: found libogg-1.3.5nb1
=> Full dependency libmad>=0.15.1bnb1: found libmad-0.15.1bnb2
=> Full dependency libmikmod>=3.2.0: found libmikmod-3.3.11.1nb13
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency SDL>=1.2.15nb17: found SDL-1.2.15nb43
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency png>=1.6.0nb1: found png-1.6.42
=> Full dependency lua51>=5.1.1<5.2: found lua51-5.1.5nb3
===> Overriding tools for stratagus-2.1nb22
===> Extracting for stratagus-2.1nb22
===> Patching for stratagus-2.1nb22
=> Applying pkgsrc patches for stratagus-2.1nb22
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/stratagus/patches/patch-Rules.make.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/stratagus/patches/patch-Rules.make.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Rules.make.in,v 1.1 2014/08/19 13:33:30 joerg Exp $
|
|--- Rules.make.in.orig	2014-08-19 09:06:12.000000000 +0000
|+++ Rules.make.in
--------------------------
Patching file Rules.make.in using Plan A...
Hunk #1 succeeded at 29.
Hunk #2 succeeded at 49.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/stratagus/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/stratagus/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.1.1.1 2004/08/17 12:29:14 wiz Exp $
|
|--- src/stratagus/stratagus.c.orig	2004-06-26 01:22:34.000000000 +0200
|+++ src/stratagus/stratagus.c
--------------------------
Patching file src/stratagus/stratagus.c using Plan A...
Hunk #1 succeeded at 341.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/stratagus/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/stratagus/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.2 2006/08/14 22:37:57 wiz Exp $
|
|--- configure.orig	2004-07-02 01:46:35.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 3050.
Hunk #2 succeeded at 5548.
Hunk #3 succeeded at 5760.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/stratagus/patches/patch-ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/stratagus/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.1 2006/08/14 22:37:57 wiz Exp $
|
|--- src/stratagus/script.c.orig	2004-06-26 22:38:18.000000000 +0000
|+++ src/stratagus/script.c
--------------------------
Patching file src/stratagus/script.c using Plan A...
Hunk #1 succeeded at 325.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/stratagus/patches/patch-ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/stratagus/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.1 2006/09/20 15:05:57 joerg Exp $
|
|--- Makefile.orig	2006-09-19 21:32:43.000000000 +0200
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 115.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/stratagus/patches/patch-af
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/stratagus/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.1 2007/01/12 20:32:48 wiz Exp $
|
|--- src/sound/flac.c.orig	2004-06-25 23:22:33.000000000 +0000
|+++ src/sound/flac.c
--------------------------
Patching file src/sound/flac.c using Plan A...
Hunk #1 succeeded at 47.
Hunk #2 succeeded at 95.
Hunk #3 succeeded at 351.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/stratagus/patches/patch-src_video_png.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/stratagus/patches/patch-src_video_png.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_video_png.c,v 1.2 2011/08/05 00:56:37 wiz Exp $
|
|Fix build with png-1.5.
|https://bugs.launchpad.net/stratagus/+bug/821210
|
|--- src/video/png.c.orig	2004-06-26 22:38:20.000000000 +0000
|+++ src/video/png.c
--------------------------
Patching file src/video/png.c using Plan A...
Hunk #1 succeeded at 133.
Hunk #2 succeeded at 212.
Hunk #3 succeeded at 224.
Hunk #4 succeeded at 270.
Hunk #5 succeeded at 336.
done
===> Creating toolchain wrappers for stratagus-2.1nb22
/usr/bin/ln -s /home/pbulk/build/games/stratagus/work/.buildlink/lib/pkgconfig/lua-5.1.pc /home/pbulk/build/games/stratagus/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for stratagus-2.1nb22
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
checking for x86_64-sun-solaris2.11-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for sdl-config... sdl-config
checking for main in -lbz2... yes
checking ogg/ogg.h usability... yes
checking ogg/ogg.h presence... yes
checking for ogg/ogg.h... yes
checking vorbis/vorbisfile.h usability... yes
checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes
checking mikmod.h usability... yes
checking mikmod.h presence... yes
checking for mikmod.h... yes
checking for lua-config... no
checking for lua-config50... no
checking for luaconfig5.0... no
checking for lua_getfenv in -llua... yes
configure: creating ./config.status
config.status: creating Rules.make