+ 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/duo-unix-1.11.4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/duo-unix-1.11.4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for duo_unix-1.11.4.tar.gz
=> Checksum SHA512 OK for duo_unix-1.11.4.tar.gz
===> Installing dependencies for duo-unix-1.11.4
==========================================================================
The supported build options for duo-unix are:

	pam

The currently selected options are:

	pam

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

	PKG_OPTIONS.duo-unix (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
duo-unix-1.11.4.  Their current value is shown below:

        * PAM_DEFAULT = solaris-pam
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1s
===> Overriding tools for duo-unix-1.11.4
===> Extracting for duo-unix-1.11.4
===> Patching for duo-unix-1.11.4
=> Applying pkgsrc patches for duo-unix-1.11.4
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/security/duo-unix/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/security/duo-unix/patches/patch-Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.in,v 1.1 2020/12/04 12:15:41 jperkin Exp $
|
|Do not install duo_unix_support (very Linux specific, assumes /etc, not very
|useful in a pkgsrc context).
|
|--- Makefile.in.orig	2020-05-18 16:08:52.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 371.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/security/duo-unix/patches/patch-login__duo_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/security/duo-unix/patches/patch-login__duo_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-login__duo_Makefile.in,v 1.1 2018/02/16 07:20:56 fhajny Exp $
|
|Secure a setuid binary.
|
|--- login_duo/Makefile.in.orig	2017-08-15 19:31:47.000000000 +0000
|+++ login_duo/Makefile.in
--------------------------
Patching file login_duo/Makefile.in using Plan A...
Hunk #1 succeeded at 713 (offset 1 line).
done
===> Creating toolchain wrappers for duo-unix-1.11.4
===> Configuring for duo-unix-1.11.4
=> Substituting "paths" in login_duo/login_duo.8 pam_duo/pam_duo.8
=> 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
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... autotools/install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
configure: autobuild project... duo_unix
configure: autobuild revision... 1.11.4
configure: autobuild hostname... pkgsrc-upstream-trunk
configure: autobuild timestamp... 20230110T010425Z
checking for style of include used by make... GNU
checking for x86_64-sun-solaris2.11-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for x86_64-sun-solaris2.11-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/xpg4/bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop
checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for x86_64-sun-solaris2.11-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-sun-solaris2.11-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for sysroot... no
checking for x86_64-sun-solaris2.11-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: Adding gcc options: -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2
checking if -fstack-protector and -fstack-protector-all are supported.... yes
configure: -fstack-protector disabled on Solaris
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for int64_t... yes
checking for ANSI C header files... (cached) yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for memory.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for pkg-config... /home/pbulk/build/security/duo-unix/work/.tools/bin/pkg-config
checking whether compiling and linking against OpenSSL works... yes
checking whether X509_TEA_set_state runs... no
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking for security/pam_modules.h... yes
checking for security/pam_ext.h... no
checking for main in -lpam... yes
configure: PAM installation path /opt/pkg/lib/security
checking for pam_vprompt... no
configure: Using privilege separation user "sshd"
configure: Using libdir "${exec_prefix}/lib"
checking for memcpy... yes
checking for memset... yes
checking for sysconf... yes
checking for getaddrinfo... no
checking for open64... no
checking for fopen64... no
checking for explicit_bzero... yes
checking for memset_s... yes
checking for asprintf... yes
checking for getgrouplist... yes
checking for strlcpy... yes
checking for vsyslog... yes
checking for library containing inet_ntoa... none required
checking for library containing socket... -lsocket
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating duo_unix_support/Makefile
config.status: creating lib/Makefile
config.status: creating lib/libduo.pc
config.status: creating login_duo/Makefile
config.status: creating pam_duo/Makefile
config.status: creating tests/Makefile
config.status: creating tests/unity_tests/Makefile
config.status: creating tests/unity_tests/Unity-2.4.3/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp