+ 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/xsokoban-3.3cnb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xsokoban-3.3cnb1/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xsokoban-3.3cnb1 --- display.o --- --- main.o --- --- resources.o --- --- play.o --- --- display.o --- gcc -O -DNDEBUG -Wall -DROOTDIR="\"/opt/pkg/share/xsokoban\"" -DSAVEPATH="\"/var/opt/pkg/games/xsokoban\"" -DSCOREPATH="\"/var/opt/pkg/games/xsokoban/scores\"" -I/opt/pkg/include -c display.c In file included from display.c:16: externs.h:70:13: warning: conflicting types for built-in function 'bzero'; expected 'void(void *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 70 | extern void bzero(char *, int); | ^~~~~ --- main.o --- gcc -O -DNDEBUG -Wall -DROOTDIR="\"/opt/pkg/share/xsokoban\"" -DSAVEPATH="\"/var/opt/pkg/games/xsokoban\"" -DSCOREPATH="\"/var/opt/pkg/games/xsokoban/scores\"" -I/opt/pkg/include -c main.c --- resources.o --- gcc -O -DNDEBUG -Wall -DROOTDIR="\"/opt/pkg/share/xsokoban\"" -DSAVEPATH="\"/var/opt/pkg/games/xsokoban\"" -DSCOREPATH="\"/var/opt/pkg/games/xsokoban/scores\"" -I/opt/pkg/include -c resources.c --- play.o --- gcc -O -DNDEBUG -Wall -DROOTDIR="\"/opt/pkg/share/xsokoban\"" -DSAVEPATH="\"/var/opt/pkg/games/xsokoban\"" -DSCOREPATH="\"/var/opt/pkg/games/xsokoban/scores\"" -I/opt/pkg/include -c play.c --- main.o --- In file included from main.c:10: externs.h:70:13: warning: conflicting types for built-in function 'bzero'; expected 'void(void *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 70 | extern void bzero(char *, int); | ^~~~~ main.c:436:14: warning: 'GetGamePassword' defined but not used [-Wunused-function] 436 | static short GetGamePassword(void) | ^~~~~~~~~~~~~~~ --- resources.o --- In file included from resources.c:5: externs.h:70:13: warning: conflicting types for built-in function 'bzero'; expected 'void(void *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 70 | extern void bzero(char *, int); | ^~~~~ --- play.o --- In file included from play.c:8: externs.h:70:13: warning: conflicting types for built-in function 'bzero'; expected 'void(void *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 70 | extern void bzero(char *, int); | ^~~~~ play.c: In function 'Play': play.c:201:22: warning: variable 'ok' set but not used [-Wunused-but-set-variable] 201 | Bool ok; | ^~ --- score.o --- gcc -O -DNDEBUG -Wall -DROOTDIR="\"/opt/pkg/share/xsokoban\"" -DSAVEPATH="\"/var/opt/pkg/games/xsokoban\"" -DSCOREPATH="\"/var/opt/pkg/games/xsokoban/scores\"" -I/opt/pkg/include -c score.c --- screen.o --- --- save.o --- --- screen.o --- gcc -O -DNDEBUG -Wall -DROOTDIR="\"/opt/pkg/share/xsokoban\"" -DSAVEPATH="\"/var/opt/pkg/games/xsokoban\"" -DSCOREPATH="\"/var/opt/pkg/games/xsokoban/scores\"" -I/opt/pkg/include -c screen.c --- save.o --- gcc -O -DNDEBUG -Wall -DROOTDIR="\"/opt/pkg/share/xsokoban\"" -DSAVEPATH="\"/var/opt/pkg/games/xsokoban\"" -DSCOREPATH="\"/var/opt/pkg/games/xsokoban/scores\"" -I/opt/pkg/include -c save.c --- screen.o --- In file included from screen.c:5: externs.h:70:13: warning: conflicting types for built-in function 'bzero'; expected 'void(void *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 70 | extern void bzero(char *, int); | ^~~~~ --- save.o --- In file included from save.c:11: externs.h:70:13: warning: conflicting types for built-in function 'bzero'; expected 'void(void *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 70 | extern void bzero(char *, int); | ^~~~~ --- score.o --- In file included from score.c:24: externs.h:70:13: warning: conflicting types for built-in function 'bzero'; expected 'void(void *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 70 | extern void bzero(char *, int); | ^~~~~ --- screen.o --- screen.c: In function 'ReadScreen': screen.c:22:28: warning: '%d' directive writing between 1 and 6 bytes into a region of size 4 [-Wformat-overflow=] 22 | sprintf(fnam, "%s/screen.%d", SCREENPATH, level); | ^~ screen.c:22:17: note: directive argument in the range [-32768, 32767] 22 | sprintf(fnam, "%s/screen.%d", SCREENPATH, level); | ^~~~~~~~~~~~~~ screen.c:22:3: note: 'sprintf' output between 41 and 46 bytes into a destination of size 43 22 | sprintf(fnam, "%s/screen.%d", SCREENPATH, level); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- save.o --- save.c: In function 'SaveGame': save.c:31:13: error: implicit declaration of function 'htons' [-Wimplicit-function-declaration] 31 | packets = htons(packets); | ^~~~~ save.c:74:12: error: implicit declaration of function 'ntohs' [-Wimplicit-function-declaration] 74 | ppos.x = ntohs(ppos.x); | ^~~~~ *** [save.o] Error code 1 bmake: stopped making "xsokoban" in /home/pbulk/build/games/xsokoban/work/xsokoban --- play.o --- In function 'PushMan', inlined from 'Play' at play.c:133:6: play.c:705:6: warning: 'ox' may be used uninitialized [-Wmaybe-uninitialized] 705 | if (x > ox) ox--; | ^ play.c: In function 'Play': play.c:668:16: note: 'ox' was declared here 668 | int i, x, y, ox, oy, dist; | ^~ In function 'PushMan', inlined from 'Play' at play.c:133:6: play.c:707:6: warning: 'oy' may be used uninitialized [-Wmaybe-uninitialized] 707 | if (y > oy) oy--; | ^ play.c: In function 'Play': play.c:668:20: note: 'oy' was declared here 668 | int i, x, y, ox, oy, dist; | ^~ bmake: 1 error bmake: stopped making "xsokoban" in /home/pbulk/build/games/xsokoban/work/xsokoban *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xsokoban *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xsokoban