+ 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/softhsm2-2.6.1nb15/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/softhsm2-2.6.1nb15/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for softhsm-2.6.1.tar.gz => Checksum SHA512 OK for softhsm-2.6.1.tar.gz ===> Installing dependencies for softhsm2-2.6.1nb15 ========================================================================== The following variables will affect the build process of this package, softhsm2-2.6.1nb15. 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 * VARBASE = /var/opt/pkg 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 cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency boost-headers-1.84.*: found boost-headers-1.84.0 => Full dependency sqlite3>=3.44.0nb1: found sqlite3-3.45.1 => Full dependency botan>=2.19.3nb4: found botan-2.19.3nb4 => Full dependency openssl>=3: found openssl-3.1.5 ===> Overriding tools for softhsm2-2.6.1nb15 ===> Extracting for softhsm2-2.6.1nb15 ===> Patching for softhsm2-2.6.1nb15 => Applying pkgsrc patches for softhsm2-2.6.1nb15 => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/softhsm2/patches/patch-configure => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/softhsm2/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.1 2019/11/06 10:11:41 he Exp $ | |Use /var/db not /var/lib, to adhere to NetBSD hier(7). | |--- configure.orig 2018-09-24 07:52:05.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 7884 (offset -611 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/softhsm2/patches/patch-configure.ac => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/softhsm2/patches/patch-configure.ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure.ac,v 1.1 2019/11/06 10:11:41 he Exp $ | |Use /var/db not /var/lib, to adhere to NetBSD hier(7). | |--- configure.ac.orig 2018-09-24 07:50:22.000000000 +0000 |+++ configure.ac -------------------------- Patching file configure.ac using Plan A... Hunk #1 succeeded at 126. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/softhsm2/patches/patch-src_lib_common_Makefile.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/softhsm2/patches/patch-src_lib_common_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_lib_common_Makefile.in,v 1.1 2019/11/06 10:11:41 he Exp $ | |Install config in example directory. | |--- src/lib/common/Makefile.in.orig 2016-12-05 10:05:20.000000000 +0000 |+++ src/lib/common/Makefile.in -------------------------- Patching file src/lib/common/Makefile.in using Plan A... Hunk #1 succeeded at 267 (offset -1 lines). Hunk #2 succeeded at 768 (offset -1 lines). done ===> Creating toolchain wrappers for softhsm2-2.6.1nb15 ===> Configuring for softhsm2-2.6.1nb15 => Substituting "paths" in src/lib/common/Makefile.in => 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 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... ./install-sh -c -d checking for gawk... /usr/bin/nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... 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 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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking pkg-config is at least version 0.9.0... no checking whether g++ supports C++11 features by default... yes checking for dlopen... yes 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 pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for FIPS 140-2 mode... no checking for crypto backend... OpenSSL checking what are the OpenSSL includes... checking what are the OpenSSL libs... -lcrypto checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for BN_new in -lcrypto... yes checking for OpenSSL version... >= 1.0.0 checking for OpenSSL ECC support... Found P256, P384, and P521 checking for OpenSSL EDDSA ED25519 support... Found ED25519 checking for OpenSSL EDDSA ED448 support... Found ED448 checking OpenSSL EVP interface for AES key wrapping... RFC 3394 is supported checking OpenSSL EVP interface for AES key wrapping with pad... RFC 5649 is supported checking for ECC support... yes checking for GOST support... no checking for EDDSA support... yes checking for non-paged memory for secure storage... enabled checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking the maximum size that may be locked into memory... ./configure: line 7248: ulimit: -l: invalid option ulimit: usage: ulimit [-SHabcdefilmnpqrstuvxT] [limit] configure: WARNING: ====================================================================== SoftHSM has been configured to store sensitive data in non-page RAM (i.e. memory that is not swapped out to disk). This is the default and most secure configuration. Your system, however, is not configured to support this model in non-privileged accounts (i.e. user accounts). You can check the setting on your system by running the following command in a shell: ulimit -l If this does not return "unlimited" and you plan to run SoftHSM from non-privileged accounts then you should edit the configuration file /etc/security/limits.conf (on most systems). You will need to add the following lines to this file: #<domain> <type> <item> <value> * - memlock unlimited Alternatively, you can elect to disable this feature of SoftHSM by re-running configure with the option "--disable-non-paged-memory". Please be advised that this may seriously degrade the security of SoftHSM. ====================================================================== checking if building with softhsm2-migrate... yes checking for sched_yield in -lrt... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking if building database object store backend... yes checking if SQLite3 required... yes checking for sqlite3... /opt/pkg/bin/sqlite3 checking what are the SQLite3 includes... checking what are the SQLite3 libs... -lsqlite3 checking sqlite3.h usability... yes checking sqlite3.h presence... yes checking for sqlite3.h... yes checking for sqlite3_prepare_v2 in -lsqlite3... yes checking for p11-kit integration... yes checking where to install the p11-kit module... configure: WARNING: Missing install path for the p11-kit module, skipping module checking for cppunit-config... no checking for getpwuid_r... yes 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 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-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 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 that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating softhsm2.module config.status: creating src/Makefile config.status: creating src/lib/Makefile config.status: creating src/lib/common/Makefile config.status: creating src/lib/common/softhsm2.conf config.status: creating src/lib/common/softhsm2.conf.5 config.status: creating src/lib/crypto/Makefile config.status: creating src/lib/crypto/test/Makefile config.status: creating src/lib/data_mgr/Makefile config.status: creating src/lib/data_mgr/test/Makefile config.status: creating src/lib/object_store/Makefile config.status: creating src/lib/object_store/test/Makefile config.status: creating src/lib/session_mgr/Makefile config.status: creating src/lib/session_mgr/test/Makefile config.status: creating src/lib/slot_mgr/Makefile config.status: creating src/lib/slot_mgr/test/Makefile config.status: creating src/lib/handle_mgr/Makefile config.status: creating src/lib/handle_mgr/test/Makefile config.status: creating src/lib/test/Makefile config.status: creating src/lib/test/softhsm2.conf config.status: creating src/lib/test/softhsm2-alt.conf config.status: creating src/lib/test/softhsm2-reset-on-fork.conf config.status: creating src/lib/test/softhsm2-mech.conf config.status: creating src/lib/test/tokens/dummy config.status: creating src/bin/Makefile config.status: creating src/bin/common/Makefile config.status: creating src/bin/dump/Makefile config.status: creating src/bin/keyconv/Makefile config.status: creating src/bin/migrate/Makefile config.status: creating src/bin/util/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