+ 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/libixp-0.4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libixp-0.4/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for libixp-0.4 MAKE all libixp/ gmake[1]: Entering directory '/home/pbulk/build/devel/libixp/work/libixp-0.4/libixp' HEADER include/ixp_fcall.h from fcall.h.nounion CC libixp/client.o CC libixp/convert.o CC libixp/error.o CC libixp/intmap.o : warning: "VERSION" redefined : note: this is the location of the previous definition libixp/error.c:53:9: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 53 | strncpy(tmp, buf, sizeof(tmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc: warning: .: linker input file unused because linking not done : warning: "VERSION" redefined : note: this is the location of the previous definition gcc: warning: .: linker input file unused because linking not done CC libixp/message.o CC libixp/request.o : warning: "VERSION" redefined : note: this is the location of the previous definition libixp/convert.c:17:1: warning: no previous prototype for 'ixp_puint' [-Wmissing-prototypes] 17 | ixp_puint(IxpMsg *msg, uint size, uint *val) { | ^~~~~~~~~ In function 'ixp_pu16', inlined from 'ixp_pstring' at libixp/convert.c:89:2: libixp/convert.c:68:13: warning: 'len' may be used uninitialized [-Wmaybe-uninitialized] 68 | v = *val; | ^~~~ libixp/convert.c:85:16: note: 'len' was declared here 85 | ushort len; | ^~~ In function 'ixp_pu16', inlined from 'ixp_pstrings' at libixp/convert.c:118:4: libixp/convert.c:68:13: warning: 'len' may be used uninitialized [-Wmaybe-uninitialized] 68 | v = *val; | ^~~~ libixp/convert.c:106:16: note: 'len' was declared here 106 | ushort len; | ^~~ libixp/convert.c:137:27: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 137 | s += len; | ~~^~~~~~ libixp/convert.c:104:16: note: 's' was declared here 104 | uchar *s; | ^ In function 'ixp_pu16', inlined from 'ixp_pstat' at libixp/convert.c:185:2: libixp/convert.c:68:13: warning: 'size' may be used uninitialized [-Wmaybe-uninitialized] 68 | v = *val; | ^~~~ libixp/convert.c:180:16: note: 'size' was declared here 180 | ushort size; | ^~~~ gcc: warning: .: linker input file unused because linking not done CC libixp/rpc.o : warning: "VERSION" redefined : note: this is the location of the previous definition libixp/client.c:384:27: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 384 | memcpy(buf+len, fcall.data, fcall.count); | ^ libixp/client.c:428:34: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 428 | fcall.data = buf + len; | ^ gcc: warning: .: linker input file unused because linking not done CC libixp/server.o : warning: "VERSION" redefined : note: this is the location of the previous definition libixp/message.c:79:1: warning: no previous prototype for 'ixp_pfcall' [-Wmissing-prototypes] 79 | ixp_pfcall(IxpMsg *msg, Fcall *fcall) { | ^~~~~~~~~~ gcc: warning: .: linker input file unused because linking not done CC libixp/socket.o : warning: "VERSION" redefined : note: this is the location of the previous definition gcc: warning: .: linker input file unused because linking not done : warning: "VERSION" redefined : note: this is the location of the previous definition In file included from /usr/include/sys/types.h:687, from /usr/include/sys/socket.h:49, from libixp/server.c:7: libixp/server.c:54:9: error: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 54 | FD_ZERO(&s->rd); | ^~~~~~~ libixp/server.c:10:1: note: include '' or provide a declaration of 'memset' 9 | #include "ixp_local.h" +++ |+#include 10 | : warning: "VERSION" redefined : note: this is the location of the previous definition gcc: warning: .: linker input file unused because linking not done gmake[1]: *** [../mk/hdr.mk:10: server.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... CC libixp/thread.o : warning: "VERSION" redefined : note: this is the location of the previous definition libixp/thread.c:8:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 8 | errbuf() { | ^~~~~~ gcc: warning: .: linker input file unused because linking not done : warning: "VERSION" redefined : note: this is the location of the previous definition libixp/socket.c:50:29: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 50 | memset(sa, 0, sizeof(sa)); | ^ In function 'sock_unix', inlined from 'announce_unix' at libixp/socket.c:88:7: libixp/socket.c:53:9: warning: 'strncpy' specified bound 108 equals destination size [-Wstringop-truncation] 53 | strncpy(sa->sun_path, address, sizeof(sa->sun_path)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sock_unix', inlined from 'dial_unix' at libixp/socket.c:68:7: libixp/socket.c:53:9: warning: 'strncpy' specified bound 108 equals destination size [-Wstringop-truncation] 53 | strncpy(sa->sun_path, address, sizeof(sa->sun_path)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc: warning: .: linker input file unused because linking not done gmake[1]: Leaving directory '/home/pbulk/build/devel/libixp/work/libixp-0.4/libixp' gmake: *** [mk/dir.mk:12: dall] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libixp *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libixp