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

        * CURSES_DEFAULT = ncurses
        * VARBASE = /var

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

        * CURSES_TYPE = ncurses

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/local/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 gmake>=3.81: found gmake-4.4
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.21nb3
=> Tool dependency perl>=5.36.0: found perl-5.36.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency po4a-[0-9]*: found po4a-0.68nb2
=> Build dependency gcc12>=12.2.0: found gcc12-12.2.0
=> Full dependency patch-[0-9]*: found patch-2.7.6nb1
=> Full dependency perl>=5.36.0<5.38.0: found perl-5.36.0
=> Full dependency bzip2>=1.0.3: found bzip2-1.0.8
=> Full dependency xz>=5.0.0: found xz-5.4.0
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.14nb3
=> Full dependency gettext-lib>=0.18: found gettext-lib-0.21
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency gcc12-libs>=12.2.0: found gcc12-libs-12.2.0
=> Full dependency ncurses>=6.3nb1: found ncurses-6.3nb1
===> Overriding tools for dpkg-1.21.9
===> Extracting for dpkg-1.21.9
===> Patching for dpkg-1.21.9
=> Applying pkgsrc patches for dpkg-1.21.9
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/misc/dpkg/patches/patch-utils_start-stop-daemon.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/misc/dpkg/patches/patch-utils_start-stop-daemon.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-utils_start-stop-daemon.c,v 1.1 2020/04/11 11:53:43 adam Exp $
|
|Fix for systems without SOCK_NONBLOCK.
|
|--- utils/start-stop-daemon.c.orig	2020-04-11 11:04:32.000000000 +0000
|+++ utils/start-stop-daemon.c
--------------------------
Patching file utils/start-stop-daemon.c using Plan A...
Hunk #1 succeeded at 611 (offset 6 lines).
done
===> Creating toolchain wrappers for dpkg-1.21.9
===> Configuring for dpkg-1.21.9
=> 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 scripts/*.pl.
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
checking for x86_64-sun-solaris2.11-gcc... gcc
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./build-aux/install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking whether UID '500' is supported by ustar format... yes
checking whether GID '500' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking dependency style of gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking for a sed that does not truncate output... /usr/bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /home/pbulk/build/misc/dpkg/work/.tools/bin/msgfmt
checking for gmsgfmt... /home/pbulk/build/misc/dpkg/work/.tools/bin/msgfmt
checking for xgettext... /opt/local/bin/xgettext
checking for msgmerge... /opt/local/bin/msgmerge
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 shared library run path origin... done
checking 32-bit host C ABI... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking for ELF binary format... yes
checking for the common suffixes of directories in the library search path... lib,lib/64,lib/amd64
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyPreferredLanguages... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for x86_64-sun-solaris2.11-ar... no
checking for x86_64-sun-solaris2.11-lib... no
checking for x86_64-sun-solaris2.11-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/xpg4/bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm -B
checking the name lister (/opt/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop
checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for x86_64-sun-solaris2.11-file... no
checking for file... file
checking for x86_64-sun-solaris2.11-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-sun-solaris2.11-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-sun-solaris2.11-ar... ar
checking for archiver @FILE support... @
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking command to parse /opt/local/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-sun-solaris2.11-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for --as-needed linker flag... no
checking for --version-script linker flag... no
checking whether to build dselect... yes
checking whether to build start-stop-daemon... yes
checking whether to build update-alternatives... yes
checking for perl >= 5.28.1... /opt/local/bin/perl
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for x86_64-sun-solaris2.11-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking whether gcc supports C99 features... yes
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /bin/ld -64
checking if the linker (/bin/ld -64) is GNU ld... no
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether g++ supports C++11... yes
checking for gpatch... /opt/local/bin/gpatch
checking for doxygen... no
checking for dot... NO
checking for gnutar... /usr/bin/gtar
checking for po4a >= 0.59... /opt/local/bin/po4a
checking for perl >= 5.28.1... (cached) /opt/local/bin/perl
checking for pod2man... pod2man
checking whether to build with code coverage... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for md5.h... yes
checking for library containing MD5Init... -lmd
checking for gzdopen in -lz... yes
checking for zlib.h... yes
checking for zng_gzdopen in -lz-ng... no
checking for BZ2_bzdopen in -lbz2... yes
checking for bzlib.h... yes
checking for lzma_alone_decoder in -llzma... yes
checking for lzma.h... yes
checking for lzma_stream_encoder_mt in -llzma... yes
checking pkg-config is at least version 0.9.0... no
checking for libselinux >= 2.3... no
checking whether Unicode is requested... yes
checking for ncurses/ncurses.h... yes
checking for ncurses.h... yes
checking for curses.h... yes
checking for ncurses/term.h... yes
checking for term.h... yes
checking for ncursesw/ncurses.h... no
checking for ncursesw/term.h... no
checking for initscr in -lncursesw... no
checking for initscr in -lncurses... yes
checking for library containing bind... -lsocket
checking for proc_stat_list_create in -lps... no
checking for kvm_openfiles in -lkvm... no
checking for stddef.h... yes
checking for error.h... no
checking for err.h... yes
checking for locale.h... yes
checking for xlocale.h... yes
checking for libintl.h... yes
checking for kvm.h... yes
checking for sys/sysmacros.h... yes
checking for sys/param.h... yes
checking for sys/syscall.h... yes
checking for sys/user.h... yes
checking for sys/procfs.h... yes
checking for sys/pstat.h... no
checking for linux/fiemap.h... no
checking for sys/sysctl.h... no
checking for sys/proc.h... yes
checking for cxxabi.h... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ptrdiff_t... yes
checking size of unsigned int... 4
checking size of unsigned long... 8
checking for gcc options needed to detect all undeclared functions... none needed
checking for unistd.h... (cached) yes
checking whether sys_siglist is declared... no
checking whether sys_errlist is declared... no
checking whether sys_nerr is declared... no
checking for va_copy... yes
checking for C99 snprintf functions... yes
checking whether fsync works on directories... yes
checking whether offsetof is declared... yes
checking whether makedev is declared... no
checking whether WCOREDUMP is declared... yes
checking whether TIOCNOTTY is declared... no
checking whether O_NOFOLLOW is declared... yes
checking whether F_ALLOCSP64 is declared... yes
checking whether F_PREALLOCATE is declared... no
checking whether P_tmpdir is declared... yes
checking for program_invocation_short_name... no
checking for __progname... yes
checking for getopt... yes
checking for getopt_long... yes
checking for obstack_free... no
checking for strchrnul... yes
checking for strnlen... yes
checking for strndup... yes
checking for strerror... yes
checking for strsignal... yes
checking for asprintf... yes
checking for scandir... yes
checking for alphasort... yes
checking for unsetenv... yes
checking for memcpy... yes
checking for lchown... yes
checking for strtoimax... yes
checking for isascii... yes
checking for setsid... yes
checking for getdtablesize... yes
checking for getprocs64... no
checking for getprogname... yes
checking for getexecname... yes
checking for lutimes... yes
checking for fallocate... no
checking for posix_fallocate... yes
checking for posix_fadvise... yes
checking for uselocale... yes
checking for __cxa_pure_virtual... yes
checking whether gcc accepts -Wall... yes
checking whether gcc accepts -Wextra... yes
checking whether gcc accepts -Wcast-align... yes
checking whether gcc accepts -Wdocumentation... no
checking whether gcc accepts -Wduplicated-branches... yes
checking whether gcc accepts -Wduplicated-cond... yes
checking whether gcc accepts -Wformat -Wformat-security... yes
checking whether gcc accepts -Wformat=2... yes
checking whether gcc accepts -Winit-self... yes
checking whether gcc accepts -Wlogical-not-parentheses... yes
checking whether gcc accepts -Wlogical-op... yes
checking whether gcc accepts -Wmissing-declarations... yes
checking whether gcc accepts -Wmissing-format-attribute... yes
checking whether gcc accepts -Wno-missing-field-initializers... yes
checking whether gcc accepts -Wno-nonnull-compare... yes
checking whether gcc accepts -Wno-tautological-constant-out-of-range-compare... no
checking whether gcc accepts -Wno-unused-parameter... yes
checking whether gcc accepts -Wnull-dereference... yes
checking whether gcc accepts -Wpointer-arith... yes
checking whether gcc accepts -Wredundant-decls... yes
checking whether gcc accepts -Wregister... no
checking whether gcc accepts -Wrestrict... yes
checking whether gcc accepts -Wshadow... yes
checking whether gcc accepts -Wshift-negative-value... yes
checking whether gcc accepts -Wsizeof-array-argument... yes
checking whether gcc accepts -Wswitch-bool... yes
checking whether gcc accepts -Wvla... yes
checking whether gcc accepts -Wwrite-strings... yes
checking whether gcc accepts -Wbad-function-cast... yes
checking whether gcc accepts -Wc99-c11-compat... yes
checking whether gcc accepts -Wdeclaration-after-statement... yes
checking whether gcc accepts -Wmissing-prototypes... yes
checking whether gcc accepts -Wnested-externs... yes
checking whether gcc accepts -Wold-style-definition... yes
checking whether gcc accepts -Wstrict-prototypes... yes
checking whether g++ accepts -Wall... yes
checking whether g++ accepts -Wextra... yes
checking whether g++ accepts -Wcast-align... yes
checking whether g++ accepts -Wdocumentation... no
checking whether g++ accepts -Wduplicated-branches... yes
checking whether g++ accepts -Wduplicated-cond... yes
checking whether g++ accepts -Wformat -Wformat-security... yes
checking whether g++ accepts -Wformat=2... yes
checking whether g++ accepts -Winit-self... yes
checking whether g++ accepts -Wlogical-not-parentheses... yes
checking whether g++ accepts -Wlogical-op... yes
checking whether g++ accepts -Wmissing-declarations... yes
checking whether g++ accepts -Wmissing-format-attribute... yes
checking whether g++ accepts -Wno-missing-field-initializers... yes
checking whether g++ accepts -Wno-nonnull-compare... yes
checking whether g++ accepts -Wno-tautological-constant-out-of-range-compare... no
checking whether g++ accepts -Wno-unused-parameter... yes
checking whether g++ accepts -Wnull-dereference... yes
checking whether g++ accepts -Wpointer-arith... yes
checking whether g++ accepts -Wredundant-decls... yes
checking whether g++ accepts -Wregister... yes
checking whether g++ accepts -Wrestrict... yes
checking whether g++ accepts -Wshadow... yes
checking whether g++ accepts -Wshift-negative-value... yes
checking whether g++ accepts -Wsizeof-array-argument... yes
checking whether g++ accepts -Wswitch-bool... yes
checking whether g++ accepts -Wvla... yes
checking whether g++ accepts -Wwrite-strings... yes
checking whether g++ accepts -Wc++11-compat... yes
checking whether g++ accepts -Wcast-qual... yes
checking whether g++ accepts -Wold-style-cast... yes
checking whether g++ accepts -Wzero-as-null-pointer-constant... yes
checking dpkg cpu type... amd64
checking dpkg operating system type... solaris
checking dpkg architecture name... solaris-amd64
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dselect/Makefile
config.status: creating dselect/methods/Makefile
config.status: creating dselect/po/Makefile.in
config.status: creating lib/Makefile
config.status: creating lib/compat/Makefile
config.status: creating lib/dpkg/Makefile
config.status: creating lib/dpkg/libdpkg.pc
config.status: creating doc/Doxyfile
config.status: creating man/Makefile
config.status: creating po/Makefile.in
config.status: creating scripts/Build.PL
config.status: creating scripts/Makefile
config.status: creating scripts/README.cpan
config.status: creating scripts/mk/Makefile
config.status: creating scripts/po/Makefile.in
config.status: creating src/Makefile
config.status: creating src/at/atlocal
config.status: creating utils/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating dselect/po/POTFILES
config.status: creating dselect/po/Makefile
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: creating scripts/po/POTFILES
config.status: creating scripts/po/Makefile
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing src/at/atconfig commands

Configuration:
  Features:
    native language support . . . : yes
    unicode support . . . . . . . : yes
    development documentation . . : yes
    code coverage . . . . . . . . : no
    build shared libraries  . . . : yes
    mmap loaders  . . . . . . . . : no
    disk pre-allocation . . . . . : no
    default dpkg-deb compressor . : xz

  Paths:
    devlibdir . . . . . . . . . . : ${exec_prefix}/lib
    pkgconfdir  . . . . . . . . . : /opt/local/share/dpkg/dpkg
    admindir  . . . . . . . . . . : /var/db/dpkg
    backupsdir  . . . . . . . . . : ${prefix}/var/backups
    logdir  . . . . . . . . . . . : ${prefix}/var/log
    perl interpreter  . . . . . . : /opt/local/bin/perl
    perl libdir . . . . . . . . . : $(prefix)/lib/perl5/vendor_perl/5.36.0

  Programs:
    update-alternatives . . . . . : yes
    start-stop-daemon . . . . . . : yes
    dselect . . . . . . . . . . . : yes

  System Libraries:
    libsocket . . . . . . . . . . : yes
    libps . . . . . . . . . . . . : no
    libkvm  . . . . . . . . . . . : no
    libselinux  . . . . . . . . . : no
    libmd . . . . . . . . . . . . : yes
    libz  . . . . . . . . . . . . : yes (zlib)
    liblzma . . . . . . . . . . . : yes
    libbz2  . . . . . . . . . . . : yes
    libcurses . . . . . . . . . . : yes
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp