+ 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/opendoas-6.8.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/opendoas-6.8.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for opendoas-6.8.2.tar.gz
=> Checksum SHA512 OK for opendoas-6.8.2.tar.gz
===> Installing dependencies for opendoas-6.8.2
==========================================================================
The following variables will affect the build process of this package,
opendoas-6.8.2.  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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for opendoas-6.8.2
===> Extracting for opendoas-6.8.2
===> Patching for opendoas-6.8.2
=> Applying pkgsrc patches for opendoas-6.8.2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/opendoas/patches/patch-GNUmakefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/opendoas/patches/patch-GNUmakefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-GNUmakefile,v 1.1 2021/01/01 14:28:57 pin Exp $
|
|- Allow build as an unpriviliged user.
|- Install configuration files in EGDIR.
|
|--- GNUmakefile.orig	2020-11-14 15:44:04.000000000 +0000
|+++ GNUmakefile
--------------------------
Patching file GNUmakefile using Plan A...
Hunk #1 succeeded at 16.
done
===> Creating toolchain wrappers for opendoas-6.8.2
===> Configuring for opendoas-6.8.2
=> Fixing hardcoded paths.
=> Checking for portability problems in extracted files
Checking for explicit_bzero ...		no.
Checking for strlcat ...   		no.
Checking for strlcpy ...   		no.
Checking for errc ...      		no.
Checking for verrc ...     		no.
Checking for setprogname ...		no.
Checking for readpassphrase ...		no.
Checking for strtonum ...  		no.
Checking for reallocarray ...		no.
Checking for execvpe ...   		no.
Checking for setresuid ... 		no.
Checking for setresgid ... 		no.
Checking for setreuid ...  		no.
Checking for setregid ...  		no.
Checking for closefrom ... 		no.
Checking for sysconf ...   		no.
Checking for dirfd ...     		no.
Checking for fcntl_h ...   		no.
Checking for F_CLOSEM ...  		no.
Checking for dirent_h ...  		no.
Checking for sys_ndir_h ...		no.
Checking for sys_dir_h ... 		no.
Checking for ndir_h ...    		no.
Checking for login_cap_h ...		no.
Checking for __attribute__ ...		no.
Checking for pam_appl_h ...		no.
Checking for shadow_h ...  		no.
Error auth method		
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/opendoas
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/opendoas