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

        * PKG_JVM_DEFAULT = openjdk11
        * SOLR_GROUP = solr
        * SOLR_HOME = /opt/local/solr
        * SOLR_LOGDIR = /var/log/solr
        * SOLR_PIDDIR = /var/run/solr
        * SOLR_PORT = 8983
        * SOLR_USER = solr
        * VARBASE = /var

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 pax>=20040802: found pax-20210219
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency lsof-[0-9]*: found lsof-4.91nb5
=> Full dependency openjdk11>=0: found openjdk11-11.0.16.1
=> Full dependency gcc10-libs>=10.4.0: found gcc10-libs-10.4.0
===> Overriding tools for apache-solr-8.11.1
===> Extracting for apache-solr-8.11.1
===> Patching for apache-solr-8.11.1
/bin/cp /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/databases/apache-solr/files/solr.in.sh /home/pbulk/build/databases/apache-solr/work/solr-8.11.1/solr.in.sh
/bin/cp /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/databases/apache-solr/files/log4j.properties /home/pbulk/build/databases/apache-solr/work/solr-8.11.1/log4j.properties
=> Applying pkgsrc patches for apache-solr-8.11.1
=> Verifying /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/databases/apache-solr/patches/patch-solr-bin
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/databases/apache-solr/patches/patch-solr-bin
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-solr-bin,v 1.2 2021/12/18 15:34:20 jym Exp $
|
|--- bin/solr.orig	2021-12-08 01:01:00.000000000 +0000
|+++ bin/solr
--------------------------
Patching file bin/solr using Plan A...
Hunk #1 succeeded at 85.
Hunk #2 succeeded at 2290.
done
===> Creating toolchain wrappers for apache-solr-8.11.1
===> Configuring for apache-solr-8.11.1
=> Substituting "paths" in solr.in.sh log4j.properties bin/solr
=> Replacing bash interpreter in bin/solr server/scripts/cloud-scripts/*.sh.
=> Checking for portability problems in extracted files