+ 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/pam-af-1.0.2nb5/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam-af-1.0.2nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for pam_af-1.0.2.tar.bz2
=> Checksum SHA512 OK for pam_af-1.0.2.tar.bz2
===> Installing dependencies for pam-af-1.0.2nb5
==========================================================================
The following variables will affect the build process of this package,
pam-af-1.0.2nb5.  Their current value is shown below:

        * PAM_DEFAULT = openpam
        * VARBASE = /var

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

        * PAMBASE (defined, but empty)

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 gdbm_compat>=1.14.1nb1: found gdbm_compat-1.23
=> Full dependency openpam>=20190224nb4: found openpam-20190224nb4
=> Full dependency gdbm>=1.8.3: found gdbm-1.23
===> Overriding tools for pam-af-1.0.2nb5
===> Extracting for pam-af-1.0.2nb5
===> Patching for pam-af-1.0.2nb5
=> Applying pkgsrc patches for pam-af-1.0.2nb5
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/pam-af/patches/patch-Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/pam-af/patches/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile,v 1.1 2022/04/02 11:12:02 nia Exp $
|
|* use gcc flags on SunOS
|* for PKGSRC layout
|* treat *BSDs same as FreeBSD.
|* Use "ld -shared" rather than "ld --shared". The former allows cwrappers to
|  detect shared lib link mode. This makes it omit "-pie" which would remove
|  required symbols.
|* Do not override LDFLAGS.
|
|--- Makefile.orig	2011-08-24 07:53:32.000000000 +0000
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 69.
Hunk #2 succeeded at 79.
Hunk #3 succeeded at 102.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/pam-af/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/pam-af/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.5 2021/07/06 20:01:17 rhialto Exp $
|
|* LOG_AUTHPRIV is not in Solaris, use LOG_AUTH instead.
|* Allow to build with non-native PAM on *BSD.
|* Hacky workaround for http://gnats.netbsd.org/39313
|
|--- pam_af.c.orig	2011-08-24 07:53:32.000000000 +0000
|+++ pam_af.c
--------------------------
Patching file pam_af.c using Plan A...
Hunk #1 succeeded at 41.
Hunk #2 succeeded at 447.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/pam-af/patches/patch-ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/pam-af/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.3 2011/10/17 08:47:52 obache Exp $
|
|* Remove needless assignment, it break strict-aliasing
|
|--- common/subr.c.orig	2011-08-24 07:53:32.000000000 +0000
|+++ common/subr.c
--------------------------
Patching file common/subr.c using Plan A...
Hunk #1 succeeded at 181.
Hunk #2 succeeded at 191.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/pam-af/patches/patch-common_pam__af.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/pam-af/patches/patch-common_pam__af.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-common_pam__af.h,v 1.1 2017/02/08 00:07:38 joerg Exp $
|
|Don't pessimize the build or even create unaligned access by forcing the
|structures to be packed.
|
|--- common/pam_af.h.orig	2017-01-08 20:09:41.718970211 +0000
|+++ common/pam_af.h
--------------------------
Patching file common/pam_af.h using Plan A...
Hunk #1 succeeded at 90.
Hunk #2 succeeded at 106.
Hunk #3 succeeded at 114.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/pam-af/patches/patch-pam__af__tool_pam__af__tool.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/pam-af/patches/patch-pam__af__tool_pam__af__tool.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-pam__af__tool_pam__af__tool.c,v 1.1 2014/12/21 07:31:15 obache Exp $
|
|* fixed array will never be NULL. check the first element instead. 
|
|--- pam_af_tool/pam_af_tool.c.orig	2011-08-24 07:53:32.000000000 +0000
|+++ pam_af_tool/pam_af_tool.c
--------------------------
Patching file pam_af_tool/pam_af_tool.c using Plan A...
Hunk #1 succeeded at 722.
Hunk #2 succeeded at 1237.
Hunk #3 succeeded at 1326.
done
===> Creating toolchain wrappers for pam-af-1.0.2nb5
===> Configuring for pam-af-1.0.2nb5
=> replace hard-coded paths