+ 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/bfs-1.5.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bfs-1.5.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for bfs-1.5.1
gcc -D__EXTENSIONS__ -D_ATFILE_SOURCE -D_BSD_SOURCE -D_DARWIN_C_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DBFS_VERSION=\"1.5.1\"  -std=c99 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MD -MP -MF bftw.d -c bftw.c -o bftw.o
gcc -D__EXTENSIONS__ -D_ATFILE_SOURCE -D_BSD_SOURCE -D_DARWIN_C_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DBFS_VERSION=\"1.5.1\"  -std=c99 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MD -MP -MF color.d -c color.c -o color.o
gcc -D__EXTENSIONS__ -D_ATFILE_SOURCE -D_BSD_SOURCE -D_DARWIN_C_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DBFS_VERSION=\"1.5.1\"  -std=c99 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MD -MP -MF darray.d -c darray.c -o darray.o
gcc -D__EXTENSIONS__ -D_ATFILE_SOURCE -D_BSD_SOURCE -D_DARWIN_C_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DBFS_VERSION=\"1.5.1\"  -std=c99 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MD -MP -MF diag.d -c diag.c -o diag.o
gcc -D__EXTENSIONS__ -D_ATFILE_SOURCE -D_BSD_SOURCE -D_DARWIN_C_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DBFS_VERSION=\"1.5.1\"  -std=c99 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MD -MP -MF dstring.d -c dstring.c -o dstring.o
gcc -D__EXTENSIONS__ -D_ATFILE_SOURCE -D_BSD_SOURCE -D_DARWIN_C_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DBFS_VERSION=\"1.5.1\"  -std=c99 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MD -MP -MF eval.d -c eval.c -o eval.o
gcc -D__EXTENSIONS__ -D_ATFILE_SOURCE -D_BSD_SOURCE -D_DARWIN_C_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DBFS_VERSION=\"1.5.1\"  -std=c99 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MD -MP -MF exec.d -c exec.c -o exec.o
gcc -D__EXTENSIONS__ -D_ATFILE_SOURCE -D_BSD_SOURCE -D_DARWIN_C_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DBFS_VERSION=\"1.5.1\"  -std=c99 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MD -MP -MF fsade.d -c fsade.c -o fsade.o
fsade.c: In function 'bfs_check_acl_type':
fsade.c:123:21: warning: implicit declaration of function 'acl_get_file' [-Wimplicit-function-declaration]
  123 |         acl_t acl = acl_get_file(path, type);
      |                     ^~~~~~~~~~~~
fsade.c:123:21: error: invalid initializer
fsade.c:124:13: error: wrong type argument to unary exclamation mark
  124 |         if (!acl) {
      |             ^
fsade.c:133:9: error: unknown type name 'acl_entry_t'; did you mean 'aclent_t'?
  133 |         acl_entry_t entry;
      |         ^~~~~~~~~~~
      |         aclent_t
fsade.c:134:27: warning: implicit declaration of function 'acl_get_entry' [-Wimplicit-function-declaration]
  134 |         for (int status = acl_get_entry(acl, ACL_FIRST_ENTRY, &entry);
      |                           ^~~~~~~~~~~~~
fsade.c:134:46: error: 'ACL_FIRST_ENTRY' undeclared (first use in this function)
  134 |         for (int status = acl_get_entry(acl, ACL_FIRST_ENTRY, &entry);
      |                                              ^~~~~~~~~~~~~~~
fsade.c:134:46: note: each undeclared identifier is reported only once for each function it appears in
fsade.c:134:9: error: declaration of non-variable 'acl_get_entry' in 'for' loop initial declaration
  134 |         for (int status = acl_get_entry(acl, ACL_FIRST_ENTRY, &entry);
      |         ^~~
fsade.c:142:42: error: 'ACL_NEXT_ENTRY' undeclared (first use in this function); did you mean 'EACL_NO_ACL_ENTRY'?
  142 |              status = acl_get_entry(acl, ACL_NEXT_ENTRY, &entry)) {
      |                                          ^~~~~~~~~~~~~~
      |                                          EACL_NO_ACL_ENTRY
fsade.c:158:18: error: incompatible type for argument 1 of 'acl_free'
  158 |         acl_free(acl);
      |                  ^~~
      |                  |
      |                  acl_t {aka struct acl_info}
In file included from fsade.c:26:
/usr/include/sys/acl.h:296:22: note: expected 'acl_t *' {aka 'struct acl_info *'} but argument is of type 'acl_t' {aka 'struct acl_info'}
  296 | extern void acl_free(acl_t *);
      |                      ^~~~~~~
fsade.c: In function 'bfs_check_acl':
fsade.c:183:48: error: 'ACL_TYPE_ACCESS' undeclared (first use in this function)
  183 |                 ret = bfs_check_acl_type(path, ACL_TYPE_ACCESS);
      |                                                ^~~~~~~~~~~~~~~
fsade.c:190:48: error: 'ACL_TYPE_DEFAULT' undeclared (first use in this function); did you mean 'ACL_DEFAULT'?
  190 |                 ret = bfs_check_acl_type(path, ACL_TYPE_DEFAULT);
      |                                                ^~~~~~~~~~~~~~~~
      |                                                ACL_DEFAULT
gmake: *** [Makefile:104: fsade.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/bfs
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/bfs