D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/scidvspc-4.10-8.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qIcBVd + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf scid_vs_pc-4.10 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/scid_vs_pc-4.10.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd scid_vs_pc-4.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/scid_vs_pc-4.10-format.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.258yLg + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd scid_vs_pc-4.10 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + ./configure BINDIR=/usr/bin SHAREDIR=/usr/share/scid 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' Scid vs. PC configure - Makefile configuration program Tcl/Tk version: 8.6 Your operating system is: Linux 4.4.5-server-1.mga6 NAME="Mageia" VERSION="7" ID=mageia VERSION_ID=7 ID_LIKE="mandriva fedora" PRETTY_NAME="Mageia 7" ANSI_COLOR="1;36" HOME_URL="http://www.mageia.org/" SUPPORT_URL="http://www.mageia.org/support/" BUG_REPORT_URL="https://bugs.mageia.org/" PRIVACY_POLICY_URL="https://wiki.mageia.org/en/Privacy_policy" LSB_VERSION= DISTRIB_ID="Mageia" DISTRIB_RELEASE=7 DISTRIB_CODENAME=mga7 DISTRIB_DESCRIPTION="Mageia 7" Mageia release 7 (Cauldron) for x86_64 Location of "tcl.h": /usr/include Location of "tk.h": /usr/include Location of Tcl 8.6 library: /usr/lib64 Location of Tk 8.6 library: /usr/lib64 Location of X11 library: /usr/lib64 Checking if your system already has zlib installed: yes. The Makefile configured for your system was written. Now type "make" to compile Scid. + /usr/bin/make -O -j8 cp scripts/sc_addmove.tcl ./sc_addmove chmod +x sc_addmove cp scripts/sc_epgn.tcl ./sc_epgn chmod +x sc_epgn cp scripts/sc_spell.tcl ./sc_spell chmod +x sc_spell rm -f ./scid cat tcl/start.tcl tcl/config.tcl tcl/bitmaps.tcl tcl/language.tcl tcl/utils.tcl tcl/utils/date.tcl tcl/utils/font.tcl tcl/utils/graph.tcl tcl/utils/history.tcl tcl/utils/pane.tcl tcl/utils/sound.tcl tcl/utils/string.tcl tcl/utils/tooltip.tcl tcl/utils/validate.tcl tcl/utils/win.tcl tcl/misc/misc.tcl tcl/htext.tcl tcl/file.tcl tcl/file/finder.tcl tcl/file/bookmark.tcl tcl/file/recent.tcl tcl/file/epd.tcl tcl/file/spellchk.tcl tcl/file/maint.tcl tcl/edit.tcl tcl/game.tcl tcl/game/browser.tcl tcl/windows.tcl tcl/windows/gamelist.tcl tcl/windows/pgn.tcl tcl/windows/book.tcl tcl/windows/comment.tcl tcl/windows/eco.tcl tcl/windows/stats.tcl tcl/windows/tree.tcl tcl/windows/crosstab.tcl tcl/windows/pfinder.tcl tcl/windows/tourney.tcl tcl/windows/switcher.tcl tcl/search/search.tcl tcl/search/board.tcl tcl/search/header.tcl tcl/search/material.tcl tcl/contrib/ezsmtp/ezsmtp.tcl tcl/tools/email.tcl tcl/tools/import.tcl tcl/tools/optable.tcl tcl/tools/preport.tcl tcl/tools/pinfo.tcl tcl/tools/analysis.tcl tcl/tools/comp.tcl tcl/tools/wbdetect.tcl tcl/tools/reper.tcl tcl/tools/graphs.tcl tcl/tools/tablebase.tcl tcl/tools/ptracker.tcl tcl/help/help.tcl tcl/help/tips.tcl tcl/menus.tcl tcl/board.tcl tcl/move.tcl tcl/main.tcl tcl/tools/correspondence.tcl tcl/lang/english.tcl tcl/lang/deutsch.tcl tcl/lang/francais.tcl tcl/lang/italian.tcl tcl/lang/nederlan.tcl tcl/lang/spanish.tcl tcl/lang/portbr.tcl tcl/lang/swedish.tcl tcl/lang/norsk.tcl tcl/lang/polish.tcl tcl/lang/czech.tcl tcl/lang/hungary.tcl tcl/lang/serbian.tcl tcl/dnd/tkdnd.tcl tcl/dnd/tkdnd_unix.tcl tcl/tools/fics.tcl tcl/tools/uci.tcl tcl/end.tcl tcl/tools/tacgame.tcl tcl/tools/sergame.tcl tcl/tools/calvar.tcl tcl/tools/tactics.tcl tcl/tools/novag.tcl tcl/misc/flags.tcl tcl/tools/inputengine.tcl > ./scid chmod +x scid cp scripts/sc_eco.tcl ./sc_eco chmod +x sc_eco cp scripts/sc_import.tcl ./sc_import chmod +x sc_import cp scripts/sc_remote.tk ./sc_remote chmod +x sc_remote cp scripts/sc_tree.tcl ./sc_tree chmod +x sc_tree cp scripts/scidpgn.tcl ./scidpgn chmod +x scidpgn cp scripts/pgnfix.py ./pgnfix chmod +x pgnfix cp scripts/spliteco.tcl ./spliteco chmod +x spliteco g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/date.o -c src/date.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/pgnscid.o -c src/pgnscid.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/namebase.o -c src/namebase.cpp In file included from src/namebase.h:22:0, from src/namebase.cpp:17: src/strtree.h: In instantiation of 'nodeT* StrTree::MakeSubTree(int, uint) [with C = nameDataT; uint = unsigned int]': src/strtree.h:376:35: required from 'void StrTree::MakeTree() [with C = nameDataT]' src/strtree.h:157:48: required from 'void StrTree::Rebalance() [with C = nameDataT]' src/namebase.cpp:276:29: required from here src/strtree.h:339:24: warning: variable 'mid' set but not used [-Wunused-but-set-variable] int nLeft, nRight, mid; ^~~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/gfile.o -c src/gfile.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/matsig.o -c src/matsig.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/myassert.o -c src/myassert.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/bytebuf.o -c src/bytebuf.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/textbuf.o -c src/textbuf.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/stralloc.o -c src/stralloc.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/misc.o -c src/misc.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/dstring.o -c src/dstring.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/attack.o -c src/polyglot/attack.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/mfile.o -c src/mfile.cpp src/mfile.cpp: In member function 'errorT MFile::ReadLine(char*, uint)': src/mfile.cpp:371:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (str, (int) maxLength, Handle); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/movelist.o -c src/movelist.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/board.o -c src/polyglot/board.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/stored.o -c src/stored.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/colour.o -c src/polyglot/colour.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/book.o -c src/polyglot/book.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/book_merge.o -c src/polyglot/book_merge.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/book_make.o -c src/polyglot/book_make.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/fen.o -c src/polyglot/fen.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/hash.o -c src/polyglot/hash.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/index.o -c src/index.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/game.o -c src/polyglot/game.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/line.o -c src/polyglot/line.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/io.o -c src/polyglot/io.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/list.o -c src/polyglot/list.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/main.o -c src/polyglot/main.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/move.o -c src/polyglot/move.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/move_do.o -c src/polyglot/move_do.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/move_legal.o -c src/polyglot/move_legal.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/pgnparse.o -c src/pgnparse.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/random.o -c src/polyglot/random.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/piece.o -c src/polyglot/piece.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/move_gen.o -c src/polyglot/move_gen.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/option.o -c src/polyglot/option.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/parse.o -c src/polyglot/parse.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/pgn.o -c src/polyglot/pgn.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/square.o -c src/polyglot/square.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/search.o -c src/polyglot/search.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/util.o -c src/polyglot/util.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/polyglot/san.o -c src/polyglot/san.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/filter.o -c src/filter.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/position.o -c src/position.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/tree.o -c src/tree.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -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:2270:18: warning: variable 'newline' set but not used [-Wunused-but-set-variable] const char * newline = "\n"; ^~~~~~~ src/game.cpp: At global scope: src/game.cpp:3669:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char * defaultComment = ""; ^~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/spellchk.o -c src/spellchk.cpp /usr/bin/make -C src/tkdnd/ -f Makefile CC="gcc" LINK="g++" CFLAGS="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall " \ LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags" TCL_VERSION="8.6" TCL_INCLUDE="-I/usr/include" \ TCL_LIBRARY="-L/usr/lib64 -ltcl8.6" TK_INCLUDE="" TK_LIBRARY="-L/usr/lib64 -ltcl8.6 -ltk8.6 -lX11" g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/pbook.o -c src/pbook.cpp In file included from src/pbook.h:22:0, from src/pbook.cpp:22: 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:224: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++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/recog.o -c src/recog.cpp src/recog.cpp: In static member function 'static int Recognizer::KBPK(Position*)': src/recog.cpp:325:13: warning: variable 'wk' set but not used [-Wunused-but-set-variable] squareT wk, bk; ^~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -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:883:23: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/crosstab.cpp:887:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' dstr->Append (stemp); ^~~~ make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/src/tkdnd' gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -pipe -Wno-format-security -I/usr/include -I../tk8.6 unix/TkDND_XDND.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/src/tkdnd' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/tk_selection.o -c src/tk_selection.cpp g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/scmerge.o -c src/scmerge.cpp /usr/bin/make -C engines/phalanx/ -f Makefile CC="gcc" LINK="g++" CFLAGS="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall " LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags" make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' mkdir .o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/optable.o -c src/optable.cpp src/optable.cpp: In member function 'void OpTable::PrintLaTeX(DString*, const char*, const char*)': src/optable.cpp:1090: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:2131: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:1212:1: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] OpTable::PrintText (DString * dstr, const char * title, const char * comment, ^~~~~~~ In file included from /usr/include/stdio.h:936:0, from src/common.h:22, from src/optable.h:18, from src/optable.cpp:15: /usr/include/bits/stdio2.h:34:43: note: '__builtin___sprintf_chk' output between 10 and 17 bytes into a destination of size 16 __bos (__s), __fmt, __va_arg_pack ()); ^ /usr/bin/make -C engines/toga/src -f Makefile CXX="g++" LINK="g++" CXXFLAGS="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall " LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags" g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/engine.o -c src/engine.cpp src/engine.cpp: In member function 'int Engine::Think(MoveList*)': src/engine.cpp:1481:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (mlist->Size() <= depth || depth >= 5 && IsMatingScore (bestScore)) { break; } ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c phalanx.c -o .o/phalanx.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o pgnscid src/pgnscid.o src/misc.o src/index.o src/date.o src/namebase.o src/position.o src/game.o src/gfile.o src/matsig.o src/bytebuf.o src/textbuf.o src/myassert.o src/stralloc.o src/mfile.o src/dstring.o src/pgnparse.o src/stored.o src/movelist.o src/polyglot/attack.o src/polyglot/board.o src/polyglot/book.o src/polyglot/book_make.o src/polyglot/book_merge.o src/polyglot/colour.o src/polyglot/fen.o src/polyglot/game.o src/polyglot/hash.o src/polyglot/io.o src/polyglot/line.o src/polyglot/list.o src/polyglot/main.o src/polyglot/move.o src/polyglot/move_do.o src/polyglot/move_gen.o src/polyglot/move_legal.o src/polyglot/option.o src/polyglot/parse.o src/polyglot/pgn.o src/polyglot/piece.o src/polyglot/random.o src/polyglot/san.o src/polyglot/search.o src/polyglot/square.o src/polyglot/util.o -lz make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -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_vs_pc-4.10/engines/toga/src' g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o scmerge src/scmerge.o src/misc.o src/index.o src/date.o src/namebase.o src/position.o src/game.o src/gfile.o src/matsig.o src/bytebuf.o src/textbuf.o src/myassert.o src/stralloc.o src/mfile.o src/dstring.o src/pgnparse.o src/stored.o src/movelist.o src/polyglot/attack.o src/polyglot/board.o src/polyglot/book.o src/polyglot/book_make.o src/polyglot/book_merge.o src/polyglot/colour.o src/polyglot/fen.o src/polyglot/game.o src/polyglot/hash.o src/polyglot/io.o src/polyglot/line.o src/polyglot/list.o src/polyglot/main.o src/polyglot/move.o src/polyglot/move_do.o src/polyglot/move_gen.o src/polyglot/move_legal.o src/polyglot/option.o src/polyglot/parse.o src/polyglot/pgn.o src/polyglot/piece.o src/polyglot/random.o src/polyglot/san.o src/polyglot/search.o src/polyglot/square.o src/polyglot/util.o -lz g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/scidlet.o -c src/scidlet.cpp src/scidlet.cpp: In function 'void makeBook(const char*)': src/scidlet.cpp:410:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeString (out, "SBK", 4); ^ src/scidlet.cpp: In function 'bool readConfigFile(configT*)': src/scidlet.cpp:299:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, 512, fp); ~~~~~~^~~~~~~~~~~~~~~ src/scidlet.cpp: In function 'void makeBook(const char*)': src/scidlet.cpp:372:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, 512, in); ~~~~~~^~~~~~~~~~~~~~~ src/scidlet.cpp: In function 'bool readInput(Engine*)': src/scidlet.cpp:549:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (newCommand, 512, stdin); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c -o board.o board.cpp board.cpp: In function 'bool board_is_repetition(const board_t*)': board.cpp:439:11: warning: unused variable 'z' [-Wunused-variable] int i, z; ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/scidt.o -c src/scidt.cpp src/scidt.cpp: In function 'int main(int, char**)': src/scidt.cpp:672:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (newDesc, 1024, stdin); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o scidlet src/scidlet.o src/engine.o src/recog.o src/misc.o src/position.o src/movelist.o src/dstring.o src/myassert.o make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c -o book.o book.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c bcreate.c -o .o/bcreate.o bcreate.c: In function 'addmove': bcreate.c:193:7: warning: variable 'p' set but not used [-Wunused-but-set-variable] int p=PAWN+Color; ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o scidt src/scidt.o src/misc.o src/index.o src/date.o src/namebase.o src/position.o src/game.o src/gfile.o src/matsig.o src/bytebuf.o src/textbuf.o src/myassert.o src/stralloc.o src/mfile.o src/dstring.o src/pgnparse.o src/stored.o src/movelist.o src/polyglot/attack.o src/polyglot/board.o src/polyglot/book.o src/polyglot/book_make.o src/polyglot/book_merge.o src/polyglot/colour.o src/polyglot/fen.o src/polyglot/game.o src/polyglot/hash.o src/polyglot/io.o src/polyglot/line.o src/polyglot/list.o src/polyglot/main.o src/polyglot/move.o src/polyglot/move_do.o src/polyglot/move_gen.o src/polyglot/move_legal.o src/polyglot/option.o src/polyglot/parse.o src/polyglot/pgn.o src/polyglot/piece.o src/polyglot/random.o src/polyglot/san.o src/polyglot/search.o src/polyglot/square.o src/polyglot/util.o -lz make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c -o fen.o fen.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c data.c -o .o/data.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c -o hash.o hash.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c search.c -o .o/search.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c -o list.o list.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c evaluate.c -o .o/evaluate.o evaluate.c: In function 'evaluate': evaluate.c:695:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(support>0) newdch -= 20*support+10; break; } ^~ evaluate.c:695: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_vs_pc-4.10/engines/phalanx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c -o main.o main.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -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:645: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:900:8: warning: variable 'king_file' set but not used [-Wunused-but-set-variable] int king_file, king_rank, file; ^~~~~~~~~ eval.cpp:900:19: warning: variable 'king_rank' set but not used [-Wunused-but-set-variable] int king_file, king_rank, file; ^~~~~~~~~ eval.cpp: In function 'void eval_passer(const board_t*, const pawn_info_t*, int*, int*)': eval.cpp:1110:8: warning: variable 'white_passed_nb' set but not used [-Wunused-but-set-variable] int white_passed_nb, black_passed_nb; ^~~~~~~~~~~~~~~ eval.cpp:1110: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:1394: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:1720: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:1784:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] int wk, wp, bk, bn; ^~ eval.cpp:1784: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:1832:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] int wk, wn, wp, bk; ^~ eval.cpp:1832: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:1935: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_vs_pc-4.10/engines/toga/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -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_vs_pc-4.10/engines/phalanx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c -o move.o move.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c -o material.o material.cpp material.cpp: In function 'void material_comp_info(material_info_t*, const board_t*)': material.cpp:195:8: warning: unused variable 'WhiteMinors' [-Wunused-variable] int WhiteMinors,BlackMinors,WhiteMajors,BlackMajors ^~~~~~~~~~~ material.cpp:195:20: warning: unused variable 'BlackMinors' [-Wunused-variable] int WhiteMinors,BlackMinors,WhiteMajors,BlackMajors ^~~~~~~~~~~ material.cpp:195:32: warning: unused variable 'WhiteMajors' [-Wunused-variable] int WhiteMinors,BlackMinors,WhiteMajors,BlackMajors ^~~~~~~~~~~ material.cpp:195:44: warning: unused variable 'BlackMajors' [-Wunused-variable] int WhiteMinors,BlackMinors,WhiteMajors,BlackMajors ^~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c hash.c -o .o/hash.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c genmoves.c -o .o/genmoves.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c -o move_check.o move_check.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c -o move_evasion.o move_evasion.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c io.c -o .o/io.o io.c: In function 'setfen': io.c:819:28: warning: comparison between pointer and zero character constant [-Wpointer-compare] while (isdigit(*f) && f != '\0') /* find the end of the fifty-move info */ ^~ io.c:819:26: note: did you mean to dereference the pointer? while (isdigit(*f) && f != '\0') /* find the end of the fifty-move info */ ^ io.c: In function 'interrupt': io.c:1053:17: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] if( c=='.' ) { fgets(Inp,255,stdin); goto go_on; } ^~~~~~~~~~~~~~~~~~~~ io.c: In function 'command': io.c:1304:24: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] { printf("depth= "); scanf( "%i", &newdepth ); } ^~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c -o move_do.o move_do.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c levels.c -o .o/levels.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -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_vs_pc-4.10/engines/toga/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c killers.c -o .o/killers.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -c -o option.o option.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -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; ^ book.c: In function 'myfread': book.c:29:28: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] { for( j=0; j!=ISI; j++ ) fread( (char*)ptr+i+j, 1, 1, stream ); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ book.c:30:28: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] for( j=0; i+j= 2 && TbColumn (sq) >= 1 && sqKing == sq-17 || ^ src/egtb/tbindex.cpp:922:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] TbRow (sq) >= 1 && TbColumn (sq) >= 2 && sqKing == sq-10 || ^ src/egtb/tbindex.cpp:923:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] TbRow (sq) >= 1 && TbColumn (sq) <= 5 && sqKing == sq-6 || ^ src/egtb/tbindex.cpp:924:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] TbRow (sq) <= 6 && TbColumn (sq) >= 2 && sqKing == sq+6 || ^ src/egtb/tbindex.cpp:925:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] TbRow (sq) <= 6 && TbColumn (sq) <= 5 && sqKing == sq+10 || ^ src/egtb/tbindex.cpp:926:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] TbRow (sq) <= 5 && TbColumn (sq) >= 1 && sqKing == sq+15 || ^ src/egtb/tbindex.cpp:927:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] TbRow (sq) <= 5 && TbColumn (sq) <= 6 && sqKing == sq+17 ^ src/egtb/tbindex.cpp:933:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 0 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq-9 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/egtb/tbindex.cpp:935:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 7 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq+7 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/egtb/tbindex.cpp:936:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 7 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq+9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/egtb/tbindex.cpp:942:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 0 != TbColumn (sq) && sqKing == sq-1 || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/egtb/tbindex.cpp:944:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 0 != TbRow (sq) && sqKing == sq-8 || ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/egtb/tbindex.cpp:945:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 7 != TbRow (sq) && sqKing == sq+8 ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/egtb/tbindex.cpp:951:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 0 != TbColumn (sq) && sqKing == sq-1 || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/egtb/tbindex.cpp:953:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 0 != TbRow (sq) && sqKing == sq-8 || ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/egtb/tbindex.cpp:954:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 7 != TbRow (sq) && sqKing == sq+8 || ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/egtb/tbindex.cpp:955:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 0 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq-9 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/egtb/tbindex.cpp:956:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 0 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq-7 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/egtb/tbindex.cpp:957:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 7 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq+7 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/egtb/tbindex.cpp:958:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 7 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq+9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/egtb/tbindex.cpp: In function 'void VInitEnumerations()': src/egtb/tbindex.cpp:1204:78: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf ("\nAllocated %dk\n\n", (unsigned long)(cbAllocated + 1023UL)/1024UL); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from src/probe.cpp:47:0: src/egtb/tbindex.cpp: In function 'int FReadTableToMemory(int, color, BYTE*)': src/egtb/tbindex.cpp:3712: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:47: 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++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -o src/tkscid.o -c src/tkscid.cpp src/tkscid.cpp: In function 'int sc_base_sort(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:2277:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (order[i] == db->gameNumber) ~~~~~~~~~^~~~~~~~~~~~~~~~~ src/tkscid.cpp: In function 'int sc_compact_games(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:4373:10: warning: variable 'treeFileOutOfDate' set but not used [-Wunused-but-set-variable] bool treeFileOutOfDate = false; ^~~~~~~~~~~~~~~~~ src/tkscid.cpp: In function 'int sc_game_info(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:7443:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'W': flagName = "WhiteOpFlag"; break; ^~~~~~~~~~~~~ src/tkscid.cpp:7444:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'B': flagName = "BlackOpFlag"; break; ^~~~~~~~~~~~~ src/tkscid.cpp:7445:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'M': flagName = "MiddlegameFlag"; break; ^~~~~~~~~~~~~~~~ src/tkscid.cpp:7446:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'E': flagName = "EndgameFlag"; break; ^~~~~~~~~~~~~ src/tkscid.cpp:7447:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'N': flagName = "NoveltyFlag"; break; ^~~~~~~~~~~~~ src/tkscid.cpp:7448:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'P': flagName = "PawnFlag"; break; ^~~~~~~~~~ src/tkscid.cpp:7449:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'T': flagName = "TacticsFlag"; break; ^~~~~~~~~~~~~ src/tkscid.cpp:7450:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'Q': flagName = "QsideFlag"; break; ^~~~~~~~~~~ src/tkscid.cpp:7451:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'K': flagName = "KsideFlag"; break; ^~~~~~~~~~~ src/tkscid.cpp:7452:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case '!': flagName = "BrilliancyFlag"; break; ^~~~~~~~~~~~~~~~ src/tkscid.cpp:7453:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case '?': flagName = "BlunderFlag"; break; ^~~~~~~~~~~~~ src/tkscid.cpp:7454:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'U': flagName = "UserFlag"; break; ^~~~~~~~~~ src/tkscid.cpp: In function 'int sc_savegame(Tcl_Interp*, Game*, gameNumberT, scidBaseT*)': src/tkscid.cpp:8641:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = game->GetWhiteStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp:8651:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = game->GetBlackStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp:8661:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = game->GetEventStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp:8671:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = game->GetSiteStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp:8681:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = game->GetRoundStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp: In function 'int sc_game_tags_get(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:9351:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (db->gameNumber == 0 || db->gameNumber > db->numGames) { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/tkscid.cpp:9373:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = g->GetEventStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp:9378:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = g->GetSiteStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp:9400:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = g->GetRoundStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp:9405:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = g->GetWhiteStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp:9410:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = g->GetBlackStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp: In function 'int sc_tree_search(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:14497:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Tcl_SetResult (ti, "canceled", TCL_STATIC); ^ src/tkscid.cpp:14361:10: warning: variable 'showTimeStats' set but not used [-Wunused-but-set-variable] bool showTimeStats = true; ^~~~~~~~~~~~~ src/tkscid.cpp: In function 'int sc_base_export(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:1860:23: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, 1024, exportFile); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/tkscid.cpp: In function 'int sc_base_ecoStats(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:2404: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:2404:1: note: directive argument in the range [0, 9] In file included from /usr/include/stdio.h:936:0, from src/common.h:22, from src/tkscid.h:17, from src/tkscid.cpp:15: /usr/include/bits/stdio2.h:34:43: note: '__builtin___sprintf_chk' output between 4 and 12 bytes into a destination of size 10 __bos (__s), __fmt, __va_arg_pack ()); ^ g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o tkscid src/tkscid.o src/misc.o src/index.o src/date.o src/namebase.o src/position.o src/game.o src/gfile.o src/matsig.o src/bytebuf.o src/textbuf.o src/myassert.o src/stralloc.o src/mfile.o src/dstring.o src/pgnparse.o src/stored.o src/movelist.o src/polyglot/attack.o src/polyglot/board.o src/polyglot/book.o src/polyglot/book_make.o src/polyglot/book_merge.o src/polyglot/colour.o src/polyglot/fen.o src/polyglot/game.o src/polyglot/hash.o src/polyglot/io.o src/polyglot/line.o src/polyglot/list.o src/polyglot/main.o src/polyglot/move.o src/polyglot/move_do.o src/polyglot/move_gen.o src/polyglot/move_legal.o src/polyglot/option.o src/polyglot/parse.o src/polyglot/pgn.o src/polyglot/piece.o src/polyglot/random.o src/polyglot/san.o src/polyglot/search.o src/polyglot/square.o src/polyglot/util.o src/tree.o \ src/filter.o src/pbook.o src/crosstab.o src/spellchk.o src/probe.o src/optable.o \ src/engine.o src/recog.o src/tkdnd/TkDND_XDND.o src/tk_selection.o -lz -L/usr/lib64 -ltcl8.6 -ltk8.6 -lX11 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -I/usr/include -DTCL_ONLY -o src/tcscid.o -c src/tkscid.cpp src/tkscid.cpp: In function 'int sc_base_sort(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:2277:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (order[i] == db->gameNumber) ~~~~~~~~~^~~~~~~~~~~~~~~~~ src/tkscid.cpp: In function 'int sc_compact_games(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:4373:10: warning: variable 'treeFileOutOfDate' set but not used [-Wunused-but-set-variable] bool treeFileOutOfDate = false; ^~~~~~~~~~~~~~~~~ src/tkscid.cpp: In function 'int sc_game_info(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:7443:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'W': flagName = "WhiteOpFlag"; break; ^~~~~~~~~~~~~ src/tkscid.cpp:7444:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'B': flagName = "BlackOpFlag"; break; ^~~~~~~~~~~~~ src/tkscid.cpp:7445:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'M': flagName = "MiddlegameFlag"; break; ^~~~~~~~~~~~~~~~ src/tkscid.cpp:7446:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'E': flagName = "EndgameFlag"; break; ^~~~~~~~~~~~~ src/tkscid.cpp:7447:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'N': flagName = "NoveltyFlag"; break; ^~~~~~~~~~~~~ src/tkscid.cpp:7448:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'P': flagName = "PawnFlag"; break; ^~~~~~~~~~ src/tkscid.cpp:7449:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'T': flagName = "TacticsFlag"; break; ^~~~~~~~~~~~~ src/tkscid.cpp:7450:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'Q': flagName = "QsideFlag"; break; ^~~~~~~~~~~ src/tkscid.cpp:7451:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'K': flagName = "KsideFlag"; break; ^~~~~~~~~~~ src/tkscid.cpp:7452:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case '!': flagName = "BrilliancyFlag"; break; ^~~~~~~~~~~~~~~~ src/tkscid.cpp:7453:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case '?': flagName = "BlunderFlag"; break; ^~~~~~~~~~~~~ src/tkscid.cpp:7454:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 'U': flagName = "UserFlag"; break; ^~~~~~~~~~ src/tkscid.cpp: In function 'int sc_savegame(Tcl_Interp*, Game*, gameNumberT, scidBaseT*)': src/tkscid.cpp:8641:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = game->GetWhiteStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp:8651:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = game->GetBlackStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp:8661:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = game->GetEventStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp:8671:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = game->GetSiteStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp:8681:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = game->GetRoundStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp: In function 'int sc_game_tags_get(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:9351:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (db->gameNumber == 0 || db->gameNumber > db->numGames) { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/tkscid.cpp:9373:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = g->GetEventStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp:9378:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = g->GetSiteStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp:9400:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = g->GetRoundStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp:9405:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = g->GetWhiteStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp:9410:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = g->GetBlackStr(); if (!s) { s = "?"; } ^~~ src/tkscid.cpp: In function 'int sc_tree_search(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:14497:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Tcl_SetResult (ti, "canceled", TCL_STATIC); ^ src/tkscid.cpp:14361:10: warning: variable 'showTimeStats' set but not used [-Wunused-but-set-variable] bool showTimeStats = true; ^~~~~~~~~~~~~ src/tkscid.cpp: In function 'int sc_base_export(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:1860:23: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, 1024, exportFile); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/tkscid.cpp: In function 'int sc_base_ecoStats(ClientData, Tcl_Interp*, int, const char**)': src/tkscid.cpp:2404: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:2404:1: note: directive argument in the range [0, 9] In file included from /usr/include/stdio.h:936:0, from src/common.h:22, from src/tkscid.h:17, from src/tkscid.cpp:15: /usr/include/bits/stdio2.h:34:43: note: '__builtin___sprintf_chk' output between 4 and 12 bytes into a destination of size 10 __bos (__s), __fmt, __va_arg_pack ()); ^ g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o tcscid src/tcscid.o src/misc.o src/index.o src/date.o src/namebase.o src/position.o src/game.o src/gfile.o src/matsig.o src/bytebuf.o src/textbuf.o src/myassert.o src/stralloc.o src/mfile.o src/dstring.o src/pgnparse.o src/stored.o src/movelist.o src/polyglot/attack.o src/polyglot/board.o src/polyglot/book.o src/polyglot/book_make.o src/polyglot/book_merge.o src/polyglot/colour.o src/polyglot/fen.o src/polyglot/game.o src/polyglot/hash.o src/polyglot/io.o src/polyglot/line.o src/polyglot/list.o src/polyglot/main.o src/polyglot/move.o src/polyglot/move_do.o src/polyglot/move_gen.o src/polyglot/move_legal.o src/polyglot/option.o src/polyglot/parse.o src/polyglot/pgn.o src/polyglot/piece.o src/polyglot/random.o src/polyglot/san.o src/polyglot/search.o src/polyglot/square.o src/polyglot/util.o src/tree.o src/filter.o src/pbook.o \ src/crosstab.o src/spellchk.o src/probe.o src/optable.o src/engine.o src/recog.o -lz -L/usr/lib64 -ltcl8.6 make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall 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 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; ^~~~~~~ board.cpp: In function 'bool board_is_repetition(const board_t*)': board.cpp:439:11: warning: unused variable 'z' [-Wunused-variable] int i, z; ^ eval.cpp: In function 'void eval_piece(const board_t*, const material_info_t*, const pawn_info_t*, int*, int*)': eval.cpp:645: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:900:8: warning: variable 'king_file' set but not used [-Wunused-but-set-variable] int king_file, king_rank, file; ^~~~~~~~~ eval.cpp:900:19: warning: variable 'king_rank' set but not used [-Wunused-but-set-variable] int king_file, king_rank, file; ^~~~~~~~~ eval.cpp: In function 'void eval_passer(const board_t*, const pawn_info_t*, int*, int*)': eval.cpp:1110:8: warning: variable 'white_passed_nb' set but not used [-Wunused-but-set-variable] int white_passed_nb, black_passed_nb; ^~~~~~~~~~~~~~~ eval.cpp:1110: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:1394: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:1720: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:1784:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] int wk, wp, bk, bn; ^~ eval.cpp:1784: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:1832:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] int wk, wn, wp, bk; ^~ eval.cpp:1832: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:1935:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] int wk, wb, wp, bk, bb; ^~ material.cpp: In function 'void material_comp_info(material_info_t*, const board_t*)': material.cpp:195:8: warning: unused variable 'WhiteMinors' [-Wunused-variable] int WhiteMinors,BlackMinors,WhiteMajors,BlackMajors ^~~~~~~~~~~ material.cpp:195:20: warning: unused variable 'BlackMinors' [-Wunused-variable] int WhiteMinors,BlackMinors,WhiteMajors,BlackMajors ^~~~~~~~~~~ material.cpp:195:32: warning: unused variable 'WhiteMajors' [-Wunused-variable] int WhiteMinors,BlackMinors,WhiteMajors,BlackMajors ^~~~~~~~~~~ material.cpp:195:44: warning: unused variable 'BlackMajors' [-Wunused-variable] int WhiteMinors,BlackMinors,WhiteMajors,BlackMajors ^~~~~~~~~~~ move_gen.cpp:609:13: warning: 'void add_promotes(list_t*, const board_t*)' defined but not used [-Wunused-function] static void add_promotes(list_t * list, const board_t * board) { ^~~~~~~~~~~~ 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; ^~~ pawn.cpp: In function 'void pawn_comp_info(pawn_info_t*, const board_t*)': pawn.cpp:274:55: warning: variable 'passed' set but not used [-Wunused-but-set-variable] bool backward, candidate, doubled, isolated, open, passed; ^~~~~~ protocol.cpp: In function 'void parse_go(char*)': protocol.cpp:236:11: warning: variable 'nodes' set but not used [-Wunused-but-set-variable] sint64 nodes; ^~~~~ search.cpp: In function 'void search_update_root()': search.cpp:451:24: warning: variable 'move_nb' set but not used [-Wunused-but-set-variable] int move, move_pos, move_nb; ^~~~~~~ search.cpp:452:11: warning: variable 'time' set but not used [-Wunused-but-set-variable] double time; ^~~~ search.cpp:453:11: warning: variable 'node_nb' set but not used [-Wunused-but-set-variable] sint64 node_nb; ^~~~~~~ search_full.cpp: In function 'int full_search(board_t*, int, int, int, int, mv_t*, int)': search_full.cpp:418:8: warning: unused variable 'mb' [-Wunused-variable] int mb; ^~ 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; ^~~~~~~~~ search_full.cpp:948:8: warning: unused variable 'cd' [-Wunused-variable] int cd; ^~ search_full.cpp: At global scope: search_full.cpp:82:24: warning: 'FutilityMargin3' defined but not used [-Wunused-variable] static /* const */ int FutilityMargin3 = 950; ^~~~~~~~~~~~~~~ see.cpp:327:13: warning: 'void alist_clear(alist_t*)' defined but not used [-Wunused-function] static void alist_clear(alist_t * alist) { ^~~~~~~~~~~ sort.cpp:676:13: warning: 'void note_captures(list_t*, const board_t*)' defined but not used [-Wunused-function] static void note_captures(list_t * list, const board_t * board) { ^~~~~~~~~~~~~ trans.cpp:429:13: warning: 'bool entry_is_ok(const entry_t*)' defined but not used [-Wunused-function] static bool entry_is_ok(const entry_t * entry) { ^~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GW0ZjV + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64 + cd scid_vs_pc-4.10 + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/bin /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.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/scidvspc-4.10-8.mga7.x86_64/usr exec_prefix=/home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr bindir=/home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/bin sbindir=/home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/sbin sysconfdir=/home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/etc datadir=/home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share includedir=/home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/include libdir=/home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/lib64 libexecdir=/home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/libexec localstatedir=/home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/var sharedstatedir=/home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/var/lib mandir=/home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/man infodir=/home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/info install BINDIR=/home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/bin SHAREDIR=/home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid install -m 755 -d /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid install -m 755 -d /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/bin install -m 755 -d /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/data/ install -m 755 scid sc_addmove sc_epgn sc_spell sc_eco sc_import sc_remote sc_tree scidpgn pgnfix spliteco pgnscid tkscid tcscid scmerge scidlet scidt /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/bin install -m 644 -p scid.eco /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/data/ install -m 644 -p spelling.ssp /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid install -m 755 -d /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/books install -m 666 ./books/* /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/books/ install -m 755 -d /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/bases install -m 666 ./bases/* /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/bases/ install -m 755 -d /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/html cp -r ./html/* /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/html/ chmod -R 0777 /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/html/* install -m 755 -d /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/bitmaps cp -r ./bitmaps/* /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/bitmaps/ chmod -R 0777 /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/bitmaps/* /home/pterjan/.fonts: caching, new cache contents: 2 fonts, 0 dirs /var/cache/fontconfig: not cleaning unwritable cache directory /home/pterjan/.fontconfig: cleaning cache directory /home/pterjan/.cache/fontconfig: not cleaning non-existent cache directory fc-cache: succeeded /usr/bin/make -C engines/phalanx/ -f Makefile CC="gcc" LINK="g++" CFLAGS="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall " LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags" make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' make[1]: 'phalanx' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/phalanx' /usr/bin/make -C engines/toga/src -f Makefile CXX="g++" LINK="g++" CXXFLAGS="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall " LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags" make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10/engines/toga/src' install -m 755 -d /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/engines install -m 755 -d /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/engines/phalanx install -m 666 ./engines/phalanx/eco.phalanx /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/engines/phalanx install -m 644 ./engines/phalanx/HISTORY /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/engines/phalanx install -m 644 ./engines/phalanx/pbook.phalanx /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/engines/phalanx install -m 644 ./engines/phalanx/README /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/engines/phalanx install ./engines/phalanx/phalanx /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/bin install -m 755 -d /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/engines/toga install -m 644 ./engines/toga/copying.txt /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/engines/toga install -m 644 ./engines/toga/readme.txt /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid/engines/toga install ./engines/toga/src/fruit /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/bin + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/icons/hicolor/128x128/apps + cp icons/scid.png /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/icons/hicolor/128x128/apps/scidvspc.png + find /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/scid -type d -exec chmod 755 '{}' + + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/applications + cat + /usr/lib/rpm/find-debuginfo.sh -j8 -m -i --build-id-seed 4.10-8.mga7 --unique-debug-suffix -4.10-8.mga7.x86_64 --unique-debug-src-base scidvspc-4.10-8.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/scid_vs_pc-4.10 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/bin/fruit extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/bin/scmerge extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/bin/scidlet extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/bin/scidt extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/bin/pgnscid extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/bin/tcscid extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/bin/tkscid extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/bin/phalanx /usr/lib/rpm/sepdebugcrcfix: Updated 8 CRC32s, 0 CRC32s did match. 5536 blocks + '[' -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 + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: scidvspc-4.10-8.mga7.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WhxYKK + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd scid_vs_pc-4.10 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/doc/scidvspc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/doc/scidvspc + cp -pr doc/ChangeLog /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/doc/scidvspc + cp -pr doc/CHANGES /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/doc/scidvspc + cp -pr doc/README /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/doc/scidvspc + cp -pr doc/THANKS /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/doc/scidvspc + cp -pr doc/TODO /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64/usr/share/doc/scidvspc + exit 0 Provides: application() application(scidvspc.desktop) scidvspc = 4.10-8.mga7 scidvspc(x86-64) = 4.10-8.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) 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) libc.so.6(GLIBC_2.7)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libtcl8.6.so()(64bit) libtk8.6.so()(64bit) libz.so.1()(64bit) python Conflicts: scid Processing files: scidvspc-debugsource-4.10-8.mga7.x86_64 Provides: scidvspc-debugsource = 4.10-8.mga7 scidvspc-debugsource(x86-64) = 4.10-8.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: scidvspc-debuginfo-4.10-8.mga7.x86_64 Provides: debuginfo(build-id) = 09858943105ae1efcfd1d428f495e9bb168b604f debuginfo(build-id) = 219f11588921faccae599a395330eddb542d25c7 debuginfo(build-id) = 23f2d8bc8120841c8beb52119a56113d33a05abb debuginfo(build-id) = 39feeb8e427558569bb7e101619685de648a9e6b debuginfo(build-id) = 94413b6e7a97a40bce2cd577c5aaf681c6485521 debuginfo(build-id) = a8c4f2bdec3c2b788df408c902ecb3c2e459e1f7 debuginfo(build-id) = e310c0101ddba76bcb0001c2884982d998bfe8b7 debuginfo(build-id) = f73e223a2c6ec5280e73028f7c43c075fe9ec437 scidvspc-debuginfo = 4.10-8.mga7 scidvspc-debuginfo(x86-64) = 4.10-8.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: scidvspc-debugsource(x86-64) = 4.10-8.mga7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/scidvspc-4.10-8.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/scidvspc-debugsource-4.10-8.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/scidvspc-debuginfo-4.10-8.mga7.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IpoaOR + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd scid_vs_pc-4.10 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/scidvspc-4.10-8.mga7.x86_64 + exit 0 Executing(--clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YgWqWY + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf scid_vs_pc-4.10 + exit 0 D: [iurt_root_command] Success!