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

        * CURSES_DEFAULT = ncurses
        * PGGROUP = pgsql
        * PGHOME = /usr/pkg/pgsql
        * PGUSER = pgsql
        * READLINE_DEFAULT = readline
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency flex>=2.5.4a: found flex-2.6.4
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> 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 postgresql12-server>=0: found postgresql12-server-12.13nb1
=> Full dependency postgresql12-client>=12.11nb1: found postgresql12-client-12.13nb1
=> Full dependency libxml2>=2.9.14nb1: found libxml2-2.9.14nb1
=> Full dependency readline>=6.0: found readline-8.2nb1
===> Overriding tools for postgresql12-repmgr-5.3.3nb1
===> Extracting for postgresql12-repmgr-5.3.3nb1
===> Patching for postgresql12-repmgr-5.3.3nb1
=> Applying pkgsrc patches for postgresql12-repmgr-5.3.3nb1
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/databases/repmgr/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-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.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 43.
Hunk #2 succeeded at 79.
done
===> Creating toolchain wrappers for postgresql12-repmgr-5.3.3nb1
===> Configuring for postgresql12-repmgr-5.3.3nb1
=> 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
checking for a sed that does not truncate output... /bin/sed
checking for pg_config... /home/pbulk/build/databases/repmgr/work/.buildlink/bin/pg_config
configure: building against PostgreSQL 12.13
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