+ 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/rtfm-1.0/work.log
+ su pbulk -c '"$@"' make /usr/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
--- rtfm ---
cc -o rtfm rtfm.c -pipe -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib
rtfm.c: In function 'search_texinfo':
rtfm.c:264:48: error: 'struct dirent' has no member named 'd_namlen'
     if (strcasecmp(".info.gz", &ent->d_name[ent->d_namlen - 8])
                                                ^
rtfm.c:265:48: error: 'struct dirent' has no member named 'd_namlen'
         && strcasecmp(".info", &ent->d_name[ent->d_namlen - 5]))
                                                ^
rtfm.c:238:8: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result]
  getcwd(startdir, sizeof(startdir));
        ^
rtfm.c:252:8: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
   chdir(info_paths[i]);
        ^
rtfm.c:321:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
  chdir(startdir);
       ^
*** [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-el7-trunk-x86_64/textproc/rtfm
*** Error code 1

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