+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=14 WRKLOG=/tmp/bulklog/postgresql14-repmgr-5.3.0nb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=14 WRKLOG=/tmp/bulklog/postgresql14-repmgr-5.3.0nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
=> Checksum BLAKE2s OK for repmgr-5.3.0.tar.gz
=> Checksum SHA512 OK for repmgr-5.3.0.tar.gz
===> Installing dependencies for postgresql14-repmgr-5.3.0nb1
==========================================================================
The following variables will affect the build process of this package,
postgresql14-repmgr-5.3.0nb1.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * PGGROUP = postgres
        * PGHOME = /var/pgsql
        * PGUSER = postgres
        * READLINE_DEFAULT = readline
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/local/etc/openssl/certs
        * SSLDIR = /opt/local/etc/openssl
        * SSLKEYS = /opt/local/etc/openssl/private

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

        * CURSES_TYPE = ncurses
        * 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/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency gmake>=3.81: found gmake-4.3nb3
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc10>=10.4.0: found gcc10-10.4.0
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency postgresql14-server>=0: found postgresql14-server-14.1nb1
=> Full dependency postgresql14-client>=14.0: found postgresql14-client-14.1nb1
=> Full dependency gettext-lib>=0.18: found gettext-lib-0.21
=> Full dependency libxml2>=2.9.12nb1: found libxml2-2.9.12nb2
=> Full dependency readline>=6.0: found readline-8.1
=> Full dependency gcc10-libs>=10.4.0: found gcc10-libs-10.4.0
===> Overriding tools for postgresql14-repmgr-5.3.0nb1
===> Extracting for postgresql14-repmgr-5.3.0nb1
===> Patching for postgresql14-repmgr-5.3.0nb1
=> Applying pkgsrc patches for postgresql14-repmgr-5.3.0nb1
=> Verifying /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/databases/repmgr/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/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.1 2020/12/08 16:38:26 adam Exp $
|
|Link against libintl.
|
|--- Makefile.in.orig	2020-12-07 08:54:14.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 43 (offset 3 lines).
Hunk #2 succeeded at 79 (offset 3 lines).
done
===> Creating toolchain wrappers for postgresql14-repmgr-5.3.0nb1
===> Configuring for postgresql14-repmgr-5.3.0nb1
=> 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/local/bin/nbsed
checking for pg_config... /home/pbulk/build/databases/repmgr/work/.buildlink/bin/pg_config
./configure: line 1816: test: PostgreSQL 14.1: integer expression expected
configure: building against PostgreSQL PostgreSQL 14.1
checking for gnused... no
checking for gsed... no
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