+ 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-yubico-2.17nb22/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam-yubico-2.17nb22/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for pam_yubico-2.17.tar.gz
=> Checksum SHA512 OK for pam_yubico-2.17.tar.gz
===> Installing dependencies for pam-yubico-2.17nb22
==========================================================================
The following variables will affect the build process of this package,
pam-yubico-2.17nb22.  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 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 libyubikey>=1.7: found libyubikey-1.13
=> Full dependency ykclient>=2.15nb9: found ykclient-2.15nb9
=> Full dependency ykpers>=1.6.3: found ykpers-1.20.0
===> Overriding tools for pam-yubico-2.17nb22
===> Extracting for pam-yubico-2.17nb22
===> Patching for pam-yubico-2.17nb22
=> Applying pkgsrc patches for pam-yubico-2.17nb22
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-yubico/patches/patch-Makefile_in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-yubico/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.2 2014/03/13 22:27:33 pettai Exp $
|
|Fix MAKE_JOBS build.
|
|--- Makefile.in.orig	2013-09-23 06:17:47.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 1318 (offset 367 lines).
done
===> Creating toolchain wrappers for pam-yubico-2.17nb22
===> Configuring for pam-yubico-2.17nb22
=> 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
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
/home/pbulk/build/security/pam-yubico/work/pam_yubico-2.17/build-aux/missing: Unknown `--is-lightweight' option
Try `/home/pbulk/build/security/pam-yubico/work/pam_yubico-2.17/build-aux/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... build-aux/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 make supports nested variables... (cached) yes
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for x86_64-sun-solaris2.11-ar... no
checking for x86_64-sun-solaris2.11-lib... no
checking for x86_64-sun-solaris2.11-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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 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... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-sun-solaris2.11-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-sun-solaris2.11-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 how to run the C preprocessor... gcc -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 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... 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_macros.h... no
checking for security/pam_modutil.h... no
checking for pam_start in -lpam... yes
checking for ldap_init in -lldap... yes
checking for ld used by GCC... /bin/ld -64
checking if the linker (/bin/ld -64) is GNU ld... no
checking for shared library run path origin... done
checking for 64-bit host... yes
checking for libykclient... yes
checking how to link with libykclient... /opt/pkg/lib/libykclient.so /opt/pkg/lib/libcurl.so /opt/pkg/lib/libnghttp2.so /opt/pkg/lib/libidn2.so /opt/pkg/lib/libz.so /opt/pkg/lib/libunistring.so /opt/pkg/lib/libintl.so /opt/pkg/lib/libssl.so /opt/pkg/lib/libcrypto.so /usr/lib/amd64/libsocket.so /usr/lib/amd64/libnsl.so /opt/pkg/lib/libiconv.so -R/opt/pkg/lib
checking for libyubikey... yes
checking how to link with libyubikey... /opt/pkg/lib/libyubikey.so -R/opt/pkg/lib
checking pkg-config is at least version 0.9.0... yes
checking for YKPERS... yes
checking for pam_modutil_drop_priv... no
configure: PAM installation path $(exec_prefix)/lib/security
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
configure: WARNING: unrecognized options: --with-libiconv-prefix
configure: Summary of build options:

  Version:            2.17
  Host type:          x86_64-sun-solaris2.11
  Install prefix:     /opt/pkg
  Compiler:           gcc
  Library types:      Shared=yes, Static=no
  LDAP:               yes
  Challenge-Response: yes

=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp