+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/racoon2-20180701nb8/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/racoon2-20180701nb8/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for racoon2-b2a193fc9875d1fb89c0a51690745379bc135fcf.tar.gz
=> Checksum SHA512 OK for racoon2-b2a193fc9875d1fb89c0a51690745379bc135fcf.tar.gz
===> Installing dependencies for racoon2-20180701nb8
==========================================================================
The supported build options for racoon2 are:

	iked kinkd

The currently selected options are:

	iked kinkd

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

	PKG_OPTIONS.racoon2 (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
racoon2-20180701nb8.  Their current value is shown below:

        * KRB5_DEFAULT = mit-krb5
        * PKG_SYSCONFBASE = /opt/local/etc
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/local/etc/openssl/certs
        * SSLDIR = /opt/local/etc/openssl
        * SSLKEYS = /opt/local/etc/openssl/private
        * VARBASE = /var

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

        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = mit-krb5

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/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency flex>=2.5.4a: found flex-2.6.4
=> Tool dependency bison>=1.0: found bison-3.8.2
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency flex>=2.5.4a: found flex-2.6.4
=> Build dependency gcc10>=10.4.0: found gcc10-10.4.0
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency perl>=5.0: found perl-5.34.0nb3
=> Full dependency mit-krb5>=1.4: found mit-krb5-1.18.4
=> Full dependency openssl>=1.1.1dnb2: found openssl-1.1.1t
=> Full dependency gcc10-libs>=10.4.0: found gcc10-libs-10.4.0
===> Overriding tools for racoon2-20180701nb8
===> Extracting for racoon2-20180701nb8
===> Patching for racoon2-20180701nb8
=> Applying pkgsrc patches for racoon2-20180701nb8
=> Verifying /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/security/racoon2/patches/patch-samples_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/security/racoon2/patches/patch-samples_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-samples_Makefile.in,v 1.1 2019/12/28 12:50:19 wiz Exp $
|
|Install config into examples directory.
|
|--- samples/Makefile.in.orig	2018-07-01 15:39:24.000000000 +0000
|+++ samples/Makefile.in
--------------------------
Patching file samples/Makefile.in using Plan A...
Hunk #1 succeeded at 2.
done
===> Creating toolchain wrappers for racoon2-20180701nb8
===> Configuring for racoon2-20180701nb8
=> Fixing config file paths.
=> Respect destdir and PKG_SYSCONFDIR
=> Fixing hook script paths.
=> 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
=> Replacing perl interpreter in pskgen/pskgen.in.
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --enable-natt
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking whether make sets $(MAKE)... yes
checking if --with-install-opts option is specified... no
checking if --enable-debug option is specified... default to yes
checking if --enable-pcap option is specified... no
checking if --enable-pedant option is specified... no
checking if --enable-iked option is specified... yes
checking if --enable-kinkd option is specified... yes
checking for perl... /home/pbulk/build/security/racoon2/work/.tools/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating samples/Makefile
config.status: creating samples/racoon2.conf
config.status: creating samples/vals.conf
config.status: creating samples/init.d-iked
config.status: creating samples/init.d-kinkd
config.status: creating samples/init.d-spmd
config.status: creating samples/rc.d-racoon2
config.status: creating samples/rc.d-iked
config.status: creating samples/rc.d-kinkd
config.status: creating samples/rc.d-spmd
config.status: creating samples/ikesa-up
config.status: creating samples/ikesa-down
config.status: creating samples/ikesa-rekey
config.status: creating samples/child-up
config.status: creating samples/child-down
config.status: creating samples/child-rekey
config.status: creating samples/migration
config.status: creating samples/ph1-up
config.status: creating samples/ph1-down
config.status: creating pskgen/Makefile
config.status: creating pskgen/pskgen
config.status: creating pskgen/autogen.spmd.pwd
=== configuring in lib (/home/pbulk/build/security/racoon2/work/racoon2-b2a193fc9875d1fb89c0a51690745379bc135fcf/lib)
configure: running /usr/bin/bash ./configure --disable-option-checking '--prefix=/opt/local'  '--sysconfdir=/opt/local/etc/racoon2' '--enable-natt' '--build=x86_64-sun-solaris2.11' '--host=x86_64-sun-solaris2.11' '--mandir=/opt/local/man' '--enable-option-checking=yes' 'build_alias=x86_64-sun-solaris2.11' 'host_alias=x86_64-sun-solaris2.11' '--enable-debug' --cache-file=/dev/null --srcdir=.
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 how to run the C preprocessor... gcc -E
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... /opt/local/bin/bison -y
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking whether make sets $(MAKE)... yes
checking for mkdep... no
checking which program to make .depend... shmkdep(){ $(CC) -MM "$$@" > .depend; }; shmkdep
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for ar... /opt/local/bin/ar
checking if --with-kernel-build-dir option is specified... no
checking if ipv6 is available... yes
checking if --enable-debug option is specified... yes
checking --enable-pcap... no
checking if --disable-pedant option is specified... no
checking if --enable-secure option is specified... yes
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/wait.h that is POSIX.1 compatible... 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 sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking net/if_var.h usability... no
checking net/if_var.h presence... no
checking for net/if_var.h... no
checking net/ethernet.h usability... no
checking net/ethernet.h presence... no
checking for net/ethernet.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking netinet6/ipsec.h usability... no
checking netinet6/ipsec.h presence... no
checking for netinet6/ipsec.h... no
checking netipsec/ipsec.h usability... no
checking netipsec/ipsec.h presence... no
checking for netipsec/ipsec.h... no
checking net/pfkeyv2.h usability... yes
checking net/pfkeyv2.h presence... yes
checking for net/pfkeyv2.h... yes
checking if --enable-natt option is specified... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working memcmp... yes
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... yes
checking for gettimeofday... yes
checking for mktime... yes
checking for socket... no
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for getifaddrs... no
checking for strlcpy... yes
checking for strlcat... yes
checking for atoll... yes
checking if printf accepts %z... yes
checking whether struct sockaddr has sa_len field... no
checking if --with-openssl-libdir option is specified... none
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking make... pmake
configure: creating ./config.status
config.status: creating Makefile
=== configuring in spmd (/home/pbulk/build/security/racoon2/work/racoon2-b2a193fc9875d1fb89c0a51690745379bc135fcf/spmd)
configure: running /usr/bin/bash ./configure --disable-option-checking '--prefix=/opt/local'  '--sysconfdir=/opt/local/etc/racoon2' '--enable-natt' '--build=x86_64-sun-solaris2.11' '--host=x86_64-sun-solaris2.11' '--mandir=/opt/local/man' '--enable-option-checking=yes' 'build_alias=x86_64-sun-solaris2.11' 'host_alias=x86_64-sun-solaris2.11' '--enable-debug' --cache-file=/dev/null --srcdir=.
configure: WARNING: unrecognized options: --enable-natt
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking target system type... x86_64-sun-solaris2.11
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 how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking for mkdep... no
checking which program to make .depend... shmkdep(){ $(CC) -MM "$$@" > .depend; }; shmkdep
checking for getopt_long in -lgnugetopt... no
checking for main in -lcrypto... yes
checking Enable Debug... yes
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/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking size of long long... 8
checking for working memcmp... yes
checking for strftime... yes
checking for gettimeofday... yes
checking for select... yes
checking for socket... no
checking for strdup... yes
checking for strerror... yes
checking for uname... yes
checking for getopt_long... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for atoll... yes
checking whether struct sockaddr has sa_len field... no
checking for architecture... 
use /etc/nsswitch.conf
checking for SPDUPDATE BUG... 
no
checking for libracoon... ../lib
checking if --with-openssl-libdir option is specified... none
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking make... pmake
checking if --with-install-opts option is specified... no
checking net/pfkeyv2.h usability... yes
checking net/pfkeyv2.h presence... yes
checking for net/pfkeyv2.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: WARNING: unrecognized options: --enable-natt
=== configuring in iked (/home/pbulk/build/security/racoon2/work/racoon2-b2a193fc9875d1fb89c0a51690745379bc135fcf/iked)
configure: running /usr/bin/bash ./configure --disable-option-checking '--prefix=/opt/local'  '--sysconfdir=/opt/local/etc/racoon2' '--enable-natt' '--build=x86_64-sun-solaris2.11' '--host=x86_64-sun-solaris2.11' '--mandir=/opt/local/man' '--enable-option-checking=yes' 'build_alias=x86_64-sun-solaris2.11' 'host_alias=x86_64-sun-solaris2.11' '--enable-debug' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
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 how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking whether ikev1 should be enabled... yes
checking if --enable-debug option is specified... yes
checking --enable-updateifaddr... no
checking --enable-parsecoa... no
checking if --with-ipsec-window-size option is specified... no
checking if --with-install-opts option is specified... no
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 limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet6/ipsec.h usability... no
checking netinet6/ipsec.h presence... no
checking for netinet6/ipsec.h... no
checking netipsec/ipsec.h usability... no
checking netipsec/ipsec.h presence... no
checking for netipsec/ipsec.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking if --with-kernel-build-dir option is specified... no
checking net/pfkeyv2.h usability... yes
checking net/pfkeyv2.h presence... yes
checking for net/pfkeyv2.h... yes
checking if --enable-natt option is specified... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking size of long long... 8
checking whether gcc needs -traditional... no
checking whether malloc() is usable... yes
checking for working memcmp... yes
checking return type of signal handlers... void
checking for getaddrinfo... no
checking for getnameinfo... no
checking for getopt_long... yes
checking for setprogname... yes
checking for daemon... yes
checking for timegm... yes
checking __func__ macro... yes
checking if sa_len is available... no
checking if ipv6 is available... yes
checking for advanced API support... yes
checking for library containing dlopen... none required
checking if --with-openssl-libdir option is specified... none
checking --enable-engine... yes
checking if --enable-rc5 option is specified... no
checking if --enable-idea option is specified... no
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h presence... yes
checking for openssl/x509.h... yes
checking whether d2i_PublicKey argument requires const... yes
checking openssl/opensslv.h usability... yes
checking openssl/opensslv.h presence... yes
checking for openssl/opensslv.h... yes
checking openssl/pkcs12.h usability... yes
checking openssl/pkcs12.h presence... yes
checking for openssl/pkcs12.h... yes
checking openssl/aes.h usability... yes
checking openssl/aes.h presence... yes
checking for openssl/aes.h... yes
checking for EVP_sha256... yes
checking make... pmake
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
=== configuring in kinkd (/home/pbulk/build/security/racoon2/work/racoon2-b2a193fc9875d1fb89c0a51690745379bc135fcf/kinkd)
configure: running /usr/bin/bash ./configure --disable-option-checking '--prefix=/opt/local'  '--sysconfdir=/opt/local/etc/racoon2' '--enable-natt' '--build=x86_64-sun-solaris2.11' '--host=x86_64-sun-solaris2.11' '--mandir=/opt/local/man' '--enable-option-checking=yes' 'build_alias=x86_64-sun-solaris2.11' 'host_alias=x86_64-sun-solaris2.11' '--enable-debug' --cache-file=/dev/null --srcdir=.
configure: WARNING: unrecognized options: --enable-natt
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 how to run the C preprocessor... gcc -E
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking whether make sets $(MAKE)... yes
checking for mkdep... no
checking which program to make .depend... shmkdep(){ $(CC) -MM "$$@" > .depend; }; shmkdep
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking if --enable-debug option is specified... yes
checking if --enable-pedant option is specified... no
checking if --enable-extra-sanity option is specified... no
checking if --with-plog is specified... yes
checking Kerberos 5... 
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 sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for unistd.h... (cached) yes
checking krb5/krb5.h usability... yes
checking krb5/krb5.h presence... yes
checking for krb5/krb5.h... yes
checking krb5.h usability... yes
checking krb5.h presence... yes
checking for krb5.h... yes
checking net/pfkeyv2.h usability... yes
checking net/pfkeyv2.h presence... yes
checking for net/pfkeyv2.h... yes
checking netinet6/ipsec.h usability... no
checking netinet6/ipsec.h presence... no
checking for netinet6/ipsec.h... no
checking netipsec/ipsec.h usability... no
checking netipsec/ipsec.h presence... no
checking for netipsec/ipsec.h... no
checking linux/pfkeyv2.h usability... no
checking linux/pfkeyv2.h presence... no
checking for linux/pfkeyv2.h... no
checking linux/ipsec.h usability... no
checking linux/ipsec.h presence... no
checking for linux/ipsec.h... no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working memcmp... yes
checking return type of signal handlers... void
checking for getprogname... yes
checking for gettimeofday... yes
checking for select... yes
checking for socket... no
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for main in -lresolv... yes
checking for main in -lcrypto... yes
checking for the type of krb5 library... mit
checking for main in -lcom_err... yes
checking for main in -lk5crypto... yes
checking for main in -lkrb5... yes
checking for krb5_nfold... no
checking if libkrb5 supports aes128-cts-hmac-sha1-96... yes
checking if struct sockaddr has sa_len... no
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking for capability of sys/queue.h... ok
checking if --with-install-opts option is specified... no
checking make... pmake
configure: creating ./config.status
config.status: creating Makefile
configure: WARNING: unrecognized options: --enable-natt
configure: WARNING: unrecognized options: --enable-natt