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

        * CURSES_DEFAULT = ncurses
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

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/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 flex>=2.5.4a: found flex-2.6.4
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> 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 wandio>=4.2.2nb12: found wandio-4.2.2nb12
=> Full dependency openssl>=3: found openssl-3.1.5
=> Full dependency libpcap>=1.3.0nb1: found libpcap-1.10.4
=> Full dependency libyaml>=0.1.4: found libyaml-0.2.5
=> Full dependency ncurses>=6.3nb1: found ncurses-6.4
===> Overriding tools for libtrace-4.0.10nb12
===> Extracting for libtrace-4.0.10nb12
===> Patching for libtrace-4.0.10nb12
=> Applying pkgsrc patches for libtrace-4.0.10nb12
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libtrace/patches/patch-lib_format__ndag.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libtrace/patches/patch-lib_format__ndag.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lib_format__ndag.c,v 1.1 2019/11/20 21:00:47 adam Exp $
|
|Fix building on systems without multicast join group.
|
|--- lib/format_ndag.c.orig	2019-11-20 15:53:12.972523619 +0000
|+++ lib/format_ndag.c
--------------------------
Patching file lib/format_ndag.c using Plan A...
Hunk #1 succeeded at 181.
Hunk #2 succeeded at 289.
done
===> Creating toolchain wrappers for libtrace-4.0.10nb12
===> Configuring for libtrace-4.0.10nb12
=> 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
=> 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 thread-safe 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 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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether the C++ compiler works... yes
checking for bison... /opt/pkg/bin/bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
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 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 stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for simple visibility declarations... yes
checking if -Werror flag is supported by compiler... yes
checking if compiler supports __attribute__((packed))... yes
checking if compiler supports __attribute__((deprecated))... yes
checking if compiler supports __attribute__((unused))... yes
checking if compiler supports __attribute__((pure))... no
checking if compiler supports __attribute__((format(printf)))... yes
checking if compiler supports TLS __thread... yes
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking how to print strings... printf
checking for a sed that does not truncate output... /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)... /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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
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-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... no
checking for 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 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 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 gcc needs -traditional... no
checking whether strdup is declared... yes
checking whether strlcpy is declared... yes
checking whether strcasecmp is declared... yes
checking whether strncasecmp is declared... yes
checking whether snprintf is declared... yes
checking whether vsnprintf is declared... yes
checking whether strndup is declared... yes
checking whether socket is declared... yes
checking whether recvmmsg is declared... no
checking size of long int... 8
checking for ANSI C header files... (cached) yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking pcap-bpf.h usability... yes
checking pcap-bpf.h presence... yes
checking for pcap-bpf.h... yes
checking net/bpf.h usability... yes
checking net/bpf.h presence... yes
checking for net/bpf.h... yes
checking sys/limits.h usability... yes
checking sys/limits.h presence... yes
checking for sys/limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking net/ethernet.h usability... no
checking net/ethernet.h presence... no
checking for net/ethernet.h... no
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netpacket/packet.h usability... yes
checking netpacket/packet.h presence... yes
checking for netpacket/packet.h... yes
checking for net/if.h... yes
checking for netinet/ether.h... no
checking for netinet/if_ether.h... yes
checking for net/if_arp.h... yes
checking for pcap-bpf.h... (cached) yes
checking for net/bpf.h... (cached) yes
checking gdc.h usability... no
checking gdc.h presence... no
checking for gdc.h... no
checking for wandio_wflush in -lwandio... yes
checking for EVP_EncryptInit_ex in -lcrypto... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking for yaml_parser_initialize in -lyaml... yes
checking for asn1_array2tree in -ltasn1... no
checking for pcap_next_ex in -lpcap... yes
checking for pcap_create in -lpcap... yes
checking for pcap_set_immediate_mode in -lpcap... yes
checking whether BIOCSETIF is declared... yes
checking for pcap_inject... yes
checking for pcap_sendpacket... yes
checking for pcap_setnonblock... yes
checking for dag_open in -ldag... no
checking whether we have DAG 2.4 API instead... false
checking whether PACKET_FANOUT is declared... no
checking for numa_node_to_cpus in -lnuma... no
checking for init_wandder_decoder in -lwandder... no
checking for pthread_create in -lpthread... yes
checking for pthread_setname_np in -lpthread... yes
checking for library containing getservent... none required
checking for library containing inet_ntop... none required
checking for library containing dlopen... none required
checking for clock_gettime in -lrt... yes
checking for library containing mvprintw... -lncurses
checking for doxygen... false
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating docs/Makefile
config.status: creating libpacketdump/Makefile
config.status: creating tools/Makefile
config.status: creating tools/traceanon/Makefile
config.status: creating tools/tracepktdump/Makefile
config.status: creating tools/tracemerge/Makefile
config.status: creating tools/tracereport/Makefile
config.status: creating tools/tracertstats/Makefile
config.status: creating tools/tracesplit/Makefile
config.status: creating tools/tracestats/Makefile
config.status: creating tools/tracetop/Makefile
config.status: creating tools/tracereplay/Makefile
config.status: creating tools/tracediff/Makefile
config.status: creating tools/traceends/Makefile
config.status: creating examples/Makefile
config.status: creating examples/skeleton/Makefile
config.status: creating examples/rate/Makefile
config.status: creating examples/stats/Makefile
config.status: creating examples/tutorial/Makefile
config.status: creating examples/parallel/Makefile
config.status: creating docs/libtrace.doxygen
config.status: creating lib/libtrace.h
config.status: creating 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

configure: Libtrace version 4.0.10
configure: Compiled with PCAP support: >= 1.0
configure: Compiled with DAG live capture support: No
configure: Compiled with LLVM BPF JIT support: No
configure: Compiled with live ETSI LI support (requires libwandder): No
configure: Building man pages/documentation: No
configure: Building tracetop (requires libncurses): Yes
configure: Building traceanon (requires libyaml): Yes
configure: Building traceanon with CryptoPan (requires libcrypto and openssl/evp.h): Yes

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