=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for php-mongodb/mongodb-1.17.2.tgz => Checksum SHA512 OK for php-mongodb/mongodb-1.17.2.tgz ===> Installing dependencies for php80-mongodb-1.17.2 ========================================================================== The following variables will affect the build process of this package, php80-mongodb-1.17.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 libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency automake>=1.9: found automake-1.16.5nb3 => Tool dependency autoconf>=2.58: found autoconf-2.72 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Build dependency pcre2>=10.30: found pcre2-10.43 => Full dependency snappy>=1.0.5: found snappy-1.2.0 => Full dependency php>=8.0.30nb2<8.1: found php-8.0.30nb2 ===> 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 php80-mongodb-1.17.2 ===> Extracting for php80-mongodb-1.17.2 ===> Patching for php80-mongodb-1.17.2 => Applying pkgsrc patches for php80-mongodb-1.17.2 ===> Creating toolchain wrappers for php80-mongodb-1.17.2 ===> Configuring for php80-mongodb-1.17.2 Configuring for: PHP Api Version: 20200930 Zend Module Api No: 20200930 Zend Extension Api No: 420200930 configure.ac:18: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead build/php.m4:2072: PHP_CONFIG_NICE is expanded from... configure.ac:18: the top level => Generating pkg-config files for builtin xz package. => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for a sed that does not truncate output... /usr/bin/sed checking pkg-config is at least version 0.9.0... yes checking for i486--netbsdelf-cc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking how to run the C preprocessor... gcc -E checking for egrep -e... (cached) /usr/bin/egrep checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -Wl,-rpath,... yes checking build system type... i486--netbsdelf checking host system type... i486--netbsdelf checking target system type... i486--netbsdelf checking for PHP prefix... /usr/pkg checking for PHP includes... -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib checking for PHP extension directory... /usr/pkg/lib/php/20201124 checking for PHP installed headers prefix... /usr/pkg/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... /usr/bin/awk checking if /usr/bin/awk is broken... no checking whether to enable MongoDB support... yes, shared checking pkg-config is at least version 0.9.0... yes checking PHP version... 8.0.30 checking whether to enable developer build flags... no checking whether to enable code coverage... no checking whether to compile against system libraries instead of bundled... no checking whether to use system libbson... no checking whether to use system libmongoc... no checking whether to enable client-side encryption... auto checking for i486--netbsdelf-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether the compiler supports GNU C++... no checking whether c++ accepts -g... no checking for c++ option to enable C++11 features... unsupported checking for c++ option to enable C++98 features... unsupported checking for an ANSI C-conforming const... yes checking for inline... inline checking for typeof syntax and keyword spelling... typeof checking for __sync_add_and_fetch_4... yes checking for __sync_add_and_fetch_8... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for _Bool... yes checking for stdbool.h that conforms to C99 or later... yes checking for strings.h... (cached) yes checking whether byte ordering is bigendian... no checking for strnlen... yes checking for reallocf... no checking for syscall... yes checking for SYS_gettid... no checking for snprintf... yes checking for strlcpy... yes checking for struct timespec... yes checking for library containing clock_gettime... none required checking for library containing floor... -lm checking for gmtime_r... yes checking for rand_r... yes checking for arc4random_buf... yes checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking whether PTHREAD_ONCE_INIT needs braces... no checking whether to enable Snappy for compression... auto checking whether to enable zlib for compression... auto checking whether to enable zstd for compression... auto checking for snappy... no checking for snappy_uncompress in -lsnappy... yes checking for snappy-c.h... yes checking for zlib... yes checking for libzstd... no checking for ZSTD_compress in -lzstd... no checking for zstd.h... no checking for res_nsearch... yes checking for res_ndestroy... yes checking whether to enable SASL for Kerberos authentication... auto checking for libsasl2... no checking for sasl_client_init in -lsasl2... no checking for sasl/sasl.h... no checking which SASL library to use... no checking whether to enable crypto and TLS... auto checking deprecated option for OpenSSL library path... /usr checking for gcc options needed to detect all undeclared functions... none needed checking for openssl >= 1.0.1... yes checking whether ASN1_STRING_get0_data is declared... yes checking which TLS library to use... openssl checking whether to use system crypto profile... no checking deprecated option for whether to use system crypto profile... no checking whether to use bundled or system utf8proc for SCRAM-SHA-256 SASLprep... bundled checking whether byte ordering is bigendian... (cached) no checking for shm_open... no checking for shm_open in -lrt... yes checking for sched_getcpu... no checking for socklen_t... yes checking for struct sockaddr_storage.ss_family... yes checking accept ARG2 => struct sockaddr ARG3 => socklen_t ... ok checking for pthread_join using gcc -pthread -lpthread... yes checking whether gcc is Clang... (cached) no checking for joinable pthread attribute... (cached) PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... (cached) no checking for PTHREAD_PRIO_INHERIT... (cached) yes checking if weak symbols are supported... yes checking which crypto library to use for libmongocrypt... openssl checking whether byte ordering is bigendian... (cached) no checking for a sed that does not truncate output... /pbulk/work/databases/php-mongodb/work/.tools/bin/sed checking for ld used by gcc... /pbulk/work/databases/php-mongodb/work/.cwrapper/bin/ld checking if the linker (/pbulk/work/databases/php-mongodb/work/.cwrapper/bin/ld) is GNU ld... yes checking for /pbulk/work/databases/php-mongodb/work/.cwrapper/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$ checking for dlfcn.h... yes checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for i486--netbsdelf-ar... no checking for ar... ar checking for i486--netbsdelf-ranlib... no checking for ranlib... ranlib checking for i486--netbsdelf-strip... no checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/pbulk/work/databases/php-mongodb/work/.cwrapper/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... NetBSD ld.elf_so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool checking whether the c++ linker (/pbulk/work/databases/php-mongodb/work/.cwrapper/bin/ld) supports shared libraries... PKGSRC-WARNING: Something is trying to run the c++ compiler, PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile. yes libtool.m4: error: problem compiling CXX test program checking for c++ option to produce PIC... checking if c++ static flag works... no checking if c++ supports -c -o file.o... no checking whether the c++ linker (/pbulk/work/databases/php-mongodb/work/.cwrapper/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the c++ compiler, PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile. NetBSD ld.elf_so (cached) (cached) checking how to hardcode library paths into programs... unsupported configure: patching config.h.in configure: creating ./config.status mongodb was configured with the following options: Build configuration: CC : gcc CFLAGS : -O2 -I/usr/include -I/usr/pkg/include Extra CFLAGS : Developers flags (slow) : Code Coverage flags (extra slow) : libmongoc : Bundled (1.25.2) libbson : Bundled (1.25.2) libmongocrypt : Bundled (1.8.2) LDFLAGS : -Wl,-zrelro -Wl,-E -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib EXTRA_LDFLAGS : MONGODB_SHARED_LIBADD : -lrt -lresolv -lsnappy -lpthread -pthread -lz -lssl -lcrypto -lpthread -pthread Please submit bugreports at: https://jira.mongodb.org/browse/PHPC config.status: creating /pbulk/work/databases/php-mongodb/work/mongodb-1.17.2/src/libmongoc/src/common/common-config.h config.status: creating /pbulk/work/databases/php-mongodb/work/mongodb-1.17.2/src/libmongoc/src/libbson/src/bson/bson-config.h config.status: creating /pbulk/work/databases/php-mongodb/work/mongodb-1.17.2/src/libmongoc/src/libbson/src/bson/bson-version.h config.status: creating /pbulk/work/databases/php-mongodb/work/mongodb-1.17.2/src/libmongoc/src/libmongoc/src/mongoc/mongoc-config.h config.status: creating /pbulk/work/databases/php-mongodb/work/mongodb-1.17.2/src/libmongoc/src/libmongoc/src/mongoc/mongoc-version.h config.status: creating /pbulk/work/databases/php-mongodb/work/mongodb-1.17.2/src/libmongocrypt/src/mongocrypt-config.h config.status: creating config.h => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.