+ 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/libtorrent-0.13.8nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libtorrent-0.13.8nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for libtorrent-0.13.8.tar.gz
=> Checksum SHA512 OK for libtorrent-0.13.8.tar.gz
===> Installing dependencies for libtorrent-0.13.8nb1
==========================================================================
The following variables will affect the build process of this package,
libtorrent-0.13.8nb1.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

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-1.9.5
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1u
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency libsigc++>=2.0.17nb1: found libsigc++-2.10.8
===> Overriding tools for libtorrent-0.13.8nb1
===> Extracting for libtorrent-0.13.8nb1
===> Patching for libtorrent-0.13.8nb1
=> Applying pkgsrc patches for libtorrent-0.13.8nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libtorrent/patches/patch-config.h.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libtorrent/patches/patch-config.h.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config.h.in,v 1.1 2018/06/24 16:57:58 adam Exp $
|
|Fix for OpenSSL 1.1.x.
|https://github.com/rakshasa/libtorrent/issues/171
|
|--- config.h.in.orig	2018-06-24 16:42:49.312535308 +0000
|+++ config.h.in
--------------------------
Patching file config.h.in using Plan A...
Hunk #1 succeeded at 217 (offset 2 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libtorrent/patches/patch-src_Makefile.am
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libtorrent/patches/patch-src_Makefile.am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Makefile.am,v 1.4 2017/12/26 23:14:42 he Exp $
|
|Add -lcrypto and -no-undefined to LDFLAGS.
|
|--- src/Makefile.am.orig	2012-02-14 03:39:45.000000000 +0000
|+++ src/Makefile.am
--------------------------
Patching file src/Makefile.am using Plan A...
Hunk #1 succeeded at 10.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libtorrent/patches/patch-src_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libtorrent/patches/patch-src_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Makefile.in,v 1.4 2017/12/26 23:14:42 he Exp $
|
|Add -lcrypto and -no-undefined to LDFLAGS.
|
|--- src/Makefile.in.orig	2012-04-20 06:56:14.000000000 +0000
|+++ src/Makefile.in
--------------------------
Patching file src/Makefile.in using Plan A...
Hunk #1 succeeded at 427 (offset 118 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libtorrent/patches/patch-src_data_chunk__list.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libtorrent/patches/patch-src_data_chunk__list.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_data_chunk__list.cpp,v 1.4 2017/12/26 23:14:42 he Exp $
|
|Add some casts now required.
|
|--- src/data/chunk_list.cc.orig	2012-02-22 07:50:27.000000000 +0000
|+++ src/data/chunk_list.cc	2013-05-12 12:25:45.000000000 +0100
--------------------------
Patching file src/data/chunk_list.cc using Plan A...
Hunk #1 succeeded at 368.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libtorrent/patches/patch-src_torrent_poll__kqueue.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libtorrent/patches/patch-src_torrent_poll__kqueue.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_torrent_poll__kqueue.cc,v 1.3 2019/12/22 22:28:15 joerg Exp $
|
|Add a cast so that this builds with the c++ in 8.0.
|https://github.com/rakshasa/libtorrent/issues/159
|
|--- src/torrent/poll_kqueue.cc.orig	2019-07-19 11:44:08.000000000 +0000
|+++ src/torrent/poll_kqueue.cc
--------------------------
Patching file src/torrent/poll_kqueue.cc using Plan A...
Hunk #1 succeeded at 69.
Hunk #2 succeeded at 120.
Hunk #3 succeeded at 323.
Hunk #4 succeeded at 349.
done
===> Creating toolchain wrappers for libtorrent-0.13.8nb1
===> Configuring for libtorrent-0.13.8nb1
=> 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 build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking how to print strings... printf
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 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 whether gcc understands -c and -o together... yes
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)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
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-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 for gawk... /usr/bin/nawk
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 how to run the C preprocessor... gcc -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 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 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 whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /bin/ld -64
checking if the linker (/bin/ld -64) is GNU ld... no
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking dependency style of g++... gcc3
checking whether byte ordering is bigendian... no
checking for user-defined CFLAGS... user-defined "-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include"
checking for user-defined CXXFLAGS... user-defined "-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include"
checking whether g++ supports C++11 features by default... yes
checking should use TR1 headers... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking the byte alignment... none needed
checking for sysroot... no
checking for kqueue support... no
checking whether kqueue supports pipes and ptys... no
checking for epoll support... yes
checking for fallocate... no
checking size of long... 8
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking for statvfs... ok
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking mcheck.h usability... no
checking mcheck.h presence... no
checking for mcheck.h... no
checking whether sys/inotify.h actually works... yes
checking if compiler supports __attribute__((visibility("default")))... yes
checking whether pthreads work with -pthreads... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_REENTRANT
checking for PTHREAD_PRIO_INHERIT... yes
checking if zlib is wanted... yes
checking for inflateEnd in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking pkg-config is at least version 0.9.0... yes
checking for cppunit... no
checking for libcrypto... yes
checking for DH_set0_pqg in -lcrypto... yes
checking for posix_memalign... yes
checking for madvise... yes
checking for cacheline... using default 128 bytes
checking for __builtin_popcount... yes
checking for execinfo.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_setname_np type... generic
checking signedness of mincore parameter... signed
checking if instrumentation should be included... yes
checking if compiler supports __attribute__((unused))... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libtorrent.pc
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/torrent/Makefile
config.status: creating src/torrent/data/Makefile
config.status: creating src/torrent/download/Makefile
config.status: creating src/torrent/net/Makefile
config.status: creating src/torrent/peer/Makefile
config.status: creating src/torrent/utils/Makefile
config.status: creating src/data/Makefile
config.status: creating src/dht/Makefile
config.status: creating src/download/Makefile
config.status: creating src/net/Makefile
config.status: creating src/protocol/Makefile
config.status: creating src/tracker/Makefile
config.status: creating src/utils/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing depfiles commands
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp