+ 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/teapop-0.3.8nb24/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/teapop-0.3.8nb24/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for teapop-0.3.8.tar.gz
=> Checksum SHA512 OK for teapop-0.3.8.tar.gz
===> Installing dependencies for teapop-0.3.8nb24
==========================================================================
The supported build options for teapop are:

	apop drac inet6 ldap mysql pgsql tcpd vpop

The currently selected options are:

	apop inet6 tcpd vpop

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.teapop (not defined)

==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency perl>=5.0: found perl-5.38.2
===> Overriding tools for teapop-0.3.8nb24
===> Extracting for teapop-0.3.8nb24
===> Patching for teapop-0.3.8nb24
=> Applying pkgsrc patches for teapop-0.3.8nb24
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/mail/teapop/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/mail/teapop/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.5 2004/12/04 14:50:32 wiz Exp $
|
|--- teapop/Makefile.in.orig	2003-08-04 17:33:48.000000000 +0200
|+++ teapop/Makefile.in
--------------------------
Patching file teapop/Makefile.in using Plan A...
Hunk #1 succeeded at 34.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/mail/teapop/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/mail/teapop/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.1 2006/02/19 11:13:53 wiz Exp $
|
|--- etc/Makefile.in.orig	2003-08-04 15:33:47.000000000 +0000
|+++ etc/Makefile.in
--------------------------
Patching file etc/Makefile.in using Plan A...
Hunk #1 succeeded at 23.
done
===> Creating toolchain wrappers for teapop-0.3.8nb24
===> Configuring for teapop-0.3.8nb24
=> 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
creating cache ./config.cache
checking host system type... x86_64-sun-solaris2.11
checking for gcc... gcc
checking whether the C compiler (gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -lnsl -lsocket -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib) works... yes
checking whether the C compiler (gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -lnsl -lsocket -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking for chmod... /usr/bin/chmod
checking for mv... /usr/bin/mv
checking for rm... /usr/bin/rm
checking for sed... /usr/bin/sed
checking for strip... /home/pbulk/build/mail/teapop/work/.tools/bin/strip
checking for perl... /opt/pkg/bin/perl
checking for piddir... configure: error: NOT FOUND (/var/opt/pkg/run)