=> 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.0nb5 ========================================================================== 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.0nb5. 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-4.1.1nb1 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.4.3nb1 => 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.28nb2 => Full dependency icu>=77.1: found icu-77.1 => Full dependency openssl>=3: found openssl-3.5.3 => Full dependency snappy>=1.0.5: found snappy-1.2.2 => Full dependency zlib>=1.2.3: found zlib-1.3.1 => Full dependency zstd>=1.3.6: found zstd-1.5.7 ===> Overriding tools for mongo-c-driver-1.26.0nb5 ===> Extracting for mongo-c-driver-1.26.0nb5 ===> Patching for mongo-c-driver-1.26.0nb5 => Applying pkgsrc patches for mongo-c-driver-1.26.0nb5 => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/mongo-c-driver/patches/patch-src_libbson_src_bson_bson-error.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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-arm64/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-arm64/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.0nb5 ===> Configuring for mongo-c-driver-1.26.0nb5 -- 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 Error at src/libbson/CMakeLists.txt:37 (cmake_policy): Policy CMP0042 may not be set to OLD behavior because this version of CMake no longer supports it. The policy was introduced in CMake version 3.0.0, and use of NEW behavior is now required. Please either update your CMakeLists.txt files to conform to the new behavior or use an older version of CMake that still supports the old behavior. Run cmake --help-policy CMP0042 for more information. -- 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: /Users/pbulk/build/databases/mongo-c-driver/work/.buildlink/lib/libz.dylib (found version "1.3.1") -- zlib found version "1.3.1" -- zlib include path "/Users/pbulk/build/databases/mongo-c-driver/work/.buildlink/include" -- zlib libraries "/Users/pbulk/build/databases/mongo-c-driver/work/.buildlink/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.4.3") -- Checking for module 'libzstd' -- Found libzstd, version 1.5.7 -- Found zstd version 1.5.7 in /opt/pkg/include -- Found OpenSSL: /Users/pbulk/build/databases/mongo-c-driver/work/.buildlink/lib/libcrypto.dylib (found version "3.5.3") -- 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 /Users/pbulk/build/databases/mongo-c-driver/work/.buildlink/include -- Searching for libsnappy -- Found /Users/pbulk/build/databases/mongo-c-driver/work/.buildlink/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 incomplete, errors occurred! *** Error code 1 Stop. bmake[1]: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/mongo-c-driver *** Error code 1 Stop. bmake: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/mongo-c-driver