D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/scid-4.6.2-3.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gC7Z2m + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf scid-src + /usr/bin/unzip -qq /home/pterjan/rpmbuild/SOURCES/scid-4.6.2.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd scid-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/scid-4.6.2-mga-paths.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/scid-4.6.2-signed-char.patch + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kblEmc + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd scid-src + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ./configure BINDIR=/usr/bin SHAREDIR=/usr/share/scid configure: Makefile configuration program for Scid Tcl/Tk version: 8.6 Your operating system is: Linux 4.4.5-server-1.mga6 Location of "tcl.h": /usr/include Location of Tcl 8.6 library: /usr/lib64 Checking if your system already has zlib installed: yes. Using Makefile.conf. The Makefile configured for your system was written. Now just type "make" to compile Scid. + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 cp scripts/sc_epgn.tcl ./sc_epgn chmod +x sc_epgn rm -f ./scid cat tcl/start.tcl > ./scid chmod +x scid cp scripts/sc_spell.tcl ./sc_spell chmod +x sc_spell cp scripts/sc_eco.tcl ./sc_eco chmod +x sc_eco cp scripts/sc_import.tcl ./sc_import chmod +x sc_import cp scripts/scidpgn.tcl ./scidpgn chmod +x scidpgn cp scripts/sc_remote.tk ./sc_remote chmod +x sc_remote cp scripts/pgnfix.py ./pgnfix chmod +x pgnfix cp scripts/spliteco.tcl ./spliteco chmod +x spliteco cp scripts/spf2spi.tcl ./spf2spi chmod +x spf2spi g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/textbuf.o -c src/textbuf.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/pgnparse.o -c src/pgnparse.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/bytebuf.o -c src/bytebuf.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/crosstab.o -c src/crosstab.cpp src/crosstab.cpp: In member function 'void Crosstable::PrintAllPlayAll(DString*, uint)': src/crosstab.cpp:867:23: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/crosstab.cpp:871:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' dstr->Append (stemp); ^~~~ g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/sortcache.o -c src/sortcache.cpp In file included from src/sortcache.h:23:0, from src/sortcache.cpp:20: src/filter.h: In member function 'void Filter::Set(uint, byte)': src/filter.h:98:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (value == 1) ^~ src/filter.h:100:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' Allocate(); ^~~~~~~~ g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/spellchk.o -c src/spellchk.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/engine.o -c src/engine.cpp src/engine.cpp: In member function 'int Engine::Think(MoveList*)': src/engine.cpp:1482:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (mlist->Size() <= depth || depth >= 5 && IsMatingScore (bestScore)) { break; } ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/matsig.o -c src/matsig.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/sc_base.o -c src/sc_base.cpp In file included from src/index.h:27:0, from src/scidbase.h:22, from src/sc_base.cpp:22: src/filter.h: In member function 'void Filter::Set(uint, byte)': src/filter.h:98:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (value == 1) ^~ src/filter.h:100:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' Allocate(); ^~~~~~~~ g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/namebase.o -c src/namebase.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/dstring.o -c src/dstring.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/stored.o -c src/stored.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/searchindex.o -c src/searchindex.cpp In file included from src/index.h:27:0, from src/scidbase.h:22, from src/searchindex.cpp:21: src/filter.h: In member function 'void Filter::Set(uint, byte)': src/filter.h:98:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (value == 1) ^~ src/filter.h:100:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' Allocate(); ^~~~~~~~ g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/recog.o -c src/recog.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/gfile.o -c src/gfile.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/misc.o -c src/misc.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/scidbase.o -c src/scidbase.cpp In file included from src/index.h:27:0, from src/scidbase.h:22, from src/scidbase.cpp:20: src/filter.h: In member function 'void Filter::Set(uint, byte)': src/filter.h:98:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (value == 1) ^~ src/filter.h:100:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' Allocate(); ^~~~~~~~ g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/date.o -c src/date.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/filter.o -c src/filter.cpp In file included from src/filter.cpp:15:0: src/filter.h: In member function 'void Filter::Set(uint, byte)': src/filter.h:98:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (value == 1) ^~ src/filter.h:100:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' Allocate(); ^~~~~~~~ g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/mfile.o -c src/mfile.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/game.o -c src/game.cpp src/game.cpp: In member function 'errorT Game::WriteMoveList(TextBuffer*, uint, moveT*, bool, bool)': src/game.cpp:2134:18: warning: variable 'newline' set but not used [-Wunused-but-set-variable] const char * newline = "\n"; ^~~~~~~ g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/random.o -c src/polyglot/random.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/square.o -c src/polyglot/square.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/piece.o -c src/polyglot/piece.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/fen.o -c src/polyglot/fen.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/colour.o -c src/polyglot/colour.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/board.o -c src/polyglot/board.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/move.o -c src/polyglot/move.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/index.o -c src/index.cpp In file included from src/index.h:27:0, from src/index.cpp:21: src/filter.h: In member function 'void Filter::Set(uint, byte)': src/filter.h:98:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (value == 1) ^~ src/filter.h:100:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' Allocate(); ^~~~~~~~ g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/move_do.o -c src/polyglot/move_do.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/option.o -c src/polyglot/option.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/probe.o -c src/probe.cpp In file included from src/probe.cpp:45:0: src/egtb/tbindex.cpp: In function 'void* PvMalloc(size_t)': src/egtb/tbindex.cpp:242:57: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=] printf ("*** Cannot allocate %d bytes of memory\n", cb); ^ src/egtb/tbindex.cpp: In function 'void VInitEnumerations()': src/egtb/tbindex.cpp:1204:59: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=] printf ("\nAllocated %dk\n\n", (cbAllocated + 1023)/1024); ~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from src/probe.cpp:45:0: src/egtb/tbindex.cpp: In function 'int FReadTableToMemory(int, color, BYTE*)': src/egtb/tbindex.cpp:3708:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (-1 == cb) ~~~^~~~~ In file included from src/egtb/tbindex.cpp:2993:0, from src/probe.cpp:45: src/egtb/tbdecode.c: At global scope: src/egtb/tbdecode.c:828:12: warning: 'int comp_tell_blocks(decode_info*)' defined but not used [-Wunused-function] static int comp_tell_blocks (decode_info *info) ^~~~~~~~~~~~~~~~ g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/list.o -c src/polyglot/list.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/pbook.o -c src/pbook.cpp In file included from src/pbook.h:20:0, from src/pbook.cpp:21: src/strtree.h: In instantiation of 'nodeT* StrTree::MakeSubTree(int, uint) [with C = bookDataT; uint = unsigned int]': src/strtree.h:376:35: required from 'void StrTree::MakeTree() [with C = bookDataT]' src/strtree.h:395:31: required from 'nodeT* StrTree::Lookup(const char*) [with C = bookDataT]' src/pbook.cpp:180:54: required from here src/strtree.h:339:24: warning: variable 'mid' set but not used [-Wunused-but-set-variable] int nLeft, nRight, mid; ^~~ g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/main.o -c src/polyglot/main.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/hash.o -c src/polyglot/hash.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/san.o -c src/polyglot/san.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/move_gen.o -c src/polyglot/move_gen.cpp cd engines/phalanx-scid/ && /usr/bin/make && cd ../../ make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' mkdir .o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/move_legal.o -c src/polyglot/move_legal.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/attack.o -c src/polyglot/attack.cpp g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/util.o -c src/polyglot/util.cpp make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c phalanx.c -o .o/phalanx.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/polyglot/book.o -c src/polyglot/book.cpp make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c data.c -o .o/data.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c search.c -o .o/search.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/optable.o -c src/optable.cpp In file included from src/index.h:27:0, from src/optable.h:20, from src/optable.cpp:15: src/filter.h: In member function 'void Filter::Set(uint, byte)': src/filter.h:98:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (value == 1) ^~ src/filter.h:100:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' Allocate(); ^~~~~~~~ src/optable.cpp: In member function 'void OpTable::PrintLaTeX(DString*, const char*, const char*)': src/optable.cpp:1083:14: warning: variable 'lastNote' set but not used [-Wunused-but-set-variable] uint lastNote = 0; ^~~~~~~~ src/optable.cpp: In member function 'void OpTable::ThemeReport(DString*, uint, const char**)': src/optable.cpp:2118:18: warning: variable 'themeName' set but not used [-Wunused-but-set-variable] const char * themeName [NUM_POSTHEMES] = {NULL}; ^~~~~~~~~ src/optable.cpp: In member function 'void OpTable::PrintText(DString*, const char*, const char*, bool)': src/optable.cpp:1205:1: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] OpTable::PrintText (DString * dstr, const char * title, const char * comment, ^~~~~~~ src/optable.cpp:1239:17: note: 'sprintf' output between 10 and 17 bytes into a destination of size 16 sprintf (cell, " %3u ", i + ((StartLength + 2) / 2)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c hash.c -o .o/hash.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c moving.c -o .o/moving.o moving.c: In function 'do_move': moving.c:102:36: warning: array subscript is below array bounds [-Warray-bounds] }; static unsigned char * cb = cb_-20; ~~~^~~ moving.c:102:36: warning: array subscript is below array bounds [-Warray-bounds] make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c levels.c -o .o/levels.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c evaluate.c -o .o/evaluate.o evaluate.c: In function 'evaluate': evaluate.c:669:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(support>0) newdch -= 20*support+10; break; } ^~ evaluate.c:669:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(support>0) newdch -= 20*support+10; break; } ^~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c killers.c -o .o/killers.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' cd engines/togaII1.2.1a/src/ && /usr/bin/make && cd ../../ make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' Makefile:47: .depend: No such file or directory make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c book.c -o .o/book.o book.c: In function 'sbookmoves': book.c:212:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(middle==first) middle++; if(middle==last) middle--; ^~ book.c:212:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(middle==first) middle++; if(middle==last) middle--; ^~ book.c: In function 'bookmoves': book.c:300:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(s[i]=='\n') break; i++; if(s[i]=='\n') break; ^~ book.c:300:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(s[i]=='\n') break; i++; if(s[i]=='\n') break; ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c io.c -o .o/io.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c learn.c -o .o/learn.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c endgame.c -o .o/endgame.o endgame.c: In function 'e_mp': endgame.c:324:6: warning: variable 'ss' set but not used [-Wunused-but-set-variable] int ss; /* stronger side */ ^~ endgame.c: In function 'pawns': endgame.c:117:16: warning: array subscript is below array bounds [-Warray-bounds] }; const int * kbonus = kbonus_-20; ^~~~~~ endgame.c:117:16: warning: array subscript is below array bounds [-Warray-bounds] make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c genmoves.c -o .o/genmoves.o genmoves.c: In function 'see': genmoves.c:106:15: warning: array subscript is above array bounds [-Warray-bounds] while( bl[minb] <= val ) minb++; ~~^~~~~~ genmoves.c:97:15: warning: array subscript is above array bounds [-Warray-bounds] while( wl[minw] <= val ) minw++; ~~^~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -MM attack.cpp board.cpp book.cpp eval.cpp fen.cpp hash.cpp list.cpp main.cpp material.cpp move.cpp move_check.cpp move_do.cpp move_evasion.cpp move_gen.cpp move_legal.cpp option.cpp pawn.cpp piece.cpp posix.cpp protocol.cpp pst.cpp pv.cpp random.cpp recog.cpp search.cpp search_full.cpp see.cpp sort.cpp square.cpp trans.cpp util.cpp value.cpp vector.cpp > .depend make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o fen.o fen.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o board.o board.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o book.o book.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN -c static.c -o .o/static.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o main.o main.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o hash.o hash.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' gcc -O3 -Wall -fomit-frame-pointer --std=gnu89 -D_GNU_SOURCE -DGNUFUN .o/phalanx.o .o/search.o .o/io.o .o/data.o .o/evaluate.o .o/genmoves.o .o/moving.o .o/hash.o .o/static.o .o/levels.o .o/book.o .o/killers.o .o/endgame.o .o/learn.o -o phalanx-scid make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o move.o move.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o list.o list.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o attack.o attack.cpp attack.cpp: In function 'bool piece_attack_king(const board_t*, int, int, int)': attack.cpp:458:18: warning: variable 'inc_ptr' set but not used [-Wunused-but-set-variable] const inc_t * inc_ptr; ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o material.o material.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o move_evasion.o move_evasion.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o move_check.o move_check.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o move_legal.o move_legal.cpp move_legal.cpp: In function 'bool move_is_pseudo(int, board_t*)': move_legal.cpp:28:12: warning: variable 'opp' set but not used [-Wunused-but-set-variable] int me, opp; ^~~ move_legal.cpp: In function 'bool quiet_is_pseudo(int, board_t*)': move_legal.cpp:110:12: warning: variable 'opp' set but not used [-Wunused-but-set-variable] int me, opp; ^~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o piece.o piece.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o option.o option.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o posix.o posix.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o protocol.o protocol.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o pawn.o pawn.cpp pawn.cpp: In function 'void pawn_comp_info(pawn_info_t*, const board_t*)': pawn.cpp:285:55: warning: variable 'passed' set but not used [-Wunused-but-set-variable] bool backward, candidate, doubled, isolated, open, passed; ^~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o eval.o eval.cpp eval.cpp: In function 'void eval_piece(const board_t*, const material_info_t*, const pawn_info_t*, int*, int*)': eval.cpp:650:8: warning: variable 'opp_flag' set but not used [-Wunused-but-set-variable] int opp_flag; ^~~~~~~~ eval.cpp: In function 'void eval_king(const board_t*, const material_info_t*, int*, int*)': eval.cpp:905:8: warning: variable 'king_file' set but not used [-Wunused-but-set-variable] int king_file, king_rank; ^~~~~~~~~ eval.cpp:905:19: warning: variable 'king_rank' set but not used [-Wunused-but-set-variable] int king_file, king_rank; ^~~~~~~~~ eval.cpp: In function 'void eval_passer(const board_t*, const pawn_info_t*, int*, int*)': eval.cpp:1108:8: warning: variable 'white_passed_nb' set but not used [-Wunused-but-set-variable] int white_passed_nb, black_passed_nb; ^~~~~~~~~~~~~~~ eval.cpp:1108:25: warning: variable 'black_passed_nb' set but not used [-Wunused-but-set-variable] int white_passed_nb, black_passed_nb; ^~~~~~~~~~~~~~~ eval.cpp: In function 'bool free_passer(const board_t*, int, int)': eval.cpp:1392:12: warning: variable 'opp' set but not used [-Wunused-but-set-variable] int me, opp; ^~~ eval.cpp: In function 'bool draw_kpkb(const int*, int)': eval.cpp:1718:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] int wk, wp, bk, bb; ^~ eval.cpp: In function 'bool draw_kpkn(const int*, int)': eval.cpp:1782:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] int wk, wp, bk, bn; ^~ eval.cpp:1782:16: warning: variable 'bk' set but not used [-Wunused-but-set-variable] int wk, wp, bk, bn; ^~ eval.cpp: In function 'bool draw_knpk(const int*, int)': eval.cpp:1830:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] int wk, wn, wp, bk; ^~ eval.cpp:1830:12: warning: variable 'wn' set but not used [-Wunused-but-set-variable] int wk, wn, wp, bk; ^~ eval.cpp: In function 'bool draw_kbpkb(const int*, int)': eval.cpp:1933:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] int wk, wb, wp, bk, bb; ^~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o pv.o pv.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o random.o random.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o move_do.o move_do.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o recog.o recog.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o pst.o pst.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/position.o -c src/position.cpp make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o square.o square.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o search.o search.cpp search.cpp: In function 'void search_update_root()': search.cpp:455:24: warning: variable 'move_nb' set but not used [-Wunused-but-set-variable] int move, move_pos, move_nb; ^~~~~~~ search.cpp:456:11: warning: variable 'time' set but not used [-Wunused-but-set-variable] double time; ^~~~ search.cpp:457:11: warning: variable 'node_nb' set but not used [-Wunused-but-set-variable] sint64 node_nb; ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o trans.o trans.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o see.o see.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o value.o value.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o vector.o vector.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o sort.o sort.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o util.o util.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o move_gen.o move_gen.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -pipe -Wall -fno-exceptions -fno-rtti -O3 -fstrict-aliasing -fomit-frame-pointer -c -o search_full.o search_full.cpp search_full.cpp: In function 'int full_quiescence(board_t*, int, int, int, int, mv_t*)': search_full.cpp:941:8: warning: variable 'best_move' set but not used [-Wunused-but-set-variable] int best_move; ^~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -lm -s -o togaII 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 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -o scidlet engines/scidlet/scidlet.cpp src/engine.o src/recog.o src/misc.o src/position.o src/dstring.o g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE -I/usr/include -o src/tkscid.o -c src/tkscid.cpp In file included from src/index.h:27:0, from src/optable.h:20, from src/tkscid.cpp:32: src/filter.h: In member function 'void Filter::Set(uint, byte)': src/filter.h:98:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (value == 1) ^~ src/filter.h:100:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' Allocate(); ^~~~~~~~ src/tkscid.cpp: In function 'void exportGame(Game*, FILE*, gameFormatT, uint)': src/tkscid.cpp:496:12: warning: unused variable 'nWrited' [-Wunused-variable] size_t nWrited = fwrite(db->tbuf->GetBuffer(), 1, db->tbuf->GetByteCount(), exportFile); ^~~~~~~ src/tkscid.cpp: In function 'int sc_filter(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:2574:28: warning: unused variable 'nWrited' [-Wunused-variable] size_t nWrited = fwrite(db->tbuf->GetBuffer(), 1, db->tbuf->GetByteCount(), exportFile); ^~~~~~~ src/tkscid.cpp: In function 'int sc_tree_search(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:9402:10: warning: variable 'showTimeStats' set but not used [-Wunused-but-set-variable] bool showTimeStats = true; ^~~~~~~~~~~~~ src/tkscid.cpp: In function 'int sc_base_ecoStats(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:939:1: warning: '%u' directive writing 1 byte into a region of size between 0 and 8 [-Wformat-overflow=] sc_base_ecoStats (ClientData cd, Tcl_Interp * ti, int argc, const char ** argv) ^~~~~~~~~~~~~~~~ src/tkscid.cpp:939:1: note: directive argument in the range [0, 9] src/tkscid.cpp:1006:17: note: 'sprintf' output between 4 and 12 bytes into a destination of size 10 sprintf (str, "%u.%u", score / 10, score % 10); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -MMD -O3 -march=native -fno-rtti -fno-exceptions -std=c++11 -pthread -Wall -DZLIB -DSCID_USE_TB -DT41_INCLUDE src/polyglot/colour.o src/polyglot/san.o src/polyglot/main.o src/polyglot/hash.o src/polyglot/fen.o src/polyglot/piece.o src/polyglot/attack.o src/polyglot/move.o src/polyglot/list.o src/polyglot/move_do.o src/polyglot/move_gen.o src/polyglot/random.o src/polyglot/board.o src/polyglot/square.o src/polyglot/option.o src/polyglot/book.o src/polyglot/util.o src/polyglot/move_legal.o src/bytebuf.o src/matsig.o src/pbook.o src/recog.o src/misc.o src/spellchk.o src/pgnparse.o src/mfile.o src/namebase.o src/index.o src/gfile.o src/sortcache.o src/textbuf.o src/position.o src/scidbase.o src/probe.o src/searchindex.o src/tkscid.o src/optable.o src/sc_base.o src/dstring.o src/filter.o src/engine.o src/game.o src/crosstab.o src/stored.o src/date.o -L/usr/lib64 -ltcl8.6 -lz -o tkscid + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ii6fqA + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64 + cd scid-src + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/bin /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid + echo 'warning: %makeinstall is deprecated, try %make_install instead' warning: %makeinstall is deprecated, try %make_install instead + /usr/bin/make prefix=/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr exec_prefix=/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr bindir=/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/bin sbindir=/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/sbin sysconfdir=/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/etc datadir=/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share includedir=/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/include libdir=/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/lib64 libexecdir=/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/libexec localstatedir=/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/var sharedstatedir=/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/var/lib mandir=/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/man infodir=/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/info install BINDIR=/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/bin SHAREDIR=/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid install -m 755 -d "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid" install -m 755 -d "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/bin" install -m 755 sc_epgn sc_spell sc_eco sc_import sc_remote scidpgn pgnfix spliteco spf2spi tkscid "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/bin" rm -f "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/bin/scid" chmod 755 "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/bin/scid" chmod +x "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/bin/scid" install -m 644 -p scid.eco "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid" install -m 755 -d "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/books" install -m 666 ./books/*.* "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/books/" install -m 755 -d "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/bases" if test -d ./bases; then install -m 666 ./bases/*.* "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/bases/" ; fi install -m 755 -d "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/html" cp -r ./html/* "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/html/" install -m 755 -d "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/img/" cp -r ./img/* "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/img/" install -m 755 -d "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/tcl/" cp -r ./tcl/* "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/tcl/" cd engines/phalanx-scid/ && /usr/bin/make && cd ../../ make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/phalanx-scid' cd engines/togaII1.2.1a/src/ && /usr/bin/make && cd ../../ make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid-src/engines/togaII1.2.1a/src' install -m 755 -d "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/engines" install -m 755 -d "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/engines/phalanx-scid" install ./engines/phalanx-scid/phalanx-scid "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/engines/phalanx-scid" install -m 755 -d "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/engines/togaII1.2.1a" install ./engines/togaII1.2.1a/src/togaII "/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/engines/togaII1.2.1a/" + sed -i -e s@/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64@@g /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/bin/scid + cp -ar sounds /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/sounds + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/icons/hicolor/128x128/apps + cp /home/pterjan/rpmbuild/SOURCES/scid.png /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/icons/hicolor/128x128/apps + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/applications + cat + /usr/lib/rpm/find-debuginfo.sh -j8 -m -i --build-id-seed 4.6.2-3.mga7 --unique-debug-suffix -4.6.2-3.mga7.x86_64 --unique-debug-src-base scid-4.6.2-3.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/scid-src extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/scid/engines/phalanx-scid/phalanx-scid extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/bin/tkscid /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files Warning: unused libraries in /usr/share/scid/engines/togaII1.2.1a/togaII: libm.so.6 libgcc_s.so.1 + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: scid-4.6.2-3.mga7.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KCPVq1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd scid-src + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/doc/scid + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/doc/scid + cp -pr ChangeLog /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/doc/scid + cp -pr COPYING /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/doc/scid + cp -pr TODO /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/doc/scid + cp -pr bitmaps/ /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/doc/scid + cp -pr help/ /home/pterjan/rpmbuild/BUILDROOT/scid-4.6.2-3.mga7.x86_64/usr/share/doc/scid + exit 0 Provides: application() application(scid.desktop) scid = 4.6.2-3.mga7 scid(x86-64) = 4.6.2-3.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(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) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcl8.6.so()(64bit) libz.so.1()(64bit) python tcl Conflicts: scidvspc Recommends: tcl-snack Processing files: scid-debugsource-4.6.2-3.mga7.x86_64 error: Empty %files file /home/pterjan/rpmbuild/BUILD/scid-src/debugsourcefiles.list RPM build errors: Empty %files file /home/pterjan/rpmbuild/BUILD/scid-src/debugsourcefiles.list I: [iurt_root_command] ERROR: chroot