* Package: games-board/gnushogi-1.4.1-r1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gnushogi-1.4.1.tar.gz to /var/tmp/portage/games-board/gnushogi-1.4.1-r1/work >>> Source unpacked in /var/tmp/portage/games-board/gnushogi-1.4.1-r1/work >>> Preparing source in /var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/gnushogi-1.4.1-r1 --htmldir=/usr/share/doc/gnushogi-1.4.1-r1/html --libdir=/usr/lib64 --without-x --disable-xshogi configure: loading site script /usr/share/config.site configure: C compiler checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed configure: yacc/bison, lex/flex, and install checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c configure: X checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for X... disabled configure: libs checking for clrtoeol in -lcurses... no checking for pow in -lm... yes checking for tgoto in -ltermcap... no configure: header files checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking whether time.h and sys/time.h may both be included... yes configure: typedefs checking for an ANSI C-conforming const... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h configure: compiler characteristics checking size of long... 8 configure: library functions checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking return type of signal handlers... void checking for dup2... yes checking for gethostname... yes checking for gettimeofday... yes checking for memset... yes checking for pow... yes checking for strcasecmp... yes checking for strchr... yes checking for strerror... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for memcpy... yes checking for bcopy... yes checking for setvbuf... yes checking for setlinebuf... yes configure: creating ./config.status config.status: creating Makefile config.status: creating gnushogi/Makefile config.status: creating win32/config.h config.status: creating doc/Makefile config.status: creating xshogi/Makefile config.status: creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1 ... make -j1 cd ./gnushogi && make gnushogi make[1]: Entering directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/gnushogi' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c globals.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c init-common.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c pattern-common.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c attacks.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -DBOOK=\""lib64"/gnushogi.tbk\" -DBINBOOK=\""lib64"/gnushogi.bbk\" -c book.c book.c: In function ‘GetOpenings’: book.c:879:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=] 879 | sprintf(msg, "Book used %d(%d).", B.bookcount, B.booksize); | ~^ ~~~~~~~~~~~ | | | | int ULONG {aka long unsigned int} | %ld book.c:879:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=] 879 | sprintf(msg, "Book used %d(%d).", B.bookcount, B.booksize); | ~^ ~~~~~~~~~~ | | | | int ULONG {aka long unsigned int} | %ld book.c:650:20: warning: variable ‘xside’ set but not used [-Wunused-but-set-variable] 650 | unsigned short xside, side; | ^~~~~ book.c:705:13: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 705 | write(gfd, (char *)&ADMIN, sizeof_gdxadmin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ book.c:711:17: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 711 | write(gfd, (char *)&DATA, sizeof_gdxdata); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ book.c:611:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 611 | write(gfd, (char *)&DATA, sizeof_gdxdata); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ book.c:746:29: note: in expansion of macro ‘WriteData’ 746 | WriteData(); | ^~~~~~~~~ book.c:611:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 611 | write(gfd, (char *)&DATA, sizeof_gdxdata); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ book.c:784:45: note: in expansion of macro ‘WriteData’ 784 | WriteData(); | ^~~~~~~~~ book.c:611:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 611 | write(gfd, (char *)&DATA, sizeof_gdxdata); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ book.c:832:21: note: in expansion of macro ‘WriteData’ 832 | WriteData(); | ^~~~~~~~~ book.c:611:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 611 | write(gfd, (char *)&DATA, sizeof_gdxdata); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ book.c:841:13: note: in expansion of macro ‘WriteData’ 841 | WriteData(); | ^~~~~~~~~ book.c:603:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 603 | write(gfd, (char *)&ADMIN, sizeof_gdxadmin); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ book.c:845:13: note: in expansion of macro ‘WriteAdmin’ 845 | WriteAdmin(); | ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c commondsp.c commondsp.c: In function ‘SetOppTime’: commondsp.c:1462:15: warning: variable ‘sec’ set but not used [-Wunused-but-set-variable] 1462 | int m, t, sec; | ^~~ commondsp.c: In function ‘SetMachineTime’: commondsp.c:1497:15: warning: variable ‘sec’ set but not used [-Wunused-but-set-variable] 1497 | int m, t, sec; | ^~~ commondsp.c: In function ‘GetGame’: commondsp.c:441:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 441 | fgets(fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:459:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 459 | fgets(fname, 256, fd); /* empty */ | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:460:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 460 | fgets(fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:468:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 468 | fgets(fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:475:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 475 | fgets(fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:482:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 482 | fgets(fname, 256, fd); /* empty */ | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:486:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 486 | fgets(fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:536:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 536 | fgets(fname, 256, fd); /* empty */ | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:537:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 537 | fgets(fname, 256, fd); /* 9 8 7 ... */ | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:538:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 538 | fgets(fname, 256, fd); /* empty */ | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:539:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 539 | fgets(fname, 256, fd); /* p l n ... */ | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:544:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 544 | fgets(fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:570:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 570 | fgets(fname, 256, fd); /* empty */ | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:571:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 571 | fgets(fname, 256, fd); /* move score ... */ | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c: In function ‘GetXGame’: commondsp.c:818:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 818 | fgets(fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:828:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 828 | fgets(fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:830:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 830 | fgets(fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:834:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 834 | fgets(fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:885:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 885 | fgets(fname, 256, fd); | ^~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c dspwrappers.c dspwrappers.c: In function ‘RequestInputString’: dspwrappers.c:131:17: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] 131 | __FUNCTION__, bufsize); | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c eval.c eval.c: In function ‘KingScan’: eval.c:1137:60: warning: comparison of constant ‘2’ with boolean expression is always false [-Wbool-compare] 1137 | else if ((Captured[c2][p] && color[u]) == neutral) | ^~ eval.c: In function ‘AttackedPieceValue’: eval.c:1268:14: warning: variable ‘ds’ set but not used [-Wunused-but-set-variable] 1268 | short s, ds; | ^~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c genmove.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c init.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -DPATTERNFILE=\"../misc/gnushogi.pat\" -c makepattern.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c pat2inc.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -o pat2inc globals.o init-common.o pattern-common.o makepattern.o pat2inc.o -Wl,-O1 -Wl,--as-needed -lm ./pat2inc Pattern: 2102 bytes for 14 sequences with 128 patterns. x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c pattern.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c rawdsp.c rawdsp.c: In function ‘Raw_help’: rawdsp.c:316:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 316 | printf("Depth: %-12d Response time: %d sec\n", | ~^ | | | int | %ld 317 | MaxSearchDepth, MaxResponseTime/100); | ~~~~~~~~~~~~~~~~~~~ | | | long int rawdsp.c:324:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] 324 | printf("Time Control %s %d moves %d sec %d add %d depth\n", | ~^ | | | int | %ld 325 | (TCflag) ? "ON" : "OFF", 326 | TimeControl.moves[black], TimeControl.clock[black] / 100, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int rawdsp.c: In function ‘Raw_ShowPostnValue’: rawdsp.c:812:11: warning: variable ‘score’ set but not used [-Wunused-but-set-variable] 812 | short score; | ^~~~~ rawdsp.c: In function ‘Raw_doRequestInputString’: rawdsp.c:147:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 147 | scanf(fmt, buffer); | ^~~~~~~~~~~~~~~~~~ rawdsp.c: In function ‘Raw_Die’: rawdsp.c:267:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 267 | scanf("%s", s); | ^~~~~~~~~~~~~~ rawdsp.c: In function ‘Raw_EditBoard’: rawdsp.c:354:9: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 354 | scanf("%s", s); | ^~~~~~~~~~~~~~ rawdsp.c: In function ‘Raw_SetupBoard’: rawdsp.c:445:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 445 | fgets(s, 80, stdin); /* skip "setup" command */ | ^~~~~~~~~~~~~~~~~~~ rawdsp.c:449:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 449 | fgets(s, 80, stdin); | ^~~~~~~~~~~~~~~~~~~ rawdsp.c: In function ‘Raw_ChangeAlphaWindow’: rawdsp.c:659:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 659 | scanf("%hd", &WAwindow); | ^~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c:661:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 661 | scanf("%hd", &BAwindow); | ^~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function ‘Raw_ChangeBetaWindow’: rawdsp.c:669:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 669 | scanf("%hd", &WBwindow); | ^~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c:671:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 671 | scanf("%hd", &BBwindow); | ^~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function ‘Raw_SelectLevel’: rawdsp.c:711:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 711 | fgets(T, NO_SQUARES + 1, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function ‘Raw_ChangeSearchDepth’: rawdsp.c:774:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 774 | scanf("%hd", &MaxSearchDepth); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function ‘Raw_ChangeHashDepth’: rawdsp.c:783:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 783 | scanf("%hd", &HashDepth); | ^~~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c:785:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 785 | scanf("%hd", &HashMoveLimit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function ‘Raw_SetContempt’: rawdsp.c:793:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 793 | scanf("%hd", &contempt); | ^~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function ‘Raw_ChangeXwindow’: rawdsp.c:801:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 801 | scanf("%hd", &xwndw); | ^~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function ‘Raw_DoDebug’: rawdsp.c:838:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 838 | scanf("%s", s); | ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c search.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c tcontrl.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c util.c util.c: In function ‘ProbeFTable’: util.c:353:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 353 | fread(&t, sizeof(struct fileentry), 1, hashfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -DBINBOOK=\""lib64"/gnushogi.bbk\" -c main.c main.c: In function ‘main’: main.c:275:66: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 275 | printf("The file contains %d entries out of max %d\n", nr[0], i); | ~^ ~ | | | | int long int | %ld main.c:260:21: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 260 | fread(&n, sizeof(struct fileentry), 1, hashfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -o gnushogi globals.o init-common.o pattern-common.o attacks.o book.o commondsp.o dspwrappers.o eval.o genmove.o init.o pattern.o rawdsp.o search.o tcontrl.o util.o main.o -Wl,-O1 -Wl,--as-needed -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: rawdsp.o:(.bss+0x0): multiple definition of `DRAW'; globals.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:140: gnushogi] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/gnushogi' make: [Makefile:47: gnushogi_compile] Error 2 (ignored) cd ./gnushogi && make pat2inc make[1]: Entering directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/gnushogi' make[1]: 'pat2inc' is up to date. make[1]: Leaving directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/gnushogi' cd ./gnushogi && make sizetest make[1]: Entering directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/gnushogi' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -c sizetest.c sizetest.c: In function ‘main’: sizetest.c:247:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 247 | printf("history:\t%4d\tkByte\t[unsigned short:%d " | ~^ | | | int | %ld 248 | "* HISTORY_SIZE:%ld]\n", 249 | n, sizeof(unsigned short), (long)HISTORY_SIZE); | ~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -o sizetest sizetest.o -Wl,-O1 -Wl,--as-needed -lm make[1]: Leaving directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/gnushogi' cd ./gnushogi && make gnushogi.bbk make[1]: Entering directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/gnushogi' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -o gnushogi globals.o init-common.o pattern-common.o attacks.o book.o commondsp.o dspwrappers.o eval.o genmove.o init.o pattern.o rawdsp.o search.o tcontrl.o util.o main.o -Wl,-O1 -Wl,--as-needed -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: rawdsp.o:(.bss+0x0): multiple definition of `DRAW'; globals.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:140: gnushogi] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1/gnushogi' make: [Makefile:59: bbk] Error 2 (ignored) >>> Source compiled. >>> Test phase [not enabled]: games-board/gnushogi-1.4.1-r1 >>> Install games-board/gnushogi-1.4.1-r1 into /var/tmp/portage/games-board/gnushogi-1.4.1-r1/image/ !!! dobin: gnushogi/gnushogi does not exist * ERROR: games-board/gnushogi-1.4.1-r1::gentoo failed (install phase): * dobin failed * * If you need support, post the output of `emerge --info '=games-board/gnushogi-1.4.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-board/gnushogi-1.4.1-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-board:gnushogi-1.4.1-r1:20200130-221100.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1' * S: '/var/tmp/portage/games-board/gnushogi-1.4.1-r1/work/gnushogi-1.4.1' * QA Notice: file does not exist: * * dobin: gnushogi/gnushogi does not exist