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

        * CURSES_DEFAULT = ncurses
        * PYTHON_VERSION_DEFAULT = 311
        * VARBASE = /var/opt/pkg

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

        * CURSES_TYPE = ncurses
        * PYPACKAGE = python311
        * 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 libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency flex>=2.5.4a: found flex-2.6.4
=> Tool dependency m4>=1.4: found m4-1.4.19nb1
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency flex>=2.5.4a: found flex-2.6.4
=> Full dependency python311>=3.11.0: found python311-3.11.9
=> Full dependency lmdb>=0.9.14: found lmdb-0.9.33
=> Full dependency editline>=3.0.20130712nb1: found editline-3.1.20221030nb2
=> Full dependency libidn>=1.38nb1: found libidn-1.42
=> Full dependency userspace-rcu>=0.7.3: found userspace-rcu-0.12.1
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency gnutls>=3.8.5nb2: found gnutls-3.8.5nb2
=> Full dependency jansson>=2.4nb1: found jansson-2.14
===> Overriding tools for knot-3.3.5nb1
===> Extracting for knot-3.3.5nb1
===> Patching for knot-3.3.5nb1
=> Applying pkgsrc patches for knot-3.3.5nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/knot/patches/patch-samples_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/knot/patches/patch-samples_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-samples_Makefile.in,v 1.6 2018/03/08 14:30:37 pettai Exp $
|
|Install sample config where pkgsrc typically install examples
|
|--- samples/Makefile.in.orig	2018-01-02 11:09:04.000000000 +0100
|+++ samples/Makefile.in
--------------------------
Patching file samples/Makefile.in using Plan A...
Hunk #1 succeeded at 319 (offset 32 lines).
Hunk #2 succeeded at 510 (offset 2 lines).
done
===> Creating toolchain wrappers for knot-3.3.5nb1
===> Configuring for knot-3.3.5nb1
=> Substituting "paths" in /home/pbulk/build/net/knot/work/knot-3.3.5/samples/Makefile.in
=> 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
=> Adding run-time search paths to pkg-config files.
INFO: [subst.mk:_pkgconfig] Ignoring nonexistent file "src/dnssec/libdnssec.pc.in".
INFO: [subst.mk:_pkgconfig] Nothing changed in "src/knotd.pc.in".
INFO: [subst.mk:_pkgconfig] Ignoring nonexistent file "src/zscanner/libzscanner.pc.in".
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
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... unsupported
checking for gcc option to enable C99 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
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 for pthread_np.h... no
checking for stdatomic.h... yes
checking for sys/uio.h... yes
checking for bsd/string.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for a sed that does not truncate output... /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) unsupported
checking for gcc option to enable C99 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether C compiler accepts "-fpredictive-commoning"... yes
checking whether the linker accepts "-Wl,--exclude-libs,ALL"... no
checking whether byte ordering is bigendian... no
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 grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
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)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) 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... no
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 /usr/bin/nm -p 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 pkg-config is at least version 0.9.0... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking for gnutls >= 3.3... yes
checking for gnutls_pkcs11_copy_pubkey... yes
checking whether GNUTLS_PK_EDDSA_ED25519 is declared... yes
checking whether GNUTLS_SIGN_EDDSA_ED448 is declared... yes
checking whether GNUTLS_PRIVKEY_FLAG_REPRODUCIBLE is declared... yes
checking for gnutls_aead_cipher_encryptv2... yes
checking for gnutls_privkey_sign_data2... yes
checking for gnutls_privkey_export_x509... yes
checking for gnutls_memset... yes
checking for gnutls_early_cipher_get... yes
checking for recvmmsg... no
checking for libbpf... no
checking for libsystemd... no
checking for libsystemd-daemon libsystemd-journal... no
checking for kqueue... no
checking for epoll_create... yes
checking for liburcu... yes
checking for libmaxminddb... no
checking for lmdb >= 0.9.15... no
checking for library containing mdb_txn_id... -llmdb
checking for libedit... yes
checking for libngtcp2 >= 0.17.0 libngtcp2_crypto_gnutls... no
checking for libidn2 >= 2.0.0... no
checking for libidn >= 0.0.0... yes
checking for libnghttp2... no
configure: WARNING: libnghttp2 not found
checking for cap-ng... no
checking for cap-ng.h... no
checking for library containing pthread_create... none required
checking for library containing dlopen... none required
checking for library containing pow... -lm
checking for library containing pthread_setaffinity_np... no
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
checking for accept4... no
checking for fgetln... no
checking for getline... yes
checking for initgroups... yes
checking for malloc_trim... no
checking for setgroups... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for sysctlbyname... no
checking for explicit_bzero... yes
checking for explicit_memset... no
checking for vasprintf... yes
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking for sphinx-build... false
configure: WARNING: missing 'sphinx-build' executable for documentation generation
checking for pdflatex... false
checking for makeinfo... /home/pbulk/build/net/knot/work/.tools/bin/makeinfo
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating src/libknot/version.h
config.status: creating src/libdnssec/version.h
config.status: creating src/libzscanner/version.h
config.status: creating src/knotd.pc
config.status: creating src/libknot.pc
config.status: creating src/libdnssec.pc
config.status: creating src/libzscanner.pc
config.status: creating Makefile
config.status: creating Doxyfile
config.status: creating doc/Makefile
config.status: creating tests/Makefile
config.status: creating tests-fuzz/Makefile
config.status: creating samples/Makefile
config.status: creating distro/Makefile
config.status: creating python/Makefile
config.status: creating python/knot_exporter/Makefile
config.status: creating python/knot_exporter/pyproject.toml
config.status: creating python/knot_exporter/setup.py
config.status: creating python/libknot/Makefile
config.status: creating python/libknot/pyproject.toml
config.status: creating python/libknot/setup.py
config.status: creating python/libknot/libknot/__init__.py
config.status: creating src/Makefile
config.status: creating src/libknot/xdp/Makefile
config.status: creating src/knot/modules/static_modules.h
config.status: creating doc/modules.rst
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
configure: WARNING: unrecognized options: --with-libiconv-prefix

  Knot DNS 3.3.5

    Target:   solaris2.11 x86_64 little-endian
    Compiler: gcc
    CFLAGS:   -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -Wall -Wshadow -Werror=format-security -Werror=implicit -Werror=attributes -Wstrict-prototypes -fpredictive-commoning -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses
    LIBS:      -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -liconv -lintl
    LibURCU:  -L/opt/pkg/lib -lurcu -I/opt/pkg/include
    GnuTLS:   -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lgnutls -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1
    Libedit:  -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -ledit -I/opt/pkg/include -I/opt/pkg/include/editline -I/opt/pkg/include/readline
    LMDB:      -llmdb 
    Config:   500 MiB default mapsize

    Prefix:      /opt/pkg
    Run dir:     /var/opt/pkg/run/knot
    Storage dir: /var/opt/pkg/knot/lib
    Config dir:  /etc/opt/pkg/knot
    Module dir:  

    Static modules: authsignal cookies dnsproxy geoip noudp onlinesign probe queryacl rrl stats synthrecord whoami 
    Shared modules: 

    Knot DNS libraries:     yes
    Knot DNS daemon:        yes
    Knot DNS utilities:     yes
    Knot DNS documentation: yes

    Use recvmmsg:           no
    Use SO_REUSEPORT(_LB):  no
    XDP support:            no
    DoQ support:            no
    Socket polling:         epoll
    Memory allocator:       auto
    Fast zone parser:       yes
    Utilities with IDN:     libidn
    Utilities with DoH:     no
    Utilities with Dnstap:  no
    MaxMind DB support:     no
    Systemd integration:    no
    POSIX capabilities:     no
    PKCS #11 support:       yes
    Ed25519 support:        yes
    Ed448 support:          yes
    Reproducible signing:   yes
    Code coverage:          no
    Sanitizer:              no
    LibFuzzer:              no
    OSS-Fuzz:               no

=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp