+ 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 => Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xjewel-1.6nb3 gcc -O -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DICON_WINDOW -DGETPWENT -I/opt/local/include -I/usr/include -c xw.c In file included from xw.c:34: xw.c: In function 'xw_sync_sleep': xw.h:62:28: 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:3: 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, from xw.c:34: /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); | ^~~~~~~~~~~~~~~ xw.c: In function 'xw_init': xw.c:402:11: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] 402 | *AppName=toupper(*AppName); | ^~~~~~~ gcc -O -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DICON_WINDOW -DGETPWENT -I/opt/local/include -I/usr/include -c jewel.c jewel.c: In function 'xw_key_event': jewel.c:145:6: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 145 | printf("Thankyou for playing...try again sometime!\n"); | ^~~~~~ jewel.c:145:6: warning: incompatible implicit declaration of built-in function 'printf' jewel.c:35:1: note: include '<stdio.h>' or provide a declaration of 'printf' 34 | #include "version.h" +++ |+#include <stdio.h> 35 | char *StartString="Press \140Space\047 to begin, or \140H\047 for Help"; jewel.c:207:6: warning: incompatible implicit declaration of built-in function 'printf' 207 | printf("Thankyou for playing...try again sometime!\n"); | ^~~~~~ jewel.c:207:6: note: include '<stdio.h>' or provide a declaration of 'printf' gcc -O -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DICON_WINDOW -DGETPWENT -I/opt/local/include -I/usr/include -c logic.c logic.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] 91 | Update_Board(piece, x, y) | ^~~~~~~~~~~~ gcc -O -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DICON_WINDOW -DGETPWENT -I/opt/local/include -I/usr/include -c panel.c panel.c: In function 'Dec_Rest': panel.c:151:6: warning: type of 'val' defaults to 'int' [-Wimplicit-int] 151 | BOOL Dec_Rest(val) | ^~~~~~~~ gcc -O -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DICON_WINDOW -DGETPWENT -I/opt/local/include -I/usr/include -c xhscore.c gcc -O -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DICON_WINDOW -DGETPWENT -I/opt/local/include -I/usr/include -c hscore.c hscore.c: In function 'Open_High_Score_File': hscore.c:81:18: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] 81 | if ((hscorefd = open(HSCORE_FILE, O_RDWR)) <0) | ^~~~ | popen hscore.c:81:36: error: 'O_RDWR' undeclared (first use in this function) 81 | if ((hscorefd = open(HSCORE_FILE, O_RDWR)) <0) | ^~~~~~ hscore.c:81:36: note: each undeclared identifier is reported only once for each function it appears in hscore.c:86:45: 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 hscore.c: In function 'Close_High_Score_File': hscore.c:122:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 122 | close(hscorefd); | ^~~~~ | pclose hscore.c: In function 'Add_High_Score': hscore.c:134:38: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 134 | memcpy(high_scores[i].name,getpwuid(getuid())->pw_name,MAX_NAME_LENGTH+1); | ^~~~~~ | getpwuid *** [hscore.o] Error code 1 bmake: stopped in /home/pbulk/build/games/xjewel/work/xjewel-1.6 1 error bmake: stopped in /home/pbulk/build/games/xjewel/work/xjewel-1.6 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/games/xjewel *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/games/xjewel