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

	sasl ssl

The currently selected options are:

	ssl

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.mongo-c-driver (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
mongo-c-driver-1.26.0.  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 cmake>=0: found cmake-3.29.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency openssl>=3: found openssl-3.3.0
=> Full dependency zstd>=1.3.6: found zstd-1.5.6
=> Full dependency snappy>=1.0.5: found snappy-1.2.0
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency icu>=74.1: found icu-74.2
===> Overriding tools for mongo-c-driver-1.26.0
===> Extracting for mongo-c-driver-1.26.0
===> Patching for mongo-c-driver-1.26.0
=> Applying pkgsrc patches for mongo-c-driver-1.26.0
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/mongo-c-driver/patches/patch-src_libbson_src_bson_bson-error.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/mongo-c-driver/patches/patch-src_libbson_src_bson_bson-error.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_libbson_src_bson_bson-error.c,v 1.1 2023/08/27 08:51:08 adam Exp $
|
|Fix build on NetBSD.
|
|--- src/libbson/src/bson/bson-error.c.orig	2023-08-27 04:27:34.243073551 +0000
|+++ src/libbson/src/bson/bson-error.c
--------------------------
Patching file src/libbson/src/bson/bson-error.c using Plan A...
Hunk #1 succeeded at 130 (offset 4 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/mongo-c-driver/patches/patch-src_libmongoc_tests_test-mongoc-stream-tls-error.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/mongo-c-driver/patches/patch-src_libmongoc_tests_test-mongoc-stream-tls-error.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_libmongoc_tests_test-mongoc-stream-tls-error.c,v 1.1 2022/04/25 09:33:40 tnn Exp $
|
|match ifdef around test_mongoc_tls_hangup implementation
|
|--- src/libmongoc/tests/test-mongoc-stream-tls-error.c.orig	2021-07-06 20:11:18.000000000 +0000
|+++ src/libmongoc/tests/test-mongoc-stream-tls-error.c
--------------------------
Patching file src/libmongoc/tests/test-mongoc-stream-tls-error.c using Plan A...
Hunk #1 succeeded at 385 (offset -4 lines).
done
===> Creating toolchain wrappers for mongo-c-driver-1.26.0
===> Configuring for mongo-c-driver-1.26.0
=> Adding run-time search paths to pkg-config files.
INFO: [subst.mk:_pkgconfig] Ignoring nonexistent file "src/libbson/src/libbson-1.0.pc.in".
INFO: [subst.mk:_pkgconfig] Ignoring nonexistent file "src/libbson/src/libbson-static-1.0.pc.in".
INFO: [subst.mk:_pkgconfig] Ignoring nonexistent file "src/libmongoc/src/libmongoc-1.0.pc.in".
INFO: [subst.mk:_pkgconfig] Nothing changed in "src/libmongoc/src/libmongoc-ssl-1.0.pc.in".
INFO: [subst.mk:_pkgconfig] Ignoring nonexistent file "src/libmongoc/src/libmongoc-static-1.0.pc.in".
=> Checking for portability problems in extracted files
-- Could NOT find Python (missing: Python_EXECUTABLE Interpreter) 
-- The C compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/databases/mongo-c-driver/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Deprecation Warning at cmake-pkgsrc-build/_eval.tmp.cmake:5 (message):
  Enabling ENABLE_AUTOMATIC_INIT_AND_CLEANUP is deprecated and may be removed
  in a future release
Call Stack (most recent call first):
  build/cmake/MongoSettings.cmake:295 (include)
  build/cmake/MongoSettings.cmake:183 (_mongo_eval_cmake)
  build/cmake/MongoSettings.cmake:269 (mongo_setting)
  CMakeLists.txt:186 (mongo_bool_setting)


-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for a CXX compiler
-- Looking for a CXX compiler - /home/pbulk/build/databases/mongo-c-driver/work/.cwrapper/bin/g++
-- The CXX compiler identification is GNU 13.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/databases/mongo-c-driver/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- No CMAKE_BUILD_TYPE selected, defaulting to RelWithDebInfo
-- Performing Test HAVE_LLD_LINKER_SUPPORT
-- Performing Test HAVE_LLD_LINKER_SUPPORT - Success
-- Linking using LLVM lld. Disable by setting MONGO_USE_LLD to OFF
-- Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter) 
-- Python3 was not found, so test fixtures will not be defined
-- Using bundled libbson
-- Looking for snprintf
-- Looking for snprintf - found
-- Performing Test BSON_HAVE_TIMESPEC
-- Performing Test BSON_HAVE_TIMESPEC - Success
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for rand_r
-- Looking for rand_r - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for strnlen
-- Looking for strnlen - found
-- Looking for sched_getcpu
-- Looking for sched_getcpu - not found
-- libmongoc version (from VERSION_CURRENT file): 1.26.0
-- Searching for zlib CMake packages
-- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.3.1")
--    zlib found version "1.3.1"
--    zlib include path "/opt/pkg/include"
--    zlib libraries "/opt/pkg/lib/libz.so"
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file stdarg.h
-- Looking for include file stdarg.h - found
-- Searching for compression library zstd
-- Found PkgConfig: /home/pbulk/build/databases/mongo-c-driver/work/.tools/bin/pkg-config (found version "2.2.0")
-- Checking for module 'libzstd'
--   Found libzstd, version 1.5.6
--   Found zstd version 1.5.6 in /opt/pkg/include
-- Found OpenSSL: /opt/pkg/lib/libcrypto.so (found version "3.3.0")
-- libmongoc TLS : OpenSSL
-- Looking for ASN1_STRING_get0_data
-- Looking for ASN1_STRING_get0_data - found
-- Using SASL backend : OFF
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of socklen_t
-- Check size of socklen_t - done
-- Looking for res_nsearch
-- Looking for res_nsearch - found
-- Looking for res_search
-- Looking for res_search - found
-- Looking for res_ndestroy
-- Looking for res_ndestroy - found
-- Looking for res_nclose
-- Looking for res_nclose - found
-- Detected parameters: accept (int, struct sockaddr *, socklen_t *)
-- Searching for compression library header snappy-c.h
--   Found in /opt/pkg/include
-- Searching for libsnappy
--   Found /opt/pkg/lib/libsnappy.so
-- Searching for libmongocrypt
-- libmongocrypt not found. Configuring without Client-Side Field Level Encryption support.
-- Performing Test MONGOC_HAVE_SS_FAMILY
-- Performing Test MONGOC_HAVE_SS_FAMILY - Success
-- SASL disabled
-- Enabling utf8proc (bundled)
-- Adding -fPIC to compilation of mongoc_static components
-- Building with MONGODB-AWS auth support
-- Build files generated for:
-- 	build system: Unix Makefiles
-- The following features have been enabled:

 * TLS, for secure network communication (OpenSSL)
 * Cryptography, cryptographic primitives (OpenSSL)
 * AWS Authentication, authenticate with MongoDB servers using credentials from AWS instance metadata

-- The following features have been disabled:

 * SASL Authentication, authenticate with MongoDB servers using SASL: “Simple Authentication and Security Layer” (OFF)

-- Configuring done (25.7s)
-- Generating done (1.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    ENABLE_ICU


-- Build files have been written to: /home/pbulk/build/databases/mongo-c-driver/work/mongo-c-driver-1.26.0/cmake-pkgsrc-build