+ 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/ngrep-1.45nb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ngrep-1.45nb1/work.log
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for ngrep-1.45.tar.bz2
=> Checksum SHA512 OK for ngrep-1.45.tar.bz2
===> Installing dependencies for ngrep-1.45nb1
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc13>=13.1.0: found gcc13-13.3.0
=> Full dependency gcc13-libs>=13.2.0: found gcc13-libs-13.3.0
=> Full dependency libpcap>=1.3.0nb1: found libpcap-1.10.5
===> Overriding tools for ngrep-1.45nb1
===> Extracting for ngrep-1.45nb1
===> Patching for ngrep-1.45nb1
=> Applying pkgsrc patches for ngrep-1.45nb1
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/ngrep/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/ngrep/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.8 2006/11/29 10:28:48 adam Exp $
|
|--- configure.orig	2006-11-15 04:40:56.000000000 +0100
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 4021.
Hunk #2 succeeded at 4248.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/ngrep/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/ngrep/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.7 2014/01/14 22:43:19 tron Exp $
|
|1.) Install manual pages in correct directory.
|2.) Fix build with version 4.0 of GNU make.
|
|--- Makefile.in.orig	2006-11-28 13:35:37.000000000 +0000
|+++ Makefile.in	2014-01-14 22:40:38.000000000 +0000
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 25.
Hunk #2 succeeded at 63.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/ngrep/patches/patch-ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/ngrep/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.3 2006/03/14 02:36:12 joerg Exp $
|
|--- ngrep.c.orig	2006-03-14 02:32:02.000000000 +0000
|+++ ngrep.c
--------------------------
Patching file ngrep.c using Plan A...
Hunk #1 succeeded at 7.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/ngrep/patches/patch-ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/ngrep/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.1 2006/10/07 06:54:37 rillig Exp $
|
|--- pcre-5.0/configure.orig	2006-10-07 08:52:09.000000000 +0200
|+++ pcre-5.0/configure	2006-10-07 08:52:42.000000000 +0200
--------------------------
Patching file pcre-5.0/configure using Plan A...
Hunk #1 succeeded at 19418.
done
===> Creating toolchain wrappers for ngrep-1.45nb1
/usr/bin/sed  -e '/^#/d'  -e 's,@LINK_ARCH_DEFAULT@,link_arch64,g'  -e 's,@LINK_LIBGCC_DEFAULT@,link_libgcc_arch64,g'  -e 's,@LIBGCC_PREFIX@,/opt/local/gcc13/x86_64-sun-solaris2.11,g'  < ../../extra/gcc13-libs/files/specs.pkgsrc  > /home/pbulk/build/net/ngrep/work/.cwrapper/specs.pkgsrc
===> Configuring for ngrep-1.45nb1
=> 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
cd /home/pbulk/build/net/ngrep/work/ngrep-1.45 && ./configure --prefix=/opt/local

Configuring System ...

checking build system type... x86_64-pc-solaris2.11
checking host system type... x86_64-pc-solaris2.11
checking target system type... x86_64-pc-solaris2.11
checking for gcc... gcc
checking for C compiler default output file name... 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 gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /home/pbulk/build/net/ngrep/work/.tools/bin/grep
checking for egrep... /home/pbulk/build/net/ngrep/work/.tools/bin/grep -E
checking for ANSI C header files... yes

Configuring GNU Regular Expression library ...

creating cache ./config.cache
checking host system type... x86_64-pc-solaris2.11
checking target system type... x86_64-pc-solaris2.11
checking build system type... x86_64-pc-solaris2.11
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /home/pbulk/build/net/ngrep/work/.tools/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for getmntent in -lseq... no
checking for POSIXized ISC... no
checking for minix/config.h... no
checking for ANSI C header files... yes
checking for string.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for working const... yes
checking for prefix by checking for gcc... /home/pbulk/build/net/ngrep/work/.cwrapper/bin/gcc
updating cache ./config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating test/Makefile

Configuring Network Grep (ngrep) ...

checking for socket in -lsocket... yes
checking for gethostbyname in -lnsl... yes
checking for a complete set of pcap headers... found /opt/local/include
checking for BPF include path... ./configure[4047]: /usr/bin/perl: not found [No such file or directory]

checking for DLT_LINUX_SLL in bpf.h... no
checking for DLT_LOOP in bpf.h... no
checking for DLT_IEEE802_11 in bpf.h... no
checking for DLT_IEEE802_11_RADIO in bpf.h... no
checking for DLT_RAW in bpf.h... no
checking for pcap_open_live in -lpcap... no
need pcap lib