* Package: games-board/gnushogi-1.3 * Repository: gentoo * Maintainer: games@gentoo.org * USE: elibc_glibc kernel_linux test userland_GNU x86 >>> Unpacking source... >>> Unpacking gnushogi-1.3.tar.gz to /var/tmp/portage/games-board/gnushogi-1.3/work >>> Source unpacked in /var/tmp/portage/games-board/gnushogi-1.3/work >>> Preparing source in /var/tmp/portage/games-board/gnushogi-1.3/work/gnushogi-1.3 ... * Fixing config.h.in * Fixing configure * Fixing configure.in * Fixing gnushogi/Makefile.in * Applying 1.3-errno.patch ... [ ok ] * Applying gnushogi-1.3-gcc4.patch ... [ ok ] * Applying gnushogi-1.3-parallel.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-board/gnushogi-1.3/work/gnushogi-1.3 ... ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/games --libdir=/usr/games/lib --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games --without-x --without-xshogi creating cache ./config.cache checking for C compiler... checking for gcc... i686-pc-linux-gnu-gcc checking whether the C compiler (i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu) works... yes checking whether the C compiler (i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu) is a cross-compiler... no checking whether we are using GNU C... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for yacc/bison, lex/flex, and install... checking for bison... bison -y checking for flex... flex checking for yywrap in -lfl... yes checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for X... disabled checking for clrtoeol in -lcurses... yes checking for pow in -lm... yes checking for tgoto in -lcurses... yes checking for header files... checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking for time.h... yes checking for sys/time.h... (cached) yes checking for sys/filio.h... no checking whether time.h and sys/time.h may both be included... yes checking for typedefs... checking for working const... 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 checking for compiler characteristics... checking size of long... 4 checking for library functions... checking whether setvbuf arguments are reversed... no checking return type of signal handlers... void checking for gethostname... yes checking for gettimeofday... yes checking for strstr... yes checking for strtol... yes checking for memcpy... yes checking for bcopy... yes checking for setlinebuf... yes checking for setvbuf... yes outputting files... updating cache ./config.cache creating ./config.status creating Makefile creating gnushogi/Makefile creating xshogi/Makefile creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/games-board/gnushogi-1.3/work/gnushogi-1.3 ... make -j14 cd ./gnushogi; make gnushogi pat2inc gnushogi.bbk make[1]: Entering directory `/var/tmp/portage/games-board/gnushogi-1.3/work/gnushogi-1.3/gnushogi' i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -c attacks.c i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -DBOOK=\"/usr/games/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/games/lib/gnushogi/gnushogi.bbk\" -c book.c i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -c commondsp.c i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -c cursesdsp.c i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -c dspwrappers.c i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -c eval.c i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -c genmove.c i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -c globals.c i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -DLANGFILE=\"../misc/gnushogi.lng\" -c init.c i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -c pattern.c i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -c rawdsp.c i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -c search.c book.c: In function ‘BVerifyMove’: book.c:296:13: warning: format not a string literal and no format arguments eval.c: In function ‘AttackedPieceValue’: eval.c:1209:8: warning: operation on ‘ds’ may be undefined i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -c sysdeps.c book.c: In function ‘GetOpenings’: book.c:707:18: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result book.c:713:22: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result book.c:748:29: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result book.c:786:45: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result book.c:834:21: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result book.c:843:13: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result book.c:847:13: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -c tcontrl.c i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -c util.c commondsp.c: In function ‘SaveGame’: commondsp.c:715:9: warning: format not a string literal and no format arguments commondsp.c:720:9: warning: format not a string literal and no format arguments commondsp.c:758:9: warning: format not a string literal and no format arguments commondsp.c:760:9: warning: format not a string literal and no format arguments commondsp.c:777:9: warning: format not a string literal and no format arguments commondsp.c:778:9: warning: format not a string literal and no format arguments commondsp.c: In function ‘ListGame’: commondsp.c:1208:5: warning: format not a string literal and no format arguments commondsp.c:1209:5: warning: format not a string literal and no format arguments search.c: In function ‘search’: search.c:887:13: warning: overflow in implicit constant conversion i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -DBINBOOK=\"/usr/games/lib/gnushogi/gnushogi.bbk\" -c main.c rawdsp.c: In function ‘PromptForMove’: rawdsp.c:69:9: warning: format not a string literal and no format arguments rawdsp.c: In function ‘Raw_help’: rawdsp.c:244:5: warning: format not a string literal and no format arguments rawdsp.c:249:5: warning: format not a string literal and no format arguments rawdsp.c:263:5: warning: format not a string literal and no format arguments rawdsp.c:269:5: warning: format not a string literal and no format arguments rawdsp.c:272:5: warning: format not a string literal and no format arguments rawdsp.c:275:5: warning: format not a string literal and no format arguments rawdsp.c:278:5: warning: format not a string literal and no format arguments rawdsp.c:281:5: warning: format not a string literal and no format arguments rawdsp.c:284:5: warning: format not a string literal and no format arguments rawdsp.c:287:5: warning: format not a string literal and no format arguments rawdsp.c:292:5: warning: format not a string literal and no format arguments rawdsp.c: In function ‘Raw_EditBoard’: rawdsp.c:339:5: warning: format not a string literal and no format arguments rawdsp.c:341:5: warning: format not a string literal and no format arguments rawdsp.c:343:5: warning: format not a string literal and no format arguments rawdsp.c:345:5: warning: format not a string literal and no format arguments rawdsp.c: In function ‘SetupBoard’: rawdsp.c:483:5: warning: format not a string literal and no format arguments rawdsp.c: In function ‘Raw_OutputMove’: rawdsp.c:576:9: warning: format not a string literal and no format arguments rawdsp.c: In function ‘Raw_GiveHint’: rawdsp.c:693:9: warning: format not a string literal and no format arguments rawdsp.c: In function ‘Raw_SelectLevel’: rawdsp.c:720:9: warning: format not a string literal and no format arguments rawdsp.c: In function ‘Raw_DoDebug’: rawdsp.c:856:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result commondsp.c: In function ‘InputCommand’: commondsp.c:1740:21: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result rawdsp.c: In function ‘Raw_ChangeXwindow’: rawdsp.c:817:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result rawdsp.c: In function ‘Raw_SetContempt’: rawdsp.c:808:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result rawdsp.c: In function ‘Raw_ChangeHashDepth’: rawdsp.c:797:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result rawdsp.c:799:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result rawdsp.c: In function ‘Raw_ChangeSearchDepth’: rawdsp.c:786:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result rawdsp.c: In function ‘Raw_SelectLevel’: rawdsp.c:721:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result rawdsp.c: In function ‘Raw_ChangeBetaWindow’: rawdsp.c:677:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result rawdsp.c:679:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result rawdsp.c: In function ‘Raw_ChangeAlphaWindow’: rawdsp.c:666:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result rawdsp.c:668:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result rawdsp.c: In function ‘SetupBoard’: rawdsp.c:445:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result rawdsp.c:449:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c: In function ‘BookSave’: commondsp.c:1070:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result rawdsp.c: In function ‘Raw_EditBoard’: rawdsp.c:351:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result commondsp.c: In function ‘SaveXGame’: commondsp.c:980:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result commondsp.c: In function ‘GetXGame’: commondsp.c:843:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result commondsp.c:861:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:871:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:873:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:877:18: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:928:18: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result rawdsp.c: In function ‘Raw_Die’: rawdsp.c:216:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -DPATTERNFILE=\"../misc/gnushogi.pat\" -c makepattern.c commondsp.c: In function ‘SaveGame’: commondsp.c:690:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result util.c: In function ‘PutInFTable’: util.c:467:19: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result util.c: In function ‘ProbeFTable’: util.c:352:14: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result commondsp.c: In function ‘GetGame’: commondsp.c:453:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result commondsp.c:469:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:487:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:488:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:496:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:503:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:510:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:514:18: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:564:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:565:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:566:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:567:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:572:18: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:596:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result commondsp.c:597:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result genmove.c: In function ‘gives_check_flag’: genmove.c:238:11: warning: ‘tempb’ may be used uninitialized in this function genmove.c:238:18: warning: ‘tempc’ may be used uninitialized in this function i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -DLANGFILE=\"../misc/gnushogi.lng\" -DBINBOOK=\"/usr/games/lib/gnushogi/gnushogi.bbk\" -DPATTERNFILE=\"../misc/gnushogi.pat\" -c pat2inc.c main.c: In function ‘main’: main.c:214:17: warning: format not a string literal and no format arguments main.c:248:17: warning: format not a string literal and no format arguments main.c:311:13: warning: format not a string literal and no format arguments main.c:221:27: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result main.c:259:26: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result genmove.c: In function ‘LinkMove’: genmove.c:274:19: warning: ‘tempb’ may be used uninitialized in this function genmove.c:274:19: note: ‘tempb’ was declared here genmove.c:274:26: warning: ‘tempc’ may be used uninitialized in this function genmove.c:274:26: note: ‘tempc’ was declared here genmove.c:274:19: warning: ‘tempb’ may be used uninitialized in this function genmove.c:274:19: note: ‘tempb’ was declared here genmove.c:274:26: warning: ‘tempc’ may be used uninitialized in this function genmove.c:274:26: note: ‘tempc’ was declared here genmove.c: In function ‘CaptureList’: genmove.c:274:19: warning: ‘tempb’ may be used uninitialized in this function genmove.c:274:19: note: ‘tempb’ was declared here genmove.c:274:26: warning: ‘tempc’ may be used uninitialized in this function genmove.c:274:26: note: ‘tempc’ was declared here genmove.c:274:19: warning: ‘tempb’ may be used uninitialized in this function genmove.c:274:19: note: ‘tempb’ was declared here genmove.c:274:26: warning: ‘tempc’ may be used uninitialized in this function genmove.c:274:26: note: ‘tempc’ was declared here genmove.c: In function ‘IsCheckmate’: genmove.c:1544:18: warning: ‘tempc’ may be used uninitialized in this function genmove.c:1544:11: warning: ‘tempb’ may be used uninitialized in this function genmove.c: In function ‘DropPossible’: genmove.c:910:26: warning: ‘tempc’ may be used uninitialized in this function genmove.c:910:26: warning: ‘tempb’ may be used uninitialized in this function In file included from /usr/include/stdio.h:930:0, from gnushogi.h:116, from commondsp.c:34: In function ‘fgets’, inlined from ‘InputCommand’ at commondsp.c:1740:21: /usr/include/bits/stdio2.h:253:2: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o gnushogi attacks.o book.o commondsp.o cursesdsp.o dspwrappers.o eval.o genmove.o globals.o init.o pattern.o rawdsp.o search.o sysdeps.o tcontrl.o util.o main.o -lcurses -lcurses -lm i686-pc-linux-gnu-gcc -O2 -pipe -fsigned-char -funroll-loops -DHASHFILE=\"/usr/games/lib/gnushogi/gnushogi.hsh\" -Wall -Wno-implicit-int -I.. -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o pat2inc attacks.o book.o commondsp.o cursesdsp.o dspwrappers.o eval.o genmove.o globals.o init.o pattern.o rawdsp.o search.o sysdeps.o tcontrl.o util.o makepattern.o pat2inc.o -lcurses -lcurses -lm echo quit > test cat ../misc/gnushogi.tbk > _tmp_t cat test | ./gnushogi -R -b _tmp_t -B ./gnushogi.bbk -S 8000 -P 40 3 0 Black 0:00 White 0:00 L N S G K G S N L - R - - - - - B - P P P P P P P P P - - - - - - - - - - - - - - - - - - - - - - - - - - - p p p p p p p p p - b - - - - - r - l n s g k g s n l black white creating bookfile ./gnushogi.bbk 127996 8000 1000 rec 52 openings processed 2000 rec 113 openings processed 3000 rec 210 openings processed 4000 rec 324 openings processed 5000 rec 452 openings processed Book used 5668(8000). Your move is? rm test _tmp_t make[1]: Leaving directory `/var/tmp/portage/games-board/gnushogi-1.3/work/gnushogi-1.3/gnushogi' >>> Source compiled. >>> Test phase [none]: games-board/gnushogi-1.3 >>> Install gnushogi-1.3 into /var/tmp/portage/games-board/gnushogi-1.3/image/ category games-board >>> Completed installing gnushogi-1.3 into /var/tmp/portage/games-board/gnushogi-1.3/image/ strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment usr/games/bin/gnushogi * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * /usr/include/bits/stdio2.h:253:2: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of this software. * Homepage: http://www.gnu.org/directory/games/gnushogi.html * Remember, in order to play games, you have to * be in the 'games' group. * Just run 'gpasswd -a games', then have re-login. * For more info about Gentoo gaming in general, see our website: * http://games.gentoo.org/