+ 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=12 WRKLOG=/tmp/bulklog/postgresql12-pgpool2-4.3.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=12 WRKLOG=/tmp/bulklog/postgresql12-pgpool2-4.3.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for pgpool-II-4.3.2.tar.gz
=> Checksum SHA512 OK for pgpool-II-4.3.2.tar.gz
===> Installing dependencies for postgresql12-pgpool2-4.3.2
==========================================================================
The supported build options for postgresql12-pgpool2 are:

	memcached pam ssl

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

	PKG_OPTIONS.postgresql-pgpool (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
postgresql12-pgpool2-4.3.2.  Their current value is shown below:

        * PGGROUP = pgsql
        * PGHOME = /opt/pkg/pgsql
        * PGPOOL_GROUP = pgsql
        * PGPOOL_USER = pgpool
        * 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

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 gmake>=3.81: found gmake-4.3nb3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency postgresql12-server>=0: found postgresql12-server-12.11
=> Full dependency postgresql12-client>=12.5nb1: found postgresql12-client-12.11
===> Overriding tools for postgresql12-pgpool2-4.3.2
===> Extracting for postgresql12-pgpool2-4.3.2
===> Patching for postgresql12-pgpool2-4.3.2
=> Applying pkgsrc patches for postgresql12-pgpool2-4.3.2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.6 2022/05/24 11:50:12 adam Exp $
|
|Pick a better name for the package.
|
|--- configure.orig	2022-02-17 01:50:05.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 4054.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-src_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-src_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Makefile.in,v 1.1 2022/05/18 11:20:35 adam Exp $
|
|PGPOOL_CONFIG_DIR is where pgpool_setup copies sample config files from.
|
|--- src/Makefile.in.orig	2022-05-18 10:42:40.000000000 +0000
|+++ src/Makefile.in
--------------------------
Patching file src/Makefile.in using Plan A...
Hunk #1 succeeded at 1205.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-src_auth_pool__hba.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-src_auth_pool__hba.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_auth_pool__hba.c,v 1.2 2022/05/18 11:20:35 adam Exp $
|
|--- src/auth/pool_hba.c.orig	2022-02-17 01:45:01.000000000 +0000
|+++ src/auth/pool_hba.c
--------------------------
Patching file src/auth/pool_hba.c using Plan A...
Hunk #1 succeeded at 30.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-src_include_pool.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-src_include_pool.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_include_pool.h,v 1.2 2021/04/28 09:18:55 wiz Exp $
|
|Default pid file location.
|
|--- src/include/pool.h.orig	2021-04-24 00:34:31.131959515 +0300
|+++ src/include/pool.h	2021-04-24 00:35:57.462247644 +0300
--------------------------
Patching file src/include/pool.h using Plan A...
Hunk #1 succeeded at 78.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-src_include_utils_fe__ports.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-src_include_utils_fe__ports.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_include_utils_fe__ports.h,v 1.1 2021/04/28 09:18:55 wiz Exp $
|
|--- src/include/utils/fe_ports.h.orig	2021-04-24 00:38:17.082783710 +0300
|+++ src/include/utils/fe_ports.h	2021-04-24 00:38:58.811176898 +0300
--------------------------
Patching file src/include/utils/fe_ports.h using Plan A...
Hunk #1 succeeded at 29.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-src_main_pgpool__main.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-src_main_pgpool__main.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_main_pgpool__main.c,v 1.1 2021/04/28 09:18:55 wiz Exp $
|
|--- src/main/pgpool_main.c.orig	2021-04-24 00:39:53.017132316 +0300
|+++ src/main/pgpool_main.c	2021-04-24 00:40:56.172455323 +0300
--------------------------
Patching file src/main/pgpool_main.c using Plan A...
Hunk #1 succeeded at 33.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-src_sample_pgpool.conf.sample
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-src_sample_pgpool.conf.sample
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_sample_pgpool.conf.sample,v 1.4 2022/05/18 11:20:35 adam Exp $
|
|Default pid file location.
|
|--- src/sample/pgpool.conf.sample.orig	2022-02-17 01:50:05.000000000 +0000
|+++ src/sample/pgpool.conf.sample
--------------------------
Patching file src/sample/pgpool.conf.sample using Plan A...
Hunk #1 succeeded at 292.
Hunk #2 succeeded at 936.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-src_tools_pgproto_read.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-src_tools_pgproto_read.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_tools_pgproto_read.c,v 1.1 2021/04/28 09:18:55 wiz Exp $
|
|--- src/tools/pgproto/read.c.orig	2021-04-24 00:48:42.306544222 +0300
|+++ src/tools/pgproto/read.c	2021-04-24 00:49:09.010194923 +0300
--------------------------
Patching file src/tools/pgproto/read.c using Plan A...
Hunk #1 succeeded at 24 (offset 1 line).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-src_watchdog_wd__escalation.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/pgpool2/patches/patch-src_watchdog_wd__escalation.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_watchdog_wd__escalation.c,v 1.2 2021/04/28 09:18:55 wiz Exp $
|
|Add sys/wait.h unconditionally, same as other source files.
|
|--- src/watchdog/wd_escalation.c.orig	2021-04-24 00:49:41.737572235 +0300
|+++ src/watchdog/wd_escalation.c	2021-04-24 00:49:56.140555487 +0300
--------------------------
Patching file src/watchdog/wd_escalation.c using Plan A...
Hunk #1 succeeded at 26.
done
===> Creating toolchain wrappers for postgresql12-pgpool2-4.3.2
===> Configuring for postgresql12-pgpool2-4.3.2
=> Fixing default paths
=> 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
=> Replacing bash interpreter in src/test/pgpool_setup.in src/test/watchdog_setup.in.
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-libiconv-prefix
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... none needed
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
/home/pbulk/build/databases/pgpool2/work/pgpool-II-4.3.2/missing: Unknown `--is-lightweight' option
Try `/home/pbulk/build/databases/pgpool2/work/pgpool-II-4.3.2/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /opt/pkg/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 build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking how to print strings... print -r
checking for a sed that does not truncate output... /opt/pkg/bin/nbsed
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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
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... print -r --
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 x86_64-sun-solaris2.11-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
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 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... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -ll
checking whether yytext is a pointer... yes
checking for bison... no
checking for byacc... no
checking whether gcc and cc understand -c and -o together... yes
checking for onsgmls... no
checking for nsgmls... no
checking for openjade... no
checking for jade... no
checking for DocBook V4.2... no
checking for DocBook stylesheets... no
checking for collateindex.pl... no
checking for xsltproc... no
checking for xmllint... xmllint
checking for osx... no
checking for sgml2xml... no
checking for sx... no
checking for perl... perl
checking for lynx... no
checking for sunifdef... no
checking for -Wall option... yes
checking for -Wmissing-prototypes option... yes
checking for -Wmissing-declarations option... yes
checking for main in -lm... yes
checking for main in -lnsl... yes
checking for main in -lsocket... yes
checking for main in -lipc... no
checking for main in -lIPC... no
checking for main in -llc... no
checking for main in -lBSD... no
checking for main in -lgen... yes
checking for main in -lPW... no
checking for main in -lresolv... yes
checking for main in -lcrypt... yes
checking for strlcat,... no
checking for strlcpy... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking whether long int is 64 bits... yes
checking whether gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes
checking whether gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes
checking size of unsigned long... 8
checking size of void *... 8
checking size of size_t... 8
checking whether to build with float4 passed by value... yes
checking whether to build with float8 passed by value... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_storage.ss_family... yes
checking for struct sockaddr_storage.__ss_family... no
checking for struct sockaddr_storage.ss_len... no
checking for struct sockaddr_storage.__ss_len... no
checking for struct sockaddr.sa_len... no
checking for union semun... no
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... yes
checking for wait3 that fills in rusage... no
checking types of arguments for accept()... int, int, struct sockaddr *, int *
checking for setsid... yes
checking for select... yes
checking for socket... yes
checking for sigprocmask... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for strtok... yes
checking for asprintf... yes
checking for vasprintf... yes
checking for gai_strerror... yes
checking for hstrerror... yes
checking for pstat... no
checking for setproctitle... no
checking for syslog... yes
checking for __builtin_types_compatible_p... yes
checking for pg_config... pg_config
checking for PQexecPrepared in -lpq... yes
checking for PQprepare... yes
checking for PQpingParams... yes
checking whether to use row lock against the sequence table for insert_lock... no
checking whether to use table lock against the target table for insert_lock... no
enable cassert = no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/src/Makefile
config.status: creating doc/src/sgml/Makefile
config.status: creating doc.ja/Makefile
config.status: creating doc.ja/src/Makefile
config.status: creating doc.ja/src/sgml/Makefile
config.status: creating doc.zh-cn/Makefile
config.status: creating doc.zh-cn/src/Makefile
config.status: creating doc.zh-cn/src/sgml/Makefile
config.status: creating src/Makefile
config.status: creating src/include/Makefile
config.status: creating src/parser/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/pcp/Makefile
config.status: creating src/tools/Makefile
config.status: creating src/tools/pgmd5/Makefile
config.status: creating src/tools/pgenc/Makefile
config.status: creating src/tools/pcp/Makefile
config.status: creating src/tools/pgproto/Makefile
config.status: creating src/tools/watchdog/Makefile
config.status: creating src/watchdog/Makefile
config.status: creating src/include/config.h
config.status: executing libtool commands
rm: libtoolT: No such file or directory
configure: WARNING: unrecognized options: --with-libiconv-prefix
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp