+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PHP_VERSION_REQD=81 WRKLOG=/tmp/bulklog/php81-mongodb-1.9.1nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PHP_VERSION_REQD=81 WRKLOG=/tmp/bulklog/php81-mongodb-1.9.1nb2/work.log
=> 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.1nb2
==========================================================================
The following variables will affect the build process of this package,
php81-mongodb-1.9.1nb2.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/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.6nb3
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency automake>=1.9: found automake-1.16.5nb1
=> Tool dependency autoconf>=2.58: found autoconf-2.71nb1
=> Tool dependency gmake>=3.81: found gmake-4.3nb3
=> 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.40
=> Full dependency openssl>=1.1.1dnb2: found openssl-1.1.1o
=> Full dependency mongo-c-driver>=1.17.7nb2: found mongo-c-driver-1.17.7nb2
=> Full dependency snappy>=1.0.5: found snappy-1.1.9
=> Full dependency php>=8.1.5nb1<9.0: found php-8.1.7
===> Overriding tools for php81-mongodb-1.9.1nb2
===> Extracting for php81-mongodb-1.9.1nb2
===> Patching for php81-mongodb-1.9.1nb2
===> Creating toolchain wrappers for php81-mongodb-1.9.1nb2
===> Configuring for php81-mongodb-1.9.1nb2
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/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
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 x86_64-sun-solaris2.11-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 icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking target system type... x86_64-sun-solaris2.11
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.7
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... /home/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... /home/pbulk/build/databases/php-mongodb/work/.tools/bin/sed
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for /bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
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... 786240
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for x86_64-sun-solaris2.11-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... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
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
configure: patching config.h.in
configure: creating ./config.status

mongodb was configured with the following options:

Build configuration:
  CFLAGS                                           : -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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 -Wl,-R/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.