+ 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.24.4nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mongo-c-driver-1.24.4nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for mongo-c-driver-1.24.4.tar.gz => Checksum SHA512 OK for mongo-c-driver-1.24.4.tar.gz ===> Installing dependencies for mongo-c-driver-1.24.4nb2 ========================================================================== 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.24.4nb2. 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.28.1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency openssl>=3: found openssl-3.1.4 => Full dependency zstd>=1.3.6: found zstd-1.5.5 => Full dependency snappy>=1.0.5: found snappy-1.1.10 => Full dependency zlib>=1.2.3: found zlib-1.2.13 => Full dependency icu>=74.1: found icu-74.2 ===> Overriding tools for mongo-c-driver-1.24.4nb2 ===> Extracting for mongo-c-driver-1.24.4nb2 ===> Patching for mongo-c-driver-1.24.4nb2 => Applying pkgsrc patches for mongo-c-driver-1.24.4nb2 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/mongo-c-driver/patches/patch-src_libbson_src_bson_bson-error.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 126. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/mongo-c-driver/patches/patch-src_libmongoc_tests_test-mongoc-stream-tls-error.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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.24.4nb2 ===> Configuring for mongo-c-driver-1.24.4nb2 => Adding run-time search paths to pkg-config files. INFO: [subst.mk:_pkgconfig] Nothing changed in "src/libmongoc/src/libmongoc-ssl-1.0.pc.in". => Checking for portability problems in extracted files -- 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:270 (include) build/cmake/MongoSettings.cmake:175 (_mongo_eval_cmake) build/cmake/MongoSettings.cmake:248 (mongo_setting) CMakeLists.txt:164 (mongo_bool_setting) -- 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 -- file VERSION_CURRENT contained BUILD_VERSION 1.24.4 -- Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter) -- Python3 was not found, so test fixtures will not be defined -- Using bundled libbson CMake Deprecation Warning at src/libbson/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. -- libbson version (from VERSION_CURRENT file): 1.24.4 -- Looking for snprintf -- Looking for snprintf - found -- Performing Test BSON_HAVE_TIMESPEC -- Performing Test BSON_HAVE_TIMESPEC - Success -- struct timespec found -- Looking for gmtime_r -- Looking for gmtime_r - found -- Looking for rand_r -- Looking for rand_r - found -- Looking for strings.h CMake Warning (dev) at /opt/pkg/share/cmake-3.28/Modules/CheckIncludeFile.cmake:77 (message): Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMAKE_REQUIRED_LIBRARIES is set to: /usr/lib/64/librt.so For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): src/libbson/CMakeLists.txt:88 (CHECK_INCLUDE_FILE) This warning is for project developers. Use -Wno-dev to suppress it. -- 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 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Adding -fPIC to compilation of bson_static components CMake Deprecation Warning at src/libmongoc/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. -- libmongoc version (from VERSION_CURRENT file): 1.24.4 -- Searching for zlib CMake packages -- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.2.13") -- zlib found version "1.2.13" -- 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.0.3") -- Checking for module 'libzstd' -- Found libzstd, version 1.5.5 -- Found zstd version 1.5.5 in /opt/pkg/include -- Found OpenSSL: /opt/pkg/lib/libcrypto.so (found version "3.1.4") -- Looking for ASN1_STRING_get0_data in /opt/pkg/lib/libcrypto.so -- Looking for ASN1_STRING_get0_data in /opt/pkg/lib/libcrypto.so - 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 - not found -- Looking for res_search -- Looking for res_search - not found -- Looking for sched_getcpu -- Looking for sched_getcpu - not 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 -- Found the following ICU libraries: -- uc (required): /opt/pkg/lib/libicuuc.so -- Found ICU: /opt/pkg/include (found version "74.2") -- 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 OpenSSL -- SASL disabled -- Adding -fPIC to compilation of mongoc_static components -- Building with MONGODB-AWS auth support -- Build files generated for: -- build system: Unix Makefiles -- Configuring done (34.3s) -- Generating done (0.6s) -- Build files have been written to: /home/pbulk/build/databases/mongo-c-driver/work/mongo-c-driver-1.24.4/cmake-pkgsrc-build