=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for solr-8.5.2.tgz
=> Checksum RMD160 OK for solr-8.5.2.tgz
=> Checksum SHA512 OK for solr-8.5.2.tgz
===> Installing dependencies for apache-solr-8.5.2
==========================================================================
The following variables will affect the build process of this package,
apache-solr-8.5.2.  Their current value is shown below:

        * PKG_JVM_DEFAULT (defined)
        * SOLR_GROUP = solr
        * SOLR_HOME = /usr/pkg/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 = /usr/pkg/bin/openjdk11
        * PKG_JAVA_HOME = /usr/pkg/java/openjdk11
        * PKG_JVM = openjdk11

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency lsof-[0-9]*: found lsof-4.91nb2
=> Full dependency bash-[0-9]*: found bash-5.0.17
=> Full dependency openjdk11>=1.11.0.5.8: found openjdk11-1.11.0.7.10nb3
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Overriding tools for apache-solr-8.5.2
===> Extracting for apache-solr-8.5.2
===> Patching for apache-solr-8.5.2
/bin/cp /data/pkgsrc/databases/apache-solr/files/solr.in.sh /data/scratch/databases/apache-solr/work/solr-8.5.2/solr.in.sh
/bin/cp /data/pkgsrc/databases/apache-solr/files/log4j.properties /data/scratch/databases/apache-solr/work/solr-8.5.2/log4j.properties
=> Applying pkgsrc patches for apache-solr-8.5.2
=> Verifying /data/pkgsrc/databases/apache-solr/patches/patch-solr-bin
=> Applying pkgsrc patch /data/pkgsrc/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.1 2020/06/09 22:20:01 jym Exp $
|
|Use paths more suitable with a pkgsrc install.
|
|--- bin/solr.orig	2020-04-08 05:03:49.000000000 +0000
|+++ bin/solr
--------------------------
Patching file bin/solr using Plan A...
Hunk #1 succeeded at 85.
Hunk #2 succeeded at 1943.
Hunk #3 succeeded at 2237.
done
===> Creating toolchain wrappers for apache-solr-8.5.2
===> Configuring for apache-solr-8.5.2
=> 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