+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/openconnect-9.12nb4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/openconnect-9.12nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for openconnect-9.12.tar.gz
=> Checksum SHA512 OK for openconnect-9.12.tar.gz
===> Installing dependencies for openconnect-9.12nb4
==========================================================================
The supported build options for openconnect are:

	libproxy

The currently selected options are:

	libproxy

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

	PKG_OPTIONS.openconnect (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
openconnect-9.12nb4.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 311
        * 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:

        * PYPACKAGE = python311

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 glib2-tools-[0-9]*: found glib2-tools-2.80.2
=> 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.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency vpnc-script-[0-9]*: found vpnc-script-20230103
=> Full dependency libproxy>=0.5.0: found libproxy-0.5.6nb1
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency python311>=3.11.0: found python311-3.11.9
=> Full dependency openssl>=3: found openssl-3.3.0nb1
=> Full dependency libxml2>=2.10.4nb3: found libxml2-2.12.4
===> Overriding tools for openconnect-9.12nb4
===> Extracting for openconnect-9.12nb4
===> Patching for openconnect-9.12nb4
=> Applying pkgsrc patches for openconnect-9.12nb4
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/openconnect/patches/patch-hpke.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/openconnect/patches/patch-hpke.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-hpke.c,v 1.1 2023/05/18 13:55:54 schmonz Exp $
|
|Define environ before it's used. Fixes build on at least NetBSD.
|
|--- hpke.c.orig	2023-05-17 11:27:35.000000000 +0000
|+++ hpke.c
--------------------------
Patching file hpke.c using Plan A...
Hunk #1 succeeded at 53.
done
===> Creating toolchain wrappers for openconnect-9.12nb4
===> Configuring for openconnect-9.12nb4
=> 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 python interpreter in trojans/*.py.
=> Replacing bash interpreter in trojans/*.sh.
INFO: [replace-interpreter] Nothing changed in trojans/csd-post.sh.
INFO: [replace-interpreter] Nothing changed in trojans/csd-wrapper.sh.
=> Checking for portability problems in extracted files
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking whether to enable maintainer-specific portions of Makefiles... yes
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 race-free mkdir -p... ./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 UID '500' is supported by ustar format... yes
checking whether GID '500' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
configure: Applying workaround for broken SunOS time() function
checking for xdg-open... checking for xdg-open... no
checking for fdevname_r... no
checking for statfs... yes
checking for getline... yes
checking for strcasestr... yes
checking for strndup... yes
checking for strchrnul... yes
checking for asprintf... yes
checking for vasprintf... yes
checking for __builtin_clz... yes
checking for supported compiler flags...  -Wall -Wextra -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Werror=pointer-to-int-cast -Werror-implicit-function-declaration -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wnested-externs -Wpointer-arith -Wwrite-strings
checking For memset_s... yes
checking For localtime_r... yes
checking for socket... no
checking for socket in -lsocket... yes
checking for inet_aton... yes
checking for IPV6_PATHMTU socket option... yes
checking for __android_log_vprint... no
checking for __android_log_vprint in -llog... no
checking for nl_langinfo... yes
checking for posix_spawn... yes
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking 32-bit host C ABI... no
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 ELF binary format... yes
checking for the common suffixes of directories in the library search path... lib,lib/64,lib/amd64
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for GNUTLS... no
checking for OPENSSL... yes
checking for P11KIT... no
checking for known-broken versions of OpenSSL... no
checking for ENGINE_by_id() in OpenSSL... yes
checking for dtls1_stop_timer() in OpenSSL... no
checking for DTLS_client_method() in OpenSSL... yes
checking for SSL_CTX_set_min_proto_version() in OpenSSL... yes
checking for BIO_meth_free() in OpenSSL... yes
checking for HMAC_CTX_copy... yes
checking for SSL_CIPHER_find() in OpenSSL... yes
checking for HKDF support in OpenSSL... yes
checking for swtpm... no
checking for tpm2tss-genkey... no
checking for create_tpm2_key... no
checking for LIBLZ4... no
configure: WARNING:
***
*** lz4 not found.
*** 
checking for egrep... (cached) /usr/xpg4/bin/grep -E
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 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-file... no
checking for file... file
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 a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
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... no
checking linker version script flag... -M
checking if version scripts can use complex wildcards... no
checking for LIBXML2... yes
checking for JSON... no
checking for library containing pow... -lm
checking for ZLIB... yes
checking for LIBPROXY... yes
checking for LIBSTOKEN... no
checking for LIBPCSCLITE... no
checking for epoll_create1... yes
checking for LIBPSKC... no
checking for x86_64-sun-solaris2.11-krb5-config... no
checking for krb5-config... /usr/bin/krb5-config
checking whether /usr/bin/krb5-config supports gssapi... yes
checking for gssapi/gssapi.h... yes
checking GSSAPI compilation with "-L/usr/lib -lgss -lkrb5"... yes
checking for if_tun.h... no
checking for linux/if_tun.h... no
checking for net/if_tun.h... no
checking for net/tun/if_tun.h... no
checking for net/if_utun.h... no
checking for alloca.h... yes
checking for endian.h... yes
checking for CWRAP... no
checking for nuttcp... no
checking whether to enable broken in asan tests... yes
./configure: line 21820: whoami: command not found
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating openconnect.pc
config.status: creating po/Makefile
config.status: creating www/Makefile
config.status: creating libopenconnect.map
config.status: creating openconnect.8
config.status: creating www/styles/Makefile
config.status: creating www/inc/Makefile
config.status: creating www/images/Makefile
config.status: creating tests/Makefile
config.status: creating tests/softhsm2.conf
config.status: creating tests/configs/test-user-cert.config
config.status: creating tests/configs/test-user-pass.config
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
BUILD OPTIONS:
  SSL library:            OpenSSL
  PKCS#11 support:        no
  DTLS support:           yes
  ESP support:            yes
  HPKE support:           yes
  libproxy support:       yes
  RSA SecurID support:    no
  PSKC OATH file support: no
  GSSAPI support:         yes
  vhost-net support:      no
  Yubikey support:        no
  JSON parser:            builtin
  LZ4 compression:        no
  Java bindings:          no
  Build docs:             no
  Unit tests:             no
  Net namespace tests:    no
  DSA tests:              yes
  PPP tests:              no
  Flask tests:            no
  Insecure debugging:     no
  NSIS installer:         no
configure: WARNING:
***
*** Be sure to run "make check" to verify OpenSSL DTLS support
*** 
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp