+ 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/xbomber-0.8nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xbomber-0.8nb2/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xbomber-0.8nb2 --- xbomber.o --- --- window.o --- --- connect.o --- --- hints.o --- --- xbomber.o --- gcc xbomber.c -c -I/opt/pkg/include -DSOUNDS=\"/opt/pkg/share/xbomber/sounds\" -DPIXMAPS=\"/opt/pkg/share/xbomber/pixmap\" -DLEVELS=\"/opt/pkg/share/xbomber/level\" -DBITMAPS=\"/opt/pkg/share/xbomber/bitmaps\" --- window.o --- gcc window.c -c -I/opt/pkg/include -DSOUNDS=\"/opt/pkg/share/xbomber/sounds\" -DPIXMAPS=\"/opt/pkg/share/xbomber/pixmap\" -DLEVELS=\"/opt/pkg/share/xbomber/level\" -DBITMAPS=\"/opt/pkg/share/xbomber/bitmaps\" --- connect.o --- gcc connect.c -c -I/opt/pkg/include -DSOUNDS=\"/opt/pkg/share/xbomber/sounds\" -DPIXMAPS=\"/opt/pkg/share/xbomber/pixmap\" -DLEVELS=\"/opt/pkg/share/xbomber/level\" -DBITMAPS=\"/opt/pkg/share/xbomber/bitmaps\" --- hints.o --- gcc hints.c -c -I/opt/pkg/include -DSOUNDS=\"/opt/pkg/share/xbomber/sounds\" -DPIXMAPS=\"/opt/pkg/share/xbomber/pixmap\" -DLEVELS=\"/opt/pkg/share/xbomber/level\" -DBITMAPS=\"/opt/pkg/share/xbomber/bitmaps\" --- visual.o --- gcc visual.c -c -I/opt/pkg/include -DSOUNDS=\"/opt/pkg/share/xbomber/sounds\" -DPIXMAPS=\"/opt/pkg/share/xbomber/pixmap\" -DLEVELS=\"/opt/pkg/share/xbomber/level\" -DBITMAPS=\"/opt/pkg/share/xbomber/bitmaps\" --- gc.o --- gcc gc.c -c -I/opt/pkg/include -DSOUNDS=\"/opt/pkg/share/xbomber/sounds\" -DPIXMAPS=\"/opt/pkg/share/xbomber/pixmap\" -DLEVELS=\"/opt/pkg/share/xbomber/level\" -DBITMAPS=\"/opt/pkg/share/xbomber/bitmaps\" --- color.o --- gcc color.c -c -I/opt/pkg/include -DSOUNDS=\"/opt/pkg/share/xbomber/sounds\" -DPIXMAPS=\"/opt/pkg/share/xbomber/pixmap\" -DLEVELS=\"/opt/pkg/share/xbomber/level\" -DBITMAPS=\"/opt/pkg/share/xbomber/bitmaps\" --- xbomber.o --- xbomber.c: In function 'eventloop': xbomber.c:1582:9: error: implicit declaration of function 'usleep' [-Wimplicit-function-declaration] 1582 | usleep(time_padding); | ^~~~~~ xbomber.c: In function 'setup': xbomber.c:1650:15: error: implicit declaration of function 'pipe' [-Wimplicit-function-declaration] 1650 | if (pipe(pipefds) < 0) | ^~~~ xbomber.c:1656:17: error: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 1656 | pid = fork(); | ^~~~ xbomber.c:1665:15: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 1665 | close(0); | ^~~~~ | pclose xbomber.c:1666:15: error: implicit declaration of function 'dup'; did you mean 'dup3'? [-Wimplicit-function-declaration] 1666 | dup(pipefds[0]); | ^~~ | dup3 xbomber.c:1767:23: error: implicit declaration of function 'read'; did you mean 'real'? [-Wimplicit-function-declaration] 1767 | z = read(0, &c, 1); | ^~~~ | real xbomber.c:1813:23: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 1813 | write(devaudio_fd, &sound_data[sound_position], | ^~~~~ | fwrite xbomber.c: In function 'initlevel': xbomber.c:2983:5: error: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 2983 | sleep(1); | ^~~~~ --- randnum.o --- --- xbomber.o --- *** [xbomber.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/xbomber/work/xbomber --- randnum.o --- gcc randnum.c -c -I/opt/pkg/include -DSOUNDS=\"/opt/pkg/share/xbomber/sounds\" -DPIXMAPS=\"/opt/pkg/share/xbomber/pixmap\" -DLEVELS=\"/opt/pkg/share/xbomber/level\" -DBITMAPS=\"/opt/pkg/share/xbomber/bitmaps\" randnum.c: In function 'randinit': randnum.c:25:3: error: implicit declaration of function 'srand' [-Wimplicit-function-declaration] 25 | srand(z); | ^~~~~ randnum.c: In function 'randnum': randnum.c:33:7: error: implicit declaration of function 'rand'; did you mean 'randnum'? [-Wimplicit-function-declaration] 33 | v = rand(); | ^~~~ | randnum *** [randnum.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/xbomber/work/xbomber bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/games/xbomber/work/xbomber *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xbomber *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xbomber