+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ocaml-dbm-1.3/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ocaml-dbm-1.3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ocaml-/camldbm-1.3.tar.gz
=> Checksum SHA512 OK for ocaml-/camldbm-1.3.tar.gz
===> Installing dependencies for ocaml-dbm-1.3
==========================================================================
The following variables will affect the build process of this package,
ocaml-dbm-1.3.  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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency gdbm>=1.18.1: found gdbm-1.23
=> Full dependency ocaml>=4.14.0: found ocaml-4.14.0
===> Overriding tools for ocaml-dbm-1.3
===> Extracting for ocaml-dbm-1.3
===> Patching for ocaml-dbm-1.3
=> Applying pkgsrc patches for ocaml-dbm-1.3
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/databases/ocaml-dbm/patches/patch-Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/databases/ocaml-dbm/patches/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile,v 1.3 2022/05/04 08:56:02 jaapb Exp $
|
|Make native code compilation optional and use INSTALL_* macros
|
|--- Makefile.orig	2021-10-09 14:48:02.000000000 +0000
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 11.
Hunk #2 succeeded at 21.
Hunk #3 succeeded at 64.
Hunk #4 succeeded at 84.
done
===> Creating toolchain wrappers for ocaml-dbm-1.3
===> Configuring for ocaml-dbm-1.3
=> Checking for portability problems in extracted files
Configuring for OCaml version 4.14.0

NDBM not found, the "camldbm" library cannot be built.
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/databases/ocaml-dbm
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/databases/ocaml-dbm