+ 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/netmaj-2.0.7nb15/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/netmaj-2.0.7nb15/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for netmaj-2.0.7nb15 cc -I. -Ilib -DNETMAJ_LIB=\"/opt/pkg/lib/netmaj\" -DHAVE_GETTIMEOFDAY -DUSE_SGTTY -DSYSV -DUSE_RAND -DNO_KEYPAD -I/opt/pkg/include/ncurses -c server.c In file included from server.c:29: pai.h:22:25: error: conflicting types for 'rand'; have 'long int(void)' 22 | #define random rand | ^~~~ In file included from /usr/include/stdlib.h:41, from ss.h:34, from global.h:24, from server.c:30: /usr/include/iso/stdlib_iso.h:153:12: note: previous declaration of 'rand' with type 'int(void)' 153 | extern int rand(void); | ^~~~ server.c:72:1: warning: return type defaults to 'int' [-Wimplicit-int] 72 | main(argc,argv) | ^~~~ server.c: In function 'main': server.c:129:9: warning: implicit declaration of function 'pf_init' [-Wimplicit-function-declaration] 129 | pf_init(gp,"server",argv[0]); | ^~~~~~~ server.c:130:9: warning: implicit declaration of function 'rule_init' [-Wimplicit-function-declaration] 130 | rule_init(gp); | ^~~~~~~~~ server.c:131:9: warning: implicit declaration of function 'pack_rule' [-Wimplicit-function-declaration] 131 | pack_rule(&rule); | ^~~~~~~~~ server.c:182:41: warning: implicit declaration of function 'msgWrites' [-Wimplicit-function-declaration] 182 | msgWrites(gp,buf,new); | ^~~~~~~~~ server.c:196:41: warning: implicit declaration of function 'optprot' [-Wimplicit-function-declaration] 196 | optprot(gp,new,name[0],name+1); | ^~~~~~~ server.c:205:37: warning: implicit declaration of function 'talk_pg' [-Wimplicit-function-declaration] 205 | if (talk_pg(gp,j)) { | ^~~~~~~ server.c:255:25: warning: implicit declaration of function 'game' [-Wimplicit-function-declaration] 255 | game(gp); | ^~~~ server.c:262:33: warning: implicit declaration of function 'after_game' [-Wimplicit-function-declaration] 262 | after_game(gp); | ^~~~~~~~~~ server.c: At top level: server.c:278:1: warning: return type defaults to 'int' [-Wimplicit-int] 278 | talk_pg(gp,from) global_t *gp; { | ^~~~~~~ server.c: In function 'talk_pg': server.c:278:1: warning: type of 'from' defaults to 'int' [-Wimplicit-int] server.c:284:17: warning: implicit declaration of function 'talk' [-Wimplicit-function-declaration] 284 | talk(gp,from,buf+strlen(MSG_COMMENTX)); | ^~~~ server.c:286:17: warning: implicit declaration of function 'runauto' [-Wimplicit-function-declaration] 286 | runauto(buf+4); | ^~~~~~~ server.c: At top level: server.c:293:1: warning: return type defaults to 'int' [-Wimplicit-int] 293 | runauto(buf) char *buf; { | ^~~~~~~ server.c:308:1: warning: return type defaults to 'int' [-Wimplicit-int] 308 | talk(gp,from,msg) global_t *gp; char *msg; { | ^~~~ server.c: In function 'talk': server.c:308:1: warning: type of 'from' defaults to 'int' [-Wimplicit-int] server.c: At top level: server.c:354:1: warning: return type defaults to 'int' [-Wimplicit-int] 354 | msgSelect(gp,time_out) global_t *gp; int time_out; { | ^~~~~~~~~ server.c:358:1: warning: return type defaults to 'int' [-Wimplicit-int] 358 | msgIsRead(gp,p) global_t *gp; { | ^~~~~~~~~ server.c: In function 'msgIsRead': server.c:358:1: warning: type of 'p' defaults to 'int' [-Wimplicit-int] server.c: At top level: server.c:362:1: warning: return type defaults to 'int' [-Wimplicit-int] 362 | optprot(gp,from,opt,msg) global_t *gp; char *msg; { | ^~~~~~~ server.c: In function 'optprot': server.c:362:1: warning: type of 'from' defaults to 'int' [-Wimplicit-int] server.c:362:1: warning: type of 'opt' defaults to 'int' [-Wimplicit-int] server.c: At top level: server.c:390:1: warning: return type defaults to 'int' [-Wimplicit-int] 390 | after_game(gp) global_t *gp; { | ^~~~~~~~~~ *** [server.o] Error code 1 bmake: stopped in /home/pbulk/build/games/netmaj/work/netmaj 1 error bmake: stopped in /home/pbulk/build/games/netmaj/work/netmaj *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/netmaj *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/netmaj