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

        * CURSES_DEFAULT = ncurses
        * PYTHON_VERSION_DEFAULT = 310
        * VARBASE = /var

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

        * CURSES_TYPE = ncurses
        * PYPACKAGE = python310
        * 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
`/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 bison>=1.0: found bison-3.8.2nb1
=> Tool dependency flex>=2.5.4a: found flex-2.6.4
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.5
=> 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 python310>=3.10.0: found python310-3.10.12
=> Full dependency lmdb>=0.9.14: found lmdb-0.9.31
=> Full dependency editline>=3.0.20130712nb1: found editline-3.1.20221030nb2
=> Full dependency libidn>=1.38nb1: found libidn-1.41
=> Full dependency userspace-rcu>=0.7.3: found userspace-rcu-0.12.1
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency gnutls>=3.8.0nb2: found gnutls-3.8.0nb3
=> Full dependency jansson>=2.4nb1: found jansson-2.14
===> Overriding tools for knot-3.2.8
===> Extracting for knot-3.2.8
===> Patching for knot-3.2.8
=> Applying pkgsrc patches for knot-3.2.8
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/knot/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/knot/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.3 2023/01/08 20:40:20 ryoon Exp $
|
|* Improve POSIX shell portability.
|
|--- configure.orig	2022-11-20 07:16:12.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 14759 (offset 30 lines).
Hunk #2 succeeded at 14832 (offset 30 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/knot/patches/patch-samples_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/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 511 (offset 3 lines).
done
===> Creating toolchain wrappers for knot-3.2.8
===> Configuring for knot-3.2.8
=> Substituting "paths" in /home/pbulk/build/net/knot/work/knot-3.2.8/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
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/net/knot/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
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-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 dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for x86_64-redhat-linux-gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking whether cc understands -c and -o together... (cached) yes
checking dependency style of cc... (cached) gcc3
checking whether C compiler accepts "-fpredictive-commoning"... no
checking whether the linker accepts "-Wl,--exclude-libs,ALL"... yes
checking whether byte ordering is bigendian... no
checking for x86_64-redhat-linux-ar... no
checking for x86_64-redhat-linux-lib... no
checking for x86_64-redhat-linux-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) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /home/pbulk/build/net/knot/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/net/knot/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 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/net/knot/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... printf %s\n
checking for x86_64-redhat-linux-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 a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-redhat-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
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/net/knot/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 pkg-config is at least version 0.9.0... yes
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... yes
checking for sendmmsg... yes
checking for libbpf >= 0.0.6... no
checking whether SO_REUSEPORT is declared... yes
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.13.1 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 cap-ng.h usability... no
checking cap-ng.h presence... no
checking for cap-ng.h... no
checking for library containing pthread_create... -lpthread
checking for library containing dlopen... -ldl
checking for library containing pow... -lm
checking for library containing pthread_setaffinity_np... -lpthread
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 pthread_np.h... no
checking for stdatomic.h... no
checking for sys/uio.h... yes
checking for bsd/string.h... no
checking for accept4... yes
checking for clock_gettime... yes
checking for fgetln... no
checking for getline... yes
checking for initgroups... yes
checking for malloc_trim... yes
checking for setgroups... yes
checking for strlcat... no
checking for strlcpy... no
checking for sysctlbyname... no
checking for explicit_bzero... no
checking for explicit_memset... no
checking for vasprintf... yes
checking whether the -Werror option is usable... no
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/setup.py
config.status: creating python/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
/bin/rm: cannot remove 'libtoolT': No such file or directory

  Knot DNS 3.2.8

    Target:   linux-gnu x86_64 little-endian
    Compiler: cc
    CFLAGS:   -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/python3.10 -I/usr/pkg/include -I/usr/pkg/include/readline -I/usr/pkg/include/ncurses -Wall -Wshadow -Werror=format-security -Werror=implicit -Werror=attributes -Wstrict-prototypes -I/usr/include -I/usr/pkg/include/python3.10 -I/usr/pkg/include -I/usr/pkg/include/readline -I/usr/pkg/include/ncurses
    LIBS:      -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
    LibURCU:  -L/usr/pkg/lib -lurcu -I/usr/pkg/include
    GnuTLS:   -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgnutls -I/usr/pkg/include -I/usr/pkg/include/p11-kit-1
    Libedit:  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ledit -I/usr/pkg/include -I/usr/pkg/include/editline -I/usr/pkg/include/readline
    LMDB:      -llmdb 
    Config:   500 MiB default mapsize

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

    Static modules: 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:           yes
    Use SO_REUSEPORT(_LB):  yes
    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