+ 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/spegla-1.1p4nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spegla-1.1p4nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for spegla-1.1p4nb1
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall    -c jftp.c
In file included from jftp.c:58:
jftp.h:71:2: error: unknown type name 'u_int64_t'
   71 |  u_int64_t ftp_recd;
      |  ^~~~~~~~~
jftp.h:72:2: error: unknown type name 'u_int64_t'
   72 |  u_int64_t ftp_sent;
      |  ^~~~~~~~~
jftp.c: In function 'ftp_req':
jftp.c:225:15: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  225 |   if ((nfmt = alloca(strlen(fmt) + 3)) == NULL) {
      |               ^~~~~~
jftp.c:225:15: warning: incompatible implicit declaration of built-in function 'alloca'
jftp.c: In function 'ftp_login':
jftp.c:357:4: error: 'u_int8_t' undeclared (first use in this function); did you mean 'uint8_t'?
  357 |   (u_int8_t) hp->h_addr[0], (u_int8_t) hp->h_addr[1],
      |    ^~~~~~~~
      |    uint8_t
jftp.c:357:4: note: each undeclared identifier is reported only once for each function it appears in
jftp.c:357:13: error: expected ')' before 'hp'
  357 |   (u_int8_t) hp->h_addr[0], (u_int8_t) hp->h_addr[1],
      |             ^~~
      |             )
jftp.c: In function 'ftp_dir':
jftp.c:907:11: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'?
  907 |  char buf[PATH_MAX];
      |           ^~~~~~~~
      |           AF_MAX
jftp.c:907:7: warning: unused variable 'buf' [-Wunused-variable]
  907 |  char buf[PATH_MAX];
      |       ^~~
*** [jftp.o] Error code 1

bmake: stopped in /home/pbulk/build/net/spegla/work/spegla-1.1p4
1 error

bmake: stopped in /home/pbulk/build/net/spegla/work/spegla-1.1p4
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/spegla
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/spegla