+ 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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 'GetOpenings': ./book.c:637:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (gfd, &ADMIN, sizeof (struct gdxadmin)); ^ ./book.c:641:15: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (gfd, &DATA, sizeof (struct gdxdata)); ^ ./book.c:692:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (gfd, &DATA, sizeof (struct gdxdata)); ^ ./book.c:727:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (gfd, &DATA, sizeof (struct gdxdata)); ^ ./book.c:770:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (gfd, &DATA, sizeof (struct gdxdata)); ^ ./book.c:783:15: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (gfd, &DATA, sizeof (struct gdxdata)); ^ ./book.c:791:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (gfd, &ADMIN, sizeof (struct gdxadmin)); ^ ./book.c:802:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (gfd, &ADMIN, sizeof (struct gdxadmin)); ^ mv book.o bookN.o cc -I. -pipe -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 In file included from ./search.c:27:0: ./ttable.c: In function 'TestHashFile': ./ttable.c:478:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&n, sizeof (struct fileentry), 1, hashfile); ^ ./ttable.c: In function 'ProbeFTable': ./ttable.c:543:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&t, sizeof (struct fileentry), 1, hashfile); ^ mv search.o searchN.o cc -I. -pipe -O2 -D_FORTIFY_SOURCE=2 -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 [enabled by default] #endif XBOARD ^ ./dspcom.c: In function 'GetGame': ./dspcom.c:396:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (fname, 256, fd); ^ ./dspcom.c:411:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (fname, 256, fd); ^ ./dspcom.c:417:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (fname, 256, fd); ^ ./dspcom.c:425:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (fname, 256, fd); ^ ./dspcom.c:432:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (fname, 256, fd); ^ ./dspcom.c:439:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (fname, 256, fd); ^ ./dspcom.c:442:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (fname, 256, fd); ^ ./dspcom.c:481:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (fname, 256, fd); ^ ./dspcom.c:482:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (fname, 256, fd); ^ ./dspcom.c:483:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (fname, 256, fd); ^ ./dspcom.c: In function 'GetXGame': ./dspcom.c:565:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (fname, 256, fd); ^ mv dspcom.o dspcomN.o cc -I. -pipe -O2 -D_FORTIFY_SOURCE=2 -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 cc -I. -pipe -O2 -D_FORTIFY_SOURCE=2 -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-el7-trunk-x86_64/games/gnuchess4 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/games/gnuchess4