=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for opensc-0.20.0.tar.gz
=> Checksum SHA512 OK for opensc-0.20.0.tar.gz
===> Installing dependencies for opensc-0.20.0nb7
==========================================================================
The supported build options for opensc are:

	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.20.0nb7.  Their current value is shown below:

        * READLINE_DEFAULT = editline
        * 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:

        * READLINE_TYPE = editline
        * TERMCAP_TYPE = termcap

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/bin/make 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.5nb2
=> Tool dependency autoconf>=2.58: found autoconf-2.71nb2
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency gmake>=3.81: found gmake-4.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency docbook-xsl-[0-9]*: found docbook-xsl-1.79.2nb7
=> Full dependency pcsc-lite>=1.8.3: found pcsc-lite-1.9.9
=> Full dependency libxslt>=1.1.37nb1: found libxslt-1.1.37nb1
=> Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1s
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for opensc-0.20.0nb7
===> Extracting for opensc-0.20.0nb7
===> Patching for opensc-0.20.0nb7
=> Applying pkgsrc patches for opensc-0.20.0nb7
===> Creating toolchain wrappers for opensc-0.20.0nb7
===> Configuring for opensc-0.20.0nb7
cd /scratch/work/security/opensc/work/OpenSC-0.20.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:186: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:186: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:186: the top level
configure.ac:393: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:393: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:393: the top level
configure.ac:406: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:406: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:406: the top level
configure.ac:703: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:703: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:703: the top level
configure.ac:725: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:725: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:725: the top level
configure.ac:58: installing './compile'
configure.ac:57: installing './config.guess'
configure.ac:57: installing './config.sub'
configure.ac:28: installing './install-sh'
configure.ac:28: installing './missing'
src/common/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
=> Generating pkg-config files for builtin xz package.
=> 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 a BSD-compatible install... /usr/bin/install -c -o pbulk -g users
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ././install-sh -c -d
checking for gawk... /usr/bin/awk
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... i486--netbsdelf
checking host system type... i486--netbsdelf
checking for i486--netbsdelf-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 c++ accepts -g... no
checking for c++ option to enable C++11 features... none needed
checking dependency style of c++... none
checking for i486--netbsdelf-gcc... no
checking for i486--netbsdelf-objcc... no
checking for i486--netbsdelf-objc... no
checking for i486--netbsdelf-cc... no
checking for i486--netbsdelf-CC... no
checking for i486--netbsdelf-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 for sys/time.h... yes
checking whether byte ordering is bigendian... no
checking whether C compiler accepts -Wunknown-warning-option... 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/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /scratch/work/security/opensc/work/.cwrapper/bin/ld
checking if the linker (/scratch/work/security/opensc/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... (cached) 262144
checking how to convert i486--netbsdelf file names to i486--netbsdelf format... func_convert_file_noop
checking how to convert i486--netbsdelf file names to toolchain format... func_convert_file_noop
checking for /scratch/work/security/opensc/work/.cwrapper/bin/ld option to reload object files... -r
checking for i486--netbsdelf-file... no
checking for file... file
checking for i486--netbsdelf-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for i486--netbsdelf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i486--netbsdelf-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for i486--netbsdelf-strip... no
checking for strip... strip
checking for i486--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc 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 i486--netbsdelf-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... yes
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 (/scratch/work/security/opensc/work/.cwrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_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 (/scratch/work/security/opensc/work/.cwrapper/bin/ld) supports shared libraries... PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
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... rm: conftest*: No such file or directory
no
checking if c++ supports -c -o file.o... (cached) no
checking whether the c++ linker (/scratch/work/security/opensc/work/.cwrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
checking how to hardcode library paths into programs... unsupported
checking for i486--netbsdelf-windres... no
checking for windres... no
checking for xsltproc... xsltproc
checking for git... no
checking xsl-stylesheets... /usr/pkg/share/xsl/docbook
checking git checkout... no
checking for inline... inline
checking for egrep... (cached) /usr/bin/egrep
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... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/mman.h... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... 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 strlcpy... yes
checking for strlcat... yes
checking for strnlen... yes
checking for sigaction... yes
checking size of void *... 4
checking for socket in -lsocket... no
checking for library containing dlopen... none required
checking for GIO2... 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... 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 OPENSSL... 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
configure: WARNING: use --enable-cvcdir=DIR
configure: WARNING: use --enable-x509dir=DIR
checking for PCSC... yes
checking for winscard.h... yes
checking for pcsclite.h... yes
completion detect
checking for BASH_COMPLETION... 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
/usr/bin/awk: write error on /dev/stdout
 input record number 489, file 
 source line number 277
config.status: error: could not create src/ui/Makefile
*** Error code 1

Stop.
make[1]: stopped in /tree/pkgsrc/security/opensc
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/security/opensc