+ 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/libtpms-0.9.6nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libtpms-0.9.6nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for libtpms-0.9.6.tar.gz
=> Checksum SHA512 OK for libtpms-0.9.6.tar.gz
===> Installing dependencies for libtpms-0.9.6nb1
==========================================================================
The following variables will affect the build process of this package,
libtpms-0.9.6nb1.  Their current value is shown below:

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

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 automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency openssl>=3: found openssl-3.3.0
===> Overriding tools for libtpms-0.9.6nb1
===> Extracting for libtpms-0.9.6nb1
===> Patching for libtpms-0.9.6nb1
===> Creating toolchain wrappers for libtpms-0.9.6nb1
===> Configuring for libtpms-0.9.6nb1
=> 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
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
rm: ./ltmain.sh: No such file or directory
rm: ./ltmain.sh: No such file or directory
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
rm: m4/libtool.m4: No such file or directory
rm: m4/libtool.m4: No such file or directory
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
rm: m4/ltoptions.m4: No such file or directory
rm: m4/ltoptions.m4: No such file or directory
libtoolize: copying file 'm4/ltoptions.m4'
rm: m4/ltsugar.m4: No such file or directory
rm: m4/ltsugar.m4: No such file or directory
libtoolize: copying file 'm4/ltsugar.m4'
rm: m4/ltversion.m4: No such file or directory
rm: m4/ltversion.m4: No such file or directory
libtoolize: copying file 'm4/ltversion.m4'
rm: m4/lt~obsolete.m4: No such file or directory
rm: m4/lt~obsolete.m4: No such file or directory
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /opt/pkg/bin/autoconf --force
autoreconf: running: /opt/pkg/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:57: installing './compile'
configure.ac:13: installing './config.guess'
configure.ac:13: installing './config.sub'
configure.ac:14: installing './install-sh'
configure.ac:14: installing './missing'
src/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: Leaving directory '.'
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 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... mkdir -p
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 debug-enabled build... no
checking whether make supports the include directive... yes (GNU style)
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 dependency style of gcc... gcc3
checking whether the linker accepts -Wl,--version-script=./src/test.syms... no
Building with TPM2 support
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for AES_set_encrypt_key in -lcrypto... yes
checking for openssl/aes.h... yes
Building with openssl crypto library
checking for EVP_CIPHER_CTX_new in -lcrypto... yes
checking for EVP_EncryptInit_ex in -lcrypto... yes
checking for EVP_aes_128_cbc in -lcrypto... yes
checking for EVP_des_ede3_cbc in -lcrypto... yes
checking for EVP_camellia_128_cbc in -lcrypto... yes
checking for DES_random_key in -lcrypto... yes
checking for EVP_CIPHER_CTX_iv in -lcrypto... yes
checking for EC_KEY_set_group in -lcrypto... yes
checking for EC_KEY_generate_key in -lcrypto... yes
checking for EC_KEY_get0_private_key in -lcrypto... yes
checking for ECDSA_SIG_new in -lcrypto... yes
checking for ECDSA_SIG_set0 in -lcrypto... yes
checking for ECDSA_do_verify in -lcrypto... yes
checking for ECDSA_do_sign in -lcrypto... yes
checking for EC_KEY_set_group in -lcrypto... (cached) yes
checking for RSA_set0_key in -lcrypto... yes
checking for RSA_set0_factors in -lcrypto... yes
checking for RSA_set0_crt_params in -lcrypto... yes
checking for RSA_generate_key_ex in -lcrypto... yes
checking for EVP_PKEY_CTX_new in -lcrypto... yes
checking for EVP_PKEY_assign in -lcrypto... yes
checking for EVP_PKEY_encrypt_init in -lcrypto... yes
checking for EVP_PKEY_encrypt in -lcrypto... yes
checking for EVP_PKEY_decrypt_init in -lcrypto... yes
checking for EVP_PKEY_decrypt in -lcrypto... yes
checking for EVP_PKEY_sign_init in -lcrypto... yes
checking for EVP_PKEY_sign in -lcrypto... yes
checking for EVP_PKEY_verify_init in -lcrypto... yes
checking for EVP_PKEY_verify in -lcrypto... yes
checking for EVP_get_digestbyname in -lcrypto... yes
checking whether EVP_PKEY_CTX_set0_rsa_oaep_label is defined in <openssl/rsa.h>... no
checking for EVP_PKEY_CTX_set0_rsa_oaep_label in -lcrypto... yes
checking whether EVP_PKEY_CTX_set_rsa_padding is defined in <openssl/rsa.h>... no
checking for EVP_PKEY_CTX_set_rsa_padding in -lcrypto... yes
checking whether EVP_PKEY_CTX_set_rsa_oaep_md is defined in <openssl/rsa.h>... no
checking for EVP_PKEY_CTX_set_rsa_oaep_md in -lcrypto... yes
checking whether EVP_PKEY_CTX_set_signature_md is defined in <openssl/evp.h>... no
checking for EVP_PKEY_CTX_set_signature_md in -lcrypto... yes
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 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... yes
checking for x86_64-sun-solaris2.11-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /bin/ld -64
checking if the linker (/bin/ld -64) is GNU ld... no
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for clock_gettime in -lc... yes
checking whether linker supports -Wl,-z,relro... no
checking whether linker supports -Wl,-z,now... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dist/libtpms.spec
config.status: creating include/Makefile
config.status: creating include/libtpms/Makefile
config.status: creating include/libtpms/tpm_library.h
config.status: creating man/Makefile
config.status: creating man/man3/Makefile
config.status: creating src/Makefile
config.status: creating libtpms.pc
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory

AM_CFLAGS=-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DUSE_OPENSSL_FUNCTIONS_SYMMETRIC=1 -DUSE_OPENSSL_FUNCTIONS_EC=1 -DUSE_OPENSSL_FUNCTIONS_ECDSA=1 -DUSE_OPENSSL_FUNCTIONS_RSA=1  -Wall -Werror -Wreturn-type -Wsign-compare -Wno-self-assign -Wmissing-prototypes
HARDENING_CFLAGS=-fstack-protector-strong  -D_FORTIFY_SOURCE=2
HARDENING_LDFLAGS= -Wl,-z,now
AM_LDFLAGS=-L/opt/pkg/lib -Wl,-R/opt/pkg/lib 

Version to build        : 0.9.6
Crypto library          : openssl
Debug build             : no
With TPM1.2 support     : yes
With TPM2 support       : yes
HAVE_VERSION_SCRIPT     : no
Use openssl crypto for  : symmetric (AES, TDES) general elliptic curve (EC) elliptic curve (ECDSA) RSA 


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