+ 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/proxsmtp-1.10/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/proxsmtp-1.10/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for proxsmtp-1.10.tar.gz
=> Checksum SHA512 OK for proxsmtp-1.10.tar.gz
===> Installing dependencies for proxsmtp-1.10
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for proxsmtp-1.10
===> Extracting for proxsmtp-1.10
===> Patching for proxsmtp-1.10
=> Applying pkgsrc patches for proxsmtp-1.10
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/mail/proxsmtp/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/mail/proxsmtp/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.3 2011/09/12 16:30:30 taca Exp $
|
|* Take care of none existence case of setresgid(2) or setresuid(2).
|
|
|--- common/smtppass.c.orig	2011-01-23 22:07:08.000000000 +0000
|+++ common/smtppass.c
--------------------------
Patching file common/smtppass.c using Plan A...
Hunk #1 succeeded at 447.
Hunk #2 succeeded at 680.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/mail/proxsmtp/patches/patch-config.h.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/mail/proxsmtp/patches/patch-config.h.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config.h.in,v 1.1 2011/09/12 16:30:30 taca Exp $
|
|* Existence of setresgid(2) and setresuid(2).
|
|--- config.h.in.orig	2011-01-23 22:25:58.000000000 +0000
|+++ config.h.in
--------------------------
Patching file config.h.in using Plan A...
Hunk #1 succeeded at 81.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/mail/proxsmtp/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/mail/proxsmtp/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2011/09/12 16:30:30 taca Exp $
|
|* Check existence of setresgid(2) and setresuid(2).
|
|--- configure.orig	2011-01-23 22:25:53.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 5068 (offset 8 lines).
done
===> Creating toolchain wrappers for proxsmtp-1.10
===> Configuring for proxsmtp-1.10
=> 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 a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/pbulk/build/mail/proxsmtp/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... 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 we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether cc understands -c and -o together... yes
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 for pthread_join in LIBS=-lpthread -lrt with CFLAGS= -pthread ... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... cc
checking whether running on linux... yes
checking for getsockname in -lsocket... no
checking for getaddrinfo in -lnsl... no
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /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 limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for unistd.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for linux/types.h... yes
checking for linux/netfilter_ipv4.h... yes
checking for size_t... yes
checking whether PTHREAD_MUTEX_ERRORCHECK_NP is declared... yes
checking for struct tm.tm_gmtoff... yes
checking for global variable __argv... no
checking for memset... yes
checking for strerror... yes
checking for malloc... yes
checking for realloc... yes
checking for getopt... yes
checking for strchr... yes
checking for tolower... yes
checking for getaddrinfo... yes
checking for usleep... yes
checking for strlwr... no
checking for strlcat... no
checking for strlcpy... no
checking for strncat... yes
checking for strncpy... yes
checking for strcasestr... yes
checking for setenv... yes
checking for daemon... yes
checking for getline... yes
checking for getdelim... yes
checking for setresgid... yes
checking for setresuid... yes
checking whether IP_TRANSPARENT is declared... yes
checking for cap_get_proc in -lcap... no
configure: error: Could not find the libcap2 libraries. See --disable-capabilities
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/mail/proxsmtp
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/mail/proxsmtp