=> 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:

	sasl 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 = /opt/pkg/etc/openssl/certs
        * SSLDIR = /opt/pkg/etc/openssl
        * SSLKEYS = /opt/pkg/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/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency cmake>=0: found cmake-3.29.2
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> 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 cyrus-sasl>=2.1.28nb1: found cyrus-sasl-2.1.28nb1
=> Full dependency icu>=74.1: found icu-74.2
=> Full dependency openssl>=3: found openssl-3.3.0nb1
=> Full dependency snappy>=1.0.5: found snappy-1.2.0
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency zstd>=1.3.6: found zstd-1.5.6
===> 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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/databases/mongo-c-driver/patches/patch-src_libbson_src_bson_bson-error.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/databases/mongo-c-driver/patches/patch-src_libmongoc_tests_test-mongoc-stream-tls-error.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/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
=> Checking for portability problems in extracted files
-- Found Python: /usr/bin/python3 (found version "3.9.6") found components: Interpreter
-- The C compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/pbulk/build/databases/mongo-c-driver/work/.cwrapper/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- 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 - /Users/pbulk/build/databases/mongo-c-driver/work/.cwrapper/bin/clang++
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/pbulk/build/databases/mongo-c-driver/work/.cwrapper/bin/clang++ - 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 - Failed
-- Found Python3: /Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 (found version "3.10.7") found components: Interpreter
-- Using bundled libbson
CMake Deprecation Warning at src/libbson/CMakeLists.txt:37 (cmake_policy):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- 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 - 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.dylib (found version "1.3.1")
--    zlib found version "1.3.1"
--    zlib include path "/opt/pkg/include"
--    zlib libraries "/opt/pkg/lib/libz.dylib"
-- 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: /Users/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.dylib (found version "3.3.0")
-- libmongoc TLS : OpenSSL
-- Looking for ASN1_STRING_get0_data
-- Looking for ASN1_STRING_get0_data - found
-- Found SASL2: 2.1.28 (found suitable version "2.1.28", minimum required is "2.0")
-- Using SASL backend : Cyrus
-- Looking for sasl_client_done
-- Looking for sasl_client_done - found
-- 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.dylib
-- 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
-- Compiling against Cyrus SASL
-- 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
 * SASL Authentication, authenticate with MongoDB servers using SASL: “Simple Authentication and Security Layer” (Cyrus)

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

    ENABLE_ICU


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