+ 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/teapop-0.3.8nb24/work.log
+ su pbulk -c '"$@"' make /usr/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 ldap 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)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
teapop-0.3.8nb24.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private

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 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
=> Full dependency perl>=5.0: found perl-5.40.0nb1
=> Full dependency openldap-client>=2.6.6nb1: found openldap-client-2.6.9
=> Full dependency tcp_wrappers>=7.6.1nb3: found tcp_wrappers-7.6.4nb2
=> Full dependency cyrus-sasl>=2.1.12: found cyrus-sasl-2.1.28nb1
=> Full dependency openssl>=1.1.1: found openssl-3.3.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-el9-trunk-x86_64/mail/teapop/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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-el9-trunk-x86_64/mail/teapop/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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
creating cache ./config.cache
checking host system type... x86_64-redhat-linux-gnu
checking for gcc... cc
checking whether the C compiler (cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64) works... yes
checking whether the C compiler (cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /bin/install -c -o pbulk -g pbulk
checking for chmod... /bin/chmod
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for sed... /bin/sed
checking for strip... /home/pbulk/build/mail/teapop/work/.tools/bin/strip
checking for perl... /usr/pkg/bin/perl
checking for piddir... /var/run
checking where mail is... configure: error: Can't find your mailspool; please use --enable-mailspool=DIR