+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pkg-1.10.99.7nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pkg-1.10.99.7nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for pkg-1.10.99.7nb1
/opt/pkg/bin/bmake  all-recursive
Making all in compat
  CC       libbsd_compat_la-basename.lo
In file included from basename.c:31:
bsd_compat.h:170:3: error: #error "Your system has neither funopen nor fopencookie, cannot continue"
  170 | # error "Your system has neither funopen nor fopencookie, cannot continue"
      |   ^~~~~
*** [libbsd_compat_la-basename.lo] Error code 1

bmake[2]: stopped making "all" in /home/pbulk/build/pkgtools/pkg/work/pkg-1.10.99.7/compat
bmake[2]: 1 error

bmake[2]: stopped making "all" in /home/pbulk/build/pkgtools/pkg/work/pkg-1.10.99.7/compat

bmake[1]: stopped making "all-recursive" in /home/pbulk/build/pkgtools/pkg/work/pkg-1.10.99.7

bmake: stopped making "all" in /home/pbulk/build/pkgtools/pkg/work/pkg-1.10.99.7
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/pkgtools/pkg
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/pkgtools/pkg