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

        * CURSES_DEFAULT = ncurses
        * OCAML_USE_OPT_COMPILER = yes

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses
        * TERMCAP_TYPE = curses

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 gmake>=3.81: found gmake-4.3nb3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency ocaml-findlib>=1.9.3nb1: found ocaml-findlib-1.9.3nb1
=> Full dependency ocaml>=4.14.0: found ocaml-4.14.0
===> Overriding tools for ocaml-xml-light-2.4nb2
===> Extracting for ocaml-xml-light-2.4nb2
===> Patching for ocaml-xml-light-2.4nb2
=> Applying pkgsrc patches for ocaml-xml-light-2.4nb2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ocaml-xml-light/patches/patch-Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ocaml-xml-light/patches/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile,v 1.1 2018/11/29 10:45:37 jaapb Exp $
|
|NATDYNLINK determined from pkgsrc settings
|--- Makefile.orig	2014-01-20 01:52:59.000000000 +0000
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 12.
done
===> Creating toolchain wrappers for ocaml-xml-light-2.4nb2
===> Configuring for ocaml-xml-light-2.4nb2
=> Checking for portability problems in extracted files