Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gnuchess.spec'], chrootPath='/var/lib/mock/f29-build-26390-13684/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gnuchess.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/gnuchess-6.2.5-7.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gnuchess.spec'], chrootPath='/var/lib/mock/f29-build-26390-13684/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gnuchess.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tTewMV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gnuchess-6.2.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/gnuchess-6.2.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gnuchess-6.2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gzip -dc /builddir/build/SOURCES/book_1.02.dat.gz + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Hhhj16 + umask 022 + cd /builddir/build/BUILD + cd gnuchess-6.2.5 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for riscv64-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl.exe... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking whether ln -s works... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for tputs in -lncurses... no checking for readline in -lreadline... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking readline/readline.h usability... no checking readline/readline.h presence... no checking for readline/readline.h... no checking readline/history.h usability... no checking readline/history.h presence... no checking for readline/history.h... no checking for ANSI C header files... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for an ANSI C-conforming const... yes checking for working volatile... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for stdint types... stdint.h (shortcircuit) make use of stdint.h in src/GCint.h (assuming C99 compatible system) checking return type of signal handlers... void checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for gettimeofday... yes checking for strchr... yes checking for strcspn... yes checking for strstr... yes checking for strerror... yes checking for memset... yes checking for strdup... yes checking for strtol... yes checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done BUILDSTDERR: ./configure: line 7364: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory BUILDSTDERR: ./configure: line 7364: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/frontend/Makefile config.status: creating src/adapter/Makefile config.status: creating src/engine/Makefile config.status: creating doc/Makefile config.status: creating po/Makefile.in config.status: creating man/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing src/GCint.h commands config.status: creating src/GCint.h : _GNUCHESS_SRC_GCINT_H config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile + make -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/gnuchess-6.2.5/src' rm -f configmake.h-t configmake.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ echo '#define PKGDATADIR "/usr/share/gnuchess"'; \ } | sed '/""/d' > configmake.h-t mv configmake.h-t configmake.h make all-recursive make[2]: Entering directory '/builddir/build/BUILD/gnuchess-6.2.5/src' Making all in frontend make[3]: Entering directory '/builddir/build/BUILD/gnuchess-6.2.5/src/frontend' g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o atak.o atak.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cmd.o cmd.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o debug.o debug.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o epd.o epd.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o genmove.o genmove.cc BUILDSTDERR: epd.cc: In function 'short int ReadEPDFile(const char*, short int)': BUILDSTDERR: epd.cc:82:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (i = 0; i < strlen( line ); ++i) { BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: epd.cc:76:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (line, MAXSTR-1, fp); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: genmove.cc: In function 'void GenNonCaptures(short int)': BUILDSTDERR: genmove.cc:310:22: warning: variable 'ep' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int piece, sq, t, ep; BUILDSTDERR: ^~ BUILDSTDERR: genmove.cc:311:31: warning: variable 'notfriends' set but not used [-Wunused-but-set-variable] BUILDSTDERR: BitBoard b, c, d, friends, notfriends, blocker, notblocker; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: genmove.cc: In function 'void GenCaptures(short int)': BUILDSTDERR: genmove.cc:455:28: warning: variable 'notfriends' set but not used [-Wunused-but-set-variable] BUILDSTDERR: BitBoard b, c, friends, notfriends, enemy, blocker; BUILDSTDERR: ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o init.o init.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o move.o move.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o output.o output.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o players.o players.cc BUILDSTDERR: players.cc: In function 'void DBWritePlayer()': BUILDSTDERR: players.cc:116:8: warning: variable 'result2' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int result2; BUILDSTDERR: ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o pgn.o pgn.cc BUILDSTDERR: pgn.cc: In function 'void PGNSaveToFile(const char*, const char*)': BUILDSTDERR: pgn.cc:164:18: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] BUILDSTDERR: sprintf (s, "%s%d. ", s, i/2 + 1); BUILDSTDERR: ^ ~ BUILDSTDERR: pgn.cc:166:16: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] BUILDSTDERR: sprintf (s, "%s%s ", s, Game[i].SANmv); BUILDSTDERR: ^ ~ BUILDSTDERR: pgn.cc: In function 'int IsTrustedPlayer(const char*)': BUILDSTDERR: pgn.cc:349:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: for (i = 0; i < (sizeof(trusted_players) / sizeof(*trusted_players)); BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o solve.o solve.cc BUILDSTDERR: pgn.cc: In function 'void PGNSaveToFile(const char*, const char*)': BUILDSTDERR: pgn.cc:164:21: warning: '%d' directive writing between 1 and 3 bytes into a region of size between 1 and 100 [-Wformat-overflow=] BUILDSTDERR: sprintf (s, "%s%d. ", s, i/2 + 1); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: pgn.cc:164:21: note: directive argument in the range [1, 301] BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from pgn.cc:28: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 4 and 105 bytes into a destination of size 100 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pgn.cc:166:19: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: sprintf (s, "%s%s ", s, Game[i].SANmv); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from pgn.cc:28: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 101) into a destination of size 100 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: solve.cc: In function 'void Solve(char*)': BUILDSTDERR: solve.cc:48:8: warning: unused variable 'elo' [-Wunused-variable] BUILDSTDERR: int elo; BUILDSTDERR: ^~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o swap.o swap.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o util.o util.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o engine.o engine.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o lexpgn.o lexpgn.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o input.o input.cc BUILDSTDERR: input.cc: In function 'void* input_func(void*)': BUILDSTDERR: input.cc:151:22: warning: zero-length gnu_printf format string [-Wformat-zero-length] BUILDSTDERR: sprintf(prompt,""); BUILDSTDERR: ^~ BUILDSTDERR: input.cc: In function 'void getline_standard(char*)': BUILDSTDERR: input.cc:98:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(userinputstr, MAXSTR, stdin); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: engine.cc: In function 'int GetNextLine(char*, char*)': BUILDSTDERR: engine.cc:378:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for ( i=0; ipos < 0 || parse->pos > strlen(parse->string)) return false; BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o piece.o piece.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o posix.o posix.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o random.o random.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o san.o san.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o search.o search.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o square.o square.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o uci.o uci.cpp BUILDSTDERR: search.cpp:76:13: warning: 'bool adapter::depth_is_ok(int)' defined but not used [-Wunused-function] BUILDSTDERR: static bool depth_is_ok(int depth) { BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: uci.cpp:72:13: warning: 'bool adapter::uci_is_ok(const adapter::uci_t*)' defined but not used [-Wunused-function] BUILDSTDERR: static bool uci_is_ok(const uci_t * uci) { BUILDSTDERR: ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o util.o util.cpp rm -f libadapter.a ar cru libadapter.a adapter.o attack.o board.o book.o book_make.o book_merge.o colour.o engine.o epd.o fen.o game.o hash.o io.o line.o list.o main.o move.o move_do.o move_gen.o move_legal.o option.o parse.o pgn.o piece.o posix.o random.o san.o search.o square.o uci.o util.o ranlib libadapter.a make[3]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.5/src/adapter' Making all in engine make[3]: Entering directory '/builddir/build/BUILD/gnuchess-6.2.5/src/engine' g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o attack.o attack.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o board.o board.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o book.o book.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o eval.o eval.cpp BUILDSTDERR: attack.cpp: In function 'bool engine::piece_attack_king(const engine::board_t*, int, int, int)': BUILDSTDERR: attack.cpp:480:18: warning: variable 'inc_ptr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const inc_t * inc_ptr; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: eval.cpp: In function 'void engine::eval_piece(const engine::board_t*, const engine::material_info_t*, const engine::pawn_info_t*, int*, int*)': BUILDSTDERR: eval.cpp:580:8: warning: variable 'opp_flag' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int opp_flag; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: eval.cpp: In function 'bool engine::free_passer(const engine::board_t*, int, int)': BUILDSTDERR: eval.cpp:1194:12: warning: variable 'opp' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int me, opp; BUILDSTDERR: ^~~ BUILDSTDERR: eval.cpp: In function 'bool engine::draw_kpkb(const int*, int)': BUILDSTDERR: eval.cpp:1520:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int wk, wp, bk, bb; BUILDSTDERR: ^~ BUILDSTDERR: eval.cpp: In function 'bool engine::draw_kpkn(const int*, int)': BUILDSTDERR: eval.cpp:1584:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int wk, wp, bk, bn; BUILDSTDERR: ^~ BUILDSTDERR: eval.cpp:1584:16: warning: variable 'bk' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int wk, wp, bk, bn; BUILDSTDERR: ^~ BUILDSTDERR: eval.cpp: In function 'bool engine::draw_knpk(const int*, int)': BUILDSTDERR: eval.cpp:1632:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int wk, wn, wp, bk; BUILDSTDERR: ^~ BUILDSTDERR: eval.cpp:1632:12: warning: variable 'wn' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int wk, wn, wp, bk; BUILDSTDERR: ^~ BUILDSTDERR: eval.cpp: In function 'bool engine::draw_kbpkb(const int*, int)': BUILDSTDERR: eval.cpp:1735:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int wk, wb, wp, bk, bb; BUILDSTDERR: ^~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fen.o fen.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o hash.o hash.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o list.o list.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o main.o main.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o material.o material.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o move.o move.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o move_check.o move_check.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o move_do.o move_do.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o move_evasion.o move_evasion.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o move_gen.o move_gen.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o move_legal.o move_legal.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o option.o option.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o pawn.o pawn.cpp BUILDSTDERR: pawn.cpp: In function 'void engine::pawn_comp_info(engine::pawn_info_t*, const engine::board_t*)': BUILDSTDERR: pawn.cpp:296:55: warning: variable 'passed' set but not used [-Wunused-but-set-variable] BUILDSTDERR: bool backward, candidate, doubled, isolated, open, passed; BUILDSTDERR: ^~~~~~ BUILDSTDERR: move_legal.cpp: In function 'bool engine::move_is_pseudo(int, engine::board_t*)': BUILDSTDERR: move_legal.cpp:50:12: warning: variable 'opp' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int me, opp; BUILDSTDERR: ^~~ BUILDSTDERR: move_legal.cpp: In function 'bool engine::quiet_is_pseudo(int, engine::board_t*)': BUILDSTDERR: move_legal.cpp:132:12: warning: variable 'opp' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int me, opp; BUILDSTDERR: ^~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o piece.o piece.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o posix.o posix.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o protocol.o protocol.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o pst.o pst.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o pv.o pv.cpp BUILDSTDERR: protocol.cpp: In function 'void engine::parse_go(char*)': BUILDSTDERR: protocol.cpp:273:11: warning: variable 'nodes' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sint64 nodes; BUILDSTDERR: ^~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o random.o random.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o recog.o recog.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o search.o search.cpp BUILDSTDERR: search.cpp: In function 'void engine::search_update_root()': BUILDSTDERR: search.cpp:373:24: warning: variable 'move_nb' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int move, move_pos, move_nb; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: search.cpp:374:11: warning: variable 'time' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double time; BUILDSTDERR: ^~~~ BUILDSTDERR: search.cpp:375:11: warning: variable 'node_nb' set but not used [-Wunused-but-set-variable] BUILDSTDERR: sint64 node_nb; BUILDSTDERR: ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o search_full.o search_full.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o see.o see.cpp BUILDSTDERR: search_full.cpp: In function 'int engine::full_quiescence(engine::board_t*, int, int, int, int, engine::mv_t*)': BUILDSTDERR: search_full.cpp:813:8: warning: variable 'best_move' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int best_move; BUILDSTDERR: ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o sort.o sort.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o square.o square.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o trans.o trans.cpp BUILDSTDERR: trans.cpp:447:13: warning: 'bool engine::entry_is_ok(const engine::entry_t*)' defined but not used [-Wunused-function] BUILDSTDERR: static bool entry_is_ok(const entry_t * entry) { BUILDSTDERR: ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o util.o util.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o value.o value.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o vector.o vector.cpp rm -f libengine.a ar cru libengine.a attack.o board.o book.o eval.o fen.o hash.o list.o main.o material.o move.o move_check.o move_do.o move_evasion.o move_gen.o move_legal.o option.o pawn.o piece.o posix.o protocol.o pst.o pv.o random.o recog.o search.o search_full.o see.o sort.o square.o trans.o util.o value.o vector.o ranlib libengine.a make[3]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.5/src/engine' make[3]: Entering directory '/builddir/build/BUILD/gnuchess-6.2.5/src' g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../lib -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o main.o main.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../lib -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o components.o components.cc BUILDSTDERR: main.cc: In function 'void EndProg(int)': BUILDSTDERR: main.cc:221:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: system( "stty sane" ); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: main.cc: In function 'int main(int, char**)': BUILDSTDERR: main.cc:427:20: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: sprintf( data, "book add %s\nquit", opt_addbook ); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from main.cc:30: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 15 and 143 bytes into a destination of size 142 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gnuchess main.o components.o frontend/libfrontend.a adapter/libadapter.a engine/libengine.a make[3]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.5/src' make[2]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.5/src' make[1]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.5/src' Making all in doc make[1]: Entering directory '/builddir/build/BUILD/gnuchess-6.2.5/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.5/doc' Making all in po make[1]: Entering directory '/builddir/build/BUILD/gnuchess-6.2.5/po' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.5/po' Making all in man make[1]: Entering directory '/builddir/build/BUILD/gnuchess-6.2.5/man' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.5/man' make[1]: Entering directory '/builddir/build/BUILD/gnuchess-6.2.5' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.5' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dFGG8N + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64 + cd gnuchess-6.2.5 + rm -rf /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64/var/lib/games/gnuchess /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64/usr/bin + install -m 755 -p src/gnuchess /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64/usr/bin + install -m 644 -p book.dat /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64/var/lib/games/gnuchess + mkdir -p /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64/usr/share/gnuchess/ + install -m 644 src/gnuchess.ini /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64/usr/share/gnuchess/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 6.2.5-7.fc29 --unique-debug-suffix -6.2.5-7.fc29.riscv64 --unique-debug-src-base gnuchess-6.2.5-7.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/gnuchess-6.2.5 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64/usr/bin/gnuchess extracting debug info from /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64/usr/bin/gnuchess /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 2045 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: gnuchess-6.2.5-7.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DgzKYh + umask 022 + cd /builddir/build/BUILD + cd gnuchess-6.2.5 + DOCDIR=/builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64/usr/share/doc/gnuchess + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64/usr/share/doc/gnuchess + cp -pr doc/Makefile doc/Makefile.am doc/Makefile.in doc/README doc/fdl.texi doc/gnuchess.info doc/gnuchess.texi doc/mdate-sh doc/quotes.rb doc/stamp-vti doc/texinfo.tex doc/version.texi /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64/usr/share/doc/gnuchess + cp -pr COPYING /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64/usr/share/doc/gnuchess + cp -pr AUTHORS /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64/usr/share/doc/gnuchess + cp -pr NEWS /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64/usr/share/doc/gnuchess + cp -pr TODO /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64/usr/share/doc/gnuchess + cp -pr README /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64/usr/share/doc/gnuchess + exit 0 BUILDSTDERR: warning: File listed twice: /usr/share/doc/gnuchess/README Provides: chessprogram gnuchess = 6.2.5-7.fc29 gnuchess(riscv-64) = 6.2.5-7.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) rtld(GNU_HASH) Processing files: gnuchess-debugsource-6.2.5-7.fc29.riscv64 Provides: gnuchess-debugsource = 6.2.5-7.fc29 gnuchess-debugsource(riscv-64) = 6.2.5-7.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: gnuchess-debuginfo-6.2.5-7.fc29.riscv64 Provides: debuginfo(build-id) = 106c2bcd0a355e2bfc81523ec5fbb4f07c9257fd gnuchess-debuginfo = 6.2.5-7.fc29 gnuchess-debuginfo(riscv-64) = 6.2.5-7.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gnuchess-debugsource(riscv-64) = 6.2.5-7.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64 Wrote: /builddir/build/RPMS/gnuchess-6.2.5-7.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/gnuchess-debugsource-6.2.5-7.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/gnuchess-debuginfo-6.2.5-7.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vSMeg6 + umask 022 + cd /builddir/build/BUILD + cd gnuchess-6.2.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gnuchess-6.2.5-7.fc29.riscv64 + exit 0 Child return code was: 0