+ 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/rtfm-1.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rtfm-1.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for rtfm-1.0
gcc -o rtfm rtfm.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wl,-R/opt/pkg/lib
rtfm.c: In function 'search_texinfo':
rtfm.c:255:32: error: 'struct dirent' has no member named 'd_type'
  255 |                         if (ent->d_type == DT_REG) {
      |                                ^~
rtfm.c:255:44: error: 'DT_REG' undeclared (first use in this function)
  255 |                         if (ent->d_type == DT_REG) {
      |                                            ^~~~~~
rtfm.c:255:44: note: each undeclared identifier is reported only once for each function it appears in
rtfm.c:264:78: error: 'struct dirent' has no member named 'd_namlen'; did you mean 'd_name'?
  264 |                                 if (strcasecmp(".info.gz", &ent->d_name[ent->d_namlen - 8])
      |                                                                              ^~~~~~~~
      |                                                                              d_name
rtfm.c:265:78: error: 'struct dirent' has no member named 'd_namlen'; did you mean 'd_name'?
  265 |                                     && strcasecmp(".info", &ent->d_name[ent->d_namlen - 5]))
      |                                                                              ^~~~~~~~
      |                                                                              d_name
*** [rtfm] Error code 1

bmake: stopped making "all" in /home/pbulk/build/textproc/rtfm/work/rtfm-1.0
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/textproc/rtfm/work/rtfm-1.0
*** Error code 2

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

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