=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. => Checksum SHA1 OK for php-mongodb/mongodb-1.1.8.tgz => Checksum RMD160 OK for php-mongodb/mongodb-1.1.8.tgz => Checksum SHA512 OK for php-mongodb/mongodb-1.1.8.tgz ===> Installing dependencies for php72-mongodb-1.1.8 ========================================================================== The following variables will affect the build process of this package, php72-mongodb-1.1.8. Their current value is shown below: * SSLBASE = /usr * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.54.2 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6 => Tool dependency automake>=1.9: found automake-1.15.1 => Tool dependency autoconf>=2.58: found autoconf-2.69nb7 => Tool dependency checkperms>=1.1: found checkperms-1.11nb1 => Build dependency cwrappers>=20150314: found cwrappers-20171108 => Full dependency libmongo-client>=0.1.8: found libmongo-client-0.1.8 => Full dependency php>=7.2.0rc1<7.3: found php-7.2.0 ===> Overriding tools for php72-mongodb-1.1.8 ===> Extracting for php72-mongodb-1.1.8 ===> Patching for php72-mongodb-1.1.8 => Applying pkgsrc patches for php72-mongodb-1.1.8 => Verifying /data/pkgsrc/databases/php-mongodb/patches/patch-config.m4 => Applying pkgsrc patch /data/pkgsrc/databases/php-mongodb/patches/patch-config.m4 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-config.m4,v 1.1 2016/08/04 16:03:53 jdolecek Exp $ | |--- config.m4.orig 2016-08-04 15:57:53.000000000 +0000 |+++ config.m4 -------------------------- Patching file config.m4 using Plan A... Hunk #1 succeeded at 468. Hunk #2 succeeded at 517. Hunk #3 succeeded at 531. done ===> Creating toolchain wrappers for php72-mongodb-1.1.8 ===> Configuring for php72-mongodb-1.1.8 Configuring for: PHP Api Version: 20170718 Zend Module Api No: 20170718 Zend Extension Api No: 320170718 => 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 portability problems in extracted files 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... /data/scratch/databases/php-mongodb/work/.tools/bin/sed checking for x86_64--netbsd-cc... clang 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 we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking for icc... no checking for suncc... no checking whether clang and cc understand -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... (cached) no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking target system type... x86_64--netbsd 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/20170718 checking for PHP installed headers prefix... /usr/pkg/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... /usr/bin/awk checking if /usr/bin/awk is broken... no checking whether to enable mongodb support... yes, shared checking OpenSSL dir for mongodb... yes checking PHP version... 70200 checking whether to enable developer build flags... no checking whether to enable code coverage... no checking whether to use system libbson... no checking configuring libmongoc... ... checking whether to use system libmongoc... no checking for pkg-config... no checking for OpenSSL version... >= 1.0.1 checking for CRYPTO_free in -lcrypto... yes checking for SSL_CTX_set_ssl_version in -lssl... yes checking for pcre-dir install prefix... yes, shared checking for pcre... not found checking for Cyrus SASL support... auto checking for SASL... not found checking if weak symbols are supported... yes checking for pthread_join in LIBS= with CFLAGS= -pthread ... yes checking if compiler needs -Werror to reject unknown flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for shm_open... no checking for shm_open in -lrt... yes checking for __sync_add_and_fetch_4... yes checking for __sync_add_and_fetch_8... yes checking for strnlen... yes checking for snprintf... yes checking for _set_output_format... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for struct timespec... yes checking for library containing clock_gettime... none required checking for pthread_join in LIBS= with CFLAGS= -pthread ... yes checking if compiler needs -Werror to reject unknown flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... (cached) yes checking whether PTHREAD_ONCE_INIT needs braces... no checking for stdint-types....... "(putting them into ./src/libbson/src/bson/bson-stdint.h)" checking for uintptr_t... yes checking for uint64_t... yes ... seen our uintptr_t in stdint.h (uint64_t too) creating ./src/libbson/src/bson/bson-stdint.h : ___SRC_LIBBSON_SRC_BSON_BSON_STDINT_H checking for int_least32_t... yes checking for int_fast32_t... yes ..adding include stdint.h ... seen good stdint.h inttypes ... seen good uint64_t ... DONE ./src/libbson/src/bson/bson-stdint.h checking whether byte ordering is bigendian... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for clock_gettime... yes checking for strnlen... (cached) yes checking for snprintf... (cached) yes configure: Current version (from VERSION_CURRENT file): 1.3.5 configure: creating ./config.status config.status: creating ./src/libmongoc/src/mongoc/mongoc-config.h configure: creating ./config.status config.status: creating ./src/libmongoc/src/mongoc/mongoc-config.h config.status: creating ./src/libmongoc/src/mongoc/mongoc-version.h configure: Current version (from VERSION_CURRENT file): 1.3.5 configure: creating ./config.status config.status: creating ./src/libmongoc/src/mongoc/mongoc-config.h config.status: creating ./src/libmongoc/src/mongoc/mongoc-version.h config.status: creating ./src/libbson/src/bson/bson-config.h configure: creating ./config.status config.status: creating ./src/libmongoc/src/mongoc/mongoc-config.h config.status: creating ./src/libmongoc/src/mongoc/mongoc-version.h config.status: creating ./src/libbson/src/bson/bson-config.h config.status: creating ./src/libbson/src/bson/bson-version.h checking for ld used by clang... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/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 dlfcn.h usability... yes checking dlfcn.h presence... yes 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 clang object... ok checking for objdir... .libs checking for x86_64--netbsd-ar... no checking for ar... ar checking for x86_64--netbsd-ranlib... no checking for ranlib... ranlib checking for x86_64--netbsd-strip... no checking for strip... strip checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC checking if clang PIC flag -fPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking whether the clang linker (/usr/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 clang++ linker (/usr/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 clang++ option to produce PIC... checking if clang++ static flag works... no checking if clang++ supports -c -o file.o... no checking whether the clang++ linker (/usr/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: creating ./config.status mongodb was configured with the following options: Build configuration: CFLAGS : -O2 -I/usr/include -I/usr/pkg/include Extra CFLAGS : -pthread Developers flags (slow) : Code Coverage flags (extra slow) : System mongoc : no System libbson : no LDFLAGS : -Wl,-E -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib EXTRA_LDFLAGS : MONGODB_SHARED_LIBADD : -lcrypto -lssl -lcrypto -lrt Please submit bugreports at: https://jira.mongodb.org/browse/PHPC config.status: creating ./src/libmongoc/src/mongoc/mongoc-config.h config.status: creating ./src/libmongoc/src/mongoc/mongoc-version.h config.status: creating ./src/libbson/src/bson/bson-config.h config.status: creating ./src/libbson/src/bson/bson-version.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.