=> 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.3.4.tgz => Checksum RMD160 OK for php-mongodb/mongodb-1.3.4.tgz => Checksum SHA512 OK for php-mongodb/mongodb-1.3.4.tgz ===> Installing dependencies for php70-mongodb-1.3.4 ========================================================================== The following variables will affect the build process of this package, php70-mongodb-1.3.4. 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 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 gtar-base>=1.13.25: found gtar-base-1.29 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20171108 => Full dependency php70-json>=5.3.0: found php70-json-7.0.26nb1 => Full dependency mongo-c-driver>=1.3.3nb1: found mongo-c-driver-1.9.0 => Full dependency libbson>=1.2.0: found libbson-1.9.0 => Full dependency snappy>=1.0.5: found snappy-1.1.7 => Full dependency php>=7.0.0<7.1.0: found php-7.0.26 ===> Overriding tools for php70-mongodb-1.3.4 ===> Extracting for php70-mongodb-1.3.4 ===> Patching for php70-mongodb-1.3.4 => Applying pkgsrc patches for php70-mongodb-1.3.4 => 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.2 2017/12/06 21:18:00 jdolecek Exp $ | |--- config.m4.orig 2017-12-01 18:41:35.000000000 +0000 |+++ config.m4 -------------------------- Patching file config.m4 using Plan A... Hunk #1 succeeded at 216. Hunk #2 succeeded at 254. Hunk #3 succeeded at 402. Hunk #4 succeeded at 449. Hunk #5 succeeded at 463. done ===> Creating toolchain wrappers for php70-mongodb-1.3.4 ===> Configuring for php70-mongodb-1.3.4 Configuring for: PHP Api Version: 20151012 Zend Module Api No: 20151012 Zend Extension Api No: 320151012 => 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/20151203 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... /usr checking whether to use system default cipher list instead of hardcoded value... no checking PHP version... 70026 checking whether to enable developer build flags... no checking whether to enable code coverage... no checking whether to use system libbson... yes checking whether to use system libmongoc... yes checking for pkg-config... no checking for libbson... configure: error: pkgconfig and libbson must be installed *** Error code 1 Stop. make[1]: stopped in /data/pkgsrc/databases/php-mongodb *** Error code 1 Stop. make: stopped in /data/pkgsrc/databases/php-mongodb