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

        * BDB185_DEFAULT = db4
        * BDB_DEFAULT = db4
        * KRB5_DEFAULT = mit-krb5
        * PYTHON_VERSION_DEFAULT = 311
        * 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:

        * BDBBASE (defined, but empty)
        * BDB_LIBS = -ldb4
        * BDB_TYPE = db4
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = mit-krb5
        * PYPACKAGE = python38

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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc13>=13.1.0: found gcc13-13.2.0
=> Full dependency expat>=2.0.0nb1: found expat-2.5.0
=> Full dependency gcc13-libs>=13.2.0: found gcc13-libs-13.2.0
=> Full dependency mit-krb5>=1.18.4nb1: found mit-krb5-1.19.3nb1
=> Full dependency neon>=0.32.5nb3: found neon-0.32.5nb3
=> Full dependency python38>=3.8.18nb1: found python38-3.8.18nb4
=> Full dependency subversion-base>=1.14.2nb8: found subversion-base-1.14.2nb8
===> Overriding tools for py38-pysvn-1.9.20
===> Extracting for py38-pysvn-1.9.20
===> Patching for py38-pysvn-1.9.20
=> Applying pkgsrc patches for py38-pysvn-1.9.20
=> Verifying /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/devel/py-pysvn/patches/patch-setup__configure.py
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/devel/py-pysvn/patches/patch-setup__configure.py
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-setup__configure.py,v 1.1 2021/09/30 16:15:10 hauke Exp $
|
|Add support for NetBSD toolchain.
|
|--- setup_configure.py.orig	2021-09-29 20:38:06.063225727 +0000
|+++ setup_configure.py
--------------------------
Patching file setup_configure.py using Plan A...
Hunk #1 succeeded at 182 (offset -2 lines).
Hunk #2 succeeded at 215 (offset -2 lines).
Hunk #3 succeeded at 1353 (offset -2 lines).
done
===> Creating toolchain wrappers for py38-pysvn-1.9.20
/usr/bin/mkdir -p /home/pbulk/build/devel/py-pysvn/work/.buildlink/bin && /usr/bin/ln -fs apr-1-config /home/pbulk/build/devel/py-pysvn/work/.buildlink/bin/apr-config
/usr/bin/mkdir -p /home/pbulk/build/devel/py-pysvn/work/.buildlink/bin && /usr/bin/ln -fs apu-1-config /home/pbulk/build/devel/py-pysvn/work/.buildlink/bin/apu-config
===> Configuring for py38-pysvn-1.9.20
=> Substituting "path" in setup_configure.py
=> Checking for portability problems in extracted files
Info: Configure for python 3.8.18 in exec_prefix /opt/local
Info: Using C compiler gcc
Info: Using C++ compiler g++
Info: Checking for PyCXX include in ../Import/pycxx-7.1.5/CXX/Version.hxx
Info: Found  PyCXX include in /home/pbulk/build/devel/py-pysvn/work/pysvn-1.9.20/Import/pycxx-7.1.5
Info: Checking for PyCXX Source in /home/pbulk/build/devel/py-pysvn/work/pysvn-1.9.20/Import/pycxx-7.1.5/Src/cxxsupport.cxx
Info: Found   PyCXX Source in /home/pbulk/build/devel/py-pysvn/work/pysvn-1.9.20/Import/pycxx-7.1.5/Src
Info: Checking for SVN include in /usr/include/subversion-1/svn_client.h
Info: Checking for SVN include in /usr/local/include/subversion-1/svn_client.h
Info: Checking for SVN include in /usr/pkg/include/subversion-1/svn_client.h
Info: Checking for SVN include in /usr/include/subversion-1/svn_client.h
Info: Checking for SVN include in /usr/local/include/subversion-1/svn_client.h
Info: Checking for SVN include in /usr/pkg/include/subversion-1/svn_client.h
Error: Cannot find SVN include svn_client.h - use --svn-inc-dir
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/devel/py-pysvn
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/devel/py-pysvn