+ 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 -Wall -c jftp.c --- parserow.o --- cc -pipe -O2 -Wall -c parserow.c In file included from spegla.h:48, from parserow.h:31, from parserow.c:55: spegla.h: In function 'fifo_spf_walk': container.h:527:26: 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 *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} int fifo_walk(struct fifo_list *, ssize_t *pos, TYPE **data); ^~~~~~~~~ spegla.h: In function 'fifo_spf_walk_back': container.h:531:26: 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 *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} int fifo_walk_back(struct fifo_list *, ssize_t *pos, TYPE **data); ^~~~~~~~~~~~~~ --- jftp.o --- jftp.c: In function 'ftp_port': jftp.c:553:61: 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: /usr/include/sys/socket.h:116:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * 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'; did you mean 'strncpy'? [-Wimplicit-function-declaration] strlcpy(buf, c->ftp_remote_dir, PATH_MAX); ^~~~~~~ strncpy --- spegla.o --- cc -pipe -O2 -Wall -c spegla.c In file included from spegla.h:48, from spegla.c:70: spegla.h: In function 'fifo_spf_walk': container.h:527:26: 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 *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} int fifo_walk(struct fifo_list *, ssize_t *pos, TYPE **data); ^~~~~~~~~ spegla.h: In function 'fifo_spf_walk_back': container.h:531:26: 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 *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} int fifo_walk_back(struct fifo_list *, ssize_t *pos, TYPE **data); ^~~~~~~~~~~~~~ spegla.c: In function 'print_stats': spegla.c:219:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] e_warnx("bytes recieved : %llu", ~~~^ %lu spegla.c:224:4: connection->ftp_recd); ~~~~~~~~~~~~~~~~~~~~ spegla.c:225:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] e_warnx("bytes sent : %llu", ~~~^ %lu spegla.c:230:4: 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:6: warning: implicit declaration of function 'statfs'; did you mean 'stat'? [-Wimplicit-function-declaration] if (statfs(path, &f) < 0) ^~~~~~ stat spegla.c:714:16: warning: unused variable 'f' [-Wunused-variable] struct statfs f; ^ spegla.c: In function 'main': spegla.c:1283:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (atexit(remove_lock) < 0) ^~ spegla.c:1286:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' lock_file = param.lockfile; ^~~~~~~~~ spegla.c:1297:9: 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:9: 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 making "all" in /home/pbulk/build/net/spegla/work/spegla-1.1p4 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/net/spegla/work/spegla-1.1p4 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/spegla *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/spegla