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

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/local/etc/openssl/certs
        * SSLDIR = /opt/local/etc/openssl
        * SSLKEYS = /opt/local/etc/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/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.25.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency boost-headers-1.78.*: found boost-headers-1.78.0
=> Build dependency gcc12>=12.2.0: found gcc12-12.2.0
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.14nb3
=> Full dependency boost-libs-1.78.*: found boost-libs-1.78.0nb3
=> Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1u
=> Full dependency gcc12-libs>=12.2.0: found gcc12-libs-12.2.0
===> Overriding tools for libtorrent-rasterbar-2.0.8
===> Extracting for libtorrent-rasterbar-2.0.8
===> Patching for libtorrent-rasterbar-2.0.8
=> Applying pkgsrc patches for libtorrent-rasterbar-2.0.8
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/net/libtorrent-rasterbar/patches/patch-src_platform__util.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/net/libtorrent-rasterbar/patches/patch-src_platform__util.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_platform__util.cpp,v 1.1 2022/04/19 16:34:10 adam Exp $
|
|NetBSD support.
|
|--- src/platform_util.cpp.orig	2022-04-19 14:47:36.330535380 +0000
|+++ src/platform_util.cpp
--------------------------
Patching file src/platform_util.cpp using Plan A...
Hunk #1 succeeded at 40.
Hunk #2 succeeded at 105.
done
===> Creating toolchain wrappers for libtorrent-rasterbar-2.0.8
===> Configuring for libtorrent-rasterbar-2.0.8
=> Adding run-time search paths to pkg-config files.
INFO: [subst.mk:_pkgconfig] Ignoring nonexistent file "libtorrent-rasterbar.pc.in".
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/net/libtorrent-rasterbar/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/net/libtorrent-rasterbar/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS8_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS8_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Found OpenSSL: /opt/local/lib/libcrypto.so (found version "1.1.1u")  
-- Found Boost: /opt/local/include (found version "1.78.0")  
-- The following features have been enabled:

 * BUILD_SHARED_LIBS, build libtorrent as a shared library
 * dht, enable support for Mainline DHT
 * deprecated-functions, enable deprecated functions for backwards compatibility
 * encryption, Enables encryption in libtorrent
 * exceptions, build with exception support
 * extensions, Enables protocol extensions
 * i2p, build with I2P support
 * logging, build with logging
 * mutable-torrents, Enables mutable torrent support
 * streaming, Enables support for piece deadline

-- The following RECOMMENDED packages have been found:

 * OpenSSL, Full-strength general purpose cryptography library, <https://www.openssl.org/>
   Provides HTTPS support to libtorrent

-- The following REQUIRED packages have been found:

 * Threads
 * Boost

-- The following features have been disabled:

 * static_runtime, build libtorrent with static runtime
 * build_tests, build tests
 * build_examples, build examples
 * build_tools, build tools
 * python-bindings, build python bindings
 * python-egg-info, generate python egg info
 * python-install-system-dir, Install python bindings to the system installation directory rather than the CMake installation prefix
 * gnutls, build using GnuTLS instead of OpenSSL

-- Configuring done
-- Generating done
-- Build files have been written to: /home/pbulk/build/net/libtorrent-rasterbar/work/libtorrent-rasterbar-2.0.8
=> Rewrite cmake Dependencies files