+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gnuchess4-4.0.80/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gnuchess4-4.0.80/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for gnuchess4-4.0.80 cc -I. -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_LIBTERMCAP=1 -DHAVE_LIBCURSES=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_LONG=8 -DRETSIGTYPE=void -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_MEMSET=1 -DHAVE_SETVBUF=1 -DUSEINT -DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY -DAGING -DKILLT -DUNLIMITEDCAPS -DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"/usr/pkg/share/gnuchess4/gnuchess.hash\" -DLANGFILE=\"/usr/pkg/share/gnuchess4/gnuchess.lang\" -DSRCLANGFILE=\"./../misc/gnuchess.lang\" -DBINBOOK=\"/usr/pkg/share/gnuchess4/gnuchess.data\" -c ./main.c mv main.o mainN.o cc -I. -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_LIBTERMCAP=1 -DHAVE_LIBCURSES=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_LONG=8 -DRETSIGTYPE=void -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_MEMSET=1 -DHAVE_SETVBUF=1 -DUSEINT -DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY -DAGING -DKILLT -DUNLIMITEDCAPS -DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"/usr/pkg/share/gnuchess4/gnuchess.hash\" -DLANGFILE=\"/usr/pkg/share/gnuchess4/gnuchess.lang\" -DSRCLANGFILE=\"./../misc/gnuchess.lang\" -DBINBOOK=\"/usr/pkg/share/gnuchess4/gnuchess.data\" -DPGNECO=\"/usr/pkg/share/gnuchess4/eco.pgn\" -DBINECO=\"/usr/pkg/share/gnuchess4/gnuchess.eco\" -c ./book.c ./book.c: In function 'LOpeningBook': ./book.c:1024:5: warning: implicit declaration of function 'Ldisplay1'; did you mean 'bkdisplay'? [-Wimplicit-function-declaration] 1024 | Ldisplay1 (); | ^~~~~~~~~ | bkdisplay ./book.c:1044:17: warning: implicit declaration of function 'Ldisplay'; did you mean 'bkdisplay'? [-Wimplicit-function-declaration] 1044 | Ldisplay (Lmove, Lhint, OBB[x].count); | ^~~~~~~~ | bkdisplay ./book.c:1056:5: warning: implicit declaration of function 'Ldisplay2'; did you mean 'bkdisplay'? [-Wimplicit-function-declaration] 1056 | Ldisplay2 (); | ^~~~~~~~~ | bkdisplay ./book.c: In function 'EOpeningBook': ./book.c:1171:5: warning: implicit declaration of function 'Ldisplay3'; did you mean 'bkdisplay'? [-Wimplicit-function-declaration] 1171 | Ldisplay3 (); | ^~~~~~~~~ | bkdisplay ./book.c:1205:29: warning: implicit declaration of function 'Ldisplay4'; did you mean 'bkdisplay'? [-Wimplicit-function-declaration] 1205 | Ldisplay4 (E); | ^~~~~~~~~ | bkdisplay ./book.c: In function 'GetOpenings': ./book.c:637:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 637 | write (gfd, &ADMIN, sizeof (struct gdxadmin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./book.c:641:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 641 | write (gfd, &DATA, sizeof (struct gdxdata)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./book.c:692:47: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 692 | write (gfd, &DATA, sizeof (struct gdxdata)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./book.c:727:59: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 727 | write (gfd, &DATA, sizeof (struct gdxdata)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./book.c:770:35: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 770 | write (gfd, &DATA, sizeof (struct gdxdata)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./book.c:783:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 783 | write (gfd, &DATA, sizeof (struct gdxdata)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./book.c:791:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 791 | write (gfd, &ADMIN, sizeof (struct gdxadmin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./book.c:802:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 802 | read (gfd, &ADMIN, sizeof (struct gdxadmin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv book.o bookN.o cc -I. -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_LIBTERMCAP=1 -DHAVE_LIBCURSES=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_LONG=8 -DRETSIGTYPE=void -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_MEMSET=1 -DHAVE_SETVBUF=1 -DUSEINT -DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY -DAGING -DKILLT -DUNLIMITEDCAPS -DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"/usr/pkg/share/gnuchess4/gnuchess.hash\" -DLANGFILE=\"/usr/pkg/share/gnuchess4/gnuchess.lang\" -DSRCLANGFILE=\"./../misc/gnuchess.lang\" -c ./genmoves.c mv genmoves.o genmovesN.o cc -I. -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_LIBTERMCAP=1 -DHAVE_LIBCURSES=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_LONG=8 -DRETSIGTYPE=void -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_MEMSET=1 -DHAVE_SETVBUF=1 -DUSEINT -DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY -DAGING -DKILLT -DUNLIMITEDCAPS -DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"/usr/pkg/share/gnuchess4/gnuchess.hash\" -DLANGFILE=\"/usr/pkg/share/gnuchess4/gnuchess.lang\" -DSRCLANGFILE=\"./../misc/gnuchess.lang\" -c ./ataks.c cc -I. -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_LIBTERMCAP=1 -DHAVE_LIBCURSES=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_LONG=8 -DRETSIGTYPE=void -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_MEMSET=1 -DHAVE_SETVBUF=1 -DUSEINT -DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY -DAGING -DKILLT -DUNLIMITEDCAPS -DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"/usr/pkg/share/gnuchess4/gnuchess.hash\" -DLANGFILE=\"/usr/pkg/share/gnuchess4/gnuchess.lang\" -DSRCLANGFILE=\"./../misc/gnuchess.lang\" -c ./util.c mv util.o utilN.o cc -I. -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_LIBTERMCAP=1 -DHAVE_LIBCURSES=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_LONG=8 -DRETSIGTYPE=void -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_MEMSET=1 -DHAVE_SETVBUF=1 -DUSEINT -DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY -DAGING -DKILLT -DUNLIMITEDCAPS -DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"/usr/pkg/share/gnuchess4/gnuchess.hash\" -DLANGFILE=\"/usr/pkg/share/gnuchess4/gnuchess.lang\" -DSRCLANGFILE=\"./../misc/gnuchess.lang\" -c ./eval.c mv eval.o evalN.o cc -I. -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_LIBTERMCAP=1 -DHAVE_LIBCURSES=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_LONG=8 -DRETSIGTYPE=void -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_MEMSET=1 -DHAVE_SETVBUF=1 -DUSEINT -DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY -DAGING -DKILLT -DUNLIMITEDCAPS -DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"/usr/pkg/share/gnuchess4/gnuchess.hash\" -DLANGFILE=\"/usr/pkg/share/gnuchess4/gnuchess.lang\" -DSRCLANGFILE=\"./../misc/gnuchess.lang\" -c ./init.c cc -I. -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_LIBTERMCAP=1 -DHAVE_LIBCURSES=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_LONG=8 -DRETSIGTYPE=void -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_MEMSET=1 -DHAVE_SETVBUF=1 -DUSEINT -DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY -DAGING -DKILLT -DUNLIMITEDCAPS -DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"/usr/pkg/share/gnuchess4/gnuchess.hash\" -DLANGFILE=\"/usr/pkg/share/gnuchess4/gnuchess.lang\" -DSRCLANGFILE=\"./../misc/gnuchess.lang\" -c ./search.c ./search.c: In function 'pick': ./search.c:110:12: warning: type defaults to 'int' in declaration of 's0' [-Wimplicit-int] 110 | register s0; | ^~ In file included from ./search.c:27: ./ttable.c: In function 'TestHashFile': ./ttable.c:478:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 478 | fread (&n, sizeof (struct fileentry), 1, hashfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ttable.c: In function 'ProbeFTable': ./ttable.c:543:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 543 | fread (&t, sizeof (struct fileentry), 1, hashfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv search.o searchN.o cc -I. -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_LIBTERMCAP=1 -DHAVE_LIBCURSES=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_LONG=8 -DRETSIGTYPE=void -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_MEMSET=1 -DHAVE_SETVBUF=1 -DUSEINT -DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY -DAGING -DKILLT -DUNLIMITEDCAPS -DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"/usr/pkg/share/gnuchess4/gnuchess.hash\" -DLANGFILE=\"/usr/pkg/share/gnuchess4/gnuchess.lang\" -DSRCLANGFILE=\"./../misc/gnuchess.lang\" -c ./dspcom.c ./dspcom.c: In function 'InputCommand': ./dspcom.c:1184:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1184 | #endif XBOARD | ^~~~~~ ./dspcom.c: In function 'GetGame': ./dspcom.c:396:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 396 | fgets (fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~~ ./dspcom.c:411:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 411 | fgets (fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~~ ./dspcom.c:417:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 417 | fgets (fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~~ ./dspcom.c:425:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 425 | fgets (fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~~ ./dspcom.c:432:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 432 | fgets (fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~~ ./dspcom.c:439:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 439 | fgets (fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~~ ./dspcom.c:442:11: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 442 | fgets (fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~~ ./dspcom.c:481:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 481 | fgets (fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~~ ./dspcom.c:482:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 482 | fgets (fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~~ ./dspcom.c:483:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 483 | fgets (fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~~ ./dspcom.c: In function 'GetXGame': ./dspcom.c:565:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 565 | fgets (fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~~ mv dspcom.o dspcomN.o cc -I. -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_LIBTERMCAP=1 -DHAVE_LIBCURSES=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_LONG=8 -DRETSIGTYPE=void -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_MEMSET=1 -DHAVE_SETVBUF=1 -DUSEINT -DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY -DAGING -DKILLT -DUNLIMITEDCAPS -DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"/usr/pkg/share/gnuchess4/gnuchess.hash\" -DLANGFILE=\"/usr/pkg/share/gnuchess4/gnuchess.lang\" -DSRCLANGFILE=\"./../misc/gnuchess.lang\" -c ./uxdsp.c ./uxdsp.c: In function 'EditBoard': ./uxdsp.c:265:3: warning: implicit declaration of function 'ZeroRPT' [-Wimplicit-function-declaration] 265 | ZeroRPT (); | ^~~~~~~ ./uxdsp.c: At top level: ./uxdsp.c:905:1: warning: return type defaults to 'int' [-Wimplicit-int] 905 | Ldisplay3() | ^~~~~~~~~ cc -I. -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_LIBTERMCAP=1 -DHAVE_LIBCURSES=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_LONG=8 -DRETSIGTYPE=void -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_MEMSET=1 -DHAVE_SETVBUF=1 -DUSEINT -DCACHE -DGDX -DNULLMOVE -DWAY4PL64 -DHISTORY -DAGING -DKILLT -DUNLIMITEDCAPS -DPRUNE -DOLDTIME -DECO -DHASHSTATS -DHASHFILE=\"/usr/pkg/share/gnuchess4/gnuchess.hash\" -DLANGFILE=\"/usr/pkg/share/gnuchess4/gnuchess.lang\" -DSRCLANGFILE=\"./../misc/gnuchess.lang\" -o gnuchess mainN.o bookN.o genmovesN.o ataks.o utilN.o evalN.o init.o searchN.o dspcomN.o uxdsp.o -lcurses -ltermcap -lm /bin/ld: cannot find -lncurses collect2: error: ld returned 1 exit status *** Error code 1 Stop. bmake: stopped in /home/pbulk/build/games/gnuchess4/work/gnuchess-4.0.pl80/src *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/games/gnuchess4 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/games/gnuchess4