+ 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/opensc-0.26.1nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/opensc-0.26.1nb1/work.log => Checksum BLAKE2s OK for opensc-0.26.1.tar.gz => Checksum SHA512 OK for opensc-0.26.1.tar.gz ===> Installing dependencies for opensc-0.26.1nb1 ========================================================================== The supported build options for opensc are: notify openct pcsc-lite The currently selected options are: pcsc-lite You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.opensc (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, opensc-0.26.1nb1. Their current value is shown below: * CURSES_DEFAULT = ncurses * READLINE_DEFAULT = readline * 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: * CURSES_TYPE = ncurses * READLINE_TYPE = readline * TERMCAP_TYPE = curses 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 docbook-xsl-[0-9]*: found docbook-xsl-1.79.2nb7 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency automake>=1.9: found automake-1.18 => 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.4.3nb1 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency libxslt>=1.1.42nb4: found libxslt-1.1.43nb4 => Full dependency openssl>=3: found openssl-3.6.0 => Full dependency pcsc-lite>=1.8.3: found pcsc-lite-2.4.0 => Full dependency readline>=6.0: found readline-8.3nb1 => Full dependency zlib>=1.2.3: found zlib-1.3.1 => Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5 => Full dependency libiconv>=1.9.1: found libiconv-1.17nb1 => Full dependency libgcrypt>=1.2.0: found libgcrypt-1.11.2 => Full dependency libgpg-error>=0.6: found libgpg-error-1.56 => Full dependency libxml2>=2.6.2: found libxml2-2.14.6 => Full dependency ncurses>=5.3nb1: found ncurses-6.5nb1 => Full dependency xz>=5.0.0: found xz-5.8.1 ===> Overriding tools for opensc-0.26.1nb1 ===> Extracting for opensc-0.26.1nb1 ===> Patching for opensc-0.26.1nb1 => Applying pkgsrc patches for opensc-0.26.1nb1 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/security/opensc/patches/patch-configure.ac => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/security/opensc/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.4 2023/02/21 17:23:07 adam Exp $ | |Do not fail if dlopen() library is not found. | |--- configure.ac.orig 2023-02-21 13:18:52.603387598 +0000 |+++ configure.ac -------------------------- Patching file configure.ac using Plan A... Hunk #1 succeeded at 508 (offset 33 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/security/opensc/patches/patch-doc_tools_Makefile.am => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/security/opensc/patches/patch-doc_tools_Makefile.am Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-doc_tools_Makefile.am,v 1.3 2023/02/21 17:23:07 adam Exp $ | |These files are interpreted as config files by the pkgsrc framework, |and there's no agreed-upon place to put them. For now, just skip |installing them. Not reported upstream. | |--- doc/tools/Makefile.am.orig 2022-11-29 08:34:43.000000000 +0000 |+++ doc/tools/Makefile.am -------------------------- Patching file doc/tools/Makefile.am using Plan A... Hunk #1 succeeded at 11. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/security/opensc/patches/patch-etc_Makefile.am => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/security/opensc/patches/patch-etc_Makefile.am Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-etc_Makefile.am,v 1.1 2023/02/21 17:23:07 adam Exp $ | |Disable installation of config file, because pkgsrc installs config |files as examples. | |--- etc/Makefile.am.orig 2018-09-13 11:47:21.000000000 +0000 |+++ etc/Makefile.am -------------------------- Patching file etc/Makefile.am using Plan A... Hunk #1 succeeded at 30. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/security/opensc/patches/patch-src_libopensc_log.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/security/opensc/patches/patch-src_libopensc_log.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_libopensc_log.c,v 1.5 2020/04/16 12:37:51 manu Exp $ | |Build without pthread | |--- src/libopensc/log.c.orig 2019-12-29 12:42:06.000000000 +0000 |+++ src/libopensc/log.c 2020-04-15 13:00:39.853594605 +0000 -------------------------- Patching file src/libopensc/log.c using Plan A... Hunk #1 succeeded at 158 (offset 46 lines). done ===> Creating toolchain wrappers for opensc-0.26.1nb1 ===> Configuring for opensc-0.26.1nb1 cd /home/pbulk/build/security/opensc/work/opensc-0.26.1 && autoreconf -fi libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Remember to add 'LT_INIT' to configure.ac. configure.ac:60: installing './compile' configure.ac:31: installing './missing' src/common/Makefile.am: installing './depcomp' => 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 sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 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 xargs -n works... 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 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 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 checking whether the compiler supports GNU C++... no checking whether g++ accepts -g... no checking for g++ option to enable C++11 features... unsupported checking for g++ option to enable C++98 features... unsupported checking dependency style of g++... none checking for x86_64-sun-solaris2.11-gcc... no checking for x86_64-sun-solaris2.11-objcc... no checking for x86_64-sun-solaris2.11-objc... no checking for x86_64-sun-solaris2.11-cc... no checking for x86_64-sun-solaris2.11-CC... no checking for x86_64-sun-solaris2.11-clang... no checking for gcc... gcc checking whether the compiler supports GNU Objective C... yes checking whether gcc accepts -g... yes checking dependency style of gcc... gcc3 checking pkg-config is at least version 0.9.0... yes 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 whether byte ordering is bigendian... no checking whether to build with code coverage support... no checking whether C compiler accepts -Wunknown-warning-option... no checking whether C compiler accepts -Wshorten-64-to-32... no checking for valgrind... no checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking whether make sets $(MAKE)... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /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 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-windres... no checking for windres... no checking for xsltproc... xsltproc checking for git... no checking xsl-stylesheets... /opt/pkg/share/xsl/docbook checking git checkout... no checking for inline... inline checking for sys/wait.h that is POSIX.1 compatible... yes checking whether to enable assertions... yes checking for errno.h... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for inttypes.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for sys/mman.h... yes checking for sys/endian.h... no checking for endian.h... yes checking for an ANSI C-conforming const... yes checking for uid_t... yes checking for gid_t... yes checking for size_t... yes checking for error_at_line... no checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for vprintf... yes checking for getpass... yes checking for gettimeofday... yes checking for getline... yes checking for memset... yes checking for mkdir... yes checking for strdup... yes checking for strerror... yes checking for memset_s... yes checking for explicit_bzero... yes checking for strnlen... yes checking for sigaction... yes checking compiler support for __builtin_*_overflow()... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether strlcpy is declared... yes checking whether strlcat is declared... yes checking size of void *... 8 checking for socket in -lsocket... yes checking for res_query in -lresolv... yes checking for dlopen in -ldl... yes checking for egrep -e... (cached) /usr/xpg4/bin/grep -E checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... -D_POSIX_PTHREAD_SEMANTICS checking for PTHREAD_PRIO_INHERIT... yes checking for gio-2.0... no checking for gio/gio.h... no configure: WARNING: glib2 headers not found checking for g_application_send_notification... configure: WARNING: Cannot link against glib2 checking for cmocka >= 1.0.1... no checking for setjmp.h... yes checking for cmocka.h... no checking for inflate in -lz... yes checking for zlib.h... yes checking for readline in -lreadline... yes checking for readline/readline.h... yes checking for libcrypto >= 1.1.1... yes checking for openssl/crypto.h... yes configure: WARNING: libeac not found by pkg-config checking for eac/eac.h... no configure: WARNING: OpenPACE headers not found checking for EAC_CTX_init_pace... configure: WARNING: Cannot link against libeac checking for EAC_OBJ_nid2obj... no configure: WARNING: use --enable-cvcdir=DIR configure: WARNING: use --enable-x509dir=DIR checking for libpcsclite >= 1.8.22... yes checking for winscard.h... yes checking for pcsclite.h... yes completion detect checking for bash-completion >= 2.0... no checking XSLTPROC requirement... ok checking for gengetopt... not found checking for clang-tidy... not found checking for getopt.h... yes checking for getopt_long... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/tools/Makefile config.status: creating doc/files/Makefile config.status: creating etc/Makefile config.status: creating tests/Makefile config.status: creating src/Makefile config.status: creating src/common/Makefile config.status: creating src/ui/Makefile config.status: creating src/libopensc/Makefile config.status: creating src/sm/Makefile config.status: creating src/pkcs11/Makefile config.status: creating src/pkcs11/versioninfo-pkcs11.rc config.status: creating src/pkcs11/versioninfo-pkcs11-spy.rc config.status: creating src/pkcs11/opensc-pkcs11.pc config.status: creating src/pkcs15init/Makefile config.status: creating src/scconf/Makefile config.status: creating src/tests/Makefile config.status: creating src/tests/regression/Makefile config.status: creating src/tests/p11test/Makefile config.status: creating src/tests/fuzzing/Makefile config.status: creating src/tests/unittests/Makefile config.status: creating src/tools/Makefile config.status: creating src/tools/versioninfo-tools.rc config.status: creating src/tools/versioninfo-opensc-notify.rc config.status: creating src/smm/Makefile config.status: creating src/minidriver/Makefile config.status: creating src/minidriver/versioninfo-minidriver.rc config.status: creating src/minidriver/opensc-minidriver.inf config.status: creating win32/Makefile config.status: creating win32/versioninfo.rc config.status: creating win32/versioninfo-customactions.rc config.status: creating win32/winconfig.h config.status: creating win32/OpenSC.iss config.status: creating win32/OpenSC.wxs config.status: creating MacOSX/Makefile config.status: creating MacOSX/build-package config.status: creating MacOSX/Distribution.xml config.status: creating MacOSX/Distribution_universal.xml config.status: creating MacOSX/resources/Welcome.html config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: No such file or directory configure: WARNING: unrecognized options: --with-libiconv-prefix OpenSC has been configured with the following options: Version: 0.26.1 Version fix: 1 Version revision: 0 Git revision: No Git revision info available Copyright: OpenSC Project Company: OpenSC Project Company URL: https://github.com/OpenSC Comments: Provided under the terms of the GNU Lesser General Public License (LGPLv2.1+). Product name: OpenSC smartcard framework Product updates: https://github.com/OpenSC/OpenSC/releases Product URL: https://github.com/OpenSC/OpenSC User binaries: /opt/pkg/bin Configuration files: /etc/opt/pkg Bash completion: /etc/opt/pkg/bash_completion.d XSL stylesheets: /opt/pkg/share/xsl/docbook man support: yes doc support: no tests: yes thread locking support: yes zlib support: yes readline support: yes OpenSSL support: yes OpenSSL secure memory: no PC/SC support: yes CryptoTokenKit support: no OpenCT support: no CT-API support: no minidriver support: no SM support: yes SM default module: libsmm-local.so SM default path: /opt/pkg/lib PIV SM support: no DNIe UI support: no Notification support: no Code coverage: no PC/SC default provider: /opt/pkg/lib/libpcsclite.so PKCS11 default provider: /opt/pkg/lib/opensc-pkcs11.so PKCS11 onepin provider: /opt/pkg/lib/onepin-opensc-pkcs11.so Host: x86_64-sun-solaris2.11 Compiler: gcc Preprocessor flags: -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/ncurses -I/usr/local/include Compiler flags: -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/usr/include -I/opt/pkg/include/ncurses Linker flags: -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/usr/local/lib -R/usr/local/lib Libraries: -lsocket -lresolv LDL_LIBS: -ldl READLINE_CFLAGS: READLINE_LIBS: -lreadline ZLIB_CFLAGS: ZLIB_LIBS: -lz OPENSSL_CFLAGS: -I/opt/pkg/include OPENSSL_LIBS: -L/opt/pkg/lib -lcrypto OPENPACE_CFLAGS: OPENPACE_LIBS: OPENCT_CFLAGS: OPENCT_LIBS: PCSC_CFLAGS: -I/opt/pkg/include/PCSC CRYPTOTOKENKIT_CFLAGS: GIO2_CFLAGS: GIO2_LIBS: FUZZING_LIBS: => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.