+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ccid-1.5.4/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ccid-1.5.4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ccid-1.5.4.tar.bz2
=> Checksum SHA512 OK for ccid-1.5.4.tar.bz2
===> Installing dependencies for ccid-1.5.4
==========================================================================
The following variables will affect the build process of this package,
ccid-1.5.4.  Their current value is shown below:

        * VARBASE = /var

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/local/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 flex>=2.5.4a: found flex-2.6.4
=> Tool dependency perl>=5.0: found perl-5.38.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency flex>=2.5.4a: found flex-2.6.4
=> Build dependency gcc13>=13.1.0: found gcc13-13.2.0
=> Full dependency gcc13-libs>=13.2.0: found gcc13-libs-13.2.0
=> Full dependency libusb1>=1.0.9: found libusb1-1.0.26
=> Full dependency pcsc-lite>=1.8.3: found pcsc-lite-2.0.1
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
===> Overriding tools for ccid-1.5.4
===> Extracting for ccid-1.5.4
===> Patching for ccid-1.5.4
===> Creating toolchain wrappers for ccid-1.5.4
===> Configuring for ccid-1.5.4
=> 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
=> Replacing Perl interpreter in src/convert_version.pl src/create_Info_plist.pl.
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a race-free 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 whether make supports nested variables... (cached) yes
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking whether to enable maintainer-specific portions of Makefiles... no
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 how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking whether yytext is a pointer... yes
checking for x86_64-sun-solaris2.11-ar... no
checking for x86_64-sun-solaris2.11-lib... no
checking for x86_64-sun-solaris2.11-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking pkg-config is at least version 0.9.0... yes
checking for libpcsclite >= 1.8.3... 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 ifdhandler.h... yes
checking for reader.h... 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)... /opt/local/bin/nm -B
checking the name lister (/opt/local/bin/nm -B) 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... ar
checking for archiver @FILE support... @
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 /opt/local/bin/nm -B 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... no
checking for errno.h... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for termios.h... yes
checking for string.h... (cached) yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for stdarg.h... yes
checking for arpa/inet.h... yes
checking for stdio.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for select... yes
checking for strerror... yes
checking for strncpy... yes
checking for memcpy... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for zlib... yes
checking for libusb-1.0 >= 1.0.9... yes
checking for libusb.h... yes
checking for libusb_init... yes
checking for -fvisibility=hidden... yes
checking for pthread_join using gcc  -pthread  -lpthread -lrt... yes
checking whether gcc is Clang... no
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 SCardEstablishContext... yes

libccid has been configured with following options:

Version:             1.5.4
Host:                x86_64-sun-solaris2.11
Compiler:            gcc
Preprocessor flags:  -I/opt/local/include -I/usr/include
Compiler flags:      -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/usr/include
Preprocessor flags:  -I/opt/local/include -I/usr/include
Linker flags:        -L/opt/local/gcc13/lib/gcc/x86_64-sun-solaris2.11/13.2.0 -Wl,-R/opt/local/gcc13/lib/gcc/x86_64-sun-solaris2.11/13.2.0 -L/opt/local/lib -Wl,-R/opt/local/lib -pthread -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64
Libraries:           -lpthread -lrt

PCSC_CFLAGS:         -I/opt/local/include/PCSC
PCSC_LIBS:           -Wl,-R/opt/local/lib -L/opt/local/lib -lpcsclite
PTHREAD_CFLAGS:      -D_POSIX_PTHREAD_SEMANTICS  -pthread 
PTHREAD_LIBS:        -lpthread -lrt
BUNDLE_HOST:         Solaris
DYN_LIB_EXT:         so
LIBUSB_CFLAGS:       -I/opt/local/include/libusb-1.0
LIBUSB_LIBS:         -Wl,-R/opt/local/lib -L/opt/local/lib -lusb-1.0
SYMBOL_VISIBILITY:   -fvisibility=hidden
NOCLASS:             

libusb support:          yes
composite as multislot:  no
multi threading:         yes
bundle directory name:   ifd-ccid.bundle
USB drop directory:      /opt/local/lib/pcsc-lite/drivers
serial Twin support:     no
serial twin install dir: /opt/local/lib/pcsc-lite/drivers/serial
serial config directory: /opt/local/etc/reader.conf.d
compiled for pcsc-lite:  yes
syslog debug:            no
os_log debug:            no
class driver:            yes

checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating readers/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/Kobil_mIDentity_switch/Makefile
config.status: creating contrib/RSA_SecurID/Makefile
config.status: creating examples/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