+ 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/socket-1.1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/socket-1.1/work.log ===> Building for socket-1.1 --- +all --- --- +all --- --- so_release.o --- --- socket.o --- --- siglist.o --- cc -DUSE_INET6 -DHAVE_SYS_PARAM_H -Wall -O -c siglist.c --- so_release.o --- cc -DUSE_INET6 -DHAVE_SYS_PARAM_H -Wall -O -c so_release.c --- socket.o --- cc -DUSE_INET6 -DHAVE_SYS_PARAM_H -Wall -O -c socket.c --- io.o --- cc -DUSE_INET6 -DHAVE_SYS_PARAM_H -Wall -O -c io.c --- siglist.o --- siglist.c: In function 'initialize_siglist': siglist.c:223:35: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 223 | (char *) malloc (10 + strlen ("Unknown Signal #")); | ^~~~~~ siglist.c:38:1: note: include '<string.h>' or provide a declaration of 'strlen' 37 | # include <sys/param.h> +++ |+#include <string.h> 38 | #endif siglist.c:223:35: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 223 | (char *) malloc (10 + strlen ("Unknown Signal #")); | ^~~~~~ siglist.c:223:35: note: include '<string.h>' or provide a declaration of 'strlen' --- utils.o --- cc -DUSE_INET6 -DHAVE_SYS_PARAM_H -Wall -O -c utils.c --- io.o --- io.c: In function 'do_write': io.c:76:9: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 76 | bcopy(buffer, buffer2, size) ; | ^~~~~ io.c:76:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] --- socketp.o --- cc -DUSE_INET6 -DHAVE_SYS_PARAM_H -Wall -O -c socketp.c --- utils.o --- utils.c: In function 'init_signals': utils.c:80:19: error: variable 'svec' has initializer but incomplete type 80 | static struct sigvec svec = { exitsig, ~0, 0 } ; | ^~~~~~ utils.c:80:35: warning: excess elements in struct initializer 80 | static struct sigvec svec = { exitsig, ~0, 0 } ; | ^~~~~~~ utils.c:80:35: note: (near initialization for 'svec') utils.c:80:44: warning: excess elements in struct initializer 80 | static struct sigvec svec = { exitsig, ~0, 0 } ; | ^ utils.c:80:44: note: (near initialization for 'svec') utils.c:80:48: warning: excess elements in struct initializer 80 | static struct sigvec svec = { exitsig, ~0, 0 } ; | ^ utils.c:80:48: note: (near initialization for 'svec') utils.c:80:26: error: storage size of 'svec' isn't known 80 | static struct sigvec svec = { exitsig, ~0, 0 } ; | ^~~~ utils.c:110:13: warning: implicit declaration of function 'sigvec'; did you mean 'sigset'? [-Wimplicit-function-declaration] 110 | sigvec(i, &svec, NULL) ; | ^~~~~~ | sigset utils.c:80:26: warning: unused variable 'svec' [-Wunused-variable] 80 | static struct sigvec svec = { exitsig, ~0, 0 } ; | ^~~~ *** [utils.o] Error code 1 make[1]: stopped making "all" in /home/pbulk/build/sysutils/socket/work/socket-1.1 make[1]: 1 error make[1]: stopped making "all" in /home/pbulk/build/sysutils/socket/work/socket-1.1 *** [+all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/sysutils/socket/work/socket-1.1 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/sysutils/socket/work/socket-1.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/socket *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/socket