=> 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 postgresql15-pgpool2-4.3.2nb1
==========================================================================
The supported build options for postgresql15-pgpool2 are:

	memcached pam ssl

The currently selected options are:

	memcached 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,
postgresql15-pgpool2-4.3.2nb1.  Their current value is shown below:

        * KRB5_DEFAULT = mit-krb5
        * PGGROUP = pgsql
        * PGHOME = /opt/pkg/pgsql
        * PGPOOL_GROUP = pgsql
        * PGPOOL_USER = pgpool
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/pkg/etc/openssl/certs
        * SSLDIR = /opt/pkg/etc/openssl
        * SSLKEYS = /opt/pkg/etc/openssl/private
        * VARBASE = /var

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

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

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 gmake>=3.81: found gmake-4.4.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency postgresql15-server>=0: found postgresql15-server-15.8nb2
=> Full dependency user-darwin>=20130712: found user-darwin-20170116
=> Full dependency libmemcached>=0.53: found libmemcached-1.0.18
=> Full dependency openssl>=3: found openssl-3.3.2
=> Full dependency postgresql15-client>=15.4nb1: found postgresql15-client-15.8nb2
=> Full dependency cyrus-sasl>=2.1.12: found cyrus-sasl-2.1.28nb1
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency lz4>=1.7.3<100: found lz4-1.10.0
=> Full dependency mit-krb5>=1.4: found mit-krb5-1.21.3
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for postgresql15-pgpool2-4.3.2nb1
===> Extracting for postgresql15-pgpool2-4.3.2nb1
===> Patching for postgresql15-pgpool2-4.3.2nb1
=> Applying pkgsrc patches for postgresql15-pgpool2-4.3.2nb1
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/pgpool2/patches/patch-configure
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/pgpool2/patches/patch-src_Makefile.in
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/pgpool2/patches/patch-src_auth_pool__hba.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/pgpool2/patches/patch-src_include_pool.h
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/pgpool2/patches/patch-src_include_utils_fe__ports.h
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/pgpool2/patches/patch-src_main_pgpool__logger.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/pgpool2/patches/patch-src_main_pgpool__logger.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_main_pgpool__logger.c,v 1.1 2022/08/17 17:05:14 tnn Exp $
|
|Fix build on SunOS.
|
|--- src/main/pgpool_logger.c.orig	2022-05-18 02:52:38.000000000 +0000
|+++ src/main/pgpool_logger.c
--------------------------
Patching file src/main/pgpool_logger.c using Plan A...
Hunk #1 succeeded at 1116.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/pgpool2/patches/patch-src_main_pgpool__main.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/pgpool2/patches/patch-src_sample_pgpool.conf.sample
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/pgpool2/patches/patch-src_tools_pgproto_read.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/pgpool2/patches/patch-src_watchdog_wd__escalation.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 postgresql15-pgpool2-4.3.2nb1
===> Configuring for postgresql15-pgpool2-4.3.2nb1
=> 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.
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking for aarch64-apple-darwin23-gcc... 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 for clang option to accept ISO C99... none needed
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g staff
checking whether build environment is sane... yes
/Users/pbulk/build/databases/pgpool2/work/pgpool-II-4.3.2/missing: Unknown `--is-lightweight' option
Try `/Users/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... aarch64-apple-darwin23
checking host system type... aarch64-apple-darwin23
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/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 1048576
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert aarch64-apple-darwin23 file names to aarch64-apple-darwin23 format... func_convert_file_noop
checking how to convert aarch64-apple-darwin23 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for aarch64-apple-darwin23-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-apple-darwin23-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for aarch64-apple-darwin23-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for aarch64-apple-darwin23-strip... no
checking for strip... strip
checking for aarch64-apple-darwin23-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for aarch64-apple-darwin23-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for aarch64-apple-darwin23-dsymutil... no
checking for dsymutil... dsymutil
checking for aarch64-apple-darwin23-nmedit... no
checking for nmedit... nmedit
checking for aarch64-apple-darwin23-lipo... no
checking for lipo... lipo
checking for aarch64-apple-darwin23-otool... no
checking for otool... otool
checking for aarch64-apple-darwin23-otool64... no
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... clang -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 clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin23 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... 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... bison -y
checking whether clang 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... xsltproc
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... no
checking for main in -lsocket... no
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... no
checking for main in -lPW... no
checking for main in -lresolv... yes
checking for main in -lcrypt... no
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... no
checking crypt.h presence... no
checking for crypt.h... no
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 clang supports -Wformat-truncation, for NOT_THE_CFLAGS... no
checking whether clang supports -Wstringop-truncation, for NOT_THE_CFLAGS... no
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... yes
checking for struct sockaddr_storage.__ss_len... no
checking for struct sockaddr.sa_len... yes
checking for union semun... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for wait3 that fills in rusage... yes
checking types of arguments for accept()... int, int, struct sockaddr *, socklen_t *
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 openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for CRYPTO_new_ex_data in -lcrypto... yes
checking for SSL_new in -lssl... yes
checking libmemcached/memcached.h usability... yes
checking libmemcached/memcached.h presence... yes
checking for libmemcached/memcached.h... yes
checking for memcached_create in -lmemcached... yes
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