Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/gnushogi.spec'], chrootPath='/var/lib/mock/694181-epel-7-ppc64le-1515054284.911976/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=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --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 warning: Could not canonicalize hostname: copr-builder-504091938.novalocal Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/gnushogi.spec'], chrootPath='/var/lib/mock/694181-epel-7-ppc64le-1515054284.911976/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=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --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: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZieivX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gnushogi-1.5pre + /usr/bin/gzip -dc /builddir/build/SOURCES/gnushogi-1.5pre.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd gnushogi-1.5pre + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eJBhGf + umask 022 + cd /builddir/build/BUILD + cd gnushogi-1.5pre + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' ppc64le == ppc64le ']' + /usr/lib/rpm/redhat/libtool-handle-ppc64le.sh ++ find . -name config.guess -o -name config.sub + for i in '$(find . -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' + for i in '$(find . -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' + ./configure --build=powerpc64le-redhat-linux-gnu --host=powerpc64le-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/lib64 --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 powerpc64le-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... powerpc64le-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... 8 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 -j2 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/gnushogi-1.5pre' Making all in gnushogi make[2]: Entering directory `/builddir/build/BUILD/gnushogi-1.5pre/gnushogi' make all-am make[3]: Entering directory `/builddir/build/BUILD/gnushogi-1.5pre/gnushogi' gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib64/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnushogi-main.o `test -f 'main.c' || echo './'`main.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib64/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnushogi-attacks.o `test -f 'attacks.c' || echo './'`attacks.c main.c: In function 'main': main.c:242:26: 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.. -DHASHFILE=\"/usr/lib64/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnushogi-book.o `test -f 'book.c' || echo './'`book.c book.c: In function 'WriteData': book.c:603:10: 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:10: 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/lib64/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnushogi-commondsp.o `test -f 'commondsp.c' || echo './'`commondsp.c commondsp.c: In function 'GetXGame': commondsp.c:843:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:853:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:855:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:859:18: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:910:18: 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:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:486:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^ commondsp.c:487:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:495:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:502:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:509:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^ commondsp.c:513:18: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:563:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^ commondsp.c:564:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* 9 8 7 ... */ ^ commondsp.c:565:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^ commondsp.c:566:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* p l n ... */ ^ commondsp.c:571:18: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:597:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^ commondsp.c:598:14: 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.. -DHASHFILE=\"/usr/lib64/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnushogi-eval.o `test -f 'eval.c' || echo './'`eval.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib64/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnushogi-genmove.o `test -f 'genmove.c' || echo './'`genmove.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib64/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnushogi-init.o `test -f 'init.c' || echo './'`init.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib64/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnushogi-pattern.o `test -f 'pattern.c' || echo './'`pattern.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib64/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnushogi-rawdsp.o `test -f 'rawdsp.c' || echo './'`rawdsp.c rawdsp.c: In function 'Raw_SetupBoard': rawdsp.c:459:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s, 80, stdin); /* skip "setup" command */ ^ rawdsp.c:463:14: 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:10: 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:18: 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:10: 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:14: 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:10: 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:10: 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:14: 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:10: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &HashDepth); ^ rawdsp.c:796:10: 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:10: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &WBwindow); ^ rawdsp.c:674:10: 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:10: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &WAwindow); ^ rawdsp.c:664:10: 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/lib64/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnushogi-search.o `test -f 'search.c' || echo './'`search.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib64/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnushogi-tcontrl.o `test -f 'tcontrl.c' || echo './'`tcontrl.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib64/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnushogi-util.o `test -f 'util.c' || echo './'`util.c util.c: In function 'ProbeFTable': util.c:352:14: 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/lib64/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnushogi-globals.o `test -f 'globals.c' || echo './'`globals.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib64/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnushogi-init-common.o `test -f 'init-common.c' || echo './'`init-common.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib64/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnushogi-pattern-common.o `test -f 'pattern-common.c' || echo './'`pattern-common.c gcc -DHAVE_CONFIG_H -I. -I.. -DHASHFILE=\"/usr/lib64/gnushogi/gnushogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnushogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnushogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnushogi-cursesdsp.o `test -f 'cursesdsp.c' || echo './'`cursesdsp.c cursesdsp.c: In function 'Curses_doRequestInputString': cursesdsp.c:204:5: warning: passing argument 1 of 'scanw' discards 'const' qualifier from pointer target type [enabled by default] FLUSH_SCANW(fmt, buffer); ^ In file included from cursesdsp.c:47:0: /usr/include/curses.h:731:28: note: expected 'char *' but argument is of type 'const char *' extern NCURSES_EXPORT(int) scanw (NCURSES_CONST char *,...) /* implemented */ ^ cursesdsp.c: In function 'Curses_PollForInput': cursesdsp.c:1213:17: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] i, errno, FIONREAD); ^ gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib64/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnuminishogi-main.o `test -f 'main.c' || echo './'`main.c main.c: In function 'main': main.c:242:26: 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/lib64/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnuminishogi-attacks.o `test -f 'attacks.c' || echo './'`attacks.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib64/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnuminishogi-book.o `test -f 'book.c' || echo './'`book.c book.c: In function 'WriteData': book.c:603:10: 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:10: 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.. -DMINISHOGI -DHASHFILE=\"/usr/lib64/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnuminishogi-commondsp.o `test -f 'commondsp.c' || echo './'`commondsp.c commondsp.c: In function 'GetXGame': commondsp.c:843:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:853:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:855:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:859:18: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:910:18: 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:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:486:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^ commondsp.c:487:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:495:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:502:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:509:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^ commondsp.c:513:18: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:563:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^ commondsp.c:564:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* 9 8 7 ... */ ^ commondsp.c:565:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^ commondsp.c:566:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* p l n ... */ ^ commondsp.c:571:18: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); ^ commondsp.c:597:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fname, 256, fd); /* empty */ ^ commondsp.c:598:14: 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/lib64/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnuminishogi-eval.o `test -f 'eval.c' || echo './'`eval.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib64/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnuminishogi-genmove.o `test -f 'genmove.c' || echo './'`genmove.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib64/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnuminishogi-init.o `test -f 'init.c' || echo './'`init.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib64/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnuminishogi-pattern.o `test -f 'pattern.c' || echo './'`pattern.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib64/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnuminishogi-rawdsp.o `test -f 'rawdsp.c' || echo './'`rawdsp.c rawdsp.c: In function 'Raw_SetupBoard': rawdsp.c:459:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(s, 80, stdin); /* skip "setup" command */ ^ rawdsp.c:463:14: 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:10: 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:18: 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:10: 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:14: 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:10: 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:10: 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:14: 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:10: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &HashDepth); ^ rawdsp.c:796:10: 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:10: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &WBwindow); ^ rawdsp.c:674:10: 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:10: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &WAwindow); ^ rawdsp.c:664:10: 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/lib64/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnuminishogi-search.o `test -f 'search.c' || echo './'`search.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib64/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnuminishogi-tcontrl.o `test -f 'tcontrl.c' || echo './'`tcontrl.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib64/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnuminishogi-util.o `test -f 'util.c' || echo './'`util.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib64/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnuminishogi-globals.o `test -f 'globals.c' || echo './'`globals.c util.c: In function 'ProbeFTable': util.c:352:14: 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/lib64/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnuminishogi-init-common.o `test -f 'init-common.c' || echo './'`init-common.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib64/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnuminishogi-pattern-common.o `test -f 'pattern-common.c' || echo './'`pattern-common.c gcc -DHAVE_CONFIG_H -I. -I.. -DMINISHOGI -DHASHFILE=\"/usr/lib64/gnushogi/gnuminishogi.hsh\" -DBOOK=\"/usr/lib64/gnushogi/gnuminishogi.tbk\" -DBINBOOK=\"/usr/lib64/gnushogi/gnuminishogi.bbk\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o gnuminishogi-cursesdsp.o `test -f 'cursesdsp.c' || echo './'`cursesdsp.c cursesdsp.c: In function 'Curses_doRequestInputString': cursesdsp.c:204:5: warning: passing argument 1 of 'scanw' discards 'const' qualifier from pointer target type [enabled by default] FLUSH_SCANW(fmt, buffer); ^ In file included from cursesdsp.c:47:0: /usr/include/curses.h:731:28: note: expected 'char *' but argument is of type 'const char *' extern NCURSES_EXPORT(int) scanw (NCURSES_CONST char *,...) /* implemented */ ^ cursesdsp.c: In function 'Curses_PollForInput': cursesdsp.c:1213:17: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] i, errno, FIONREAD); ^ gcc -DHAVE_CONFIG_H -I. -I.. -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -c -o sizetest.o sizetest.c gcc -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -Wl,-z,relro -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 gcc -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -Wl,-z,relro -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 gcc -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -Wl,-z,relro -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -Wl,-z,relro -o sizetest sizetest.o -ltermcap -lm make[3]: Leaving directory `/builddir/build/BUILD/gnushogi-1.5pre/gnushogi' make[2]: Leaving directory `/builddir/build/BUILD/gnushogi-1.5pre/gnushogi' Making all in doc make[2]: Entering directory `/builddir/build/BUILD/gnushogi-1.5pre/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/gnushogi-1.5pre/doc' make[2]: Entering directory `/builddir/build/BUILD/gnushogi-1.5pre' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/builddir/build/BUILD/gnushogi-1.5pre' make[1]: Leaving directory `/builddir/build/BUILD/gnushogi-1.5pre' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qaWtdC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le ++ dirname /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le + cd gnushogi-1.5pre + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le Making install in gnushogi make[1]: Entering directory `/builddir/build/BUILD/gnushogi-1.5pre/gnushogi' /usr/bin/make install-am make[2]: Entering directory `/builddir/build/BUILD/gnushogi-1.5pre/gnushogi' make[3]: Entering directory `/builddir/build/BUILD/gnushogi-1.5pre/gnushogi' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/bin' /usr/bin/install -c gnushogi gnuminishogi '/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/lib64/gnushogi' /usr/bin/install -c -m 644 ../misc/gnushogi.tbk '/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/lib64/gnushogi' make[3]: Leaving directory `/builddir/build/BUILD/gnushogi-1.5pre/gnushogi' make[2]: Leaving directory `/builddir/build/BUILD/gnushogi-1.5pre/gnushogi' make[1]: Leaving directory `/builddir/build/BUILD/gnushogi-1.5pre/gnushogi' Making install in doc make[1]: Entering directory `/builddir/build/BUILD/gnushogi-1.5pre/doc' make[2]: Entering directory `/builddir/build/BUILD/gnushogi-1.5pre/doc' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/doc/gnushogi' /usr/bin/install -c -m 644 BOOKFILES shogi.rules tutorial1.gam tutorial2.gam '/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/doc/gnushogi' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/info' /usr/bin/install -c -m 644 ./gnushogi.info '/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/info' '/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/info/gnushogi.info' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/man/man6' /usr/bin/install -c -m 644 gnushogi.6 '/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/man/man6' make[2]: Leaving directory `/builddir/build/BUILD/gnushogi-1.5pre/doc' make[1]: Leaving directory `/builddir/build/BUILD/gnushogi-1.5pre/doc' make[1]: Entering directory `/builddir/build/BUILD/gnushogi-1.5pre' make[2]: Entering directory `/builddir/build/BUILD/gnushogi-1.5pre' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/doc/gnushogi' /usr/bin/install -c -m 644 CONTRIB '/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/doc/gnushogi' make[2]: Leaving directory `/builddir/build/BUILD/gnushogi-1.5pre' make[1]: Leaving directory `/builddir/build/BUILD/gnushogi-1.5pre' + /usr/bin/rm -f /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/info/dir + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/gnushogi-1.5pre extracting debug info from /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/bin/gnuminishogi extracting debug info from /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/bin/gnushogi /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 816 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zunFVY + umask 022 + cd /builddir/build/BUILD + cd gnushogi-1.5pre + DOCDIR=/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/doc/gnushogi-1.5pre + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/doc/gnushogi-1.5pre + cp -pr AUTHORS /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/doc/gnushogi-1.5pre + cp -pr ChangeLog /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/doc/gnushogi-1.5pre + cp -pr NEWS /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/doc/gnushogi-1.5pre + cp -pr README /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/doc/gnushogi-1.5pre + cp -pr TODO /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/doc/gnushogi-1.5pre + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.V3DaEl + umask 022 + cd /builddir/build/BUILD + cd gnushogi-1.5pre + LICENSEDIR=/builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/licenses/gnushogi-1.5pre + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/licenses/gnushogi-1.5pre + cp -pr COPYING /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le/usr/share/licenses/gnushogi-1.5pre + exit 0 Provides: gnushogi = 1.5pre-1.git5bb0b5b.el7.centos gnushogi(ppc-64) = 1.5pre-1.git5bb0b5b.el7.centos 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 Requires(preun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libncurses.so.5()(64bit) libtinfo.so.5()(64bit) rtld(GNU_HASH) Processing files: gnushogi-debuginfo-1.5pre-1.git5bb0b5b.el7.centos.ppc64le Provides: gnushogi-debuginfo = 1.5pre-1.git5bb0b5b.el7.centos gnushogi-debuginfo(ppc-64) = 1.5pre-1.git5bb0b5b.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le warning: Could not canonicalize hostname: copr-builder-504091938.novalocal Wrote: /builddir/build/RPMS/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le.rpm Wrote: /builddir/build/RPMS/gnushogi-debuginfo-1.5pre-1.git5bb0b5b.el7.centos.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4awDis + umask 022 + cd /builddir/build/BUILD + cd gnushogi-1.5pre + /usr/bin/rm -rf /builddir/build/BUILDROOT/gnushogi-1.5pre-1.git5bb0b5b.el7.centos.ppc64le + exit 0 Child return code was: 0