+ 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/pam-mkhomedir-1nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam-mkhomedir-1nb1/work.log
WARNING: [license.mk] Every package should define a LICENSE.
===> Installing dependencies for pam-mkhomedir-1nb1
==========================================================================
The following variables will affect the build process of this package,
pam-mkhomedir-1nb1.  Their current value is shown below:

        * PAM_DEFAULT = solaris-pam

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
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for pam-mkhomedir-1nb1
===> Extracting for pam-mkhomedir-1nb1
/bin/cp /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-mkhomedir/files/pam_mkhomedir.c /home/pbulk/build/security/pam-mkhomedir/work
===> Patching for pam-mkhomedir-1nb1
=> Applying pkgsrc patches for pam-mkhomedir-1nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-mkhomedir/patches/patch-pam__mkhomedir.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-mkhomedir/patches/patch-pam__mkhomedir.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-pam__mkhomedir.c,v 1.1 2018/05/04 14:52:26 he Exp $
|
|Fix typo causing buffer overflow(!)
|
|--- pam_mkhomedir.c.orig	2018-05-04 14:29:55.000000000 +0000
|+++ pam_mkhomedir.c
--------------------------
Patching file pam_mkhomedir.c using Plan A...
Hunk #1 succeeded at 208.
done
===> Creating toolchain wrappers for pam-mkhomedir-1nb1
===> Configuring for pam-mkhomedir-1nb1
=> Checking for portability problems in extracted files
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp