+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/opensc-0.24.0/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/opensc-0.24.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for opensc-0.24.0.tar.gz => Checksum SHA512 OK for opensc-0.24.0.tar.gz ===> Installing dependencies for opensc-0.24.0 ========================================================================== 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.24.0. Their current value is shown below: * CURSES_DEFAULT = ncurses * READLINE_DEFAULT = readline * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /usr/pkg/etc/openssl/certs * SSLDIR = /usr/pkg/etc/openssl * SSLKEYS = /usr/pkg/etc/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 `/usr/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 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 nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency pcsc-lite>=1.8.3: found pcsc-lite-2.0.1 => Full dependency zlib>=1.2.3: found zlib-1.3.1 => Full dependency openssl>=3: found openssl-3.1.5 => Full dependency libxslt>=1.1.38nb2: found libxslt-1.1.39 => Full dependency readline>=6.0: found readline-8.2nb2 ===> Overriding tools for opensc-0.24.0 ===> Extracting for opensc-0.24.0 ===> Patching for opensc-0.24.0 => Applying pkgsrc patches for opensc-0.24.0 => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/opensc/patches/patch-configure.ac => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/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 507 (offset 32 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/opensc/patches/patch-doc_tools_Makefile.am => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/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-el7-trunk-x86_64/security/opensc/patches/patch-etc_Makefile.am => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/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-el7-trunk-x86_64/security/opensc/patches/patch-src_libopensc_log.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/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 112. done ===> Creating toolchain wrappers for opensc-0.24.0 ===> Configuring for opensc-0.24.0 cd /home/pbulk/build/security/opensc/work/OpenSC-0.24.0 && 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:61: installing './compile' configure.ac:60: installing './config.guess' configure.ac:60: installing './config.sub' configure.ac:31: installing './install-sh' configure.ac:31: installing './missing' src/common/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' => 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... /bin/install -c -o pbulk -g pbulk checking whether build environment is sane... yes checking for a race-free mkdir -p... /home/pbulk/build/security/opensc/work/.tools/bin/mkdir -p checking for gawk... /bin/gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for x86_64-redhat-linux-gcc... cc 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 cc accepts -g... yes checking for cc option to enable C11 features... -std=gnu11 checking whether cc -std=gnu11 understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of cc -std=gnu11... gcc3 checking whether the compiler supports GNU C++... no checking whether c++ accepts -g... no checking for c++ option to enable C++11 features... unsupported checking for c++ option to enable C++98 features... unsupported checking dependency style of c++... none checking for x86_64-redhat-linux-gcc... x86_64-redhat-linux-gcc checking whether the compiler supports GNU Objective C... no checking whether x86_64-redhat-linux-gcc accepts -g... no checking dependency style of x86_64-redhat-linux-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 for valgrind... no checking how to run the C preprocessor... cc -std=gnu11 -E checking whether ln -s works... yes checking for a sed that does not truncate output... /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) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/egrep checking for fgrep... /bin/grep -F checking for ld used by cc -std=gnu11... /home/pbulk/build/security/opensc/work/.cwrapper/bin/ld checking if the linker (/home/pbulk/build/security/opensc/work/.cwrapper/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B checking the name lister (/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... (cached) 2097152 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/pbulk/build/security/opensc/work/.cwrapper/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-file... no checking for file... file checking for x86_64-redhat-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-strip... no checking for strip... strip checking for x86_64-redhat-linux-ranlib... no checking for ranlib... ranlib checking command to parse /bin/nm -B output from cc -std=gnu11 object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-redhat-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if cc -std=gnu11 supports -fno-rtti -fno-exceptions... no checking for cc -std=gnu11 option to produce PIC... -fPIC -DPIC checking if cc -std=gnu11 PIC flag -fPIC -DPIC works... yes checking if cc -std=gnu11 static flag -static works... no checking if cc -std=gnu11 supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory yes checking if cc -std=gnu11 supports -c -o file.o... (cached) yes checking whether the cc -std=gnu11 linker (/home/pbulk/build/security/opensc/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... /bin/rm: cannot remove 'conftest*': No such file or directory no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes 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... cpp checking whether the c++ linker (/home/pbulk/build/security/opensc/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes libtool.m4: error: problem compiling CXX test program checking for c++ option to produce PIC... -DPIC checking if c++ PIC flag -DPIC works... no checking if c++ static flag works... no checking if c++ supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory no checking if c++ supports -c -o file.o... (cached) no checking whether the c++ linker (/home/pbulk/build/security/opensc/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... unsupported checking for x86_64-redhat-linux-windres... no checking for windres... no checking for xsltproc... xsltproc checking for git... git checking xsl-stylesheets... /usr/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... yes 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... no checking for explicit_bzero... no checking for strnlen... yes checking for sigaction... yes checking compiler support for __builtin_*_overflow()... no checking size of void *... 8 checking for socket in -lsocket... no checking for dlopen in -ldl... yes checking for egrep -e... (cached) /bin/egrep checking whether cc -std=gnu11 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... no 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 /bin/rm: cannot remove 'libtoolT': No such file or directory OpenSC has been configured with the following options: Version: 0.24.0 Version fix: 0 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: /usr/pkg/bin Configuration files: /usr/pkg/etc Bash completion: /usr/pkg/etc/bash_completion.d XSL stylesheets: /usr/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: /usr/pkg/lib PIV SM support: no DNIe UI support: no Notification support: no Code coverage: no PC/SC default provider: /usr/pkg/lib/libpcsclite.so PKCS11 default provider: /usr/pkg/lib/opensc-pkcs11.so PKCS11 onepin provider: /usr/pkg/lib/onepin-opensc-pkcs11.so Host: x86_64-redhat-linux-gnu Compiler: cc -std=gnu11 Preprocessor flags: -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses Compiler flags: -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/ncurses Linker flags: -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 Libraries: LDL_LIBS: -ldl READLINE_CFLAGS: READLINE_LIBS: -lreadline ZLIB_CFLAGS: ZLIB_LIBS: -lz OPENSSL_CFLAGS: -I/usr/pkg/include OPENSSL_LIBS: -L/usr/pkg/lib -lcrypto OPENPACE_CFLAGS: OPENPACE_LIBS: OPENCT_CFLAGS: OPENCT_LIBS: PCSC_CFLAGS: -I/usr/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.