Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/gnushogi.spec'], chrootPath='/var/lib/mock/f28-build-12740155-931036/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/gnushogi.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/gnushogi-1.5-0.5.git5bb0b5b.fc28.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/gnushogi.spec'], chrootPath='/var/lib/mock/f28-build-12740155-931036/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/gnushogi.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.B73cHj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74 + /usr/bin/gzip -dc /builddir/build/SOURCES/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + ./autogen.sh configure.ac:16: installing './compile' configure.ac:17: installing './config.guess' configure.ac:17: installing './config.sub' configure.ac:9: installing './install-sh' configure.ac:9: installing './missing' Makefile.am: installing './INSTALL' doc/Makefile.am:23: installing 'doc/texinfo.tex' gnushogi/Makefile.am: installing './depcomp' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no configure: C compiler checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... i686-pc-linux-gnu configure: libs checking for clrtoeol in -lcurses... yes checking for pow in -lm... yes checking for tgoto in -ltermcap... yes configure: header files checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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 checking for stdbool.h that conforms to C99... yes checking for _Bool... yes configure: typedefs checking for an ANSI C-conforming const... yes checking for stdbool.h that conforms to C99... (cached) yes checking for _Bool... (cached) 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... 4 configure: library functions checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for gettimeofday... yes checking for memset... yes checking for pow... 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 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating gnushogi/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands make: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' if [ "xpat2inc" = "x" ]; then \ echo "gnushogi-pattern.inc needs rebuilding, which can only be done when NOT cross-compiling"; \ exit 1; \ fi make pat2inc make[1]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' gcc -DHAVE_CONFIG_H -I. -I.. -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -g -O2 -MT pat2inc.o -MD -MP -MF .deps/pat2inc.Tpo -c -o pat2inc.o pat2inc.c mv -f .deps/pat2inc.Tpo .deps/pat2inc.Po gcc -DHAVE_CONFIG_H -I. -I.. -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -g -O2 -MT makepattern.o -MD -MP -MF .deps/makepattern.Tpo -c -o makepattern.o makepattern.c mv -f .deps/makepattern.Tpo .deps/makepattern.Po gcc -DHAVE_CONFIG_H -I. -I.. -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -g -O2 -MT globals.o -MD -MP -MF .deps/globals.Tpo -c -o globals.o globals.c mv -f .deps/globals.Tpo .deps/globals.Po gcc -DHAVE_CONFIG_H -I. -I.. -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -g -O2 -MT init-common.o -MD -MP -MF .deps/init-common.Tpo -c -o init-common.o init-common.c mv -f .deps/init-common.Tpo .deps/init-common.Po gcc -DHAVE_CONFIG_H -I. -I.. -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -g -O2 -MT pattern-common.o -MD -MP -MF .deps/pattern-common.Tpo -c -o pattern-common.o pattern-common.c mv -f .deps/pattern-common.Tpo .deps/pattern-common.Po gcc -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -g -O2 -o pat2inc pat2inc.o makepattern.o globals.o init-common.o pattern-common.o -lcurses -ltermcap -lm make[1]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' ./pat2inc ../misc/gnushogi.pat gnushogi-pattern.inc Pattern: 2102 bytes for 14 sequences with 128 patterns. if [ "xpat2inc" = "x" ]; then \ echo "gnuminishogi-pattern.inc needs rebuilding, which can only be done when NOT cross-compiling"; \ exit 1; \ fi make pat2inc make[1]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' make[1]: 'pat2inc' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' ./pat2inc ../misc/gnuminishogi.pat gnuminishogi-pattern.inc Pattern: 7 bytes for 1 sequences with 1 patterns. : make: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' Making distclean in gnushogi make[1]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' test -z "gnushogi gnuminishogi" || rm -f gnushogi gnuminishogi test -z "pat2inc sizetest" || rm -f pat2inc sizetest rm -f *.o rm -f *.tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf ./.deps rm -f Makefile make[1]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' Making distclean in doc make[1]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/doc' test -z "gnushogi.dvi gnushogi.pdf gnushogi.ps gnushogi.html" \ || rm -rf gnushogi.dvi gnushogi.pdf gnushogi.ps gnushogi.html rm -rf gnushogi.t2d gnushogi.t2p test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f Makefile make[1]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/doc' make[1]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74' test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f config.h stamp-h1 rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f cscope.out cscope.in.out cscope.po.out cscope.files make[1]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74' rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -f Makefile You may now run ./configure + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2sHZbK + umask 022 + cd /builddir/build/BUILD + cd gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no configure: C compiler checking for i686-redhat-linux-gnu-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking build system type... i686-redhat-linux-gnu configure: libs checking for clrtoeol in -lcurses... yes checking for pow in -lm... yes checking for tgoto in -ltermcap... yes configure: header files checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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 checking for stdbool.h that conforms to C99... yes checking for _Bool... yes configure: typedefs checking for an ANSI C-conforming const... yes checking for stdbool.h that conforms to C99... (cached) yes checking for _Bool... (cached) 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... 4 configure: library functions checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for gettimeofday... yes checking for memset... yes checking for pow... 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 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating gnushogi/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j6 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74' Making all in gnushogi make[2]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' make all-am make[3]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnushogi-main.o `test -f 'main.c' || echo './'`main.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnushogi-attacks.o `test -f 'attacks.c' || echo './'`attacks.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnushogi-book.o `test -f 'book.c' || echo './'`book.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnushogi-commondsp.o `test -f 'commondsp.c' || echo './'`commondsp.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnushogi-eval.o `test -f 'eval.c' || echo './'`eval.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnushogi-genmove.o `test -f 'genmove.c' || echo './'`genmove.c commondsp.c: In function 'parser': commondsp.c:402:34: warning: ?: using integer constants in boolean context [-Wint-in-bool-context] p = (f[5] == '+') ? 0x80 : 0; ~~~~~~~~~~~~~~~~~~~~~^~~ commondsp.c: In function 'InputCommand': commondsp.c:1728:29: warning: ?: using integer constants in boolean context [-Wint-in-bool-context] Book = Book ? 0 : BOOKFAIL; main.c: In function 'main': main.c:242:21: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&n, sizeof(struct fileentry), 1, hashfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ book.c: In function 'OpeningBook': book.c:922:17: warning: decrement of a boolean expression [-Wbool-operation] Book--; ^~ book.c:962:17: warning: decrement of a boolean expression [-Wbool-operation] Book--; ^~ commondsp.c: In function 'GetXGame': book.c:996:17: warning: decrement of a boolean expression [-Wbool-operation] Book--; ^~ commondsp.c:843:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ book.c:1039:17: warning: decrement of a boolean expression [-Wbool-operation] Book--; ^~ book.c:1048:9: warning: decrement of a boolean expression [-Wbool-operation] Book--; ^~ commondsp.c:853:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ eval.c: In function 'KingScan': eval.c:1138:60: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] else if ((Captured[c2][p] && color[u]) == neutral) ^~ commondsp.c:855:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:859:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:910:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ book.c: In function 'WriteData': commondsp.c: In function 'GetGame': commondsp.c:468:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:486:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:487:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:495:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:502:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:509:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:513:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:563:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:564:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* 9 8 7 ... */ ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:565:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:566:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* p l n ... */ ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:571:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:597:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:598:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* move score ... */ ^~~~~~~~~~~~~~~~~~~~~ book.c:603:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(gfd, (char *)&DATA, sizeof_gdxdata); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ book.c: In function 'WriteAdmin': book.c:594:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(gfd, (char *)&ADMIN, sizeof_gdxadmin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnushogi-init.o `test -f 'init.c' || echo './'`init.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnushogi-pattern.o `test -f 'pattern.c' || echo './'`pattern.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnushogi-rawdsp.o `test -f 'rawdsp.c' || echo './'`rawdsp.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnushogi-search.o `test -f 'search.c' || echo './'`search.c rawdsp.c: In function 'Raw_SetupBoard': rawdsp.c:459:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s, 80, stdin); /* skip "setup" command */ ^~~~~~~~~~~~~~~~~~~ rawdsp.c:463:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s, 80, stdin); ^~~~~~~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_doRequestInputString': rawdsp.c:150:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf(fmt, buffer); ^~~~~~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_SelectLevel': rawdsp.c:706:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(T, NO_SQUARES + 1, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_SetContempt': rawdsp.c:804:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &contempt); ^~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_EditBoard': rawdsp.c:364:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s); ^~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_DoDebug': rawdsp.c:848:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s); ^~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_ChangeXwindow': rawdsp.c:812:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &xwndw); ^~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_ChangeSearchDepth': rawdsp.c:783:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 80+1, stdin); ^~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_ChangeHashDepth': rawdsp.c:794:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &HashDepth); ^~~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c:796:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &HashMoveLimit); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_ChangeBetaWindow': rawdsp.c:672:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &WBwindow); ^~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c:674:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &BBwindow); ^~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_ChangeAlphaWindow': rawdsp.c:662:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &WAwindow); ^~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c:664:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &BAwindow); ^~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnushogi-tcontrl.o `test -f 'tcontrl.c' || echo './'`tcontrl.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnushogi-util.o `test -f 'util.c' || echo './'`util.c util.c: In function 'ProbeFTable': util.c:352:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&t, sizeof(struct fileentry), 1, hashfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnushogi-globals.o `test -f 'globals.c' || echo './'`globals.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnushogi-init-common.o `test -f 'init-common.c' || echo './'`init-common.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnushogi-pattern-common.o `test -f 'pattern-common.c' || echo './'`pattern-common.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnushogi-cursesdsp.o `test -f 'cursesdsp.c' || echo './'`cursesdsp.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnuminishogi-main.o `test -f 'main.c' || echo './'`main.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnuminishogi-attacks.o `test -f 'attacks.c' || echo './'`attacks.c main.c: In function 'main': main.c:242:21: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&n, sizeof(struct fileentry), 1, hashfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnuminishogi-book.o `test -f 'book.c' || echo './'`book.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnuminishogi-commondsp.o `test -f 'commondsp.c' || echo './'`commondsp.c book.c: In function 'OpeningBook': book.c:922:17: warning: decrement of a boolean expression [-Wbool-operation] Book--; ^~ book.c:962:17: warning: decrement of a boolean expression [-Wbool-operation] Book--; ^~ book.c:996:17: warning: decrement of a boolean expression [-Wbool-operation] Book--; ^~ book.c:1039:17: warning: decrement of a boolean expression [-Wbool-operation] Book--; ^~ book.c:1048:9: warning: decrement of a boolean expression [-Wbool-operation] Book--; ^~ book.c: In function 'WriteData': book.c:603:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(gfd, (char *)&DATA, sizeof_gdxdata); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ book.c: In function 'WriteAdmin': book.c:594:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(gfd, (char *)&ADMIN, sizeof_gdxadmin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondsp.c: In function 'parser': commondsp.c:402:34: warning: ?: using integer constants in boolean context [-Wint-in-bool-context] p = (f[5] == '+') ? 0x80 : 0; ~~~~~~~~~~~~~~~~~~~~~^~~ commondsp.c: In function 'InputCommand': commondsp.c:1728:29: warning: ?: using integer constants in boolean context [-Wint-in-bool-context] Book = Book ? 0 : BOOKFAIL; commondsp.c: In function 'GetXGame': commondsp.c:843:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:853:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:855:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:859:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:910:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c: In function 'GetGame': commondsp.c:468:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:486:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:487:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:495:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:502:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:509:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:513:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:563:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:564:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* 9 8 7 ... */ ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:565:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:566:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* p l n ... */ ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:571:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:597:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^~~~~~~~~~~~~~~~~~~~~ commondsp.c:598:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* move score ... */ ^~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnuminishogi-eval.o `test -f 'eval.c' || echo './'`eval.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnuminishogi-genmove.o `test -f 'genmove.c' || echo './'`genmove.c eval.c: In function 'KingScan': eval.c:1138:60: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] else if ((Captured[c2][p] && color[u]) == neutral) ^~ gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnuminishogi-init.o `test -f 'init.c' || echo './'`init.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnuminishogi-pattern.o `test -f 'pattern.c' || echo './'`pattern.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnuminishogi-rawdsp.o `test -f 'rawdsp.c' || echo './'`rawdsp.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnuminishogi-search.o `test -f 'search.c' || echo './'`search.c rawdsp.c: In function 'Raw_SetupBoard': rawdsp.c:459:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s, 80, stdin); /* skip "setup" command */ ^~~~~~~~~~~~~~~~~~~ rawdsp.c:463:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s, 80, stdin); ^~~~~~~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_doRequestInputString': rawdsp.c:150:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf(fmt, buffer); ^~~~~~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_SelectLevel': rawdsp.c:706:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(T, NO_SQUARES + 1, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_SetContempt': rawdsp.c:804:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &contempt); ^~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_EditBoard': rawdsp.c:364:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s); ^~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_DoDebug': rawdsp.c:848:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s); ^~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_ChangeXwindow': rawdsp.c:812:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &xwndw); ^~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_ChangeSearchDepth': rawdsp.c:783:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 80+1, stdin); ^~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_ChangeHashDepth': rawdsp.c:794:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &HashDepth); ^~~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c:796:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &HashMoveLimit); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_ChangeBetaWindow': rawdsp.c:672:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &WBwindow); ^~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c:674:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &BBwindow); ^~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c: In function 'Raw_ChangeAlphaWindow': rawdsp.c:662:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &WAwindow); ^~~~~~~~~~~~~~~~~~~~~~~ rawdsp.c:664:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &BAwindow); ^~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnuminishogi-tcontrl.o `test -f 'tcontrl.c' || echo './'`tcontrl.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnuminishogi-util.o `test -f 'util.c' || echo './'`util.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnuminishogi-globals.o `test -f 'globals.c' || echo './'`globals.c util.c: In function 'ProbeFTable': util.c:352:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&t, sizeof(struct fileentry), 1, hashfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnuminishogi-init-common.o `test -f 'init-common.c' || echo './'`init-common.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnuminishogi-pattern-common.o `test -f 'pattern-common.c' || echo './'`pattern-common.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o gnuminishogi-cursesdsp.o `test -f 'cursesdsp.c' || echo './'`cursesdsp.c gcc -DHAVE_CONFIG_H -I. -I.. -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pat2inc.o pat2inc.c gcc -DHAVE_CONFIG_H -I. -I.. -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o makepattern.o makepattern.c gcc -DHAVE_CONFIG_H -I. -I.. -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o globals.o globals.c gcc -DHAVE_CONFIG_H -I. -I.. -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o init-common.o init-common.c gcc -DHAVE_CONFIG_H -I. -I.. -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pattern-common.o pattern-common.c gcc -DHAVE_CONFIG_H -I. -I.. -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o sizetest.o sizetest.c gcc -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gnushogi gnushogi-main.o gnushogi-attacks.o gnushogi-book.o gnushogi-commondsp.o gnushogi-eval.o gnushogi-genmove.o gnushogi-init.o gnushogi-pattern.o gnushogi-rawdsp.o gnushogi-search.o gnushogi-tcontrl.o gnushogi-util.o gnushogi-globals.o gnushogi-init-common.o gnushogi-pattern-common.o gnushogi-cursesdsp.o -lcurses -ltermcap -lm sizetest.c: In function 'main': sizetest.c:74:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] printf("history:\t%4d\tkByte\t[unsigned short:%lu " ~~^ %u sizetest.c:76:15: n, sizeof(unsigned short), (long)HISTORY_SIZE); ~~~~~~~~~~~~~~~~~~~~~~ gcc -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o sizetest sizetest.o -ltermcap -lm gcc -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o pat2inc pat2inc.o makepattern.o globals.o init-common.o pattern-common.o -lcurses -ltermcap -lm gcc -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gnuminishogi gnuminishogi-main.o gnuminishogi-attacks.o gnuminishogi-book.o gnuminishogi-commondsp.o gnuminishogi-eval.o gnuminishogi-genmove.o gnuminishogi-init.o gnuminishogi-pattern.o gnuminishogi-rawdsp.o gnuminishogi-search.o gnuminishogi-tcontrl.o gnuminishogi-util.o gnuminishogi-globals.o gnuminishogi-init-common.o gnuminishogi-pattern-common.o gnuminishogi-cursesdsp.o -lcurses -ltermcap -lm make[3]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' make[2]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/doc' restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \ rm -rf $backupdir && mkdir $backupdir && \ if (/bin/sh /builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/missing makeinfo --version) >/dev/null 2>&1; then \ for f in gnushogi.info gnushogi.info-[0-9] gnushogi.info-[0-9][0-9] gnushogi.i[0-9] gnushogi.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ if /bin/sh /builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/missing makeinfo -I . \ -o gnushogi.info gnushogi.texi; \ then \ rc=0; \ CDPATH="${ZSH_VERSION+.}:" && cd .; \ else \ rc=$?; \ CDPATH="${ZSH_VERSION+.}:" && cd . && \ $restore $backupdir/* `echo "./gnushogi.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc make[2]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/doc' make[2]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74' make[2]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74' make[1]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74' + make -C gnushogi gnushogi.bbk make: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' rm -f gnushogi.bbk cat ../misc/gnushogi.tbk > _tmp_t echo quit | ./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 _tmp_t make: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BpFC4q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386 ++ dirname /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386 + cd gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386 'INSTALL=/usr/bin/install -p' Making install in gnushogi make[1]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' /usr/bin/make install-am make[2]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' make[3]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/bin' /usr/bin/install -p gnushogi gnuminishogi '/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/lib/gnushogi' /usr/bin/install -p -m 644 ../misc/gnushogi.tbk '/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/lib/gnushogi' make[3]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' make[2]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' make[1]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/gnushogi' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/doc' make[2]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/doc/gnushogi' /usr/bin/install -p -m 644 BOOKFILES shogi.rules tutorial1.gam tutorial2.gam '/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/doc/gnushogi' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/info' /usr/bin/install -p -m 644 ./gnushogi.info '/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/info' '/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/info/gnushogi.info' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/man/man6' /usr/bin/install -p -m 644 gnushogi.6 '/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/man/man6' make[2]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/doc' make[1]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74/doc' make[1]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74' make[2]: Entering directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/doc/gnushogi' /usr/bin/install -p -m 644 CONTRIB '/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/doc/gnushogi' make[2]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74' make[1]: Leaving directory '/builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74' + rm -f /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/info/dir + cp gnushogi/gnushogi.bbk /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/lib/gnushogi + /usr/lib/rpm/find-debuginfo.sh -j6 --strict-build-id -m -i --build-id-seed 1.5-0.5.git5bb0b5b.fc28 --unique-debug-suffix -1.5-0.5.git5bb0b5b.fc28.i386 --unique-debug-src-base gnushogi-1.5-0.5.git5bb0b5b.fc28.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74 extracting debug info from /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/bin/gnushogi extracting debug info from /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/bin/gnuminishogi /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 816 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs '' '' Processing files: gnushogi-1.5-0.5.git5bb0b5b.fc28.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GahLC9 + umask 022 + cd /builddir/build/BUILD + cd gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74 + DOCDIR=/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/doc/gnushogi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/doc/gnushogi + cp -pr AUTHORS /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/doc/gnushogi + cp -pr ChangeLog /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/doc/gnushogi + cp -pr NEWS /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/doc/gnushogi + cp -pr README /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/doc/gnushogi + cp -pr TODO /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/doc/gnushogi + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UQbJcS + umask 022 + cd /builddir/build/BUILD + cd gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74 + LICENSEDIR=/builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/licenses/gnushogi + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/licenses/gnushogi + cp -pr COPYING /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386/usr/share/licenses/gnushogi + exit 0 warning: File listed twice: /usr/share/doc/gnushogi Provides: gnushogi = 1.5-0.5.git5bb0b5b.fc28 gnushogi(x86-32) = 1.5-0.5.git5bb0b5b.fc28 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh info Requires(preun): /bin/sh info Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libm.so.6 libm.so.6(GLIBC_2.0) libncurses.so.6 libtinfo.so.6 rtld(GNU_HASH) Recommends: xboard Processing files: gnushogi-debugsource-1.5-0.5.git5bb0b5b.fc28.i686 Provides: gnushogi-debugsource = 1.5-0.5.git5bb0b5b.fc28 gnushogi-debugsource(x86-32) = 1.5-0.5.git5bb0b5b.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: gnushogi-debuginfo-1.5-0.5.git5bb0b5b.fc28.i686 Provides: debuginfo(build-id) = 829ec8fdde7efaa854684f60e93a37ee491f93a5 debuginfo(build-id) = a8a192a746f3df0b364470eaf7c20018e1e87871 gnushogi-debuginfo = 1.5-0.5.git5bb0b5b.fc28 gnushogi-debuginfo(x86-32) = 1.5-0.5.git5bb0b5b.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gnushogi-debugsource(x86-32) = 1.5-0.5.git5bb0b5b.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386 Wrote: /builddir/build/RPMS/gnushogi-1.5-0.5.git5bb0b5b.fc28.i686.rpm Wrote: /builddir/build/RPMS/gnushogi-debugsource-1.5-0.5.git5bb0b5b.fc28.i686.rpm Wrote: /builddir/build/RPMS/gnushogi-debuginfo-1.5-0.5.git5bb0b5b.fc28.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.szosbC + umask 022 + cd /builddir/build/BUILD + cd gnushogi-5bb0b5b2f6953b3250e965c7ecaf108215751a74 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gnushogi-1.5-0.5.git5bb0b5b.fc28.i386 + exit 0 Child return code was: 0