=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for php-mongodb/mongodb-1.9.1.tgz => Checksum SHA512 OK for php-mongodb/mongodb-1.9.1.tgz ===> Installing dependencies for php81-mongodb-1.9.1nb3 ========================================================================== The following variables will affect the build process of this package, php81-mongodb-1.9.1nb3. Their current value is shown below: * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /opt/pkg/etc/openssl/certs * SSLDIR = /opt/pkg/etc/openssl * SSLKEYS = /opt/pkg/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 `/opt/pkg/bin/bmake 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.5nb2 => Tool dependency autoconf>=2.58: found autoconf-2.71nb2 => Tool dependency gmake>=3.81: found gmake-4.4 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency pcre2>=10.30: found pcre2-10.40nb1 => Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1s => Full dependency mongo-c-driver>=1.17.7nb3: found mongo-c-driver-1.17.7nb3 => Full dependency snappy>=1.0.5: found snappy-1.1.9 => Full dependency php>=8.1.12nb1<9.0: found php-8.1.13 ===> Overriding tools for php81-mongodb-1.9.1nb3 ===> Extracting for php81-mongodb-1.9.1nb3 ===> Patching for php81-mongodb-1.9.1nb3 ===> Creating toolchain wrappers for php81-mongodb-1.9.1nb3 ===> Configuring for php81-mongodb-1.9.1nb3 Configuring for: PHP Api Version: 20210902 Zend Module Api No: 20210902 Zend Extension Api No: 420210902 configure.ac:18: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead build/php.m4:2111: PHP_CONFIG_NICE is expanded from... configure.ac:18: the top level scripts/autotools/CheckCompiler.m4:63: warning: The macro `AC_TRY_COMPILE' is obsolete. scripts/autotools/CheckCompiler.m4:63: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:120: AX_PROTOTYPE is expanded from... scripts/autotools/CheckCompiler.m4:63: the top level scripts/autotools/CheckCompiler.m4:63: warning: The macro `AC_TRY_COMPILE' is obsolete. scripts/autotools/CheckCompiler.m4:63: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:120: AX_PROTOTYPE is expanded from... scripts/autotools/CheckCompiler.m4:63: the top level scripts/autotools/CheckCompiler.m4:63: warning: The macro `AC_TRY_COMPILE' is obsolete. scripts/autotools/CheckCompiler.m4:63: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:120: AX_PROTOTYPE is expanded from... scripts/autotools/CheckCompiler.m4:63: the top level scripts/autotools/CheckCompiler.m4:63: warning: The macro `AC_TRY_COMPILE' is obsolete. scripts/autotools/CheckCompiler.m4:63: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:120: AX_PROTOTYPE is expanded from... scripts/autotools/CheckCompiler.m4:63: the top level scripts/autotools/CheckCompiler.m4:63: warning: The macro `AC_TRY_COMPILE' is obsolete. scripts/autotools/CheckCompiler.m4:63: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:120: AX_PROTOTYPE is expanded from... scripts/autotools/CheckCompiler.m4:63: the top level scripts/autotools/CheckCompiler.m4:63: warning: The macro `AC_TRY_COMPILE' is obsolete. scripts/autotools/CheckCompiler.m4:63: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:190: AX_PROTOTYPE_EACH is expanded from... scripts/autotools/m4/ax_prototype.m4:208: AX_PROTOTYPE_LOOP is expanded from... scripts/autotools/m4/ax_prototype.m4:120: AX_PROTOTYPE is expanded from... scripts/autotools/CheckCompiler.m4:63: the top level => 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 configure: WARNING: unrecognized options: --with-libiconv-prefix 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... /opt/pkg/bin/nbsed checking pkg-config is at least version 0.9.0... yes checking for aarch64-apple-darwin21-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 the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking how to run the C preprocessor... clang -E 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... aarch64-apple-darwin21 checking host system type... aarch64-apple-darwin21 checking target system type... aarch64-apple-darwin21 checking for PHP prefix... /opt/pkg checking for PHP includes... -I/opt/pkg/include/php -I/opt/pkg/include/php/main -I/opt/pkg/include/php/TSRM -I/opt/pkg/include/php/Zend -I/opt/pkg/include/php/ext -I/opt/pkg/include/php/ext/date/lib checking for PHP extension directory... /opt/pkg/lib/php/20211125 checking for PHP installed headers prefix... /opt/pkg/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... /opt/pkg/bin/nawk checking if /opt/pkg/bin/nawk is broken... no checking whether to enable MongoDB support... yes, shared checking PHP version... 8.1.13 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... yes checking whether to use system libmongoc... yes checking whether to enable client-side encryption... auto configure: WARNING: Using --with-libbson is deprecated and will be removed in a future version. Please use --with-system-libs instead configure: WARNING: Using --with-libmongoc is deprecated and will be removed in a future version. Please use --with-system-libs instead checking for pkg-config... /Users/pbulk/build/databases/php-mongodb/work/.tools/bin/pkg-config checking for libbson... version 1.17.7 found checking for libmongoc... version 1.17.7 found checking for libmongocrypt... not found checking for a sed that does not truncate output... /Users/pbulk/build/databases/php-mongodb/work/.tools/bin/sed checking for ld used by clang... /Library/Developer/CommandLineTools/usr/bin/ld checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no checking for /Library/Developer/CommandLineTools/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... pass_all checking for dlfcn.h... yes checking the maximum length of command line arguments... (cached) 1048576 checking command to parse /usr/bin/nm -B output from clang object... ok checking for objdir... .libs checking for aarch64-apple-darwin21-ar... no checking for ar... ar checking for aarch64-apple-darwin21-ranlib... no checking for ranlib... ranlib checking for aarch64-apple-darwin21-strip... no checking for strip... strip checking for aarch64-apple-darwin21-dsymutil... no checking for dsymutil... dsymutil checking for aarch64-apple-darwin21-nmedit... no checking for nmedit... nmedit checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fno-common checking if clang PIC flag -fno-common works... yes checking if clang static flag -static works... no checking if clang supports -c -o file.o... yes checking whether the clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin21 dyld 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 (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... no 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 (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... no checking dynamic linker characteristics... darwin21 dyld (cached) (cached) checking how to hardcode library paths into programs... immediate configure: patching config.h.in configure: creating ./config.status mongodb was configured with the following options: Build configuration: CFLAGS : -pipe -Os -I/opt/pkg/include Extra CFLAGS : Developers flags (slow) : Code Coverage flags (extra slow) : libmongoc : System (1.17.7) libbson : System (1.17.7) libmongocrypt : None LDFLAGS : -L/opt/pkg/lib EXTRA_LDFLAGS : MONGODB_SHARED_LIBADD : -Wl,-rpath,/opt/pkg/lib -L/opt/pkg/lib -Wl,-rpath,/opt/pkg/lib -L/opt/pkg/lib -lbson-1.0 -lmongoc-1.0 -lbson-1.0 Please submit bugreports at: https://jira.mongodb.org/browse/PHPC config.status: creating config.h configure: WARNING: unrecognized options: --with-libiconv-prefix => 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.