+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=14 MYSQL_VERSION_REQD=mariadb1011 WRKLOG=/tmp/bulklog/dbmail-3.3.1nb4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=14 MYSQL_VERSION_REQD=mariadb1011 WRKLOG=/tmp/bulklog/dbmail-3.3.1nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for dbmail-3.3.1.tar.gz
=> Checksum SHA512 OK for dbmail-3.3.1.tar.gz
===> Installing dependencies for dbmail-3.3.1nb4
==========================================================================
The supported build options for dbmail are:

	ldap sieve

The currently selected options are:

	ldap sieve

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.dbmail (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
dbmail-3.3.1nb4.  Their current value is shown below:

        * KRB5_DEFAULT = mit-krb5
        * MYSQL_VERSION_DEFAULT = mariadb1011
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private
        * VARBASE = /var/opt/pkg

Based on these variables, the following variables have been set:

        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = mit-krb5
        * MYSQL_VERSION = mariadb1011

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 glib2-tools-[0-9]*: found glib2-tools-2.80.0
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency pax>=20040802: found pax-20210219
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency gnupg2>=2.2.0: found gnupg2-2.4.5
=> Full dependency libsieve>=2.2.5: found libsieve-2.3.1
=> Full dependency openldap-client>=2.6.6nb1: found openldap-client-2.6.7
=> Full dependency openssl>=3: found openssl-3.3.0
=> Full dependency libzdb>=3.2.3nb4: found libzdb-3.2.3nb4
=> Full dependency glib2>=2.76.4nb1: found glib2-2.80.0
=> Full dependency libevent>=2.1.12nb1: found libevent-2.1.12nb2
=> Full dependency gmime3>=3.2.7nb1: found gmime3-3.2.7nb2
=> Full dependency mhash>=0.9.9nb13: found mhash-0.9.9nb13
===> Overriding tools for dbmail-3.3.1nb4
===> Extracting for dbmail-3.3.1nb4
===> Patching for dbmail-3.3.1nb4
=> Applying pkgsrc patches for dbmail-3.3.1nb4
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/mail/dbmail/patches/patch-src_dbmail.h.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/mail/dbmail/patches/patch-src_dbmail.h.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_dbmail.h.in,v 1.2 2016/02/02 14:31:59 fhajny Exp $
|
|Define _NETBSD_SOURCE so that _NI_* are defined.
|Do not included features.h because it doesn't exist.
|
|--- src/dbmail.h.in.orig	2015-01-25 10:20:50.000000000 +0000
|+++ src/dbmail.h.in
--------------------------
Patching file src/dbmail.h.in using Plan A...
Hunk #1 succeeded at 41 (offset 2 lines).
done
===> Creating toolchain wrappers for dbmail-3.3.1nb4
===> Configuring for dbmail-3.3.1nb4
=> 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
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-libiconv-prefix

This is dbmail's GNU configure script.

checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./config/install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-sun-solaris2.11-gcc... 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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
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 ldap.h... yes
checking for ldap.h... (cached) yes
checking for library containing ldap_initialize... -lldap
checking for libSieve headers... -I/opt/pkg/include
checking for libSieve libraries... -L/opt/pkg/lib -lsieve
checking for pkg-config... /home/pbulk/build/mail/dbmail/work/.tools/bin/pkg-config
checking GLib headers... -I/opt/pkg/include -pthread -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include
checking Glib libraries... checking GLib version >= 2.16... -L/opt/pkg/lib -lgmodule-2.0 -lgthread-2.0 -Wl,-R/opt/pkg/lib -lglib-2.0
checking for pkg-config... /home/pbulk/build/mail/dbmail/work/.tools/bin/pkg-config
checking GMime headers... -I/opt/pkg/include/gmime-3.0 -I/opt/pkg/include -pthread -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include
checking GMime libraries... -L/opt/pkg/lib -lgmime-3.0 -lgio-2.0 -lgobject-2.0 -Wl,-R/opt/pkg/lib -lglib-2.0
checking for math.h... yes
checking for mhash.h... yes
checking for event.h... yes
checking for openssl/ssl.h... yes
checking for zdb.h... yes
checking for jemalloc.h... no
checking for gcc options needed to detect all undeclared functions... none needed
checking for getopt.h... yes
checking for getopt_long_only... yes
checking whether optreset is declared... no
checking for working GNU getopt function... no
checking for connect... yes
checking for res_search... no
checking for res_search in -lresolv... yes
checking for dn_expand... yes
checking for dns_lookup... no
checking for x86_64-sun-solaris2.11-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 gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking maximum warning verbosity option...  for C++ -W -Wall -Wpointer-arith -Wstrict-prototypes for C
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for endian.h... yes
checking for crypt.h... yes
checking for crypt in -lcrypt... yes
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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 fgrep... /usr/xpg4/bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop
checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for x86_64-sun-solaris2.11-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-sun-solaris2.11-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-sun-solaris2.11-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
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
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating src/dbmail.h
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/modules/Makefile
config.status: creating man/Makefile
config.status: creating test/Makefile
config.status: creating systemd/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
configure: WARNING: unrecognized options: --with-libiconv-prefix

 PREFIX                     /opt/pkg
 USE_DM_GETOPT:             1
 CFLAGS:                    -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DLDAP_DEPRECATED -I/usr/include/kerberosv5 -I/usr/include/gssapi -I/usr/include -I/opt/pkg/include/mysql -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -pthread -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/gmime-3.0 -I/opt/pkg/include -pthread -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes
 GLIB:                      -L/opt/pkg/lib -lgmodule-2.0 -lgthread-2.0 -Wl,-R/opt/pkg/lib -lglib-2.0
 GMIME:                     -L/opt/pkg/lib -lgmime-3.0 -lgio-2.0 -lgobject-2.0 -Wl,-R/opt/pkg/lib -lglib-2.0
 SIEVE:                     -I/opt/pkg/include-L/opt/pkg/lib -lsieve
 LDAP:                      -I/opt/pkg/include-L/opt/pkg/lib -lldap
 SHARED:                    yes
 STATIC:                    no
 CHECK:                     
 SOCKETS:                   -lresolv 
 MATH:                      -lm
 MHASH:                     -lmhash
 LIBEVENT:                  -levent_pthreads -levent
 OPENSSL:                   -L/opt/pkg -lssl -lcrypto
 SYSTEMD:                   
 ZDB:                       -lzdb
 JEMALLOC:                  no


=> Fixing sysconf paths.
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp