+ 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/openct-0.6.20nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/openct-0.6.20nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for openct-0.6.20.tar.gz
=> Checksum SHA512 OK for openct-0.6.20.tar.gz
===> Installing dependencies for openct-0.6.20nb1
==========================================================================
The supported build options for openct are:

	libusb 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.openct (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
openct-0.6.20nb1.  Their current value is shown below:

        * 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 gmake>=3.81: found gmake-4.4.1
=> 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 libltdl>=2.4.2: found libltdl-2.4.7
===> Overriding tools for openct-0.6.20nb1
===> Extracting for openct-0.6.20nb1
===> Patching for openct-0.6.20nb1
=> Applying pkgsrc patches for openct-0.6.20nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/security/openct/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/security/openct/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.1.1.1 2009/02/26 10:07:49 hasso Exp $
|
|--- etc/Makefile.in.orig	2008-08-06 00:53:45 +0300
|+++ etc/Makefile.in	2008-08-06 00:54:01 +0300
--------------------------
Patching file etc/Makefile.in using Plan A...
Hunk #1 succeeded at 518 (offset 60 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/security/openct/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/security/openct/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.1 2009/10/02 12:38:44 hasso Exp $
|
|--- etc/reader.conf.in.orig	2009-10-02 15:25:50 +0300
|+++ etc/reader.conf.in	2009-10-02 15:26:17 +0300
--------------------------
Patching file etc/reader.conf.in using Plan A...
Hunk #1 succeeded at 1.
done
===> Creating toolchain wrappers for openct-0.6.20nb1
===> Configuring for openct-0.6.20nb1
=> 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 build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for style of include used by make... GNU
checking for x86_64-sun-solaris2.11-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 dependency style of gcc... gcc3
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for x86_64-sun-solaris2.11-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking pkg-config is at least version 0.9.0... yes
checking whether byte ordering is bigendian... no
checking svn checkout... 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 whether gcc and cc understand -c and -o together... yes
checking for a sed that does not truncate output... (cached) /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 the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
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-ar... no
checking for ar... ar
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 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) 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 xsltproc... no
checking for svn... no
checking for wget... wget
checking for tr... /usr/xpg4/bin/tr
checking for doxygen... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for dlfcn.h... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.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 whether time.h and sys/time.h may both be included... yes
checking for error_at_line... no
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... yes
checking for gettimeofday... yes
checking for daemon... yes
checking for inline... inline
checking for socket in -lsocket... yes
checking for res_query in -lresolv... yes
checking for lt_dlopen in -lltdl... yes
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
checking struct sockaddr_storage::ss_family... ok
checking for poll in -lpoll... no
checking for PCSC... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for stdint-types....... "(putting them into src/include/openct/types.h)"
checking for uintptr_t... yes
checking for uint64_t... yes
... seen our uintptr_t in stdint.h (uint64_t too)
creating src/include/openct/types.h : _SRC_INCLUDE_OPENCT_TYPES_H
checking for int_least32_t... yes
checking for int_fast32_t... yes
..adding include stdint.h
... seen good stdint.h inttypes
... seen good uint64_t
... DONE src/include/openct/types.h
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/doxygen.conf
config.status: creating doc/nonpersistent/Makefile
config.status: creating etc/Makefile
config.status: creating macos/Makefile
config.status: creating src/Makefile
config.status: creating src/ct/Makefile
config.status: creating src/ct/libopenct.pc
config.status: creating src/ctapi/Makefile
config.status: creating src/ifd/Makefile
config.status: creating src/include/Makefile
config.status: creating src/include/openct/Makefile
config.status: creating src/pcsc/Makefile
config.status: creating src/tools/Makefile
config.status: creating src/tools/openct-tool.1
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory

OpenCT has been configured with the following options:


Version:                 0.6.20
Libraries:               /opt/pkg/lib

doc support:             no
api doc support:         no
usb support:             no
pcsc support:            yes
non-privileged support:  #

Host:                    x86_64-sun-solaris2.11
Compiler:                gcc
Preprocessor flags:      -I/opt/pkg/include -I/usr/include -I/usr/local/include 	-DOPENCT_CONF_PATH="\"$(sysconfdir)/openct.conf\"" 	-DOPENCT_SOCKET_PATH="\"$(OPENCT_SOCKET_PATH)\"" 	-DOPENCT_MODULES_PATH="\"$(ifddir)\"" 	-DOPENCT_IFDHANDLER_PATH="\"$(sbindir)/ifdhandler\""
Compiler flags:          -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include
Linker flags:            -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/usr/local/lib -R/usr/local/lib
Libraries:                -lsocket -lresolv

LIBUSB_CFLAGS:           
LIBUSB_LIBS:             
PCSC_CFLAGS:             -I/opt/pkg/include/PCSC
PCSC_LIBS:               -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lpcsclite

bundledir:               
ifddir:                  ${libdir}/ifd
udevdir:                 
hotplugdir:              

daemon user:             openctd
daemon groups:           usb

=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp