+ 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=15 WRKLOG=/tmp/bulklog/postgresql15-repmgr-5.5.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=15 WRKLOG=/tmp/bulklog/postgresql15-repmgr-5.5.0/work.log
=> Checksum BLAKE2s OK for repmgr-5.5.0.tar.gz
=> Checksum SHA512 OK for repmgr-5.5.0.tar.gz
===> Installing dependencies for postgresql15-repmgr-5.5.0
==========================================================================
The following variables will affect the build process of this package,
postgresql15-repmgr-5.5.0.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * KRB5_DEFAULT = mit-krb5
        * PGGROUP = pgsql
        * PGHOME = /opt/pkg/pgsql
        * PGUSER = pgsql
        * READLINE_DEFAULT = readline
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

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

        * CURSES_TYPE = ncurses
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = mit-krb5
        * READLINE_TYPE = readline
        * TERMCAP_TYPE = curses

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 flex>=2.5.4a: found flex-2.6.4
=> Tool dependency m4>=1.4: found m4-1.4.19nb1
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gsed>=3.0.2: found gsed-4.9nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency flex>=2.5.4a: found flex-2.6.4
=> Full dependency postgresql15-server>=0: found postgresql15-server-15.12
=> Full dependency curl>=8.11.0nb2: found curl-8.12.1
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency json-c>=0.14: found json-c-0.18
=> Full dependency libxml2>=2.12.9nb3: found libxml2-2.12.10
=> Full dependency postgresql15-client>=15.4nb1: found postgresql15-client-15.12
=> Full dependency readline>=6.0: found readline-8.2nb2
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency libidn2>=2.0.0: found libidn2-2.3.7
=> Full dependency libunistring>=0.9.3: found libunistring-1.2
=> Full dependency lz4>=1.7.3<100: found lz4-1.10.0
=> Full dependency mit-krb5>=1.4: found mit-krb5-1.21.3nb1
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency nghttp2>=1.0.0: found nghttp2-1.65.0
=> Full dependency openssl>=1.1.1: found openssl-3.4.1
=> Full dependency ossp-uuid>=1.6.0: found ossp-uuid-1.6.2nb11
=> Full dependency xz>=5.0.0: found xz-5.8.1
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for postgresql15-repmgr-5.5.0
===> Extracting for postgresql15-repmgr-5.5.0
===> Patching for postgresql15-repmgr-5.5.0
=> Applying pkgsrc patches for postgresql15-repmgr-5.5.0
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/repmgr/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/repmgr/patches/patch-Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.in,v 1.2 2022/10/19 08:10:13 adam Exp $
|
|Link against libintl.
|
|--- Makefile.in.orig	2022-10-17 07:11:34.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 47 (offset 4 lines).
Hunk #2 succeeded at 83 (offset 4 lines).
done
===> Creating toolchain wrappers for postgresql15-repmgr-5.5.0
===> Configuring for postgresql15-repmgr-5.5.0
=> 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 a sed that does not truncate output... /opt/pkg/bin/gsed
checking for pg_config... /home/pbulk/build/databases/repmgr/work/.buildlink/bin/pg_config
configure: building against PostgreSQL 15.12
checking for gnused... no
checking for gsed... yes
checking for sed... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makefile.global
config.status: creating config.h
configure: WARNING: unrecognized options: --with-libiconv-prefix