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

        * BDB185_DEFAULT = db4
        * BDB_DEFAULT = db4

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

        * BDBBASE (defined, but empty)
        * BDB_LIBS = -ldb4
        * BDB_TYPE = db4

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.70.5
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb3
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.3nb3
=> 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
=> Full dependency perl>=5.0: found perl-5.34.1
=> Full dependency glib2>=2.70.2: found glib2-2.70.5
=> Full dependency libgcrypt>=1.6.0: found libgcrypt-1.10.1
=> Full dependency libxml2>=2.9.13nb1: found libxml2-2.9.14
=> Full dependency db4>=4.8.30: found db4-4.8.30nb1
===> Overriding tools for dctc-0.85.9nb23
===> Extracting for dctc-0.85.9nb23
===> Patching for dctc-0.85.9nb23
=> Applying pkgsrc patches for dctc-0.85.9nb23
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dctc/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dctc/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.4 2010/06/02 13:07:12 adam Exp $
|
|--- src/gdl.c.orig	2003-12-28 08:12:38.000000000 +0000
|+++ src/gdl.c
--------------------------
Patching file src/gdl.c using Plan A...
Hunk #1 succeeded at 748.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dctc/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dctc/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.6 2010/06/02 13:07:12 adam Exp $
|
|--- configure.orig	2004-01-24 06:30:30.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 8961.
Hunk #2 succeeded at 9955.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dctc/patches/patch-ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dctc/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.9 2010/06/02 13:07:12 adam Exp $
|
|--- src/keyboard_master.c.orig	2004-01-09 18:16:01.000000000 +0000
|+++ src/keyboard_master.c
--------------------------
Patching file src/keyboard_master.c using Plan A...
Hunk #1 succeeded at 48.
Hunk #2 succeeded at 59.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dctc/patches/patch-ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dctc/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.4 2005/12/05 20:50:45 rillig Exp $
|
|--- src/mydb.h.orig	Sat May 17 08:12:37 2003
|+++ src/mydb.h
--------------------------
Patching file src/mydb.h using Plan A...
Hunk #1 succeeded at 24.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dctc/patches/patch-ae
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dctc/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.5 2010/06/02 13:07:12 adam Exp $
|
|--- src/keyboard.c.orig	2004-01-09 18:16:01.000000000 +0000
|+++ src/keyboard.c
--------------------------
Patching file src/keyboard.c using Plan A...
Hunk #1 succeeded at 49.
Hunk #2 succeeded at 60.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dctc/patches/patch-af
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dctc/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.7 2006/02/02 20:53:44 rillig Exp $
|
|--- src/sema.c.orig	2006-01-20 22:04:29.000000000 +0000
|+++ src/sema.c
--------------------------
Patching file src/sema.c using Plan A...
Hunk #1 succeeded at 42.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dctc/patches/patch-ag
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dctc/patches/patch-ag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ag,v 1.4 2006/02/02 20:53:44 rillig Exp $
|
|--- src/sema_master.c.orig	2006-01-20 22:39:38.000000000 +0000
|+++ src/sema_master.c
--------------------------
Patching file src/sema_master.c using Plan A...
Hunk #1 succeeded at 41.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dctc/patches/patch-ah
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dctc/patches/patch-ah
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ah,v 1.3 2007/11/30 21:00:14 rillig Exp $
|
|--- src/user_manage.h.orig	2003-05-17 06:12:50.000000000 +0000
|+++ src/user_manage.h	2007-11-30 20:58:45.000000000 +0000
--------------------------
Patching file src/user_manage.h using Plan A...
Hunk #1 succeeded at 27.
done
===> Creating toolchain wrappers for dctc-0.85.9nb23
===> Configuring for dctc-0.85.9nb23
=> Substituting "inethack" in src/dc_manage.c src/dc_manage_master.c src/main.c src/main_master.c src/var.h
=> 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 Perl interpreter in GDLjoiner.
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for gawk... /opt/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether build environment is sane... yes
checking for style of include used by make... GNU
checking for x86_64-sun-solaris2.11-gcc... gcc
checking for C compiler default output... 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 dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking for gawk... (cached) /opt/pkg/bin/nawk
checking for x86_64-sun-solaris2.11-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for ld used by GCC... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for /bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /opt/pkg/bin/nbsed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse nm output... failed
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.11 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking GCC version... 10.3.0
================================================================================
*** Please downgrade/upgrade C compiler to gcc-2.95.x or gcc-3.x version! ***

DO *NOT* REPORT BUGS unless you can reproduce them after recompiling with 2.95.x
or 3.0.x version!

Note for gcc 2.96 users: some versions of this compiler are known to miscompile
programs.  If you get compile errors, first upgrade to the latest 2.96 release
(but minimum 2.96-85) and try again. If the problem still exists, try with
gcc 3.0.x (or 2.95.x) *BEFORE* reporting bugs!

Press return to resume configuration (CTRL-C to abort).
================================================================================
checking for libgcrypt-config... yes
checking gcrypt version... 1.10.1
checking for pkg-config... /home/pbulk/build/net/dctc/work/.tools/bin/pkg-config
checking for glib-2.0 gthread-2.0... yes
checking GLIB_CFLAGS... -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pthread 
checking GLIB_LIBS... -L/opt/pkg/lib -lgthread-2.0 -Wl,-R/opt/pkg/lib -lglib-2.0 -lintl 
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db_env_create in -ldb-4.1... no
checking for db_env_create in -ldb-4.0... no
checking for db_env_create in -ldb-3.3... no
checking for db_env_create in -ldb-3.2... no
checking for db_env_create in -ldb-3.1... no
checking for db_env_create in -ldb-3... no
checking for db_env_create in -ldb4... yes
checking for compress2 in -lz... yes
checking whether route has the 'get default' option... yes
checking whether MSG_NOSIGNAL exists... yes
checking for bzip2... yes
checking for xml2-config... /home/pbulk/build/net/dctc/work/.buildlink/bin/xml2-config
checking Disable support of large files... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) 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 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 for unistd.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking openssl/md5.h usability... no
checking openssl/md5.h presence... no
checking for openssl/md5.h... no
checking openssl/md4.h usability... no
checking openssl/md4.h presence... no
checking for openssl/md4.h... no
checking gcrypt.h usability... yes
checking gcrypt.h presence... yes
checking for gcrypt.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... 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 working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for getcwd... yes
checking for mkdir... yes
checking for select... yes
checking for socket... no
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtod... yes
checking for strtoul... yes
checking for uname... yes
checking CPU allows unaligned memory access... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src_dc2k/Makefile
config.status: creating config.h
config.status: executing depfiles commands
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
/usr/bin/touch /home/pbulk/build/net/dctc/work/dctc-0.85.9/stamp-h.in /home/pbulk/build/net/dctc/work/dctc-0.85.9/config.h.in
/usr/bin/touch /home/pbulk/build/net/dctc/work/dctc-0.85.9/config.status /home/pbulk/build/net/dctc/work/dctc-0.85.9/stamp-h
echo '#ifndef MSG_NOSIGNAL' >> /home/pbulk/build/net/dctc/work/dctc-0.85.9/config.h
echo '# define MSG_NOSIGNAL 0' >> /home/pbulk/build/net/dctc/work/dctc-0.85.9/config.h
echo '#endif' >> /home/pbulk/build/net/dctc/work/dctc-0.85.9/config.h