+ 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=10 WRKLOG=/tmp/bulklog/postgresql10-pljava-1.5.0nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=10 WRKLOG=/tmp/bulklog/postgresql10-pljava-1.5.0nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> 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 postgresql10-pljava-1.5.0nb2
==========================================================================
The following variables will affect the build process of this package,
postgresql10-pljava-1.5.0nb2.  Their current value is shown below:

        * PKG_JVM_DEFAULT (defined)
        * 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:

        * JAVA_BINPREFIX = /opt/pkg/bin/openjdk8
        * PKG_JAVA_HOME = /opt/pkg/java/openjdk8
        * PKG_JVM = openjdk8

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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency apache-maven-[0-9]*: found apache-maven-3.8.3
=> Full dependency postgresql10-server>=0: found postgresql10-server-10.22
=> Full dependency openjdk8>=1.8.0: found openjdk8-1.8.342
=> Full dependency postgresql10-client>=10.21nb1: found postgresql10-client-10.22nb1
===> Overriding tools for postgresql10-pljava-1.5.0nb2
===> Extracting for postgresql10-pljava-1.5.0nb2
/bin/cp /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/postgresql-pljava/files/aol.netbsd.properties /home/pbulk/build/databases/postgresql-pljava/work/pljava-1_5_0/pljava-so
===> Patching for postgresql10-pljava-1.5.0nb2
=> Applying pkgsrc patches for postgresql10-pljava-1.5.0nb2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/postgresql-pljava/patches/patch-pljava-so_src_main_c_Backend.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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 postgresql10-pljava-1.5.0nb2
===> Configuring for postgresql10-pljava-1.5.0nb2
=> Setting default libjvm path
=> Fix SunOS build target
=> Checking for portability problems in extracted files