+ 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:33: warning: pointer targets in passing argument 2 of 'fifo_walk' differ in signedness [-Wpointer-sign] 527 | ((struct fifo_list *)f, pos, (void **)data) ) \ | ^~~ | | | size_t * {aka long unsigned int *} container.h:354:41: note: in definition of macro 'DEF_F_DECL' 354 | return (ret_t)CC_3(PRE,_,f_name)arg2; \ | ^~~~ container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS' 548 | FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE' 119 | FIFO_TYPE(spf, struct sp_file) | ^~~~~~~~~ container.h:167:44: note: expected 'ssize_t *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 167 | int fifo_walk(struct fifo_list *, ssize_t *pos, TYPE **data); | ~~~~~~~~~^~~ spegla.h: In function 'fifo_spf_walk_back': container.h:531:33: warning: pointer targets in passing argument 2 of 'fifo_walk_back' differ in signedness [-Wpointer-sign] 531 | ((struct fifo_list *)f, pos, (void **)data) ) \ | ^~~ | | | size_t * {aka long unsigned int *} container.h:354:41: note: in definition of macro 'DEF_F_DECL' 354 | return (ret_t)CC_3(PRE,_,f_name)arg2; \ | ^~~~ container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS' 548 | FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE' 119 | FIFO_TYPE(spf, struct sp_file) | ^~~~~~~~~ container.h:168:49: note: expected 'ssize_t *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 168 | int fifo_walk_back(struct fifo_list *, ssize_t *pos, TYPE **data); | ~~~~~~~~~^~~ --- jftp.o --- jftp.c: In function 'ftp_port': jftp.c:553:75: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 553 | if (getsockname(c->ftp_listen, (struct sockaddr *) &sin2, &len) < 0) { | ^~~~ | | | int * In file included from jftp.c:39: /usr/include/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ jftp.c: In function 'ftp_dir': jftp.c:910:9: warning: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration] 910 | 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:33: warning: pointer targets in passing argument 2 of 'fifo_walk' differ in signedness [-Wpointer-sign] 527 | ((struct fifo_list *)f, pos, (void **)data) ) \ | ^~~ | | | size_t * {aka long unsigned int *} container.h:354:41: note: in definition of macro 'DEF_F_DECL' 354 | return (ret_t)CC_3(PRE,_,f_name)arg2; \ | ^~~~ container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS' 548 | FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE' 119 | FIFO_TYPE(spf, struct sp_file) | ^~~~~~~~~ container.h:167:44: note: expected 'ssize_t *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 167 | int fifo_walk(struct fifo_list *, ssize_t *pos, TYPE **data); | ~~~~~~~~~^~~ spegla.h: In function 'fifo_spf_walk_back': container.h:531:33: warning: pointer targets in passing argument 2 of 'fifo_walk_back' differ in signedness [-Wpointer-sign] 531 | ((struct fifo_list *)f, pos, (void **)data) ) \ | ^~~ | | | size_t * {aka long unsigned int *} container.h:354:41: note: in definition of macro 'DEF_F_DECL' 354 | return (ret_t)CC_3(PRE,_,f_name)arg2; \ | ^~~~ container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS' 548 | FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE' 119 | FIFO_TYPE(spf, struct sp_file) | ^~~~~~~~~ container.h:168:49: note: expected 'ssize_t *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 168 | int fifo_walk_back(struct fifo_list *, ssize_t *pos, TYPE **data); | ~~~~~~~~~^~~ spegla.c: In function 'print_stats': spegla.c:219:53: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 219 | e_warnx("bytes recieved : %llu", | ~~~^ | | | long long unsigned int | %lu ...... 224 | connection->ftp_recd); | ~~~~~~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} spegla.c:225:53: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 225 | e_warnx("bytes sent : %llu", | ~~~^ | | | long long unsigned int | %lu ...... 230 | connection->ftp_sent); | ~~~~~~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} spegla.c: In function 'check_minfree': spegla.c:714:24: error: storage size of 'f' isn't known 714 | struct statfs f; | ^ spegla.c:725:13: warning: implicit declaration of function 'statfs'; did you mean 'stat'? [-Wimplicit-function-declaration] 725 | if (statfs(path, &f) < 0) | ^~~~~~ | stat spegla.c:714:24: warning: unused variable 'f' [-Wunused-variable] 714 | struct statfs f; | ^ spegla.c: In function 'main': spegla.c:1283:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1283 | if (atexit(remove_lock) < 0) | ^~ spegla.c:1286:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1286 | lock_file = param.lockfile; | ^~~~~~~~~ spegla.c:1297:16: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 1297 | (void) getcwd(start_wd, (size_t)PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spegla.c:1364:16: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1364 | (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-el9-trunk-x86_64/net/spegla *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/spegla