+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=37 WRKLOG=/tmp/bulklog/crossfire-server-1.71.0nb20/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=37 WRKLOG=/tmp/bulklog/crossfire-server-1.71.0nb20/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for crossfire-1.71.0.arch.tar.bz2
=> Checksum SHA512 OK for crossfire-1.71.0.arch.tar.bz2
=> Checksum BLAKE2s OK for crossfire-1.71.0.maps.tar.bz2
=> Checksum SHA512 OK for crossfire-1.71.0.maps.tar.bz2
=> Checksum BLAKE2s OK for crossfire-1.71.0.tar.bz2
=> Checksum SHA512 OK for crossfire-1.71.0.tar.bz2
===> Installing dependencies for crossfire-server-1.71.0nb20
==========================================================================
The following variables will affect the build process of this package,
crossfire-server-1.71.0nb20.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * PYTHON_VERSION_DEFAULT = 310
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private
        * VARBASE = /var

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * PYPACKAGE = python37

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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency pdksh>=5.2.14: found pdksh-5.2.14nb7
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency tcsh-[0-9]*: found tcsh-6.24.07
=> Full dependency perl>=5.0: found perl-5.36.0
=> Full dependency gd>=2.3.3nb2: found gd-2.3.3nb4
=> Full dependency libxslt>=1.1.37nb1: found libxslt-1.1.37nb1
=> Full dependency curl>=7.86.0nb1: found curl-7.87.0
=> Full dependency python37>=3.7: found python37-3.7.15
===> Overriding tools for crossfire-server-1.71.0nb20
===> Extracting for crossfire-server-1.71.0nb20
===> Patching for crossfire-server-1.71.0nb20
=> Applying pkgsrc patches for crossfire-server-1.71.0nb20
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/games/crossfire-server/patches/patch-lib_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/games/crossfire-server/patches/patch-lib_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lib_Makefile.in,v 1.1 2019/10/29 17:59:18 nia Exp $
|
|Install configuration files to examples.
|
|--- lib/Makefile.in.orig	2014-04-05 22:30:49.000000000 +0000
|+++ lib/Makefile.in
--------------------------
Patching file lib/Makefile.in using Plan A...
Hunk #1 succeeded at 288.
done
===> Creating toolchain wrappers for crossfire-server-1.71.0nb20
===> Configuring for crossfire-server-1.71.0nb20
=> 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
=> Replacing bash interpreter in utils/crossloop.web.in ../arch/dev/png_recompress.sh ../maps/brest/pshops/pshop_copier.
INFO: [replace-interpreter] Nothing changed in utils/crossloop.web.in.
INFO: [replace-interpreter] Nothing changed in ../maps/brest/pshops/pshop_copier.
=> Replacing csh interpreter in ../arch/dev/xpmtopng ../arch/dev/merge.csh ../arch/dev/scripts/updatearch.
=> Replacing Perl interpreter in doc/include_html.pl doc/playbook/make_index.pl doc/scripts/items-extract.pl doc/scripts/makeps.pl doc/scripts/monster-extract.pl lib/adm/archsearch.pl lib/adm/collect_images.pl lib/adm/map_expand.pl lib/adm/mapslitter.pl utils/player_dl.pl.in utils/metaserver.pl.in utils/mktable.script lib/adm/map_info ../arch/dev/scripts/update_armor.pl ../arch/dev/scripts/update_body.pl ../arch/dev/scripts/update_monster.pl ../arch/dev/scripts/update_object.pl ../arch/dev/scripts/update_shield.pl ../arch/dev/split-png-linux.pl ../arch/dev/splitter-png.pl ../arch/dev/splitter.pl ../maps/Info/combine.pl ../maps/Info/map_sed.pl ../maps/Info/rewrite_exits.pl ../maps/Info/rewrite_styles.pl ../maps/Info/update_apart.pl ../maps/Info/update_exits.pl.
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/pbulk/build/games/crossfire-server/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking if malloc debugging is wanted... no
checking for gawk... (cached) /bin/gawk
checking for x86_64-redhat-linux-gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking how to print strings... print -r
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
checking for fgrep... /bin/grep -F
checking for ld used by cc... /home/pbulk/build/games/crossfire-server/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/games/crossfire-server/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 2097152
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/pbulk/build/games/crossfire-server/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for x86_64-redhat-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from cc object... ok
checking for sysroot... no
checking for x86_64-redhat-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/home/pbulk/build/games/crossfire-server/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... /bin/rm: cannot remove 'conftest*': No such file or directory
no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for flex... no
checking for lex... no
checking for basename... /home/pbulk/build/games/crossfire-server/work/.tools/bin/basename
checking for bzip2... /usr/pkg/bin/bzip2
checking for compress... no
checking for gzip... (cached) /bin/gzip -nf -9
checking for latex... no
checking for perl... /usr/pkg/bin/perl
checking for svnversion... no
checking for tar... /bin/tar
checking for library containing gethostbyname... none required
checking for library containing pow... -lm
checking for library containing sqrt... none required
checking for library containing crypt... -lcrypt
checking for des_crypt in -ldes... no
checking for compress in -lz... yes
checking for pthread_create in -lpthread... yes
checking for gawk... (cached) /bin/gawk
checking for curl-config... /usr/pkg/bin/curl-config
checking for the version of libcurl... 7.87.0
checking whether libcurl is usable... yes
checking for curl_free... yes
checking for library containing dlopen... -ldl
checking for sqlite3_open in -lsqlite3... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking sys/ttycom.h usability... no
checking sys/ttycom.h presence... no
checking for sys/ttycom.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking des.h usability... no
checking des.h presence... no
checking for des.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for int16_t... yes
checking for int32_t... yes
checking for int8_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking size of long... 8
checking size of long long... 8
checking whether the C compiler supports -fvisibility=hidden and the visibility __attribute__... yes
checking for working memcmp... yes
checking whether setpgrp takes no argument... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for getdtablesize... yes
checking for gettimeofday... yes
checking for mkdir... yes
checking for mktime... yes
checking for rmdir... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strcspn... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for snprintf... yes
checking for setsid... yes
checking for srandom... yes
checking for srand48... yes
checking for srand... yes
checking for sysconf... yes
checking for scandir... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking checking if alphasort is defined... yes
checking how many args gettimeofday uses... two arguments
checking Python.h usability... yes
checking Python.h presence... yes
checking for Python.h... yes
checking for PyArg_ParseTuple in -lpython... yes
checking for main in -lpthread... yes
checking for main in -lutil... yes
checking for main in -ldl... yes
checking whether python supports the "L" format specifier... yes
checking for check - version >= 0.8.2... no
*** Could not run check test program, checking why...
*** The test program failed to compile or link. See the file config.log for
*** the exact error that occured.
configure: WARNING: Check not found; cannot run unit tests!
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/Developers/Makefile
config.status: creating doc/playbook/Makefile
config.status: creating doc/playbook-html/Makefile
config.status: creating doc/scripts/Makefile
config.status: creating doc/spell-docs/Makefile
config.status: creating doc/spoiler/Makefile
config.status: creating doc/spoiler-html/Makefile
config.status: creating common/Makefile
config.status: creating include/Makefile
config.status: creating lib/Makefile
config.status: creating random_maps/Makefile
config.status: creating server/Makefile
config.status: creating socket/Makefile
config.status: creating types/Makefile
config.status: creating utils/Makefile
config.status: creating lib/checkarch.pl
config.status: creating lib/collect.pl
config.status: creating utils/add_throw.perl
config.status: creating utils/metaserver.pl
config.status: creating utils/scores.pl
config.status: creating utils/player_dl.pl
config.status: creating utils/crossloop.web
config.status: creating plugins/Makefile
config.status: creating plugins/cfanim/Makefile
config.status: creating plugins/cfanim/include/Makefile
config.status: creating plugins/cflogger/Makefile
config.status: creating plugins/cfnewspaper/Makefile
config.status: creating plugins/cfnewspaper/include/Makefile
config.status: creating plugins/cfpython/Makefile
config.status: creating plugins/cfpython/include/Makefile
config.status: creating plugins/cfrhg/Makefile
config.status: creating plugins/cfrhg/include/Makefile
config.status: creating plugins/citylife/Makefile
config.status: creating plugins/citylife/include/Makefile
config.status: creating plugins/common/Makefile
config.status: creating plugins/common/include/Makefile
config.status: creating test/Makefile
config.status: creating test/bugs/Makefile
config.status: creating test/bugs/bugtrack/Makefile
config.status: creating test/include/Makefile
config.status: creating test/templates/Makefile
config.status: creating test/toolkit/Makefile
config.status: creating test/unit/Makefile
config.status: creating test/unit/common/Makefile
config.status: creating test/unit/random_maps/Makefile
config.status: creating test/unit/server/Makefile
config.status: creating test/unit/socket/Makefile
config.status: creating include/autoconf.h
config.status: executing depfiles commands
config.status: executing libtool commands
/bin/rm: cannot remove 'libtoolT': No such file or directory
configure: Configuration Summary ----------------------------------------------
configure: 
configure:   Paths
configure:     Installation prefix                  /usr/pkg
configure:     Will put executables in              ${exec_prefix}/bin
configure:     Will put resources in                ${datarootdir}
configure:     Will put config in                   /usr/pkg/etc/crossfire
configure:     Will put server runtime data in      /var/games
configure: 
configure:   Options
configure:     Build metaserver2 support?      yes
configure:     Build plugins?                  yes
configure:     Build cflogger?                 no
configure:     Build cfnewspaper?              no
configure:     Build python plugin?            yes
configure:     Build random house plugin?      no
configure:     Process unit testing?           no
configure:       If you are a developer, you MUST install the check framework
configure:       and write automated tests for all your add-ons!
configure: 
configure:   Utilities (not required to build or run the server)
configure:     Build crossfire-mapper?         no
configure: --------------------------------------------------------------------
configure: Remember to add a symlink to your 'arch' directory in 'lib/arch'!
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp