+ 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_manuals':
rtfm.c:158:9: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration]
  158 |         asprintf(&bad_val, "%s: nothing appropriate", keyword);
      |         ^~~~~~~~
      |         vsprintf
rtfm.c: In function 'search_texinfo':
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.c:238:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
  238 |         getcwd(startdir, sizeof(startdir));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rtfm.c:252:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  252 |                 chdir(info_paths[i]);
      |                 ^~~~~~~~~~~~~~~~~~~~
rtfm.c:321:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  321 |         chdir(startdir);
      |         ^~~~~~~~~~~~~~~
*** [rtfm] Error code 1

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

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

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/textproc/rtfm
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/textproc/rtfm