+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xjewel-1.6nb3/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xjewel-1.6nb3/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xjewel-1.6nb3 --- xw.o --- --- jewel.o --- --- logic.o --- --- panel.o --- --- xw.o --- gcc -O -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/local/include -I/usr/include -c xw.c --- jewel.o --- gcc -O -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/local/include -I/usr/include -c jewel.c --- logic.o --- gcc -O -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/local/include -I/usr/include -c logic.c --- panel.o --- gcc -O -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/local/include -I/usr/include -c panel.c --- xw.o --- In file included from xw.c:34: xw.c: In function 'xw_sync_sleep': xw.h:62:34: warning: passing argument 1 of 'poll' from incompatible pointer type [-Wincompatible-pointer-types] 62 | # define ms_sleep(ms) poll(__JUNK,(unsigned long)0,ms) | ^~~~~~ | | | int * xw.c:120:17: note: in expansion of macro 'ms_sleep' 120 | ms_sleep(ms-SyncTime); | ^~~~~~~~ In file included from /usr/include/poll.h:38, from xw.h:51: /usr/include/sys/poll.h:152:10: note: expected 'struct pollfd *' but argument is of type 'int *' 152 | int poll(struct pollfd *, nfds_t, int); | ^~~~~~~~~~~~~~~ --- xhscore.o --- gcc -O -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/local/include -I/usr/include -c xhscore.c --- hscore.o --- gcc -O -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/local/include -I/usr/include -c hscore.c hscore.c: In function 'Open_High_Score_File': hscore.c:81:43: error: 'O_RDWR' undeclared (first use in this function) 81 | if ((hscorefd = open(HSCORE_FILE, O_RDWR)) <0) | ^~~~~~ hscore.c:81:43: note: each undeclared identifier is reported only once for each function it appears in hscore.c:86:66: error: 'O_CREAT' undeclared (first use in this function); did you mean 'FCREAT'? 86 | if ((hscorefd = open(HSCORE_FILE, O_RDWR|O_CREAT, 0666)) <0) | ^~~~~~~ | FCREAT --- game.o --- --- hscore.o --- *** [hscore.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/xjewel/work/xjewel-1.6 --- game.o --- gcc -O -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/local/include -I/usr/include -c game.c bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/games/xjewel/work/xjewel-1.6 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/xjewel *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/xjewel