+ 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-pljava-1.5.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-pljava-1.5.0nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
=> Checksum BLAKE2s OK for pljava-1.5.0-deps.tar.gz
=> Checksum SHA512 OK for pljava-1.5.0-deps.tar.gz
=> Checksum BLAKE2s OK for pljava-1.5.0.tar.gz
=> Checksum SHA512 OK for pljava-1.5.0.tar.gz
===> Installing dependencies for postgresql14-pljava-1.5.0nb1
==========================================================================
The following variables will affect the build process of this package,
postgresql14-pljava-1.5.0nb1.  Their current value is shown below:

        * PKG_JVM_DEFAULT = openjdk11
        * 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:

        * JAVA_BINPREFIX = /opt/local/bin/openjdk11
        * PKG_JAVA_HOME = /opt/local/java/openjdk11
        * PKG_JVM = openjdk11

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 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 apache-maven-[0-9]*: found apache-maven-3.8.3
=> Full dependency postgresql14-server>=0: found postgresql14-server-14.1nb1
=> Full dependency gcc10-libs>=10.4.0: found gcc10-libs-10.4.0
=> Full dependency openjdk11>=0: found openjdk11-11.0.16.1
=> Full dependency postgresql14-client>=14.0: found postgresql14-client-14.1nb1
===> Overriding tools for postgresql14-pljava-1.5.0nb1
===> Extracting for postgresql14-pljava-1.5.0nb1
/bin/cp /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/databases/postgresql-pljava/files/aol.netbsd.properties /home/pbulk/build/databases/postgresql-pljava/work/pljava-1_5_0/pljava-so
===> Patching for postgresql14-pljava-1.5.0nb1
=> Applying pkgsrc patches for postgresql14-pljava-1.5.0nb1
=> Verifying /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/databases/postgresql-pljava/patches/patch-pljava-so_src_main_c_Backend.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/databases/postgresql-pljava/patches/patch-pljava-so_src_main_c_Backend.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-pljava-so_src_main_c_Backend.c,v 1.1 2017/10/27 09:51:03 fhajny Exp $
|
|Set a default libjvm path, because we can and it saves user an awkward step.
|
|--- pljava-so/src/main/c/Backend.c.orig	2016-03-29 16:52:02.000000000 +0000
|+++ pljava-so/src/main/c/Backend.c
--------------------------
Patching file pljava-so/src/main/c/Backend.c using Plan A...
Hunk #1 succeeded at 1291.
done
===> Creating toolchain wrappers for postgresql14-pljava-1.5.0nb1
===> Configuring for postgresql14-pljava-1.5.0nb1
=> Setting default libjvm path
=> Fix SunOS build target
=> Checking for portability problems in extracted files