+ 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/packit-1.0nb4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/packit-1.0nb4/work.log
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for packit-1.0.tgz
=> Checksum SHA512 OK for packit-1.0.tgz
===> Installing dependencies for packit-1.0nb4
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency libnet11>=1.1.2.1: found libnet11-1.1.2.1
=> Full dependency libpcap>=1.3.0nb1: found libpcap-1.10.5
===> Overriding tools for packit-1.0nb4
===> Extracting for packit-1.0nb4
===> Patching for packit-1.0nb4
=> Applying pkgsrc patches for packit-1.0nb4
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/packit/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/packit/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.1 2005/07/13 14:19:38 drochner Exp $
|
|--- src/globals.h.orig	2005-07-13 15:58:53.000000000 +0200
|+++ src/globals.h
--------------------------
Patching file src/globals.h using Plan A...
Hunk #1 succeeded at 29.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/packit/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/packit/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.1 2005/07/13 14:19:38 drochner Exp $
|
|--- src/main.h.orig	2005-07-13 16:01:20.000000000 +0200
|+++ src/main.h
--------------------------
Patching file src/main.h using Plan A...
Hunk #1 succeeded at 24.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/packit/patches/patch-src_utils.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/packit/patches/patch-src_utils.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_utils.c,v 1.1 2018/01/26 10:52:04 maya Exp $
|
|Don't overflow a buffer.
|
|--- src/utils.c.orig	2004-04-14 01:48:17.000000000 +0000
|+++ src/utils.c
--------------------------
Patching file src/utils.c using Plan A...
Hunk #1 succeeded at 137.
done
===> Creating toolchain wrappers for packit-1.0nb4
===> Configuring for packit-1.0nb4
=> 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
beginning auto-configuration process for packit-1.0...
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for gawk... /usr/bin/nawk
checking whether make sets ${MAKE}... yes
checking for x86_64-sun-solaris2.11-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc... yes
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking how to run the C preprocessor... gcc -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 u_int8_t... no
checking for u_int16_t... no
checking for u_int32_t... no
checking for u_int64_t... no
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking net/bpf.h usability... yes
checking net/bpf.h presence... yes
checking for net/bpf.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking libnet.h usability... no
checking libnet.h presence... yes
configure: WARNING: libnet.h: present but cannot be compiled
configure: WARNING: libnet.h: check for missing prerequisite headers?
configure: WARNING: libnet.h: proceeding with the preprocessor's result
checking for libnet.h... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for printf... yes
checking for fprintf... yes
checking for snprintf... yes
checking for sprintf... yes
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for strncmp... yes
checking for strncat... yes
checking for memset... yes
checking for malloc... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for getuid... yes
checking for select... yes
checking for setitimer... yes
checking for libnet_build_ipv4 in -lnet... yes
checking for pcap_open_live in -lpcap... yes
checking for pcap_setnonblock in -lpcap... yes
checking for pcap_freecode in -lpcap... yes
checking for bpf... no
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating man/packit.8
config.status: creating src/version.h
config.status: creating config.h
config.status: executing depfiles commands

                  _    _ _
 _ __   __ _  ___| | _(_) |_
| '_ \ / _` |/ __| |/ / | __|
| |_) | (_| | (__|   <| | |_
| .__/ \__,_|\___|_|\_\_|\__|
|_|                       1.0

has been configured with the following options:
-----------------------------------------------
Host type             : x86_64-sun-solaris2.11
Compiler              : gcc
Compiler flags        : -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libnet11 -I/opt/pkg/include -Wall -I/opt/pkg/include
Linker flags          : -L/opt/pkg/lib/libnet11 -lnsl -lsocket -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib
Libraries             : -lpcap -lpcap -lpcap -lnet 

Binary                : /opt/pkg/bin
Manual pages          : /opt/pkg/share/man/

Injection support     : yes
Capture support       : yes
Enable debugging      : no
-----------------------------------------------