+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/etherape-0.9.20nb4/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/etherape-0.9.20nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for etherape-0.9.20.tar.gz
=> Checksum SHA512 OK for etherape-0.9.20.tar.gz
===> Installing dependencies for etherape-0.9.20nb4
==========================================================================
The following variables will affect the build process of this package,
etherape-0.9.20nb4.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

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 libxml2-[0-9]*: found libxml2-2.10.4nb1
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.76.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency itstool-[0-9]*: found itstool-2.0.7nb2
=> 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 xcb-proto>=1.4: found xcb-proto-1.15.2nb2
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Full dependency glib2>=2.70.2: found glib2-2.76.4
=> Full dependency popt>=1.16nb1: found popt-1.19
=> Full dependency goocanvas2>=2.0.4nb7: found goocanvas2-2.0.4nb7
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
===> Overriding tools for etherape-0.9.20nb4
===> Extracting for etherape-0.9.20nb4
===> Patching for etherape-0.9.20nb4
=> Applying pkgsrc patches for etherape-0.9.20nb4
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/etherape/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/etherape/patches/patch-Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.in,v 1.1 2020/01/20 02:47:43 nia Exp $
|
|--- Makefile.in.orig	2018-06-03 18:41:08.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 398 (offset 3 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/etherape/patches/patch-src_names_eth__resolv.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/etherape/patches/patch-src_names_eth__resolv.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_names_eth__resolv.c,v 1.1 2020/01/20 02:47:43 nia Exp $
|
|Build on NetBSD.
|
|--- src/names/eth_resolv.c.orig	2018-04-14 16:45:39.000000000 +0000
|+++ src/names/eth_resolv.c
--------------------------
Patching file src/names/eth_resolv.c using Plan A...
Hunk #1 succeeded at 26.
done
===> Creating toolchain wrappers for etherape-0.9.20nb4
===> Configuring for etherape-0.9.20nb4
=> 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
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /home/pbulk/build/net/etherape/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... -std=gnu11
checking whether cc -std=gnu11 understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc -std=gnu11... gcc3
checking how to run the C preprocessor... cc -std=gnu11 -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
checking for fgrep... /bin/grep -F
checking for ld used by cc -std=gnu11... /home/pbulk/build/net/etherape/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/net/etherape/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 the maximum length of command line arguments... 1572864
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/etherape/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... no
checking for 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 -std=gnu11 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 stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc -std=gnu11 supports -fno-rtti -fno-exceptions... no
checking for cc -std=gnu11 option to produce PIC... -fPIC -DPIC
checking if cc -std=gnu11 PIC flag -fPIC -DPIC works... yes
checking if cc -std=gnu11 static flag -static works... no
checking if cc -std=gnu11 supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if cc -std=gnu11 supports -c -o file.o... (cached) yes
checking whether the cc -std=gnu11 linker (/home/pbulk/build/net/etherape/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 ETHERAPE... yes
checking for pthread_join using cc -std=gnu11  -pthread  -lpthread -lrt... yes
checking whether cc -std=gnu11 is Clang... no
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for egrep... (cached) /bin/egrep
checking for arpa/inet.h... yes
checking for fcntl.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/ioctl.h... yes
checking for sys/socket.h... yes
checking for sys/time.h... (cached) yes
checking for sys/wait.h... yes
checking for unistd.h... (cached) yes
checking for math.h... yes
checking for sys/socket.h... (cached) yes
checking for net/if.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for getnameinfo... yes
checking for extraneous pcap header directories... found --  -I/usr/pkg/include added to CFLAGS
checking for pcap.h... no
configure: error: Header file pcap.h not found; You need libcap development package, or if you installed libpcap from source, do "make install-incl"
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/etherape
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/etherape