+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ocaml-cairo-0.6.4nb8/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ocaml-cairo-0.6.4nb8/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for ocaml-cairo-0.6.4nb8
File "src/dune", line 12, characters 0-132:
12 | (rule
13 |  (targets c_flags.sexp c_library_flags.sexp cairo_ocaml.h)
14 |  (deps    cairo_ocaml.h.p)
15 |  (action  (run ../config/discover.exe)))
(cd _build/default/src && ../config/discover.exe)
which: /home/pbulk/build/graphics/ocaml-cairo/work/.tools/bin/pkg-config
-> not found
compiling c program:
 | #include <stdio.h>
 | #include <cairo.h>
 | 
 | 
 | #define DUNE_ABS(x) ((x >= 0)? x: -(x))
 | #define DUNE_D0(x) ('0'+(DUNE_ABS(x)/1         )%10)
 | #define DUNE_D1(x) ('0'+(DUNE_ABS(x)/10        )%10), DUNE_D0(x)
 | #define DUNE_D2(x) ('0'+(DUNE_ABS(x)/100       )%10), DUNE_D1(x)
 | #define DUNE_D3(x) ('0'+(DUNE_ABS(x)/1000      )%10), DUNE_D2(x)
 | #define DUNE_D4(x) ('0'+(DUNE_ABS(x)/10000     )%10), DUNE_D3(x)
 | #define DUNE_D5(x) ('0'+(DUNE_ABS(x)/100000    )%10), DUNE_D4(x)
 | #define DUNE_D6(x) ('0'+(DUNE_ABS(x)/1000000   )%10), DUNE_D5(x)
 | #define DUNE_D7(x) ('0'+(DUNE_ABS(x)/10000000  )%10), DUNE_D6(x)
 | #define DUNE_D8(x) ('0'+(DUNE_ABS(x)/100000000 )%10), DUNE_D7(x)
 | #define DUNE_D9(x) ('0'+(DUNE_ABS(x)/1000000000)%10), DUNE_D8(x)
 | #define DUNE_SIGN(x) ((x >= 0)? '0': '-')
 | 
 | 
 | const char s0[] = {
 |   'B', 'E', 'G', 'I', 'N', '-', '0', '-',
 |   DUNE_SIGN((CAIRO_VERSION_MAJOR)),
 |   DUNE_D9((CAIRO_VERSION_MAJOR)),
 |   '-', 'E', 'N', 'D'
 | };
 | 
 | 
 | const char s1[] = {
 |   'B', 'E', 'G', 'I', 'N', '-', '1', '-',
 |   DUNE_SIGN((CAIRO_VERSION_MINOR)),
 |   DUNE_D9((CAIRO_VERSION_MINOR)),
 |   '-', 'E', 'N', 'D'
 | };
 | 
run: cc -O2 -fno-strict-aliasing -fwrapv  -pthread  -fPIC -pipe -O2 -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/include/cairo -I /usr/pkg/lib/ocaml -o /tmp/build_354ff4_dune/ocaml-configuratorb5f941/c-test-0/test.o -c /tmp/build_354ff4_dune/ocaml-configuratorb5f941/c-test-0/test.c -lm
-> process exited with code 1
-> stdout:
-> stderr:
 | /tmp/build_354ff4_dune/ocaml-configuratorb5f941/c-test-0/test.c:2:10: fatal error: cairo.h: No such file or directory
 |     2 | #include <cairo.h>
 |       |          ^~~~~~~~~
 | compilation terminated.
Error: failed to compile program
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/graphics/ocaml-cairo
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/graphics/ocaml-cairo