=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for mongo-c-driver-1.24.2.tar.gz => Checksum SHA512 OK for mongo-c-driver-1.24.2.tar.gz ===> Installing dependencies for mongo-c-driver-1.24.2 ========================================================================== 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.2. Their current value is shown below: * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /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 `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency cmake>=0: found cmake-3.27.1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.5 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency zstd>=1.3.6: found zstd-1.5.5 => Full dependency snappy>=1.0.5: found snappy-1.1.10 => Full dependency icu>=73.1: found icu-73.2 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for mongo-c-driver-1.24.2 ===> Extracting for mongo-c-driver-1.24.2 ===> Patching for mongo-c-driver-1.24.2 => Applying pkgsrc patches for mongo-c-driver-1.24.2 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/databases/mongo-c-driver/patches/patch-src_libmongoc_tests_test-mongoc-stream-tls-error.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.2 ===> Configuring for mongo-c-driver-1.24.2 => 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 7.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /tmp/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 - /tmp/databases/mongo-c-driver/work/.cwrapper/bin/c++ -- The CXX compiler identification is GNU 7.5.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /tmp/databases/mongo-c-driver/work/.cwrapper/bin/c++ - 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 -- file VERSION_CURRENT contained BUILD_VERSION 1.24.2 -- 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 value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- libbson version (from VERSION_CURRENT file): 1.24.2 -- 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 /usr/pkg/share/cmake-3.27/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/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 - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- 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 value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- libmongoc version (from VERSION_CURRENT file): 1.24.2 -- Searching for zlib CMake packages -- Found ZLIB: /usr/lib/libz.so (found version "1.2.10") -- zlib found version "1.2.10" -- zlib include path "/usr/include" -- zlib libraries "/usr/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: /tmp/databases/mongo-c-driver/work/.tools/bin/pkg-config (found version "1.9.5") -- Checking for module 'libzstd' -- Found libzstd, version 1.5.5 -- Found zstd version 1.5.5 in /usr/pkg/include -- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1k") -- Looking for ASN1_STRING_get0_data in /usr/lib/libcrypto.so -- Looking for ASN1_STRING_get0_data in /usr/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 /usr/pkg/include -- Searching for libsnappy -- Found /usr/pkg/lib/libsnappy.so -- Found the following ICU libraries: -- uc (required): /usr/pkg/lib/libicuuc.so -- Found ICU: /usr/pkg/include (found version "73.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 (15.4s) -- Generating done (0.9s) -- Build files have been written to: /tmp/databases/mongo-c-driver/work/mongo-c-driver-1.24.2/cmake-pkgsrc-build