+ 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/nprobe-1.3.1nb4/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nprobe-1.3.1nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for nProbe-source-1.3.1.tgz
=> Checksum SHA512 OK for nProbe-source-1.3.1.tgz
===> Installing dependencies for nprobe-1.3.1nb4
=> 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 cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc12>=12.2.0: found gcc12-12.2.0
=> Full dependency gcc12-libs>=12.2.0: found gcc12-libs-12.2.0
===> Overriding tools for nprobe-1.3.1nb4
===> Extracting for nprobe-1.3.1nb4
===> Patching for nprobe-1.3.1nb4
=> Applying pkgsrc patches for nprobe-1.3.1nb4
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/net/nprobe/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/net/nprobe/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.1 2006/05/12 09:19:54 joerg Exp $
|
|--- configure.orig	2006-05-12 09:05:13.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 3754.
Hunk #2 succeeded at 3795.
done
===> Creating toolchain wrappers for nprobe-1.3.1nb4
===> Configuring for nprobe-1.3.1nb4
=> 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

Welcome to nProbe, Version 1.3.1
Copyright (c) 2002 Luca Deri <deri@nprobe.org>

creating cache ./config.cache
checking host system type... x86_64-sun-solaris2.11
checking target system type... x86_64-sun-solaris2.11
checking build system type... x86_64-sun-solaris2.11

checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/local/include -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib -Wl,-R/opt/local/lib) works... yes
checking whether the C compiler (gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/local/include -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib -Wl,-R/opt/local/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /opt/local/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
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 ... no
checking if gcc static flag -static works... none
checking if the linker (/bin/ld) is GNU ld... no
checking whether the linker (/bin/ld) supports shared libraries... yes
checking command to parse /opt/local/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /bin/ld option to reload object files... -r
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
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache

checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking for compilation debug mode... disabled
checking for compilation optimization mode... disabled

Step 4. Looking for both required and optional system headers....

checking for ANSI C header files... yes
checking for pwd.h... yes
checking for stdio.h... yes
checking for errno.h... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for string.h... yes
checking for signal.h... yes
checking for fcntl.h... yes
checking for sys/types.h... yes
checking for sys/time.h... yes
checking for sys/wait.h... yes
checking for sys/stat.h... yes
checking for sys/ioctl... no
checking for sys/un.h... yes
checking for sys/select.h... yes
checking for sys/ldr.h... no
checking for sys/sockio.h... yes
checking for dl.h... no
checking for dirent.h... yes
checking for dlfcn.h... yes
checking for security/pam_appl.h... yes
checking for shadow.h... yes
checking for crypt.h... yes
checking if ether_header uses ether_addr structs... yes
checking if in6_addr is defined... yes
checking for sys/socket.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... yes
checking for netinet/ip_icmp.h... yes
checking for netinet/udp.h... yes
checking for netinet/tcp.h... yes
checking for netinet/if_ether.h... yes
checking for arpa/nameser.h... yes
checking for net/ethernet.h... no
checking for sys/ethernet.h... yes
checking for ethertype.h... no
checking for if.h... no
checking for net/bpf.h... yes
checking for sys/syslog.h... yes
checking for syslog.h... yes
checking Checking for glibc facilitynames in sys/syslog.h or syslog.h... no
checking for typedef u_int64_t... no
checking for typedef uint64_t... yes
checking for typedef u_int32_t... no
checking for typedef u_int16_t... no
checking for typedef u_int8_t... no
checking for typedef int64_t... yes
checking for typedef int32_t... yes
checking for typedef int16_t... yes
checking for typedef int8_t... yes
checking for strtok_r... yes
checking for localtime_r... yes
checking for ctime_r... yes
checking for snprintf... yes
checking for getipnodebyaddr... no
checking for gethostbyaddr_r... no
checking for gethostbyaddr_r in -lc... no
checking for gethostbyaddr_r in -lnsl... yes
checking for strsep... yes
checking for getopt_long in -lc... yes
checking for gethostname in -lnsl... yes
checking for accept in -lsocket... yes
checking for inet_aton in -lresolv... yes
checking for pthread_create in  -pthread -lpthread -lrt... yes
checking for LBL Packet Capture Library (required package)... checking for pcap_lookupdev in -lpcap... no
not found!
             *** FATAL ERROR ***             
 It looks that you don't have the libpcap distribution installed.
 Download, compile and, optionally, install it.
 When finished please re-run this program.
 You can download the latest source tarball at http://www.tcpdump.org/
configure: error:  The LBL Packet Capture Library, libpcap, was not found! 
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/net/nprobe
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/net/nprobe