Mock Version: 1.2.21 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gnuchess.spec'], printOutput=Falseuser='mockbuild'shell=Falseenv={'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'TERM': 'vt100'}logger=gid=135chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-10141/root'timeout=0uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gnuchess.spec'] with env {'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'TERM': 'vt100'} and shell False warning: Could not canonicalize hostname: copr-builder-301783216.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/gnuchess-6.2.4-1.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gnuchess.spec'], private_network=Truetimeout=0user='mockbuild'shell=Falseenv={'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'TERM': 'vt100'}logger=gid=135chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-10141/root'uid=1001printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gnuchess.spec'] with env {'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'TERM': 'vt100'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.y6nR2X + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gnuchess-6.2.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/gnuchess-6.2.4.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd gnuchess-6.2.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gzip -dc /builddir/build/SOURCES/book_1.02.dat.gz + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.k9TQga + umask 022 + cd /builddir/build/BUILD + cd gnuchess-6.2.4 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + 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 -mtune=generic' + 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 -mtune=generic -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 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ 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=x86_64-redhat-linux-gnu --host=x86_64-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 for x86_64-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 for x86_64-redhat-linux-gnu-g++... no checking for x86_64-redhat-linux-gnu-c++... no checking for x86_64-redhat-linux-gnu-gpp... no checking for x86_64-redhat-linux-gnu-aCC... no checking for x86_64-redhat-linux-gnu-CC... no checking for x86_64-redhat-linux-gnu-cxx... no checking for x86_64-redhat-linux-gnu-cc++... no checking for x86_64-redhat-linux-gnu-cl.exe... no checking for x86_64-redhat-linux-gnu-FCC... no checking for x86_64-redhat-linux-gnu-KCC... no checking for x86_64-redhat-linux-gnu-RCC... no checking for x86_64-redhat-linux-gnu-xlC_r... no checking for x86_64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking whether ln -s works... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for tputs in -lncurses... no checking for readline in -lreadline... no 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/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 readline/readline.h usability... no checking readline/readline.h presence... no checking for readline/readline.h... no checking readline/history.h usability... no checking readline/history.h presence... no checking for readline/history.h... no checking for ANSI C header files... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for an ANSI C-conforming const... yes checking for working volatile... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for stdint types... stdint.h (shortcircuit) make use of stdint.h in src/GCint.h (assuming C99 compatible system) checking return type of signal handlers... void checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for gettimeofday... yes checking for strchr... yes checking for strcspn... yes checking for strstr... yes checking for strerror... yes checking for memset... yes checking for strdup... yes checking for strtol... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/frontend/Makefile config.status: creating src/adapter/Makefile config.status: creating src/engine/Makefile config.status: creating doc/Makefile config.status: creating po/Makefile.in config.status: creating man/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing src/GCint.h commands config.status: creating src/GCint.h : _GNUCHESS_SRC_GCINT_H config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile + make -j2 Making all in src make[1]: Entering directory `/builddir/build/BUILD/gnuchess-6.2.4/src' rm -f configmake.h-t configmake.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ echo '#define PKGDATADIR "/usr/share/gnuchess"'; \ } | sed '/""/d' > configmake.h-t mv configmake.h-t configmake.h make all-recursive make[2]: Entering directory `/builddir/build/BUILD/gnuchess-6.2.4/src' Making all in frontend make[3]: Entering directory `/builddir/build/BUILD/gnuchess-6.2.4/src/frontend' g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o atak.o atak.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o cmd.o cmd.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o debug.o debug.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o epd.o epd.cc epd.cc: In function 'short int ReadEPDFile(const char*, short int)': epd.cc:82:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < strlen( line ); ++i) { ^ epd.cc:76:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, MAXSTR-1, fp); ^ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o genmove.o genmove.cc genmove.cc: In function 'void GenNonCaptures(short int)': genmove.cc:310:22: warning: variable 'ep' set but not used [-Wunused-but-set-variable] int piece, sq, t, ep; ^ genmove.cc:311:31: warning: variable 'notfriends' set but not used [-Wunused-but-set-variable] BitBoard b, c, d, friends, notfriends, blocker, notblocker; ^ genmove.cc: In function 'void GenCaptures(short int)': genmove.cc:455:28: warning: variable 'notfriends' set but not used [-Wunused-but-set-variable] BitBoard b, c, friends, notfriends, enemy, blocker; ^ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o init.o init.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o move.o move.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o output.o output.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o players.o players.cc players.cc: In function 'void DBWritePlayer()': players.cc:116:8: warning: variable 'result2' set but not used [-Wunused-but-set-variable] int result2; ^ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o pgn.o pgn.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o solve.o solve.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o swap.o swap.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o util.o util.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o engine.o engine.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o lexpgn.o lexpgn.cc pgn.cc: In function 'int IsTrustedPlayer(const char*)': pgn.cc:316:69: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < (sizeof(trusted_players) / sizeof(*trusted_players)); ^ solve.cc: In function 'void Solve(char*)': solve.cc:48:8: warning: unused variable 'elo' [-Wunused-variable] int elo; ^ lexpgn.ll: In function 'int yylex()': lexpgn.ll:229:8: warning: enumeration value 'NO_TAG' not handled in switch [-Wswitch] switch(ctag) { ^ lexpgn.ll:161:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result = R_NORESULT; ^ engine.cc: In function 'int GetNextLine(char*, char*)': engine.cc:392:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( i=0; ipos < 0 || parse->pos > strlen(parse->string)) return false; ^ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o piece.o piece.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o posix.o posix.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o random.o random.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o san.o san.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o search.o search.cpp search.cpp:76:13: warning: 'bool adapter::depth_is_ok(int)' defined but not used [-Wunused-function] static bool depth_is_ok(int depth) { ^ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o square.o square.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o uci.o uci.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o util.o util.cpp uci.cpp:72:13: warning: 'bool adapter::uci_is_ok(const adapter::uci_t*)' defined but not used [-Wunused-function] static bool uci_is_ok(const uci_t * uci) { ^ rm -f libadapter.a ar cru libadapter.a adapter.o attack.o board.o book.o book_make.o book_merge.o colour.o engine.o epd.o fen.o game.o hash.o io.o line.o list.o main.o move.o move_do.o move_gen.o move_legal.o option.o parse.o pgn.o piece.o posix.o random.o san.o search.o square.o uci.o util.o ranlib libadapter.a make[3]: Leaving directory `/builddir/build/BUILD/gnuchess-6.2.4/src/adapter' Making all in engine make[3]: Entering directory `/builddir/build/BUILD/gnuchess-6.2.4/src/engine' g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o attack.o attack.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o board.o board.cpp attack.cpp: In function 'bool engine::piece_attack_king(const engine::board_t*, int, int, int)': attack.cpp:480:18: warning: variable 'inc_ptr' set but not used [-Wunused-but-set-variable] const inc_t * inc_ptr; ^ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o book.o book.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o eval.o eval.cpp eval.cpp: In function 'void engine::eval_piece(const engine::board_t*, const engine::material_info_t*, const engine::pawn_info_t*, int*, int*)': eval.cpp:580:8: warning: variable 'opp_flag' set but not used [-Wunused-but-set-variable] int opp_flag; ^ eval.cpp: In function 'bool engine::free_passer(const engine::board_t*, int, int)': eval.cpp:1194:12: warning: variable 'opp' set but not used [-Wunused-but-set-variable] int me, opp; ^ eval.cpp: In function 'bool engine::draw_kpkb(const int*, int)': eval.cpp:1520:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] int wk, wp, bk, bb; ^ eval.cpp: In function 'bool engine::draw_kpkn(const int*, int)': eval.cpp:1584:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] int wk, wp, bk, bn; ^ eval.cpp:1584:16: warning: variable 'bk' set but not used [-Wunused-but-set-variable] int wk, wp, bk, bn; ^ eval.cpp: In function 'bool engine::draw_knpk(const int*, int)': eval.cpp:1632:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] int wk, wn, wp, bk; ^ eval.cpp:1632:12: warning: variable 'wn' set but not used [-Wunused-but-set-variable] int wk, wn, wp, bk; ^ eval.cpp: In function 'bool engine::draw_kbpkb(const int*, int)': eval.cpp:1735:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] int wk, wb, wp, bk, bb; ^ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o fen.o fen.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o hash.o hash.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o list.o list.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o main.o main.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o material.o material.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o move.o move.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o move_check.o move_check.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o move_do.o move_do.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o move_evasion.o move_evasion.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o move_gen.o move_gen.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o move_legal.o move_legal.cpp move_legal.cpp: In function 'bool engine::move_is_pseudo(int, engine::board_t*)': move_legal.cpp:50:12: warning: variable 'opp' set but not used [-Wunused-but-set-variable] int me, opp; ^ move_legal.cpp: In function 'bool engine::quiet_is_pseudo(int, engine::board_t*)': move_legal.cpp:132:12: warning: variable 'opp' set but not used [-Wunused-but-set-variable] int me, opp; ^ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o option.o option.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o pawn.o pawn.cpp pawn.cpp: In function 'void engine::pawn_comp_info(engine::pawn_info_t*, const engine::board_t*)': pawn.cpp:296:55: warning: variable 'passed' set but not used [-Wunused-but-set-variable] bool backward, candidate, doubled, isolated, open, passed; ^ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o piece.o piece.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o posix.o posix.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o protocol.o protocol.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o pst.o pst.cpp protocol.cpp: In function 'void engine::parse_go(char*)': protocol.cpp:273:11: warning: variable 'nodes' set but not used [-Wunused-but-set-variable] sint64 nodes; ^ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o pv.o pv.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o random.o random.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o recog.o recog.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o search.o search.cpp search.cpp: In function 'void engine::search_update_root()': search.cpp:373:24: warning: variable 'move_nb' set but not used [-Wunused-but-set-variable] int move, move_pos, move_nb; ^ search.cpp:374:11: warning: variable 'time' set but not used [-Wunused-but-set-variable] double time; ^ search.cpp:375:11: warning: variable 'node_nb' set but not used [-Wunused-but-set-variable] sint64 node_nb; ^ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o search_full.o search_full.cpp search_full.cpp: In function 'int engine::full_quiescence(engine::board_t*, int, int, int, int, engine::mv_t*)': search_full.cpp:813:8: warning: variable 'best_move' set but not used [-Wunused-but-set-variable] int best_move; ^ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o see.o see.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o sort.o sort.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o square.o square.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o trans.o trans.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o util.o util.cpp trans.cpp:447:13: warning: 'bool engine::entry_is_ok(const engine::entry_t*)' defined but not used [-Wunused-function] static bool entry_is_ok(const entry_t * entry) { ^ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o value.o value.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o vector.o vector.cpp rm -f libengine.a ar cru libengine.a attack.o board.o book.o eval.o fen.o hash.o list.o main.o material.o move.o move_check.o move_do.o move_evasion.o move_gen.o move_legal.o option.o pawn.o piece.o posix.o protocol.o pst.o pv.o random.o recog.o search.o search_full.o see.o sort.o square.o trans.o util.o value.o vector.o ranlib libengine.a make[3]: Leaving directory `/builddir/build/BUILD/gnuchess-6.2.4/src/engine' make[3]: Entering directory `/builddir/build/BUILD/gnuchess-6.2.4/src' g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../lib -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o main.o main.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../lib -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o components.o components.cc g++ -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -o gnuchess main.o components.o frontend/libfrontend.a adapter/libadapter.a engine/libengine.a make[3]: Leaving directory `/builddir/build/BUILD/gnuchess-6.2.4/src' make[2]: Leaving directory `/builddir/build/BUILD/gnuchess-6.2.4/src' make[1]: Leaving directory `/builddir/build/BUILD/gnuchess-6.2.4/src' Making all in doc make[1]: Entering directory `/builddir/build/BUILD/gnuchess-6.2.4/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/gnuchess-6.2.4/doc' Making all in po make[1]: Entering directory `/builddir/build/BUILD/gnuchess-6.2.4/po' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/gnuchess-6.2.4/po' Making all in man make[1]: Entering directory `/builddir/build/BUILD/gnuchess-6.2.4/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/gnuchess-6.2.4/man' make[1]: Entering directory `/builddir/build/BUILD/gnuchess-6.2.4' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/builddir/build/BUILD/gnuchess-6.2.4' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yff2VG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64 + cd gnuchess-6.2.4 + rm -rf /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64/var/lib/games/gnuchess /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64/usr/bin + install -m 755 -p src/gnuchess /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64/usr/bin + install -m 644 -p book.dat /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64/var/lib/games/gnuchess + mkdir -p /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64/usr/share/gnuchess/ + install -m 644 src/gnuchess.ini /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64/usr/share/gnuchess/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/gnuchess-6.2.4 extracting debug info from /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64/usr/bin/gnuchess dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2034 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: gnuchess-6.2.4-1.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lRrFee + umask 022 + cd /builddir/build/BUILD + cd gnuchess-6.2.4 + DOCDIR=/builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64/usr/share/doc/gnuchess-6.2.4 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64/usr/share/doc/gnuchess-6.2.4 + cp -pr doc/Makefile doc/Makefile.am doc/Makefile.in doc/README doc/fdl.texi doc/gnuchess.info doc/gnuchess.texi doc/mdate-sh doc/quotes.rb doc/stamp-vti doc/texinfo.tex doc/version.texi /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64/usr/share/doc/gnuchess-6.2.4 + cp -pr COPYING /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64/usr/share/doc/gnuchess-6.2.4 + cp -pr AUTHORS /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64/usr/share/doc/gnuchess-6.2.4 + cp -pr NEWS /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64/usr/share/doc/gnuchess-6.2.4 + cp -pr TODO /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64/usr/share/doc/gnuchess-6.2.4 + cp -pr README /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64/usr/share/doc/gnuchess-6.2.4 + exit 0 Provides: chessprogram gnuchess = 6.2.4-1.el7.centos gnuchess(x86-64) = 6.2.4-1.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh /usr/bin/ruby libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libstdc++.so.6()(64bit) rtld(GNU_HASH) Processing files: gnuchess-debuginfo-6.2.4-1.el7.centos.x86_64 Provides: gnuchess-debuginfo = 6.2.4-1.el7.centos gnuchess-debuginfo(x86-64) = 6.2.4-1.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/gnuchess-6.2.4-1.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-301783216.novalocal Wrote: /builddir/build/RPMS/gnuchess-6.2.4-1.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/gnuchess-debuginfo-6.2.4-1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uRQV4Y + umask 022 + cd /builddir/build/BUILD + cd gnuchess-6.2.4 + rm -rf /builddir/build/BUILDROOT/gnuchess-6.2.4-1.el7.centos.x86_64 + exit 0 Child return code was: 0