Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xboard.spec'], chrootPath='/var/lib/mock/f38-build-693648-84932/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xboard.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674259200 Wrote: /builddir/build/SRPMS/xboard-4.9.1-17.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xboard.spec'], chrootPath='/var/lib/mock/f38-build-693648-84932/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xboard.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674259200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GasHcN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xboard-4.9.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xboard-4.9.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xboard-4.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -f /usr/share/automake-1.16/config.guess /usr/share/automake-1.16/config.sub . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MNRhu8 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xboard-4.9.1 + export 'CPPFLAGS= -fcommon' + CPPFLAGS=' -fcommon' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 2016-07-31 23:55:08.000000000 -0400 +++ ./configure 2023-03-13 09:44:53.825839243 -0400 @@ -1907,7 +1907,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 ++ grep -q runstatedir=DIR ./configure + ./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 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 whether make supports nested variables... (cached) 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 how to run the C preprocessor... gcc -E checking for library containing strerror... none required checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu 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 4761: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory ./configure: line 4761: 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 for remsh... no checking for rsh... no checking for makeinfo... makeinfo checking for nroff... nroff -man checking for awk... /usr/bin/awk checking for perl... /usr/bin/perl 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 whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking return type of signal handlers... void 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 stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/systeminfo.h usability... no checking sys/systeminfo.h presence... no checking for sys/systeminfo.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for _getpty... no checking for grantpt... yes checking for setitimer... yes checking for usleep... yes checking for gettimeofday... yes checking for random... yes checking for gethostname... yes checking for setlocale... yes checking for getpseudotty in -lseq... no checking whether compiler understands -Wall -Wno-parentheses... yes checking for pkg-config... pkg-config checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for CAIRO... yes checking for xdg-mime... /usr/bin/xdg-mime checking for xdg-desktop-menu... /usr/bin/xdg-desktop-menu checking for xdg-icon-resource... /usr/bin/xdg-icon-resource checking for GTK... yes checking whether ptys or pipes should be used... pipes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating cmail config.status: creating po/Makefile.in config.status: creating osxapp/Info.plist config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing test-stamp-h commands config.status: executing chmod-cmail commands Configurations summary: prefix: /usr datarootdir: ${prefix}/share datadir: /usr/share gamedatadir: $(datadir)/games/xboard desktopdir: $(datadir)/applications mimedir: $(datadir)/mime/packages iconsdir: $(datadir)/icons/hicolor/48x48/apps svgiconsdir: $(datadir)/icons/hicolor/scalable/apps infodir: /usr/share/info (info files will go here) sysconfdir: /etc (xboard.conf will go here) update mimedb: yes NLS support: yes GTK: yes Xaw3d: no Xaw: no ptys: pipes zippy: no sigint: yes + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xboard-4.9.1' Making all in po make[2]: Entering directory '/builddir/build/BUILD/xboard-4.9.1/po' make[2]: Leaving directory '/builddir/build/BUILD/xboard-4.9.1/po' make[2]: Entering directory '/builddir/build/BUILD/xboard-4.9.1' CC backend.o CC book.o CC childio.o Updating ./version.texi CC gamelist.o childio.c: In function 'SetUpChildIO': childio.c:80:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 80 | pipe(to_prog); | ^~~~~~~~~~~~~ childio.c:81:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | pipe(from_prog); | ^~~~~~~~~~~~~~~ CC ngamelist.o book.c: In function 'SaveToBook': book.c:891:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 891 | for(i=0; i f) | ^~ moves.c:506:85: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 506 | if(killX < 0) cb(board, flags, FirstLeg, r, f, y, x, cl); if(killX > f) | ^~ parser.c: In function 'KifuMove': parser.c:269:17: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 269 | if(kifu * ~1) { // disambiguation was given, and thus is probably needed | ~~~~~^~~~ parser.c: In function 'NextUnit': parser.c:727:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 727 | if(**p == '.') (*p)++; SkipWhite(p); | ^~ parser.c:727:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 727 | if(**p == '.') (*p)++; SkipWhite(p); | ^~~~~~~~~ moves.c: In function 'GenPseudoLegal': moves.c:1117:15: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1117 | for (d = 0; d <= 1; d++) // Dababba moves that Rook cannot do | ^~~ moves.c:1126:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1126 | Rook(board, flags, rf, ff, callback, closure); | ^~~~ backend.c: In function 'TwoMachinesEventIfReady': backend.c:11008:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 11008 | if(curMess != 1) DisplayMessage("", _("Waiting for first chess program")); curMess = 1; | ^~ backend.c:11008:80: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 11008 | if(curMess != 1) DisplayMessage("", _("Waiting for first chess program")); curMess = 1; | ^~~~~~~ backend.c:11013:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 11013 | if(curMess != 2) DisplayMessage("", _("Waiting for second chess program")); curMess = 2; | ^~ backend.c:11013:81: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 11013 | if(curMess != 2) DisplayMessage("", _("Waiting for second chess program")); curMess = 2; | ^~~~~~~ backend.c: In function 'LoadPosition': backend.c:13658:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 13658 | for(j=0;j<6;j++)fprintf(debugFP, " %d", initialRights[j]);fprintf(debugFP,"\n"); | ^~~ backend.c:13658:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 13658 | for(j=0;j<6;j++)fprintf(debugFP, " %d", initialRights[j]);fprintf(debugFP,"\n"); | ^~~~~~~ CC pgntags.o backend.c: At top level: backend.c:16493:47: warning: argument 3 of type 'char[512]' with mismatched bound [-Warray-parameter=] 16493 | TidyProgramName (char *prog, char *host, char buf[MSG_SIZ]) | ~~~~~^~~~~~~~~~~~ backend.h:190:55: note: previously declared as 'char *' 190 | void TidyProgramName P((char *prog, char *host, char *buf)); | ~~~~~~^~~ common.h:62:17: note: in definition of macro 'P' 62 | #define P(args) args | ^~~~ CC uci.o uci.c: In function 'InitEngineUCI': uci.c:58:73: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 58 | if(strstr(buf, "first") == buf) sprintf(argName, "second%s", buf+5); else | ^ In file included from /usr/include/stdio.h:906, from uci.c:28: In function 'sprintf', inlined from 'InitEngineUCI' at uci.c:58:47: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 513 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC board.o moves.c: In function 'MovesFromString': moves.c:425:13: warning: 'strncpy' specified bound 80 equals destination size [-Wstringop-truncation] 425 | strncpy(buf, cont, 80); cont = buf; // copy next leg(s), so we can modify | ^ backend.c: In function 'LoadPosition': backend.c:13618:16: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 13618 | (void) fgets(line, MSG_SIZ, f); | ^~~~~~~~~~~~~~~~~~~~~~~ backend.c:13619:16: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 13619 | (void) fgets(line, MSG_SIZ, f); | ^~~~~~~~~~~~~~~~~~~~~~~ backend.c:13622:20: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 13622 | (void) fgets(line, MSG_SIZ, f); | ^~~~~~~~~~~~~~~~~~~~~~~ backend.c:13632:20: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 13632 | (void) fgets(line, MSG_SIZ, f); | ^~~~~~~~~~~~~~~~~~~~~~~ CC draw.o CC dialogs.o In file included from draw.c:59: /usr/include/librsvg-2.0/librsvg/rsvg-cairo.h:26:2: warning: #warning "Including directly is deprecated." [-Wcpp] 26 | #warning "Including directly is deprecated." | ^~~~~~~ draw.c: In function 'LoadSVG': draw.c:357:7: warning: 'rsvg_handle_get_dimensions' is deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead [-Wdeprecated-declarations] 357 | rsvg_handle_get_dimensions(svg, &svg_dimensions); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from draw.c:58: /usr/include/librsvg-2.0/librsvg/rsvg.h:706:6: note: declared here 706 | void rsvg_handle_get_dimensions (RsvgHandle *handle, RsvgDimensionData *dimension_data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ draw.c:362:7: warning: 'rsvg_handle_render_cairo' is deprecated: Use 'rsvg_handle_render_document' instead [-Wdeprecated-declarations] 362 | rsvg_handle_render_cairo(svg, cr); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/librsvg-2.0/librsvg/rsvg.h:1450: /usr/include/librsvg-2.0/librsvg/rsvg-cairo.h:88:10: note: declared here 88 | gboolean rsvg_handle_render_cairo (RsvgHandle *handle, cairo_t *cr); | ^~~~~~~~~~~~~~~~~~~~~~~~ draw.c: In function 'ScaleOnePiece': draw.c:386:3: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations] 386 | g_type_init (); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/librsvg-2.0/librsvg/rsvg.h:30: /usr/include/glib-2.0/gobject/gtype.h:726:23: note: declared here 726 | void g_type_init (void); | ^~~~~~~~~~~ draw.c: In function 'ClearPieces': draw.c:479:9: warning: 'rsvg_handle_close' is deprecated: Use 'rsvg_handle_read_stream_sync' instead [-Wdeprecated-declarations] 479 | if(svgPieces[i][p]) rsvg_handle_close(svgPieces[i][p], NULL); | ^~ /usr/include/librsvg-2.0/librsvg/rsvg.h:605:10: note: declared here 605 | gboolean rsvg_handle_close (RsvgHandle *handle, GError **error); | ^~~~~~~~~~~~~~~~~ dialogs.c: In function 'RefreshColor': dialogs.c:991:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 991 | if(r < 0) r = 0; if(g < 0) g = 0; if(b < 0) b = 0; | ^~ dialogs.c:991:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 991 | if(r < 0) r = 0; if(g < 0) g = 0; if(b < 0) b = 0; | ^~ dialogs.c:992:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 992 | if(r > 0xFF0000) r = 0xFF0000; if(g > 0xFF00) g = 0xFF00; if(b > 0xFF) b = 0xFF; | ^~ dialogs.c:992:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 992 | if(r > 0xFF0000) r = 0xFF0000; if(g > 0xFF00) g = 0xFF00; if(b > 0xFF) b = 0xFF; | ^~ dialogs.c: In function 'NewCommentPopup': dialogs.c:1169:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1169 | if(commentText) free(commentText); commentText = strdup(text); | ^~ dialogs.c:1169:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1169 | if(commentText) free(commentText); commentText = strdup(text); | ^~~~~~~~~~~ dialogs.c: In function 'NewTagsPopup': dialogs.c:1265:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1265 | if(tagsText) free(tagsText); tagsText = strdup(text); | ^~ dialogs.c:1265:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1265 | if(tagsText) free(tagsText); tagsText = strdup(text); | ^~~~~~~~ dialogs.c: In function 'LoadEngineProc': dialogs.c:1562:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1562 | if(engineLine) free(engineLine); engineLine = strdup(""); | ^~ dialogs.c:1562:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1562 | if(engineLine) free(engineLine); engineLine = strdup(""); | ^~~~~~~~~~ dialogs.c:1563:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1563 | if(engineDir) free(engineDir); engineDir = strdup("."); | ^~ dialogs.c:1563:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1563 | if(engineDir) free(engineDir); engineDir = strdup("."); | ^~~~~~~~~ dialogs.c:1564:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1564 | if(nickName) free(nickName); nickName = strdup(""); | ^~ dialogs.c:1564:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1564 | if(nickName) free(nickName); nickName = strdup(""); | ^~~~~~~~ dialogs.c:1565:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1565 | if(params) free(params); params = strdup(""); | ^~ dialogs.c:1565:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1565 | if(params) free(params); params = strdup(""); | ^~~~~~ dialogs.c: In function 'GetHelpText': dialogs.c:2636:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 2636 | while(buf[--len] == ' ') buf[len] = NULLCHAR; len++; | ^~~~~ dialogs.c:2636:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 2636 | while(buf[--len] == ' ') buf[len] = NULLCHAR; len++; | ^~~ dialogs.c: In function 'StartDir': dialogs.c:3340:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3340 | for(p=*res; q=strchr(p, '/');) p = q + 1; *p = NULLCHAR; | ^~~ dialogs.c:3340:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3340 | for(p=*res; q=strchr(p, '/');) p = q + 1; *p = NULLCHAR; | ^ dialogs.c: In function 'EchoOn': dialogs.c:2323:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2323 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ dialogs.c: In function 'EchoOff': dialogs.c:2331:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2331 | system("stty -echo"); | ^~~~~~~~~~~~~~~~~~~~ dialogs.c: In function 'ListDir': dialogs.c:3218:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 3218 | getcwd(curDir, MSG_SIZ); | ^~~~~~~~~~~~~~~~~~~~~~~ dialogs.c: In function 'CreateDir': dialogs.c:3274:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 3274 | chdir(name); | ^~~~~~~~~~~ dialogs.c: In function 'StartDir': dialogs.c:3344:13: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 3344 | chdir(curDir); | ^~~~~~~~~~~~~ dialogs.c:3347:13: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 3347 | getcwd(curDir, MSG_SIZ); | ^~~~~~~~~~~~~~~~~~~~~~~ dialogs.c:3348:31: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 3348 | if(*res && **res) chdir(*res); | ^~~~~~~~~~~ draw.c: In function 'InscribeKanji': draw.c:906:5: warning: 'strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 906 | strncpy(buf, p, 20); | ^ dialogs.c: In function 'BrowseOK': dialogs.c:3165:52: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 3165 | snprintf(title, MSG_SIZ, "%s/%s", curDir, fileName); | ^ In file included from /usr/include/stdio.h:906, from dialogs.c:28: In function 'snprintf', inlined from 'BrowseOK' at dialogs.c:3165:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC engineoutput.o engineoutput.c: In function 'Format': engineoutput.c:467:39: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 467 | snprintf( buf, 24, "%d%s\t", val, spaces + 2*i); | ^ In file included from /usr/include/stdio.h:906, from engineoutput.c:33: In function 'snprintf', inlined from 'Format' at engineoutput.c:467:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 3 and 25 bytes into a destination of size 24 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ engineoutput.c: In function 'SetProgramStats': engineoutput.c:621:62: warning: ' ' directive output may be truncated writing 1 byte into a region of size between 0 and 11 [-Wformat-truncation=] 621 | if(-h >= MATE_SCORE) snprintf(s_score, 16, " %s#-%d%c\t", (-h > MATE_SCORE+9 ? "" : " "), -h - MATE_SCORE, fail ); else | ^~ In function 'snprintf', inlined from 'UpdateControls' at engineoutput.c:621:23, inlined from 'SetProgramStats' at engineoutput.c:264:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 7 and 18 bytes into a destination of size 16 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ engineoutput.c: In function 'SetProgramStats': engineoutput.c:620:62: warning: ' ' directive output may be truncated writing 1 byte into a region of size between 0 and 11 [-Wformat-truncation=] 620 | if( h >= MATE_SCORE) snprintf(s_score, 16, " %s#%d%c\t", ( h > MATE_SCORE+9 ? "" : " "), h - MATE_SCORE, fail ); else | ^~ In function 'snprintf', inlined from 'UpdateControls' at engineoutput.c:620:23, inlined from 'SetProgramStats' at engineoutput.c:264:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 7 and 18 bytes into a destination of size 16 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dialogs.c: In function 'SendString': dialogs.c:1050:9: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 1050 | strncpy(buf2, p, MSG_SIZ); | ^ dialogs.c:1066:37: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1066 | snprintf(buf, MSG_SIZ, "%s\n", p); | ^ In function 'snprintf', inlined from 'SendString' at dialogs.c:1066:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 513 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dialogs.c: In function 'ContextMenu': dialogs.c:2026:5: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 2026 | strncpy(clickedWord, text, MSG_SIZ); | ^ backend.c: In function 'ParseTimeControl': backend.c:1385:34: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1385 | snprintf(buf, MSG_SIZ, ":%s", mytc); | ^ In file included from /usr/include/stdio.h:906, from backend.c:91: In function 'snprintf', inlined from 'ParseTimeControl' at backend.c:1385:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 513 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'ParseTimeControl': backend.c:1383:35: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 499 and 509 [-Wformat-truncation=] 1383 | snprintf(buf, MSG_SIZ, ":%d/%s", mps, mytc); | ^~ In function 'snprintf', inlined from 'ParseTimeControl' at backend.c:1383:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 4 and 525 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'ParseTimeControl': backend.c:1380:34: warning: '+' directive output may be truncated writing 1 byte into a region of size between 0 and 511 [-Wformat-truncation=] 1380 | snprintf(buf, MSG_SIZ, ":%s+%g", mytc, ti); | ^ backend.c:1380:30: note: assuming directive output of 12 bytes 1380 | snprintf(buf, MSG_SIZ, ":%s+%g", mytc, ti); | ^~~~~~~~ In function 'snprintf', inlined from 'ParseTimeControl' at backend.c:1380:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 4 and 527 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'ParseTimeControl': backend.c:1378:35: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 499 and 509 [-Wformat-truncation=] 1378 | snprintf(buf, MSG_SIZ, ":%d/%s+%g", mps, mytc, ti); | ^~ backend.c:1378:30: note: assuming directive output of 12 bytes 1378 | snprintf(buf, MSG_SIZ, ":%d/%s+%g", mps, mytc, ti); | ^~~~~~~~~~~ In function 'snprintf', inlined from 'ParseTimeControl' at backend.c:1378:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 6 and 539 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC nengineoutput.o CC evalgraph.o dialogs.c: In function 'GetHelpText': dialogs.c:2637:40: warning: '%s' directive output may be truncated writing up to 508 bytes into a region of size 503 [-Wformat-truncation=] 2637 | snprintf(title, MSG_SIZ, "Help on '%s'", buf+3); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In function 'snprintf', inlined from 'GetHelpText' at dialogs.c:2637:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 11 and 519 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dialogs.c: In function 'GetHelpText': dialogs.c:2669:52: warning: '%s' directive output may be truncated writing up to 508 bytes into a region of size 490 [-Wformat-truncation=] 2669 | snprintf(text, MSG_SIZ, "No help available on '%s'\n", buf+3); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In function 'snprintf', inlined from 'GetHelpText' at dialogs.c:2669:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 25 and 533 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC nevalgraph.o dialogs.c: In function 'DisplayHelp': dialogs.c:2710:52: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 502 [-Wformat-truncation=] 2710 | snprintf(tidy, MSG_SIZ, "gunzip -c %s", buf); | ^~ ~~~ In function 'snprintf', inlined from 'DisplayHelp' at dialogs.c:2710:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 11 and 522 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC history.o dialogs.c: In function 'ListDir': dialogs.c:3219:40: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 509 [-Wformat-truncation=] 3219 | snprintf(title, MSG_SIZ, "%s %s", _("Contents of"), curDir); | ^~ ~~~~~~ In function 'snprintf', inlined from 'ListDir' at dialogs.c:3219:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 515) into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC nhistory.o CC menus.o CC usounds.o menus.c: In function 'BugReportProc': menus.c:323:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 323 | system(buf); | ^~~~~~~~~~~ menus.c: In function 'GuideProc': menus.c:331:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 331 | system(buf); | ^~~~~~~~~~~ menus.c: In function 'HomePageProc': menus.c:339:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 339 | system(buf); | ^~~~~~~~~~~ menus.c: In function 'NewsPageProc': menus.c:347:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 347 | system(buf); | ^~~~~~~~~~~ usounds.c: In function 'PlaySoundFile': usounds.c:93:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | system(buf); | ^~~~~~~~~~~ CC usystem.o usystem.c: In function 'RunCommand': usystem.c:287:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 287 | system(buf); | ^~~~~~~~~~~ usystem.c: In function 'StartChildProcess': usystem.c:465:9: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] 465 | nice(appData.niceEngines); // [HGM] nice: adjust priority of engine proc | ^~~~~~~~~~~~~~~~~~~~~~~~~ menus.c: In function 'InstallFromDir': menus.c:1190:31: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 511 and 512 [-Wformat-truncation=] 1190 | snprintf(buf, MSG_SIZ, "%s%s%s", quote, command, quote); | ^~ In file included from /usr/include/stdio.h:906, from menus.c:57: In function 'snprintf', inlined from 'InstallNewEngine' at menus.c:1190:5, inlined from 'InstallFromDir' at menus.c:1245:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 1 and 1026 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC gtk/xboard.o CC gtk/xoptions.o In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gtk/xboard.c:66: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:714:1: note: declared here 714 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gtk/xoptions.c:51: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:714:1: note: declared here 714 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ./args.h: In function 'InitAppData': gtk/xboard.c:350:41: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 350 | #define GetCurrentDirectory(SIZE, NAME) getcwd(NAME, SIZE) | ^~~~~~~~~~~~~~~~~~ ./args.h:1527:3: note: in expansion of macro 'GetCurrentDirectory' 1527 | GetCurrentDirectory(MSG_SIZ, currDir); | ^~~~~~~~~~~~~~~~~~~ gtk/xboard.c:349:29: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 349 | #define SetCurrentDirectory chdir ./args.h:1528:3: note: in expansion of macro 'SetCurrentDirectory' 1528 | SetCurrentDirectory(installDir); | ^~~~~~~~~~~~~~~~~~~ gtk/xboard.c:349:29: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 349 | #define SetCurrentDirectory chdir ./args.h:1530:3: note: in expansion of macro 'SetCurrentDirectory' 1530 | SetCurrentDirectory(currDir); | ^~~~~~~~~~~~~~~~~~~ CC gtk/xtimer.o ./args.h: In function 'SaveSettings': gtk/xboard.c:350:41: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 350 | #define GetCurrentDirectory(SIZE, NAME) getcwd(NAME, SIZE) | ^~~~~~~~~~~~~~~~~~ ./args.h:1559:3: note: in expansion of macro 'GetCurrentDirectory' 1559 | GetCurrentDirectory(MSG_SIZ, dir); | ^~~~~~~~~~~~~~~~~~~ gtk/xboard.c:349:29: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 349 | #define SetCurrentDirectory chdir ./args.h:1563:5: note: in expansion of macro 'SetCurrentDirectory' 1563 | SetCurrentDirectory(installDir); | ^~~~~~~~~~~~~~~~~~~ gtk/xboard.c:349:29: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 349 | #define SetCurrentDirectory chdir ./args.h:1565:5: note: in expansion of macro 'SetCurrentDirectory' 1565 | SetCurrentDirectory(dir); | ^~~~~~~~~~~~~~~~~~~ gtk/xboard.c: In function 'main': gtk/xboard.c:987:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 987 | getcwd(dirName, MSG_SIZ); | ^~~~~~~~~~~~~~~~~~~~~~~~ gtk/xboard.c: In function 'ManProc': gtk/xboard.c:2036:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2036 | system("xterm -e man xboard &"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/xboard.c: In function 'InfoProc': gtk/xboard.c:2050:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2050 | system(buf); | ^~~~~~~~~~~ gtk/xboard.c: In function 'FileNamePopUpWrapper': gtk/xboard.c:2427:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 2427 | getcwd(curDir, MSG_SIZ); | ^~~~~~~~~~~~~~~~~~~~~~~ gtk/xboard.c:2428:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 2428 | chdir(def); | ^~~~~~~~~~ gtk/xboard.c:2512:48: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 2512 | if(def && *def && def[strlen(def)-1] == '/') chdir(curDir); | ^~~~~~~~~~~~~ gtk/xoptions.c: In function 'SetTextColor': gtk/xoptions.c:627:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 627 | if(fg < 0) fg = 0; if(bg < 0) bg = 7; | ^~ gtk/xoptions.c:627:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 627 | if(fg < 0) fg = 0; if(bg < 0) bg = 7; | ^~ gtk/xoptions.c: In function 'PopDown': gtk/xoptions.c:879:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 879 | if(messedUp) Preview(0, NULL); messedUp = FALSE; // Board Options dialog can need this to cancel preview | ^~ gtk/xoptions.c:879:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 879 | if(messedUp) Preview(0, NULL); messedUp = FALSE; // Board Options dialog can need this to cancel preview | ^~~~~~~~ gtk/xoptions.c: In function 'GraphEventProc': gtk/xoptions.c:982:13: warning: variable 'opt' set but not used [-Wunused-but-set-variable] 982 | Option *opt, *graph = (Option *) gdata; | ^~~ backend.c: In function 'SendMultiLineToICS': backend.c:15459:5: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 15459 | strncpy(temp, buf, len); | ^ backend.c:15455:11: note: length computed here 15455 | len = strlen(buf); | ^~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gtk/xtimer.c:61: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:714:1: note: declared here 714 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ In file included from gtk/xboard.c:355: ./args.h: In function 'ParseArgs': ./args.h:1007:7: warning: 'strncpy' specified bound 131072 equals destination size [-Wstringop-truncation] 1007 | strncpy(argName, ad->argName,sizeof(argName)/sizeof(argName[0])); | ^ ./args.h:1152:7: warning: 'strncpy' specified bound 131072 equals destination size [-Wstringop-truncation] 1152 | strncpy(argName, ad->argName,sizeof(argName)/sizeof(argName[0])); | ^ ./args.h:1181:37: warning: '%s' directive output may be truncated writing up to 131069 bytes into a region of size between 1537 and 2048 [-Wformat-truncation=] 1181 | snprintf(buf, 4*MSG_SIZ, "%s%s", dataDir, argValue+2); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from gtk/xboard.c:57: In function 'snprintf', inlined from 'ParseArgs' at ./args.h:1181:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 1 and 131581 bytes into a destination of size 2048 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC gtk/xengineoutput.o ./args.h: In function 'ParseSettingsFile': ./args.h:941:39: warning: '/themes/conf' directive output may be truncated writing 12 bytes into a region of size between 1 and 512 [-Wformat-truncation=] 941 | snprintf(buf, MSG_SIZ, "%s/themes/conf", dataDir); | ^~~~~~~~~~~~ In function 'snprintf', inlined from 'ParseSettingsFile' at ./args.h:941:6: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 13 and 524 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'TimeString': backend.c:18092:45: warning: '%d' directive output may be truncated writing between 1 and 8 bytes into a region of size 6 [-Wformat-truncation=] 18092 | if(timeSuffix) snprintf(moveTime, 8, " (%d)", timeSuffix/1000); // [HGM] kludge alert; fraction contains move time | ^~ backend.c:18092:42: note: directive argument in the range [-2147483, 2147483] 18092 | if(timeSuffix) snprintf(moveTime, 8, " (%d)", timeSuffix/1000); // [HGM] kludge alert; fraction contains move time | ^~~~~~~ In function 'snprintf', inlined from 'TimeString' at backend.c:18092:20: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 5 and 12 bytes into a destination of size 8 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gtk/xengineoutput.c:52: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:714:1: note: declared here 714 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ backend.c: In function 'AddAd': backend.c:2665:50: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 502 [-Wformat-truncation=] 2665 | snprintf(buf, MSG_SIZ, "%s (%s) %d %d %c %s%s", handle, rating, base, inc, rated, type, ext); | ^~ In function 'snprintf', inlined from 'AddAd' at backend.c:2665:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 11 or more bytes (assuming 522) into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gtk/xboard.c: In function 'ReSize': gtk/xboard.c:1733:17: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 1733 | strncpy(text, _(mainOptions[h].name), MSG_SIZ); | ^ backend.c: In function 'CoordsToComputerAlgebraic': backend.c:5389:39: warning: '__sprintf_chk' writing a terminating nul past the end of the destination [-Wformat-overflow=] 5389 | sprintf(move+4, ";%c%c%c\n", AAA + killX, ONE + killY, promoChar); | ^ In function 'sprintf', inlined from 'CoordsToComputerAlgebraic' at backend.c:5389:6: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 6 bytes into a destination of size 5 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'CoordsToComputerAlgebraic': backend.c:5390:65: warning: '%c' directive writing 1 byte into a region of size 0 [-Wformat-overflow=] 5390 | if(kill2X >= 0 && kill2Y >= 0) sprintf(move+7, "%c%c%c\n", AAA + kill2X, ONE + kill2Y, promoChar); | ^~ In function 'sprintf', inlined from 'CoordsToComputerAlgebraic' at backend.c:5390:37: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 5 bytes into a destination of size 2 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'CoordsToComputerAlgebraic': backend.c:5383:65: warning: ' ' directive writing 1 byte into a region of size 0 [-Wformat-overflow=] 5383 | if(kill2X >= 0 && kill2Y >= 0) sprintf(move+7, "%c%c\n", AAA + kill2X, ONE + kill2Y); | ^~ In function 'sprintf', inlined from 'CoordsToComputerAlgebraic' at backend.c:5383:37: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 4 bytes into a destination of size 2 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'ApplyMove': backend.c:10315:8: warning: 'killed' may be used uninitialized [-Wmaybe-uninitialized] 10315 | && (piece < BlackPawn ? killed < BlackPawn : killed >= BlackPawn)) { // and tramples own | ^~ backend.c:10215:62: note: 'killed' was declared here 10215 | ChessSquare captured = board[toY][toX], piece, pawn, king, killed, killed2; int p, rookX, oldEP, epRank, berolina = 0; | ^~~~~~ backend.c: In function 'UploadGameEvent': backend.c:5308:44: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 506 [-Wformat-truncation=] 5308 | snprintf(command,MSG_SIZ, "match %s", ics_handle); | ^~ ~~~~~~~~~~ In function 'snprintf', inlined from 'UploadGameEvent' at backend.c:5308:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 7 and 518 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'UploadGameEvent': backend.c:5321:43: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 5321 | } else snprintf(buf, MSG_SIZ,"%s\n", ics_type == ICS_ICC ? command : "examine\n"); // match yourself or examine | ^ In function 'snprintf', inlined from 'UploadGameEvent' at backend.c:5321:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 513 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'UploadGameEvent': backend.c:5319:55: warning: ' fr ' directive output may be truncated writing 4 bytes into a region of size between 1 and 512 [-Wformat-truncation=] 5319 | else if(i == 22) snprintf(buf,MSG_SIZ, "%s fr\n", command); | ^~~~~ In function 'snprintf', inlined from 'UploadGameEvent' at backend.c:5319:23: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 5 and 516 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'UploadGameEvent': backend.c:5318:71: warning: ' w' directive output may be truncated writing 2 bytes into a region of size between 1 and 512 [-Wformat-truncation=] 5318 | if(i<=36 && ics_type == ICS_ICC) snprintf(buf, MSG_SIZ,"%s w%d\n", command, i); | ^~ backend.c:5318:68: note: directive argument in the range [1, 36] 5318 | if(i<=36 && ics_type == ICS_ICC) snprintf(buf, MSG_SIZ,"%s w%d\n", command, i); | ^~~~~~~~~~ In function 'snprintf', inlined from 'UploadGameEvent' at backend.c:5318:39: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 5 and 517 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'UploadGameEvent': backend.c:5320:44: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 0 and 511 [-Wformat-truncation=] 5320 | else snprintf(buf, MSG_SIZ,"%s %s\n", command, VariantName(gameInfo.variant)); | ^~ In function 'snprintf', inlined from 'UploadGameEvent' at backend.c:5320:11: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 3 and 1025 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'UploadGameEvent': backend.c:5358:55: warning: '%s' directive output may be truncated writing up to 31999 bytes into a region of size 20 [-Wformat-truncation=] 5358 | snprintf(buf, sizeof(buf)/sizeof(buf[0]),"%s", moveList[i]); // use long algebraic | ^~ In function 'snprintf', inlined from 'UploadGameEvent' at backend.c:5358:6: /usr/include/bits/stdio2.h:54:10: note: 'snprintf' output between 1 and 32000 bytes into a destination of size 20 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'wrap': backend.c:18878:17: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 18878 | strncpy(dest+len, cseq, cseq_len); | ^ backend.c:18833:16: note: length computed here 18833 | cseq_len = strlen(cseq); | ^~~~~~~~~~~~ backend.c: In function 'Reset': backend.c:12063:9: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 12063 | strncpy(engineVariant, appData.variant, MSG_SIZ); | ^ backend.c: In function 'GameEnds': backend.c:11685:51: warning: ' but bare king' directive output may be truncated writing 14 bytes into a region of size between 1 and 512 [-Wformat-truncation=] 11685 | snprintf(buf, MSG_SIZ, "%s but bare king", resultDetails); | ^~~~~~~~~~~~~~ In function 'snprintf', inlined from 'GameEnds' at backend.c:11685:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 15 and 526 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'SendMoveToBookUser': backend.c:8628:9: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 8628 | strncpy(buf, path + 8, MSG_SIZ); | ^ backend.c: In function 'FeedMovesToProgram': backend.c:11977:41: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 504 [-Wformat-truncation=] 11977 | snprintf(buf, MSG_SIZ, "variant %s\n", VariantName(gameInfo.variant)); | ^~ In function 'snprintf', inlined from 'FeedMovesToProgram' at backend.c:11977:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 10 and 521 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'PopInner': backend.c:18974:85: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 19 [-Wformat-truncation=] 18974 | else snprintf(moveBuf, sizeof(moveBuf)/sizeof(moveBuf[0])," %s", SavePart(parseList[i])); | ^~ In function 'snprintf', inlined from 'PopInner' at backend.c:18974:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 513 bytes into a destination of size 20 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'PopInner': backend.c:18973:87: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 6 and 16 [-Wformat-truncation=] 18973 | snprintf(moveBuf, sizeof(moveBuf)/sizeof(moveBuf[0]), " %d. %s", (i+2)>>1, SavePart(parseList[i])); | ^~ In function 'snprintf', inlined from 'PopInner' at backend.c:18973:6: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 5 and 526 bytes into a destination of size 20 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'MakeMove': backend.c:10650:17: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 10650 | strncpy(buf, parseList[forwardMostMove], MOVE_LEN*2); | ^ backend.c: In function 'UserMoveEvent': backend.c:7193:48: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 498 [-Wformat-truncation=] 7193 | snprintf(buf, MSG_SIZ, " 0.0%% 1 %s\n", move); | ^~ ~~~~ In function 'snprintf', inlined from 'UserMoveEvent' at backend.c:7193:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 16 and 527 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'LeftClick': backend.c:7910:11: warning: 'piece' may be used uninitialized [-Wmaybe-uninitialized] 7910 | if(piece == defaultPromoChoice) promoChoice = NULLCHAR; // deferral | ^ backend.c:7552:17: note: 'piece' was declared here 7552 | ChessSquare piece; | ^~~~~ backend.c: In function 'ParseBoard12': backend.c:5022:65: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 496 [-Wformat-truncation=] 5022 | snprintf(str, MSG_SIZ, "%s (%d) %s %s (%d) {%d %d %s}", | ^~ In function 'snprintf', inlined from 'ParseBoard12' at backend.c:5022:8: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 18 or more bytes (assuming 529) into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'Load': backend.c:1017:42: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1017 | snprintf(command, MSG_SIZ, "%s %s", p, params); | ^ In function 'snprintf', inlined from 'Load' at backend.c:1017:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'Load': backend.c:1020:50: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 502 [-Wformat-truncation=] 1020 | if(jar) { snprintf(buf3, MSG_SIZ, "java -jar %s", p); p = buf3; } | ^~ In function 'snprintf', inlined from 'Load' at backend.c:1020:15: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 11 and 522 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'Load': backend.c:1033:61: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 511 [-Wformat-truncation=] 1033 | snprintf(buf+strlen(buf), MSG_SIZ-strlen(buf), "%c%s%c -fd \"%s\"%s%s%s%s%s%s%s%s\n", | ^~ In function 'snprintf', inlined from 'Load' at backend.c:1033:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 11 or more bytes (assuming 1096) into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'read_from_ics': backend.c:3136:57: warning: ' kibitzes: ' directive output may be truncated writing 11 bytes into a region of size between 1 and 512 [-Wformat-truncation=] 3136 | snprintf(tmp, MSG_SIZ, "%s kibitzes: %s", star_match[0], parse); | ^~~~~~~~~~~ In function 'snprintf', inlined from 'read_from_ics' at backend.c:3136:10: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 12 and 20522 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'read_from_ics': backend.c:3095:52: warning: '%s' directive output may be truncated writing up to 19999 bytes into a region of size between 1 and 512 [-Wformat-truncation=] 3095 | snprintf(mess, MSG_SIZ, "%s%s", talker, parse); | ^~ ~~~~~ In function 'snprintf', inlined from 'read_from_ics' at backend.c:3095:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 1 and 20511 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'read_from_ics': backend.c:3101:62: warning: '%s' directive output may be truncated writing up to 19999 bytes into a region of size 510 [-Wformat-truncation=] 3101 | snprintf(mess, MSG_SIZ, "%s: %s", chatPartner[chattingPartner], parse); | ^~ ~~~~~ In function 'snprintf', inlined from 'read_from_ics' at backend.c:3101:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 3 or more bytes (assuming 20002) into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'read_from_ics': backend.c:3201:48: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 3201 | snprintf(buf, sizeof(buf), "%s@%s", ics_handle, appData.icsHost); | ^ In function 'snprintf', inlined from 'read_from_ics' at backend.c:3201:8: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'read_from_ics': backend.c:3704:48: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 507 [-Wformat-truncation=] 3704 | snprintf(str, MSG_SIZ, "ICS %s %s match", star_match[0], star_match[1]); | ^~ ~~~~~~~~~~~~~ In function 'snprintf', inlined from 'read_from_ics' at backend.c:3704:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 12 or more bytes (assuming 523) into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CCLD xboard backend.c:261:13: warning: type of 'installDir' does not match original declaration [-Wlto-type-mismatch] 261 | extern char installDir[MSG_SIZ]; | ^ gtk/xboard.c:246:6: note: array types have different bounds 246 | char installDir[] = "."; // [HGM] UCI: needed for UCI; probably needs run-time initializtion | ^ gtk/xboard.c:246:6: note: 'installDir' was previously declared here book.c: In function 'MCprobe': book.c:680:9: warning: 'move_to_string' accessing 20 bytes in a region of size 6 [-Wstringop-overflow=] 680 | move_to_string(move_s, entries[choice].move); | ^ book.c:680:9: note: referencing argument 1 of type 'char[20]' book.c:491:1: note: in a call to function 'move_to_string' 491 | move_to_string (char move_s[20], uint16 move) | ^ book.c:680:9: warning: 'move_to_string' accessing 20 bytes in a region of size 6 [-Wstringop-overflow=] 680 | move_to_string(move_s, entries[choice].move); | ^ book.c:680:9: note: referencing argument 1 of type 'char[20]' book.c:491:1: note: in a call to function 'move_to_string' 491 | move_to_string (char move_s[20], uint16 move) | ^ book.c: In function 'ProbeBook': book.c:723:5: warning: 'move_to_string' accessing 20 bytes in a region of size 6 [-Wstringop-overflow=] 723 | move_to_string(move_s, entries[i].move); | ^ book.c:723:5: note: referencing argument 1 of type 'char[20]' book.c:491:1: note: in a call to function 'move_to_string' 491 | move_to_string (char move_s[20], uint16 move) | ^ book.c:723:5: warning: 'move_to_string' accessing 20 bytes in a region of size 6 [-Wstringop-overflow=] 723 | move_to_string(move_s, entries[i].move); | ^ book.c:723:5: note: referencing argument 1 of type 'char[20]' book.c:491:1: note: in a call to function 'move_to_string' 491 | move_to_string (char move_s[20], uint16 move) | ^ book.c: In function 'MovesToText': book.c:742:13: warning: 'move_to_string' accessing 20 bytes in a region of size 12 [-Wstringop-overflow=] 742 | move_to_string(algMove, entries[i].move); | ^ book.c:742:13: note: referencing argument 1 of type 'char[20]' book.c:491:1: note: in a call to function 'move_to_string' 491 | move_to_string (char move_s[20], uint16 move) | ^ book.c:746:17: warning: 'CoordsToAlgebraic' accessing 32 bytes in a region of size 12 [-Wstringop-overflow=] 746 | CoordsToAlgebraic(boards[currentMove], PosFlags(currentMove), i1-ONE+'0', c1-AAA, i2-ONE+'0', c2-AAA, c3, algMove); | ^ book.c:746:17: note: referencing argument 8 of type 'char[32]' moves.c:2314:1: note: in a call to function 'CoordsToAlgebraic' 2314 | CoordsToAlgebraic (Board board, int flags, int rf, int ff, int rt, int ft, int promoChar, char out[MOVE_LEN]) | ^ book.c:742:13: warning: 'move_to_string' accessing 20 bytes in a region of size 12 [-Wstringop-overflow=] 742 | move_to_string(algMove, entries[i].move); | ^ book.c:742:13: note: referencing argument 1 of type 'char[20]' book.c:491:1: note: in a call to function 'move_to_string' 491 | move_to_string (char move_s[20], uint16 move) | ^ book.c:746:17: warning: 'CoordsToAlgebraic' accessing 32 bytes in a region of size 12 [-Wstringop-overflow=] 746 | CoordsToAlgebraic(boards[currentMove], PosFlags(currentMove), i1-ONE+'0', c1-AAA, i2-ONE+'0', c2-AAA, c3, algMove); | ^ book.c:746:17: note: referencing argument 8 of type 'char[32]' moves.c:2314:1: note: in a call to function 'CoordsToAlgebraic' 2314 | CoordsToAlgebraic (Board board, int flags, int rf, int ff, int rt, int ft, int promoChar, char out[MOVE_LEN]) | ^ make[2]: Leaving directory '/builddir/build/BUILD/xboard-4.9.1' make[1]: Leaving directory '/builddir/build/BUILD/xboard-4.9.1' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WRT7Aa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xboard-4.9.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64 'INSTALL=/usr/bin/install -p' Making install in po make[1]: Entering directory '/builddir/build/BUILD/xboard-4.9.1/po' /usr/bin/mkdir -p /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share installing da.gmo as /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/locale/da/LC_MESSAGES/xboard.mo installing de.gmo as /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/locale/de/LC_MESSAGES/xboard.mo installing es.gmo as /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/locale/es/LC_MESSAGES/xboard.mo installing fr.gmo as /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/locale/fr/LC_MESSAGES/xboard.mo installing it.gmo as /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/locale/it/LC_MESSAGES/xboard.mo installing nl.gmo as /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/locale/nl/LC_MESSAGES/xboard.mo installing pl.gmo as /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/locale/pl/LC_MESSAGES/xboard.mo installing ru.gmo as /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/locale/ru/LC_MESSAGES/xboard.mo installing sr.gmo as /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/locale/sr/LC_MESSAGES/xboard.mo installing tr.gmo as /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/locale/tr/LC_MESSAGES/xboard.mo installing uk.gmo as /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/locale/uk/LC_MESSAGES/xboard.mo installing vi.gmo as /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/locale/vi/LC_MESSAGES/xboard.mo installing zh_CN.gmo as /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/locale/zh_CN/LC_MESSAGES/xboard.mo installing zh_HK.gmo as /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/locale/zh_HK/LC_MESSAGES/xboard.mo installing zh_TW.gmo as /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/locale/zh_TW/LC_MESSAGES/xboard.mo if test "xboard" = "gettext-tools"; then \ /usr/bin/mkdir -p /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -p -m 644 ./$file \ /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/builddir/build/BUILD/xboard-4.9.1/po' make[1]: Entering directory '/builddir/build/BUILD/xboard-4.9.1' MAKEINFO xboard.info ./texi2man ./xboard.texi > xboard.man || (rm -f xboard.man ; false) make[2]: Entering directory '/builddir/build/BUILD/xboard-4.9.1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/bin' /usr/bin/install -p xboard '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/etc' /usr/bin/install -p -m 644 xboard.conf '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications' /usr/bin/install -p -m 644 xboard.desktop xboard-fen-viewer.desktop xboard-pgn-viewer.desktop xboard-tourney.desktop xboard-config.desktop '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/icons/hicolor/48x48/apps' /usr/bin/install -p -m 644 xboard.png '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/icons/hicolor/48x48/apps' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/pixmaps/textures' /usr/bin/install -p -m 644 pixmaps/cross32.png pixmaps/cross48.png pixmaps/board32.png pixmaps/board48.png pixmaps/ini32.png pixmaps/ini48.png '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/pixmaps/textures' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/themes/textures' /usr/bin/install -p -m 644 png/hatch.png png/wood_d.png png/wood_l.png png/xqboard-9x10.png '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/themes/textures' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/themes/shogi' /usr/bin/install -p -m 644 themes/shogi/WhiteGold.svg themes/shogi/WhiteCrownedBishop.svg themes/shogi/WhiteBishop.svg themes/shogi/WhiteKing.svg themes/shogi/WhiteKnight.svg themes/shogi/WhiteGoldKnight.svg themes/shogi/WhiteLance.svg themes/shogi/WhiteGoldLance.svg themes/shogi/WhitePawn.svg themes/shogi/WhiteGoldPawn.svg themes/shogi/WhiteRook.svg themes/shogi/WhiteCrownedRook.svg themes/shogi/WhiteAdvisor.svg themes/shogi/WhiteGoldSilver.svg themes/shogi/BlackGold.svg themes/shogi/BlackCrownedBishop.svg themes/shogi/BlackBishop.svg themes/shogi/BlackKing.svg themes/shogi/BlackKnight.svg themes/shogi/BlackGoldKnight.svg themes/shogi/BlackLance.svg themes/shogi/BlackGoldLance.svg themes/shogi/BlackPawn.svg themes/shogi/BlackGoldPawn.svg themes/shogi/BlackRook.svg themes/shogi/BlackCrownedRook.svg themes/shogi/BlackAdvisor.svg themes/shogi/BlackGoldSilver.svg '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/themes/shogi' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/sounds' /usr/bin/install -p -m 644 sounds/cymbal.wav sounds/pop2.wav sounds/slap.wav sounds/ding1.wav sounds/laser.wav sounds/woodthunk.wav sounds/gong.wav sounds/penalty.wav sounds/honkhonk.wav sounds/phone.wav sounds/roar.wav '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/sounds' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/themes/default' /usr/bin/install -p -m 644 svg/icon_white.svg svg/icon_black.svg svg/BlackAdvisor.svg svg/WhiteAdvisor.svg svg/BlackArchbishop.svg svg/WhiteArchbishop.svg svg/BlackBishop.svg svg/WhiteBishop.svg svg/BlackCanon.svg svg/WhiteCanon.svg svg/BlackChancellor.svg svg/WhiteChancellor.svg svg/BlackCobra.svg svg/WhiteCobra.svg svg/BlackCommoner.svg svg/WhiteCommoner.svg svg/BlackCrownedBishop.svg svg/WhiteCrownedBishop.svg svg/BlackCrownedRook.svg svg/WhiteCrownedRook.svg svg/BlackElephant.svg svg/WhiteElephant.svg svg/BlackGoldKnight.svg svg/WhiteGoldKnight.svg svg/BlackGoldLance.svg svg/WhiteGoldLance.svg svg/BlackGoldPawn.svg svg/WhiteGoldPawn.svg svg/BlackGoldSilver.svg svg/WhiteGoldSilver.svg svg/BlackGold.svg svg/WhiteGold.svg svg/BlackHawk.svg svg/WhiteHawk.svg svg/BlackKing.svg svg/WhiteKing.svg svg/BlackKnight.svg svg/WhiteKnight.svg svg/BlackLance.svg svg/WhiteLance.svg '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/themes/default' /usr/bin/install -p -m 644 svg/BlackMarshall.svg svg/WhiteMarshall.svg svg/BlackNightrider.svg svg/WhiteNightrider.svg svg/BlackPawn.svg svg/WhitePawn.svg svg/BlackPrincess.svg svg/WhitePrincess.svg svg/BlackQueen.svg svg/WhiteQueen.svg svg/BlackRook.svg svg/WhiteRook.svg svg/BlackUnicorn.svg svg/WhiteUnicorn.svg svg/BlackSword.svg svg/WhiteSword.svg svg/BlackHSword.svg svg/WhiteHSword.svg svg/BlackLeopard.svg svg/WhiteLeopard.svg svg/BlackLion.svg svg/WhiteLion.svg svg/BlackPromoBishop.svg svg/WhitePromoBishop.svg svg/BlackPromoRook.svg svg/WhitePromoRook.svg svg/BlackPromoHorse.svg svg/WhitePromoHorse.svg svg/BlackPromoDragon.svg svg/WhitePromoDragon.svg svg/BlackPromoSword.svg svg/WhitePromoSword.svg svg/BlackPromoHSword.svg svg/WhitePromoHSword.svg svg/BlackHCrown.svg svg/WhiteHCrown.svg svg/BlackDolphin.svg svg/WhiteDolphin.svg svg/BlackClaw.svg svg/WhiteClaw.svg '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/themes/default' /usr/bin/install -p -m 644 svg/BlackWolf.svg svg/WhiteWolf.svg svg/BlackCamel.svg svg/WhiteCamel.svg svg/BlackZebra.svg svg/WhiteZebra.svg svg/BlackGnu.svg svg/WhiteGnu.svg svg/BlackWizard.svg svg/WhiteWizard.svg svg/BlackViking.svg svg/WhiteViking.svg svg/BlackIron.svg svg/WhiteIron.svg svg/BlackCopper.svg svg/WhiteCopper.svg svg/BlackTower.svg svg/WhiteTower.svg svg/BlackDragon.svg svg/WhiteDragon.svg svg/BlackCub.svg svg/WhiteCub.svg svg/BlackButterfly.svg svg/WhiteButterfly.svg svg/BlackLeft.svg svg/WhiteLeft.svg svg/BlackRight.svg svg/WhiteRight.svg svg/BlackHat.svg svg/WhiteHat.svg svg/BlackRShield.svg svg/WhiteRShield.svg svg/BlackLShield.svg svg/WhiteLShield.svg svg/BlackAxe.svg svg/WhiteAxe.svg svg/BlackFlag.svg svg/WhiteFlag.svg svg/BlackDuck.svg svg/WhiteDuck.svg '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/themes/default' /usr/bin/install -p -m 644 svg/BlackPegasus.svg svg/WhitePegasus.svg svg/eo_Analyzing.svg svg/eo_Black.svg svg/eo_Clear.svg svg/eo_Ponder.svg svg/eo_Thinking.svg svg/eo_Unknown.svg svg/eo_White.svg '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/themes/default' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/icons/hicolor/scalable/apps' /usr/bin/install -p -m 644 xboard.svg '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/icons/hicolor/scalable/apps' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/themes/conf' /usr/bin/install -p -m 644 conf/shogi conf/xq conf/ics conf/mini conf/mini.fen conf/sho conf/sho.fen '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/themes/conf' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/themes/xiangqi' /usr/bin/install -p -m 644 themes/xiangqi/BlackAdvisor.svg themes/xiangqi/WhiteAdvisor.svg themes/xiangqi/BlackCanon.svg themes/xiangqi/WhiteCanon.svg themes/xiangqi/BlackElephant.svg themes/xiangqi/WhiteElephant.svg themes/xiangqi/BlackKnight.svg themes/xiangqi/WhiteKnight.svg themes/xiangqi/BlackGold.svg themes/xiangqi/WhiteGold.svg themes/xiangqi/BlackPawn.svg themes/xiangqi/WhitePawn.svg themes/xiangqi/BlackRook.svg themes/xiangqi/WhiteRook.svg '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/games/xboard/themes/xiangqi' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/info' /usr/bin/install -p -m 644 ./xboard.info '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/info' '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/info/xboard.info' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/man/man6' /usr/bin/install -p -m 644 'xboard.man' '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/man/man6/xboard.6' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/mime/packages' /usr/bin/install -p -m 644 xboard.xml '/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/mime/packages' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/xboard-4.9.1' if test -z "/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64" -a -n "/usr/bin/xdg-mime" -a -n "/usr/bin/xdg-desktop-menu" -a -n "/usr/bin/xdg-icon-resource" ; then \ /usr/bin/xdg-mime install --mode system --novendor xboard.xml ;\ /usr/bin/xdg-desktop-menu install --mode system --novendor xboard-pgn-viewer.desktop;\ /usr/bin/xdg-desktop-menu install --mode system --novendor xboard-fen-viewer.desktop;\ /usr/bin/xdg-desktop-menu install --mode system --novendor xboard-tourney.desktop;\ /usr/bin/xdg-desktop-menu install --mode system --novendor xboard-config.desktop;\ /usr/bin/xdg-icon-resource install --context mimetypes --size 32 pixmaps/board32.png application-x-chess-pgn;\ /usr/bin/xdg-icon-resource install --context mimetypes --size 32 pixmaps/cross32.png application-x-xboard-trn;\ /usr/bin/xdg-icon-resource install --context mimetypes --size 32 pixmaps/ini32.png application-x-xboard-opt;\ /usr/bin/xdg-icon-resource install --context mimetypes --size 48 pixmaps/board48.png application-x-chess-pgn;\ /usr/bin/xdg-icon-resource install --context mimetypes --size 48 pixmaps/cross48.png application-x-xboard-trn;\ /usr/bin/xdg-icon-resource install --context mimetypes --size 48 pixmaps/ini48.png application-x-xboard-opt;\ fi make[3]: Leaving directory '/builddir/build/BUILD/xboard-4.9.1' make[2]: Leaving directory '/builddir/build/BUILD/xboard-4.9.1' make[1]: Leaving directory '/builddir/build/BUILD/xboard-4.9.1' + desktop-file-install --dir /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications /builddir/build/SOURCES/xboard.desktop + desktop-file-install --dir /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications xboard-config.desktop xboard-fen-viewer.desktop xboard-pgn-viewer.desktop xboard-tourney.desktop xboard.desktop /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Chess Game" for key "Comment" in group "Desktop Entry" looks the same as that of key "GenericName" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Skaak Speletjie" for key "Comment[af]" in group "Desktop Entry" looks the same as that of key "GenericName[af]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "???? ???????" for key "Comment[ar]" in group "Desktop Entry" looks the same as that of key "GenericName[ar]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "???" for key "Comment[bg]" in group "Desktop Entry" looks the same as that of key "GenericName[bg]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "????" for key "Comment[bn]" in group "Desktop Entry" looks the same as that of key "GenericName[bn]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Igra ?aha" for key "Comment[bs]" in group "Desktop Entry" looks the same as that of key "GenericName[bs]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Joc d'escacs" for key "Comment[ca]" in group "Desktop Entry" looks the same as that of key "GenericName[ca]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "?achy" for key "Comment[cs]" in group "Desktop Entry" looks the same as that of key "GenericName[cs]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "G?m Gwyddbwyll" for key "Comment[cy]" in group "Desktop Entry" looks the same as that of key "GenericName[cy]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Skakspil" for key "Comment[da]" in group "Desktop Entry" looks the same as that of key "GenericName[da]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Schachspiel" for key "Comment[de]" in group "Desktop Entry" looks the same as that of key "GenericName[de]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "???????? ?????" for key "Comment[el]" in group "Desktop Entry" looks the same as that of key "GenericName[el]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Juego de ajedrez" for key "Comment[es]" in group "Desktop Entry" looks the same as that of key "GenericName[es]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Male" for key "Comment[et]" in group "Desktop Entry" looks the same as that of key "GenericName[et]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Shakkipeli" for key "Comment[fi]" in group "Desktop Entry" looks the same as that of key "GenericName[fi]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Jeu d'?checs" for key "Comment[fr]" in group "Desktop Entry" looks the same as that of key "GenericName[fr]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Xogo de Xadrez" for key "Comment[gl]" in group "Desktop Entry" looks the same as that of key "GenericName[gl]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "???? ????" for key "Comment[he]" in group "Desktop Entry" looks the same as that of key "GenericName[he]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "????? ?? ???" for key "Comment[hi]" in group "Desktop Entry" looks the same as that of key "GenericName[hi]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "?ah" for key "Comment[hr]" in group "Desktop Entry" looks the same as that of key "GenericName[hr]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "sakk" for key "Comment[hu]" in group "Desktop Entry" looks the same as that of key "GenericName[hu]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Permainan Catur" for key "Comment[id]" in group "Desktop Entry" looks the same as that of key "GenericName[id]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Gioco di scacchi" for key "Comment[it]" in group "Desktop Entry" looks the same as that of key "GenericName[it]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "??????" for key "Comment[ja]" in group "Desktop Entry" looks the same as that of key "GenericName[ja]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "???????" for key "Comment[ka]" in group "Desktop Entry" looks the same as that of key "GenericName[ka]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "?????????" for key "Comment[km]" in group "Desktop Entry" looks the same as that of key "GenericName[km]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "?? ??" for key "Comment[ko]" in group "Desktop Entry" looks the same as that of key "GenericName[ko]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "??????????" for key "Comment[lo]" in group "Desktop Entry" looks the same as that of key "GenericName[lo]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "?achmatai" for key "Comment[lt]" in group "Desktop Entry" looks the same as that of key "GenericName[lt]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "???????? ????" for key "Comment[mk]" in group "Desktop Entry" looks the same as that of key "GenericName[mk]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "??????????? ???" for key "Comment[mr]" in group "Desktop Entry" looks the same as that of key "GenericName[mr]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Sjakkspill" for key "Comment[nb]" in group "Desktop Entry" looks the same as that of key "GenericName[nb]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Schaakspel" for key "Comment[nl]" in group "Desktop Entry" looks the same as that of key "GenericName[nl]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "?????? ???" for key "Comment[pa]" in group "Desktop Entry" looks the same as that of key "GenericName[pa]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Szachy" for key "Comment[pl]" in group "Desktop Entry" looks the same as that of key "GenericName[pl]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Jogo de Xadrez" for key "Comment[pt]" in group "Desktop Entry" looks the same as that of key "GenericName[pt]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Jogo de Xadrez" for key "Comment[pt_BR]" in group "Desktop Entry" looks the same as that of key "GenericName[pt_BR]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Un joc de ?ah" for key "Comment[ro]" in group "Desktop Entry" looks the same as that of key "GenericName[ro]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "???????" for key "Comment[ru]" in group "Desktop Entry" looks the same as that of key "GenericName[ru]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "?ach" for key "Comment[sk]" in group "Desktop Entry" looks the same as that of key "GenericName[sk]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Igra ?aha" for key "Comment[sl]" in group "Desktop Entry" looks the same as that of key "GenericName[sl]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "???" for key "Comment[sr]" in group "Desktop Entry" looks the same as that of key "GenericName[sr]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "???" for key "Comment[sr@Latn]" in group "Desktop Entry" looks the same as that of key "GenericName[sr@Latn]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Schackspel" for key "Comment[sv]" in group "Desktop Entry" looks the same as that of key "GenericName[sv]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "?????????(????????????.??????????): ??????? ??????????" for key "Comment[ta]" in group "Desktop Entry" looks the same as that of key "GenericName[ta]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "??????????" for key "Comment[th]" in group "Desktop Entry" looks the same as that of key "GenericName[th]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Satran? oyunu" for key "Comment[tr]" in group "Desktop Entry" looks the same as that of key "GenericName[tr]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "????" for key "Comment[uk]" in group "Desktop Entry" looks the same as that of key "GenericName[uk]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "C?" for key "Comment[vi]" in group "Desktop Entry" looks the same as that of key "GenericName[vi]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Djeu d'?echeks" for key "Comment[wa]" in group "Desktop Entry" looks the same as that of key "GenericName[wa]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Umdlalo we Chess" for key "Comment[xh]" in group "Desktop Entry" looks the same as that of key "GenericName[xh]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "??????" for key "Comment[zh_CN]" in group "Desktop Entry" looks the same as that of key "GenericName[zh_CN]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "????" for key "Comment[zh_TW]" in group "Desktop Entry" looks the same as that of key "GenericName[zh_TW]" /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/applications/xboard.desktop: warning: value "Umdlalo we-Chess" for key "Comment[zu]" in group "Desktop Entry" looks the same as that of key "GenericName[zu]" + rm -f /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/info/dir + install -pm 755 -p cmail /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/bin + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64 xboard + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 4.9.1-17.fc38 --unique-debug-suffix -4.9.1-17.fc38.riscv64 --unique-debug-src-base xboard-4.9.1-17.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xboard-4.9.1 extracting debug info from /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/bin/xboard original debug info size: 7268kB, size after compression: 7056kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 3177 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: xboard-4.9.1-17.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oipM3x + umask 022 + cd /builddir/build/BUILD + cd xboard-4.9.1 + DOCDIR=/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/doc/xboard + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/doc/xboard + cp -pr AUTHORS /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/doc/xboard + cp -pr NEWS /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/doc/xboard + cp -pr README /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/doc/xboard + cp -pr FAQ.html /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/doc/xboard + cp -pr engine-intf.html /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/doc/xboard + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lIlMTc + umask 022 + cd /builddir/build/BUILD + cd xboard-4.9.1 + LICENSEDIR=/builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/licenses/xboard + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/licenses/xboard + cp -pr COPYING /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/licenses/xboard + cp -pr COPYRIGHT /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64/usr/share/licenses/xboard + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(xboard-config.desktop) application(xboard-fen-viewer.desktop) application(xboard-pgn-viewer.desktop) application(xboard-tourney.desktop) application(xboard.desktop) config(xboard) = 4.9.1-17.fc38 mimehandler(application/x-chess-fen) mimehandler(application/x-chess-pgn) mimehandler(application/x-xboard-opt) mimehandler(application/x-xboard-trn) xboard = 4.9.1-17.fc38 xboard(riscv-64) = 4.9.1-17.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcairo.so.2()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) librsvg-2.so.2()(64bit) rtld(GNU_HASH) Processing files: xboard-debugsource-4.9.1-17.fc38.riscv64 Provides: xboard-debugsource = 4.9.1-17.fc38 xboard-debugsource(riscv-64) = 4.9.1-17.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xboard-debuginfo-4.9.1-17.fc38.riscv64 Provides: debuginfo(build-id) = 74327b3d7343b9901fe0341bd8af50f1de9126e5 xboard-debuginfo = 4.9.1-17.fc38 xboard-debuginfo(riscv-64) = 4.9.1-17.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xboard-debugsource(riscv-64) = 4.9.1-17.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64 Wrote: /builddir/build/RPMS/xboard-debugsource-4.9.1-17.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/xboard-debuginfo-4.9.1-17.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/xboard-4.9.1-17.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.e2i7ln + umask 022 + cd /builddir/build/BUILD + cd xboard-4.9.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xboard-4.9.1-17.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.EbqOvL + umask 022 + cd /builddir/build/BUILD + rm -rf xboard-4.9.1 xboard-4.9.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0