+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pkg-1.10.99.7nb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pkg-1.10.99.7nb1/work.log
===> Building for pkg-1.10.99.7nb1
--- all ---
/opt/local/bin/bmake  all-recursive
--- all-recursive ---
Making all in compat
--- libbsd_compat_la-basename.lo ---
--- libbsd_compat_la-closefrom.lo ---
--- libbsd_compat_la-dirname.lo ---
--- libbsd_compat_la-basename.lo ---
  CC       libbsd_compat_la-basename.lo
--- libbsd_compat_la-closefrom.lo ---
  CC       libbsd_compat_la-closefrom.lo
--- libbsd_compat_la-dirname.lo ---
  CC       libbsd_compat_la-dirname.lo
--- 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
--- libbsd_compat_la-closefrom.lo ---
In file included from closefrom.c:17:
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"
      |   ^~~~~
bsd_compat.h:172:1: error: unknown type name 'FILE'
  172 | FILE * funopen(const void *cookie, int (*readfn)(void *, char *, int),
      | ^~~~
bsd_compat.h:87:1: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'?
   86 | #include "humanize_number.h"
  +++ |+#include <stdio.h>
   87 | #endif
--- libbsd_compat_la-dirname.lo ---
In file included from dirname.c:19:
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"
      |   ^~~~~
bsd_compat.h:172:1: error: unknown type name 'FILE'
  172 | FILE * funopen(const void *cookie, int (*readfn)(void *, char *, int),
      | ^~~~
bsd_compat.h:87:1: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'?
   86 | #include "humanize_number.h"
  +++ |+#include <stdio.h>
   87 | #endif
--- libbsd_compat_la-closefrom.lo ---
*** [libbsd_compat_la-closefrom.lo] Error code 1

bmake[2]: stopped making "all" in /home/pbulk/build/pkgtools/pkg/work/pkg-1.10.99.7/compat
--- libbsd_compat_la-dirname.lo ---
*** [libbsd_compat_la-dirname.lo] Error code 1

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

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-trunk-x86_64/pkgtools/pkg
*** Error code 1

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