Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gnuchess.spec'], chrootPath='/var/lib/mock/f33-build-580263-66209/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1617840000 Wrote: /builddir/build/SRPMS/gnuchess-6.2.7-5.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gnuchess.spec'], chrootPath='/var/lib/mock/f33-build-580263-66209/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1617840000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hvMf4F + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gnuchess-6.2.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/gnuchess-6.2.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gnuchess-6.2.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (txtJ07eHdR0m6.patch):' Patch #0 (txtJ07eHdR0m6.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/frontend/cmd.cc + gzip -dc /builddir/build/SOURCES/book_1.02.dat.gz + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.u2FrxG + umask 022 + cd /builddir/build/BUILD + cd gnuchess-6.2.7 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-05-31 03:36:06.000000000 -0400 +++ ./configure 2021-04-19 07:52:40.975652781 -0400 @@ -1940,7 +1940,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/gnuchess-6.2.7/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/gnuchess-6.2.7/missing --help' for more information configure: WARNING: 'missing' script is too old or missing 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-redhat-linux-gnu-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 whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking whether ln -s works... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for tputs in -lncurses... no checking for readline in -lreadline... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking readline/readline.h usability... no checking readline/readline.h presence... no checking for readline/readline.h... no checking readline/history.h usability... no checking readline/history.h presence... no checking for readline/history.h... no checking for ANSI C header files... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for an ANSI C-conforming const... yes checking for working volatile... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for stdint types... stdint.h (shortcircuit) make use of stdint.h in src/GCint.h (assuming C99 compatible system) checking return type of signal handlers... void checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for gettimeofday... yes checking for strchr... yes checking for strcspn... yes checking for strstr... yes checking for strerror... yes checking for memset... yes checking for strdup... yes checking for strtol... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done ./configure: line 7401: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory ./configure: line 7401: 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.7/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.7/src' Making all in frontend make[3]: Entering directory '/builddir/build/BUILD/gnuchess-6.2.7/src/frontend' g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o epd.o epd.cc epd.cc: In function 'short int ReadEPDFile(const char*, short int)': epd.cc:88:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 88 | for (i = 0; i < strlen( line ); ++i) { | ~~^~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o genmove.o genmove.cc genmove.cc: In function 'void GenNonCaptures(short int)': genmove.cc:310:22: warning: variable 'ep' set but not used [-Wunused-but-set-variable] 310 | int piece, sq, t, ep; | ^~ genmove.cc:311:31: warning: variable 'notfriends' set but not used [-Wunused-but-set-variable] 311 | BitBoard b, c, d, friends, notfriends, blocker, notblocker; | ^~~~~~~~~~ genmove.cc: In function 'void GenCaptures(short int)': genmove.cc:455:28: warning: variable 'notfriends' set but not used [-Wunused-but-set-variable] 455 | BitBoard b, c, friends, notfriends, enemy, blocker; | ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o players.o players.cc players.cc: In function 'void DBWritePlayer()': players.cc:116:8: warning: variable 'result2' set but not used [-Wunused-but-set-variable] 116 | int result2; | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o pgn.o pgn.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o solve.o solve.cc g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o util.o util.cc solve.cc: In function 'void Solve(char*)': solve.cc:48:8: warning: unused variable 'elo' [-Wunused-variable] 48 | int elo; | ^~~ pgn.cc: In function 'int IsTrustedPlayer(const char*)': pgn.cc:354:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 354 | for (i = 0; i < (sizeof(trusted_players) / sizeof(*trusted_players)); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o input.o input.cc lexpgn.ll: In function 'int yylex()': lexpgn.ll:229:8: warning: enumeration value 'NO_TAG' not handled in switch [-Wswitch] 229 | switch(ctag) { | ^ lexpgn.ll:161:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] 161 | int result = R_NORESULT; | ^~~~~~ input.cc: In function 'void getline_standard(char*)': input.cc:101:9: warning: unused variable 's' [-Wunused-variable] 101 | char *s = fgets(userinputstr, MAXSTR, stdin); // TODO Handle return value | ^ engine.cc: In function 'int GetNextLine(char*, char*)': engine.cc:378:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 378 | for ( i=0; ipos < 0 || parse->pos > strlen(parse->string)) return false; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o uci.o uci.cpp search.cpp:76:13: warning: 'bool adapter::depth_is_ok(int)' defined but not used [-Wunused-function] 76 | static bool depth_is_ok(int depth) { | ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o util.o util.cpp uci.cpp:72:13: warning: 'bool adapter::uci_is_ok(const adapter::uci_t*)' defined but not used [-Wunused-function] 72 | static bool uci_is_ok(const uci_t * uci) { | ^~~~~~~~~ rm -f libadapter.a ar cru libadapter.a adapter.o attack.o board.o book.o book_make.o book_merge.o colour.o engine.o epd.o fen.o game.o hash.o io.o line.o list.o main.o move.o move_do.o move_gen.o move_legal.o option.o parse.o pgn.o piece.o posix.o random.o san.o search.o square.o uci.o util.o ranlib libadapter.a make[3]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.7/src/adapter' Making all in engine make[3]: Entering directory '/builddir/build/BUILD/gnuchess-6.2.7/src/engine' g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o eval.o eval.cpp attack.cpp: In function 'bool engine::piece_attack_king(const engine::board_t*, int, int, int)': attack.cpp:480:18: warning: variable 'inc_ptr' set but not used [-Wunused-but-set-variable] 480 | const inc_t * inc_ptr; | ^~~~~~~ eval.cpp: In function 'void engine::eval_piece(const engine::board_t*, const engine::material_info_t*, const engine::pawn_info_t*, int*, int*)': eval.cpp:580:8: warning: variable 'opp_flag' set but not used [-Wunused-but-set-variable] 580 | int opp_flag; | ^~~~~~~~ eval.cpp: In function 'bool engine::free_passer(const engine::board_t*, int, int)': eval.cpp:1194:12: warning: variable 'opp' set but not used [-Wunused-but-set-variable] 1194 | int me, opp; | ^~~ eval.cpp: In function 'bool engine::draw_kpkb(const int*, int)': eval.cpp:1520:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] 1520 | int wk, wp, bk, bb; | ^~ eval.cpp: In function 'bool engine::draw_kpkn(const int*, int)': eval.cpp:1584:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] 1584 | int wk, wp, bk, bn; | ^~ eval.cpp:1584:16: warning: variable 'bk' set but not used [-Wunused-but-set-variable] 1584 | int wk, wp, bk, bn; | ^~ eval.cpp: In function 'bool engine::draw_knpk(const int*, int)': eval.cpp:1632:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] 1632 | int wk, wn, wp, bk; | ^~ eval.cpp:1632:12: warning: variable 'wn' set but not used [-Wunused-but-set-variable] 1632 | int wk, wn, wp, bk; | ^~ eval.cpp: In function 'bool engine::draw_kbpkb(const int*, int)': eval.cpp:1735:8: warning: variable 'wk' set but not used [-Wunused-but-set-variable] 1735 | int wk, wb, wp, bk, bb; | ^~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o option.o option.cpp move_legal.cpp: In function 'bool engine::move_is_pseudo(int, engine::board_t*)': move_legal.cpp:50:12: warning: variable 'opp' set but not used [-Wunused-but-set-variable] 50 | int me, opp; | ^~~ move_legal.cpp: In function 'bool engine::quiet_is_pseudo(int, engine::board_t*)': move_legal.cpp:132:12: warning: variable 'opp' set but not used [-Wunused-but-set-variable] 132 | int me, opp; | ^~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o pawn.o pawn.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o piece.o piece.cpp pawn.cpp: In function 'void engine::pawn_comp_info(engine::pawn_info_t*, const engine::board_t*)': pawn.cpp:296:55: warning: variable 'passed' set but not used [-Wunused-but-set-variable] 296 | bool backward, candidate, doubled, isolated, open, passed; | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o pst.o pst.cpp protocol.cpp: In function 'void engine::parse_go(char*)': protocol.cpp:273:11: warning: variable 'nodes' set but not used [-Wunused-but-set-variable] 273 | sint64 nodes; | ^~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o pv.o pv.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o see.o see.cpp search_full.cpp: In function 'int engine::full_quiescence(engine::board_t*, int, int, int, int, engine::mv_t*)': search_full.cpp:813:8: warning: variable 'best_move' set but not used [-Wunused-but-set-variable] 813 | int best_move; | ^~~~~~~~~ search.cpp: In function 'void engine::search_update_root()': search.cpp:373:24: warning: variable 'move_nb' set but not used [-Wunused-but-set-variable] 373 | int move, move_pos, move_nb; | ^~~~~~~ search.cpp:374:11: warning: variable 'time' set but not used [-Wunused-but-set-variable] 374 | double time; | ^~~~ search.cpp:375:11: warning: variable 'node_nb' set but not used [-Wunused-but-set-variable] 375 | sint64 node_nb; | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o trans.o trans.cpp trans.cpp:447:13: warning: 'bool engine::entry_is_ok(const engine::entry_t*)' defined but not used [-Wunused-function] 447 | static bool entry_is_ok(const entry_t * entry) { | ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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.7/src/engine' make[3]: Entering directory '/builddir/build/BUILD/gnuchess-6.2.7/src' g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../lib -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o components.o components.cc main.cc: In function 'void EndProg(int)': main.cc:221:9: warning: unused variable 'r' [-Wunused-variable] 221 | int r = system( "stty sane" ); // TODO Handle return value | ^ g++ -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -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 adapter/uci.h:43:8: warning: type 'struct option_t' violates the C++ One Definition Rule [-Wodr] 43 | struct option_t { | ^ adapter/option.cpp:40:8: note: a different type is defined in another translation unit 40 | struct option_t { | ^ adapter/uci.h:44:17: note: the first difference of corresponding definitions is field 'name' 44 | const char * name; | ^ adapter/option.cpp:41:17: note: a field with different name is defined in another translation unit 41 | const char * var; | ^ adapter/book.cpp:42:8: warning: type 'struct entry_t' violates the C++ One Definition Rule [-Wodr] 42 | struct entry_t { | ^ adapter/book_make.cpp:52:8: note: a different type is defined in another translation unit 52 | struct entry_t { | ^ adapter/book.cpp:45:11: note: the first difference of corresponding definitions is field 'count' 45 | uint16 count; | ^ adapter/book_make.cpp:55:11: note: a field with different name is defined in another translation unit 55 | uint16 n; | ^ adapter/book_make.cpp:60:8: warning: type 'struct book_t' violates the C++ One Definition Rule [-Wodr] 60 | struct book_t { | ^ adapter/book_merge.cpp:38:8: note: a different type is defined in another translation unit 38 | struct book_t { | ^ adapter/book_make.cpp:61:8: note: the first difference of corresponding definitions is field 'size' 61 | int size; | ^ adapter/book_merge.cpp:39:11: note: a field with different name is defined in another translation unit 39 | FILE * file; | ^ engine/trans.cpp:53:8: warning: type 'struct entry_t' violates the C++ One Definition Rule [-Wodr] 53 | struct entry_t { | ^ engine/book.cpp:46:8: note: a different type is defined in another translation unit 46 | struct entry_t { | ^ engine/trans.cpp:54:11: note: the first difference of corresponding definitions is field 'lock' 54 | uint32 lock; | ^ engine/book.cpp:47:11: note: a field with different name is defined in another translation unit 47 | uint64 key; | ^ make[3]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.7/src' make[2]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.7/src' make[1]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.7/src' Making all in doc make[1]: Entering directory '/builddir/build/BUILD/gnuchess-6.2.7/doc' make[1]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.7/doc' Making all in po make[1]: Entering directory '/builddir/build/BUILD/gnuchess-6.2.7/po' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.7/po' Making all in man make[1]: Entering directory '/builddir/build/BUILD/gnuchess-6.2.7/man' help2man --name='GNU Chess' --info-page='gnuchess' ../src/gnuchess -o gnuchess.1 make[1]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.7/man' make[1]: Entering directory '/builddir/build/BUILD/gnuchess-6.2.7' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/gnuchess-6.2.7' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fNJFxJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64 + cd gnuchess-6.2.7 + mkdir -p /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/var/lib/games/gnuchess /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/usr/bin + install -m 755 -p src/gnuchess /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/usr/bin + install -m 644 -p book.dat /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/var/lib/games/gnuchess + mkdir -p /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/usr/share/gnuchess/ + install -m 644 src/gnuchess.ini /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/usr/share/gnuchess/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 6.2.7-5.fc33 --unique-debug-suffix -6.2.7-5.fc33.riscv64 --unique-debug-src-base gnuchess-6.2.7-5.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/gnuchess-6.2.7 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/usr/bin/gnuchess extracting debug info from /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/usr/bin/gnuchess original debug info size: 4192kB, size after compression: 3780kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2049 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: gnuchess-6.2.7-5.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9Nx5QJ + umask 022 + cd /builddir/build/BUILD + cd gnuchess-6.2.7 + DOCDIR=/builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/usr/share/doc/gnuchess + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/usr/share/doc/gnuchess + cp -pr doc/Makefile doc/Makefile.am doc/Makefile.in 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.7-5.fc33.riscv64/usr/share/doc/gnuchess + cp -pr AUTHORS /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/usr/share/doc/gnuchess + cp -pr NEWS /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/usr/share/doc/gnuchess + cp -pr TODO /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/usr/share/doc/gnuchess + cp -pr README /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/usr/share/doc/gnuchess + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jjSJfJ + umask 022 + cd /builddir/build/BUILD + cd gnuchess-6.2.7 + LICENSEDIR=/builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/usr/share/licenses/gnuchess + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/usr/share/licenses/gnuchess + cp -pr COPYING /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64/usr/share/licenses/gnuchess + RPM_EC=0 ++ jobs -p + exit 0 Provides: chessprogram gnuchess = 6.2.7-5.fc33 gnuchess(riscv-64) = 6.2.7-5.fc33 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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: gnuchess-debugsource-6.2.7-5.fc33.riscv64 Provides: gnuchess-debugsource = 6.2.7-5.fc33 gnuchess-debugsource(riscv-64) = 6.2.7-5.fc33 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.7-5.fc33.riscv64 Provides: debuginfo(build-id) = 93bf6cc344378f4c8d90cb1a0e47c7e094019532 gnuchess-debuginfo = 6.2.7-5.fc33 gnuchess-debuginfo(riscv-64) = 6.2.7-5.fc33 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.7-5.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64 Wrote: /builddir/build/RPMS/gnuchess-debuginfo-6.2.7-5.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/gnuchess-debugsource-6.2.7-5.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/gnuchess-6.2.7-5.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Sl6GXG + umask 022 + cd /builddir/build/BUILD + cd gnuchess-6.2.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gnuchess-6.2.7-5.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0