+ 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/spegla-1.1p4nb1/work.log
+ su pbulk -c '"$@"' make /usr/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
--- jftp.o ---
--- parserow.o ---
--- jftp.o ---
cc -pipe -O2 -D_FORTIFY_SOURCE=2 -Wall    -c jftp.c
--- parserow.o ---
cc -pipe -O2 -D_FORTIFY_SOURCE=2 -Wall    -c parserow.c
In file included from spegla.h:48:0,
                 from parserow.h:31,
                 from parserow.c:55:
spegla.h: In function 'fifo_spf_walk':
container.h:527:11: warning: pointer targets in passing argument 2 of 'fifo_walk' differ in signedness [-Wpointer-sign]
  ((struct fifo_list *)f, pos, (void **)data) )      \
           ^
container.h:354:34: note: in definition of macro 'DEF_F_DECL'
  return (ret_t)CC_3(PRE,_,f_name)arg2;       \
                                  ^
container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS'
 FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE)
 ^
spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE'
 FIFO_TYPE(spf, struct sp_file)
 ^
container.h:167:5: note: expected 'ssize_t *' but argument is of type 'size_t *'
 int fifo_walk(struct fifo_list *, ssize_t *pos, TYPE **data);
     ^
spegla.h: In function 'fifo_spf_walk_back':
container.h:531:11: warning: pointer targets in passing argument 2 of 'fifo_walk_back' differ in signedness [-Wpointer-sign]
  ((struct fifo_list *)f, pos, (void **)data) )      \
           ^
container.h:354:34: note: in definition of macro 'DEF_F_DECL'
  return (ret_t)CC_3(PRE,_,f_name)arg2;       \
                                  ^
container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS'
 FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE)
 ^
spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE'
 FIFO_TYPE(spf, struct sp_file)
 ^
container.h:168:5: note: expected 'ssize_t *' but argument is of type 'size_t *'
 int fifo_walk_back(struct fifo_list *, ssize_t *pos, TYPE **data);
     ^
--- jftp.o ---
jftp.c: In function 'ftp_port':
jftp.c:553:42: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign]
   if (getsockname(c->ftp_listen, (struct sockaddr *) &sin2, &len) < 0) {
                                          ^
In file included from jftp.c:39:0:
/usr/include/sys/socket.h:128:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
 extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
            ^
jftp.c: In function 'ftp_dir':
jftp.c:910:2: warning: implicit declaration of function 'strlcpy' [-Wimplicit-function-declaration]
  strlcpy(buf, c->ftp_remote_dir, PATH_MAX);
  ^
--- spegla.o ---
cc -pipe -O2 -D_FORTIFY_SOURCE=2 -Wall    -c spegla.c
In file included from spegla.h:48:0,
                 from spegla.c:70:
spegla.h: In function 'fifo_spf_walk':
container.h:527:11: warning: pointer targets in passing argument 2 of 'fifo_walk' differ in signedness [-Wpointer-sign]
  ((struct fifo_list *)f, pos, (void **)data) )      \
           ^
container.h:354:34: note: in definition of macro 'DEF_F_DECL'
  return (ret_t)CC_3(PRE,_,f_name)arg2;       \
                                  ^
container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS'
 FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE)
 ^
spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE'
 FIFO_TYPE(spf, struct sp_file)
 ^
container.h:167:5: note: expected 'ssize_t *' but argument is of type 'size_t *'
 int fifo_walk(struct fifo_list *, ssize_t *pos, TYPE **data);
     ^
spegla.h: In function 'fifo_spf_walk_back':
container.h:531:11: warning: pointer targets in passing argument 2 of 'fifo_walk_back' differ in signedness [-Wpointer-sign]
  ((struct fifo_list *)f, pos, (void **)data) )      \
           ^
container.h:354:34: note: in definition of macro 'DEF_F_DECL'
  return (ret_t)CC_3(PRE,_,f_name)arg2;       \
                                  ^
container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS'
 FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE)
 ^
spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE'
 FIFO_TYPE(spf, struct sp_file)
 ^
container.h:168:5: note: expected 'ssize_t *' but argument is of type 'size_t *'
 int fifo_walk_back(struct fifo_list *, ssize_t *pos, TYPE **data);
     ^
spegla.c: In function 'print_stats':
spegla.c:224:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t' [-Wformat=]
    connection->ftp_recd);
    ^
spegla.c:230:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t' [-Wformat=]
    connection->ftp_sent);
    ^
spegla.c: In function 'check_minfree':
spegla.c:714:16: error: storage size of 'f' isn't known
  struct statfs f;
                ^
spegla.c:725:2: warning: implicit declaration of function 'statfs' [-Wimplicit-function-declaration]
  if (statfs(path, &f) < 0)
  ^
spegla.c:714:16: warning: unused variable 'f' [-Wunused-variable]
  struct statfs f;
                ^
spegla.c: In function 'main':
spegla.c:1297:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result]
  (void) getcwd(start_wd, (size_t)PATH_MAX);
  ^
spegla.c:1364:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
  (void) chdir(start_wd);
  ^
*** [spegla.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-el7-trunk-x86_64/net/spegla
*** Error code 1

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