+ 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-dune-3.11.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ocaml-dune-3.11.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for dune-3.11.1.tar.gz
=> Checksum SHA512 OK for dune-3.11.1.tar.gz
===> Installing dependencies for ocaml-dune-3.11.1
==========================================================================
The following variables will affect the build process of this package,
ocaml-dune-3.11.1.  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.4.1
=> 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.6
=> Full dependency ocaml>=4.14.0: found ocaml-4.14.1
===> Overriding tools for ocaml-dune-3.11.1
===> Extracting for ocaml-dune-3.11.1
===> Patching for ocaml-dune-3.11.1
=> Applying pkgsrc patches for ocaml-dune-3.11.1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ocaml-dune/patches/patch-otherlibs_stdune__filesystem__stubs_readdir.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ocaml-dune/patches/patch-otherlibs_stdune__filesystem__stubs_readdir.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-otherlibs_stdune__filesystem__stubs_readdir.c,v 1.1 2023/11/05 21:26:42 jaapb Exp $
|
|--- otherlibs/stdune/dune_filesystem_stubs/readdir.c.orig	2023-10-09 11:08:29.000000000 +0000
|+++ otherlibs/stdune/dune_filesystem_stubs/readdir.c
--------------------------
Patching file otherlibs/stdune/dune_filesystem_stubs/readdir.c using Plan A...
Hunk #1 succeeded at 18.
Hunk #2 succeeded at 64.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ocaml-dune/patches/patch-vendor_notty_src-unix_native_winsize.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ocaml-dune/patches/patch-vendor_notty_src-unix_native_winsize.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-vendor_notty_src-unix_native_winsize.c,v 1.1 2023/12/04 13:56:34 jperkin Exp $
|
|SunOS build fix.
|
|--- vendor/notty/src-unix/native/winsize.c.orig	2023-12-04 13:26:08.056576737 +0000
|+++ vendor/notty/src-unix/native/winsize.c
--------------------------
Patching file vendor/notty/src-unix/native/winsize.c using Plan A...
Hunk #1 succeeded at 3.
done
===> Creating toolchain wrappers for ocaml-dune-3.11.1
===> Configuring for ocaml-dune-3.11.1
=> Checking for portability problems in extracted files