Diff of the two buildlogs: -- --- b1/build.log 2025-09-02 05:24:19.585484973 +0000 +++ b2/build.log 2025-09-02 05:25:50.425598872 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Oct 4 23:45:42 -12 2026 -I: pbuilder-time-stamp: 1791200742 +I: Current time: Tue Sep 2 19:24:21 +14 2025 +I: pbuilder-time-stamp: 1756790661 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,84 @@ dpkg-source: info: applying 12_fix_xq_texture_filename.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2356340/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1252135/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Sep 2 05:24 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1252135/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1252135/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='c90d027a56df4735960252a9aa2db987' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2356340' - PS1='# ' - PS2='> ' + INVOCATION_ID=7ca77e5f8d90430bb0550f35412681ca + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1252135 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.U7FkcofP/pbuilderrc_2mYT --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.U7FkcofP/b1 --logfile b1/build.log xboard_4.9.1-3.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.U7FkcofP/pbuilderrc_k3BN --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.U7FkcofP/b2 --logfile b2/build.log xboard_4.9.1-3.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom02-amd64 6.12.41+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.41+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2356340/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1252135/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -327,7 +359,7 @@ Get: 202 http://deb.debian.org/debian forky/main amd64 tex-common all 6.19 [29.4 kB] Get: 203 http://deb.debian.org/debian forky/main amd64 texinfo-lib amd64 7.2-4 [807 kB] Get: 204 http://deb.debian.org/debian forky/main amd64 texinfo all 7.2-4 [1974 kB] -Fetched 77.0 MB in 1s (60.4 MB/s) +Fetched 77.0 MB in 4s (18.8 MB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19897 files and directories currently installed.) @@ -995,8 +1027,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Oct 5 11:46:36 UTC 2026. -Universal Time is now: Mon Oct 5 11:46:36 UTC 2026. +Local time is now: Tue Sep 2 05:25:09 UTC 2025. +Universal Time is now: Tue Sep 2 05:25:09 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libsysprof-capture-4-dev:amd64 (48.0-2) ... @@ -1184,7 +1216,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/xboard-4.9.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../xboard_4.9.1-3_source.changes +I: user script /srv/workspace/pbuilder/1252135/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/1252135/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/xboard-4.9.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../xboard_4.9.1-3_source.changes dpkg-buildpackage: info: source package xboard dpkg-buildpackage: info: source version 4.9.1-3 dpkg-buildpackage: info: source distribution unstable @@ -1406,7 +1442,7 @@ sigint: yes make[1]: Leaving directory '/build/reproducible-path/xboard-4.9.1' dh_auto_build - make -j16 + make -j12 make[1]: Entering directory '/build/reproducible-path/xboard-4.9.1' make all-recursive make[2]: Entering directory '/build/reproducible-path/xboard-4.9.1' @@ -1426,9 +1462,6 @@ gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o uci.o uci.c gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o board.o board.c gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o draw.o draw.c -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o dialogs.o dialogs.c -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o engineoutput.o engineoutput.c -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o nengineoutput.o nengineoutput.c 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); @@ -1436,42 +1469,53 @@ childio.c:81:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | pipe(from_prog); | ^~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o evalgraph.o evalgraph.c moves.c: In function 'CollectPieceDescriptors': moves.c:209:15: warning: variable 'pieceName' set but not used [-Wunused-but-set-variable] 209 | char *m, *pieceName = defaultName; | ^~~~~~~~~ -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 - | ~~~~~^~~~ 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) | ^~ +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o dialogs.o dialogs.c +book.c: In function 'PlayBookMove': +parser.c: In function 'KifuMove': +book.c:1032:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] + 1032 | while(*end && *++end != ' ' && *end != '\n') + | ^~~~~ +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 + | ~~~~~^~~~ +book.c:1033:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' + 1033 | ; *end = NULLCHAR; // find clicked word + | ^ +In file included from backend.c:142: +backend.c: In function 'Load': +common.h:912:22: warning: macro expands to multiple statements [-Wmultistatement-macros] + 912 | #define ASSIGN(x, y) if(x) free(x); x = strdup(y) + | ^~ +backend.c:1026:17: note: in expansion of macro 'ASSIGN' + 1026 | if(useNick) ASSIGN(appData.pgnName[i], nickName); + | ^~~~~~ +backend.c:1026:5: note: some parts of macro expansion are not guarded by this 'if' clause + 1026 | if(useNick) ASSIGN(appData.pgnName[i], nickName); + | ^~ parser.c: In function 'NextUnit': parser.c:727:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 727 | if(**p == '.') (*p)++; SkipWhite(p); @@ -1479,8 +1523,18 @@ 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); | ^~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o nevalgraph.o nevalgraph.c +moves.c: In function 'GenPseudoLegal': +backend.c: In function 'ReserveGame': +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 + | ^~~ +backend.c:1532:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 1532 | if(gameNr < 0 || appData.tourneyType < 1 || // gauntlet engine can always stay loaded as first engine + | ^~ book.c: In function 'MCprobe': +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); + | ^~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1488,6 +1542,9 @@ book.c:491:1: note: in a call to function 'move_to_string' 491 | move_to_string (char move_s[20], uint16 move) | ^~~~~~~~~~~~~~ +backend.c:1535:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 1535 | UnloadEngine(&second); // already unload the engines, so TwoMachinesEvent will load new ones. + | ^~~~~~~~~~~~ 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); @@ -1512,32 +1569,37 @@ moves.h:181:11: note: in a call to function 'CoordsToAlgebraic' 181 | ChessMove CoordsToAlgebraic P((Board board, int flags, | ^~~~~~~~~~~~~~~~~ -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); - | ^~~~ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o history.o history.c +uci.c: In function 'InitEngineUCI': +uci.c:58:73: warning: '__builtin___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:970, + from uci.c:28: +In function 'sprintf', + inlined from 'InitEngineUCI' at uci.c:58:47: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___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 ()); + | ~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o engineoutput.o engineoutput.c +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o nengineoutput.o nengineoutput.c +backend.c: In function 'read_from_ics': +backend.c:4177:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 4177 | if (appData.debugMode) + | ^~ +backend.c:4179:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 4179 | UserMoveEvent(premoveFromX, premoveFromY, + | ^~~~~~~~~~~~~ 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; | ^~ -In file included from backend.c:142: -backend.c: In function 'Load': -common.h:912:22: warning: macro expands to multiple statements [-Wmultistatement-macros] - 912 | #define ASSIGN(x, y) if(x) free(x); x = strdup(y) - | ^~ -backend.c:1026:17: note: in expansion of macro 'ASSIGN' - 1026 | if(useNick) ASSIGN(appData.pgnName[i], nickName); - | ^~~~~~ 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; | ^~ -backend.c:1026:5: note: some parts of macro expansion are not guarded by this 'if' clause - 1026 | if(useNick) ASSIGN(appData.pgnName[i], nickName); - | ^~ 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; | ^~ @@ -1555,16 +1617,9 @@ dialogs.c:1265:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1265 | if(tagsText) free(tagsText); tagsText = strdup(text); | ^~ -backend.c: In function 'ReserveGame': 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); | ^~~~~~~~ -backend.c:1532:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 1532 | if(gameNr < 0 || appData.tourneyType < 1 || // gauntlet engine can always stay loaded as first engine - | ^~ -backend.c:1535:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 1535 | UnloadEngine(&second); // already unload the engines, so TwoMachinesEvent will load new ones. - | ^~~~~~~~~~~~ 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(""); @@ -1590,22 +1645,14 @@ 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(""); | ^~~~~~ -uci.c: In function 'InitEngineUCI': -uci.c:58:73: warning: '__builtin___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:970, - from uci.c:28: -In function 'sprintf', - inlined from 'InitEngineUCI' at uci.c:58:47: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___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 ()); - | ~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o nhistory.o nhistory.c +backend.c: In function 'SendMoveToProgram': +backend.c:5180:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 5180 | } else + | ^~~~ +backend.c:5185:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' + 5185 | SendToProgram(buf, cps); + | ^~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o evalgraph.o evalgraph.c 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++; @@ -1613,22 +1660,34 @@ 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++; | ^~~ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o menus.o menus.c -backend.c: In function 'read_from_ics': -backend.c:4177:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 4177 | if (appData.debugMode) - | ^~ -backend.c:4179:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 4179 | UserMoveEvent(premoveFromX, premoveFromY, - | ^~~~~~~~~~~~~ +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." + | ^~~~~~~ +engineoutput.c: In function 'Format': +engineoutput.c:467:39: warning: '__builtin___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:970, + from engineoutput.c:33: +In function 'snprintf', + inlined from 'Format' at engineoutput.c:467:13: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 3 and 25 bytes into a destination of size 24 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ 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; | ^~~ +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o nevalgraph.o nevalgraph.c 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; | ^ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o usounds.o usounds.c +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o history.o history.c 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"); @@ -1642,24 +1701,9 @@ 3218 | getcwd(curDir, MSG_SIZ); | ^~~~~~~~~~~~~~~~~~~~~~~ dialogs.c: In function 'CreateDir': -engineoutput.c: In function 'Format': dialogs.c:3274:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 3274 | chdir(name); | ^~~~~~~~~~~ -engineoutput.c:467:39: warning: '__builtin___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:970, - from engineoutput.c:33: -In function 'snprintf', - inlined from 'Format' at engineoutput.c:467:13: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 3 and 25 bytes into a destination of size 24 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ 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); @@ -1667,17 +1711,6 @@ 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); - | ^~~~~~~~~~~ -backend.c: In function 'SendMoveToProgram': -backend.c:5180:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 5180 | } else - | ^~~~ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o usystem.o usystem.c -backend.c:5185:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 5185 | SendToProgram(buf, cps); - | ^~~~~~~~~~~~~ In function 'int_from_file', inlined from 'entry_from_file' at book.c:439:9: book.c:428:19: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized] @@ -1687,27 +1720,42 @@ book.c:437:12: note: 'r' was declared here 437 | uint64 r; | ^ -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); - | ^~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o zippy.o zippy.c -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); - | ^~~~~~~~~~~ +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 '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:661:6: note: declared here + 661 | 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:1329: +/usr/include/librsvg-2.0/librsvg/rsvg-cairo.h:90:10: note: declared here + 90 | 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:737:23: note: declared here + 737 | 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:614:10: note: declared here + 614 | gboolean rsvg_handle_close (RsvgHandle *handle, GError **error); + | ^~~~~~~~~~~~~~~~~ book.c: In function 'move_to_string': book.c:505:32: warning: '%d' directive output may be truncated writing between 1 and 6 bytes into a region of size between 1 and 6 [-Wformat-truncation=] 505 | snprintf(move_s, 9, "%c%d%c%d", ff + 'a', fr + 1 - (BOARD_HEIGHT == 10), tf + 'a', tr + 1 - (BOARD_HEIGHT == 10)); @@ -1726,16 +1774,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o xaw/xboard.o xaw/xboard.c -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o xaw/xengineoutput.o xaw/xengineoutput.c -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o xaw/xgamelist.o xaw/xgamelist.c -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o xaw/xhistory.o xaw/xhistory.c -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o xaw/xoptions.o xaw/xoptions.c -book.c: In function 'ReadFromBookFile': -book.c:593:9: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] - 593 | strncpy(curBook, book, MSG_SIZ); - | ^ -book.c:593:9: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o nhistory.o nhistory.c 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 @@ -1764,6 +1803,44 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +book.c: In function 'ReadFromBookFile': +book.c:593:9: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] + 593 | strncpy(curBook, book, MSG_SIZ); + | ^ +book.c:593:9: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o menus.o menus.c +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o usounds.o usounds.c +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o usystem.o usystem.c +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o zippy.o zippy.c +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); + | ^~~~~~~~~~~ +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); + | ^~~~~~~~~~~ +zippy.c: In function 'ZippyMatch': +zippy.c:887:26: warning: the comparison will always evaluate as 'false' for the address of 'star_match' will never be NULL [-Waddress] + 887 | if(star_match[8] == NULL || star_match[8][0] == 0) // [HGM] chessd: open-source ICS has file on next line + | ^~ +In file included from zippy.c:94: +backendz.h:60:13: note: 'star_match' declared here + 60 | extern char star_match[STAR_MATCH_N][MSG_SIZ]; + | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o xaw/xboard.o xaw/xboard.c 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); @@ -1772,10 +1849,14 @@ 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 | ^~~~~~~~~~~~~~~~~~~~~~~~~ -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." - | ^~~~~~~ +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o xaw/xengineoutput.o xaw/xengineoutput.c +backend.c: In function 'HandleMachineMove': +backend.c:9435:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 9435 | } else + | ^~~~ +backend.c:9443:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' + 9443 | if( appData.testLegality && gameMode == TwoMachinesPlay ) { + | ^~ 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); @@ -1792,54 +1873,37 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -zippy.c: In function 'ZippyMatch': -zippy.c:887:26: warning: the comparison will always evaluate as 'false' for the address of 'star_match' will never be NULL [-Waddress] - 887 | if(star_match[8] == NULL || star_match[8][0] == 0) // [HGM] chessd: open-source ICS has file on next line - | ^~ -In file included from zippy.c:94: -backendz.h:60:13: note: 'star_match' declared here - 60 | extern char star_match[STAR_MATCH_N][MSG_SIZ]; - | ^~~~~~~~~~ -xaw/xoptions.c: In function 'HighlightWithScroll': -xaw/xoptions.c:267:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 267 | if(f < 0.f) f = 0.; if(f + 1.f/max > 1.f) f = 1. - 1./max; - | ^~ -xaw/xoptions.c:267:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 267 | if(f < 0.f) f = 0.; if(f + 1.f/max > 1.f) f = 1. - 1./max; - | ^~ -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:661:6: note: declared here - 661 | 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:1329: -/usr/include/librsvg-2.0/librsvg/rsvg-cairo.h:90:10: note: declared here - 90 | 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:737:23: note: declared here - 737 | 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:614:10: note: declared here - 614 | gboolean rsvg_handle_close (RsvgHandle *handle, GError **error); - | ^~~~~~~~~~~~~~~~~ +zippy.c: In function 'ZippyControl': +zippy.c:513:41: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 506 [-Wformat-truncation=] + 513 | snprintf(reply, MSG_SIZ, "ptell %s\n", star_match[1]); + | ^~ ~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:970, + from zippy.c:56: +In function 'snprintf', + inlined from 'ZippyControl' at zippy.c:513:2: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 8 and 519 bytes into a destination of size 512 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +dialogs.c: In function 'BrowseOK': +dialogs.c:3165:52: warning: '__builtin___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:970, + from dialogs.c:28: +In function 'snprintf', + inlined from 'BrowseOK' at dialogs.c:3165:7: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o xaw/xgamelist.o xaw/xgamelist.c ./args.h: In function 'InitAppData': xaw/xboard.c:458:41: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 458 | #define GetCurrentDirectory(SIZE, NAME) getcwd(NAME, SIZE) @@ -1874,7 +1938,11 @@ ./args.h:1565:5: note: in expansion of macro 'SetCurrentDirectory' 1565 | SetCurrentDirectory(dir); | ^~~~~~~~~~~~~~~~~~~ +backend.c: In function 'ApplyMove': xaw/xboard.c: In function 'ManInner': +backend.c:10215:70: warning: variable 'killed2' set but not used [-Wunused-but-set-variable] +10215 | ChessSquare captured = board[toY][toX], piece, pawn, king, killed, killed2; int p, rookX, oldEP, epRank, berolina = 0; + | ^~~~~~~ xaw/xboard.c:2124:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2124 | system(buf); | ^~~~~~~~~~~ @@ -1882,51 +1950,36 @@ xaw/xboard.c:2139:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2139 | system(buf); | ^~~~~~~~~~~ -zippy.c: In function 'ZippyControl': -zippy.c:513:41: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 506 [-Wformat-truncation=] - 513 | snprintf(reply, MSG_SIZ, "ptell %s\n", star_match[1]); - | ^~ ~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:970, - from zippy.c:56: -In function 'snprintf', - inlined from 'ZippyControl' at zippy.c:513:2: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 8 and 519 bytes into a destination of size 512 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -dialogs.c: In function 'BrowseOK': -dialogs.c:3165:52: warning: '__builtin___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:970, - from dialogs.c:28: -In function 'snprintf', - inlined from 'BrowseOK' at dialogs.c:3165:7: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -xaw/xoptions.c: In function 'SendTextCB': -xaw/xoptions.c:1387:3: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] - 1387 | strncpy(buf, p, MSG_SIZ); - | ^ -backend.c: In function 'HandleMachineMove': -backend.c:9435:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 9435 | } else - | ^~~~ -backend.c:9443:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 9443 | if( appData.testLegality && gameMode == TwoMachinesPlay ) { - | ^~ +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o xaw/xhistory.o xaw/xhistory.c +draw.c: In function 'InscribeKanji': +draw.c:906:5: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] + 906 | strncpy(buf, p, 20); + | ^ +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libxml2 -pthread -DSYSCONFDIR='"/etc/xboard"' -DLOCALEDIR='"/usr/share/locale"' -DSVGDIR='"/usr/share/games/xboard/themes/default"' -D__GIT_VERSION='""' -DCONFIGURE_OPTIONS='"prefix=/usr; datarootdir=/usr/share; datadir=/usr/share; gamedatadir=/usr/share/games/xboard; desktopdir=/usr/share/applications; mimedir=/usr/share/mime/packages; iconsdir=/usr/share/icons/hicolor/48x48/apps; svgiconsdir=/usr/share/icons/hicolor/scalable/apps; infodir=/usr/share/info; sysconfigdir=; update_mimedb=yes; NLS=yes; GTK=no; Xaw3d=no; Xaw=yes; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I xaw -DX11 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xboard-4.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wno-parentheses -c -o xaw/xoptions.o xaw/xoptions.c +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; + | ^~~~~~~ moves.c: In function 'MovesFromString': moves.c:425:13: warning: '__builtin_strncpy' specified bound 80 equals destination size [-Wstringop-truncation] 425 | strncpy(buf, cont, 80); cont = buf; // copy next leg(s), so we can modify | ^ +xaw/xoptions.c: In function 'HighlightWithScroll': +xaw/xoptions.c:267:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 267 | if(f < 0.f) f = 0.; if(f + 1.f/max > 1.f) f = 1. - 1./max; + | ^~ +xaw/xoptions.c:267:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 267 | if(f < 0.f) f = 0.; if(f + 1.f/max > 1.f) f = 1. - 1./max; + | ^~ dialogs.c: In function 'SendString': dialogs.c:1050:9: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 1050 | strncpy(buf2, p, MSG_SIZ); @@ -1947,7 +2000,10 @@ dialogs.c:2026:5: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 2026 | strncpy(clickedWord, text, MSG_SIZ); | ^ -backend.c: In function 'ApplyMove': +xaw/xoptions.c: In function 'SendTextCB': +xaw/xoptions.c:1387:3: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] + 1387 | strncpy(buf, p, MSG_SIZ); + | ^ In file included from xaw/xboard.c:463: ./args.h: In function 'ParseArgs': ./args.h:1007:7: warning: '__builtin_strncpy' specified bound 131072 equals destination size [-Wstringop-truncation] @@ -1970,20 +2026,13 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -backend.c:10215:70: warning: variable 'killed2' set but not used [-Wunused-but-set-variable] -10215 | ChessSquare captured = board[toY][toX], piece, pawn, king, killed, killed2; int p, rookX, oldEP, epRank, berolina = 0; - | ^~~~~~~ -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; - | ^~ -draw.c: In function 'InscribeKanji': -draw.c:906:5: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] - 906 | strncpy(buf, p, 20); - | ^ -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: 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"); + | ^~~~~~~ ./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); @@ -1997,41 +2046,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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; - | ^~~~~~~ -xaw/xoptions.c: In function 'GenericPopUp': -xaw/xoptions.c:1240:17: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] - 1240 | strncpy(buf, msg, MSG_SIZ); msg = buf + 1; - | ^ -xaw/xoptions.c:1254:53: warning: 'oldForm' may be used uninitialized [-Wmaybe-uninitialized] - 1254 | last = form; lastrow = oldLastRow; form = oldForm; forelast = oldForeLast; - | ~~~~~^~~~~~~~~ -xaw/xoptions.c:965:119: note: 'oldForm' was declared here - 965 | Widget popup, layout, dialog=NULL, edit=NULL, form, last, b_ok, b_cancel, previousPane = NULL, textField = NULL, oldForm, oldLastRow, oldForeLast; - | ^~~~~~~ -xaw/xoptions.c:1252:13: warning: 'box' may be used uninitialized [-Wmaybe-uninitialized] - 1252 | SqueezeIntoBox(&option[box], i-box, option[box].max); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xaw/xoptions.c:967:76: note: 'box' was declared here - 967 | int x, y, i, j, height=999, width=1, h, c, w, shrink=FALSE, stack = 0, box, chain; - | ^~~ -xaw/xboard.c: In function 'GenerateGlobalTranslationTable': -xaw/xboard.c:946:3: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 946 | strncat(output[1], output[0], strlen(output[0])); - | ^ -xaw/xboard.c:946:3: note: length computed here - 946 | strncat(output[1], output[0], strlen(output[0])); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xaw/xboard.c:935:15: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 935 | strncat(output[shift|alt|ctrl], buffer, strlen(buffer)); - | ^ -xaw/xboard.c:935:15: note: length computed here - 935 | strncat(output[shift|alt|ctrl], buffer, strlen(buffer)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -2071,6 +2085,45 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +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 + | ^~~~ +xaw/xboard.c: In function 'GenerateGlobalTranslationTable': +xaw/xboard.c:946:3: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 946 | strncat(output[1], output[0], strlen(output[0])); + | ^ +xaw/xboard.c:946:3: note: length computed here + 946 | strncat(output[1], output[0], strlen(output[0])); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xaw/xboard.c:935:15: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 935 | strncat(output[shift|alt|ctrl], buffer, strlen(buffer)); + | ^ +xaw/xboard.c:935:15: note: length computed here + 935 | strncat(output[shift|alt|ctrl], buffer, strlen(buffer)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xaw/xoptions.c: In function 'GenericPopUp': +xaw/xoptions.c:1240:17: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] + 1240 | strncpy(buf, msg, MSG_SIZ); msg = buf + 1; + | ^ +xaw/xoptions.c:1254:53: warning: 'oldForm' may be used uninitialized [-Wmaybe-uninitialized] + 1254 | last = form; lastrow = oldLastRow; form = oldForm; forelast = oldForeLast; + | ~~~~~^~~~~~~~~ +xaw/xoptions.c:965:119: note: 'oldForm' was declared here + 965 | Widget popup, layout, dialog=NULL, edit=NULL, form, last, b_ok, b_cancel, previousPane = NULL, textField = NULL, oldForm, oldLastRow, oldForeLast; + | ^~~~~~~ +xaw/xoptions.c:1252:13: warning: 'box' may be used uninitialized [-Wmaybe-uninitialized] + 1252 | SqueezeIntoBox(&option[box], i-box, option[box].max); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xaw/xoptions.c:967:76: note: 'box' was declared here + 967 | int x, y, i, j, height=999, width=1, h, c, w, shrink=FALSE, stack = 0, box, chain; + | ^~~ 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); @@ -2085,23 +2138,6 @@ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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"); - | ^~~~~~~ -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 - | ^~~~ -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); | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -2552,7 +2588,7 @@ make[2]: Leaving directory '/build/reproducible-path/xboard-4.9.1' make[1]: Leaving directory '/build/reproducible-path/xboard-4.9.1' dh_auto_test - make -j16 check "TESTSUITEFLAGS=-j16 --verbose" VERBOSE=1 + make -j12 check "TESTSUITEFLAGS=-j12 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/xboard-4.9.1' Making check in po make[2]: Entering directory '/build/reproducible-path/xboard-4.9.1/po' @@ -2565,7 +2601,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/xboard-4.9.1' dh_auto_install - make -j16 install DESTDIR=/build/reproducible-path/xboard-4.9.1/debian/xboard AM_UPDATE_INFO_DIR=no + make -j12 install DESTDIR=/build/reproducible-path/xboard-4.9.1/debian/xboard AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/reproducible-path/xboard-4.9.1' Making install in po make[3]: Entering directory '/build/reproducible-path/xboard-4.9.1/po' @@ -2607,25 +2643,25 @@ /usr/bin/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/pixmaps/textures' /usr/bin/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/textures' /usr/bin/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/shogi' - /usr/bin/install -c -m 644 xboard.conf '/build/reproducible-path/xboard-4.9.1/debian/xboard/etc/xboard' /usr/bin/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/sounds' - /usr/bin/install -c -m 644 xboard.desktop xboard-fen-viewer.desktop xboard-pgn-viewer.desktop xboard-tourney.desktop xboard-config.desktop '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/applications' /usr/bin/install -c xboard '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/games' - /usr/bin/install -c -m 644 pixmaps/cross32.png pixmaps/cross48.png pixmaps/board32.png pixmaps/board48.png pixmaps/ini32.png pixmaps/ini48.png '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/pixmaps/textures' + /usr/bin/install -c -m 644 xboard.conf '/build/reproducible-path/xboard-4.9.1/debian/xboard/etc/xboard' /usr/bin/install -c -m 644 xboard.png '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/icons/hicolor/48x48/apps' - /usr/bin/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/default' - /usr/bin/install -c -m 644 png/hatch.png png/wood_d.png png/wood_l.png png/xqboard-9x10.png '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/textures' + /usr/bin/install -c -m 644 xboard.desktop xboard-fen-viewer.desktop xboard-pgn-viewer.desktop xboard-tourney.desktop xboard-config.desktop '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/applications' + /usr/bin/install -c -m 644 pixmaps/cross32.png pixmaps/cross48.png pixmaps/board32.png pixmaps/board48.png pixmaps/ini32.png pixmaps/ini48.png '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/pixmaps/textures' + /usr/bin/install -c -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 '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/shogi' + /usr/bin/install -c -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 '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/sounds' /usr/bin/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/icons/hicolor/scalable/apps' + /usr/bin/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/default' /usr/bin/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/conf' + /usr/bin/install -c -m 644 png/hatch.png png/wood_d.png png/wood_l.png png/xqboard-9x10.png '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/textures' /usr/bin/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/xiangqi' /usr/bin/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/mime/packages' - /usr/bin/install -c -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 '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/shogi' /usr/bin/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/man/man6' - /usr/bin/install -c -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 '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/sounds' /usr/bin/install -c -m 644 xboard.svg '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/icons/hicolor/scalable/apps' - /usr/bin/install -c -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 '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/default' /usr/bin/install -c -m 644 conf/shogi conf/xq conf/ics conf/mini conf/mini.fen conf/sho conf/sho.fen '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/conf' /usr/bin/install -c -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 '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/xiangqi' + /usr/bin/install -c -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 '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/default' /usr/bin/install -c -m 644 xboard.xml '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/mime/packages' /usr/bin/install -c -m 644 'xboard.man' '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/man/man6/xboard.6' /usr/bin/install -c -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 '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/default' @@ -2662,21 +2698,21 @@ dh_perl dh_link dh_strip_nondeterminism + Normalized debian/xboard/usr/share/locale/sr/LC_MESSAGES/xboard.mo Normalized debian/xboard/usr/share/locale/it/LC_MESSAGES/xboard.mo - Normalized debian/xboard/usr/share/locale/fr/LC_MESSAGES/xboard.mo - Normalized debian/xboard/usr/share/locale/da/LC_MESSAGES/xboard.mo - Normalized debian/xboard/usr/share/locale/zh_TW/LC_MESSAGES/xboard.mo + Normalized debian/xboard/usr/share/locale/de/LC_MESSAGES/xboard.mo Normalized debian/xboard/usr/share/locale/ru/LC_MESSAGES/xboard.mo - Normalized debian/xboard/usr/share/locale/es/LC_MESSAGES/xboard.mo - Normalized debian/xboard/usr/share/locale/tr/LC_MESSAGES/xboard.mo - Normalized debian/xboard/usr/share/locale/pl/LC_MESSAGES/xboard.mo Normalized debian/xboard/usr/share/locale/zh_CN/LC_MESSAGES/xboard.mo + Normalized debian/xboard/usr/share/locale/tr/LC_MESSAGES/xboard.mo Normalized debian/xboard/usr/share/locale/uk/LC_MESSAGES/xboard.mo - Normalized debian/xboard/usr/share/locale/vi/LC_MESSAGES/xboard.mo + Normalized debian/xboard/usr/share/locale/pl/LC_MESSAGES/xboard.mo + Normalized debian/xboard/usr/share/locale/da/LC_MESSAGES/xboard.mo + Normalized debian/xboard/usr/share/locale/fr/LC_MESSAGES/xboard.mo + Normalized debian/xboard/usr/share/locale/es/LC_MESSAGES/xboard.mo Normalized debian/xboard/usr/share/locale/zh_HK/LC_MESSAGES/xboard.mo - Normalized debian/xboard/usr/share/locale/de/LC_MESSAGES/xboard.mo - Normalized debian/xboard/usr/share/locale/sr/LC_MESSAGES/xboard.mo Normalized debian/xboard/usr/share/locale/nl/LC_MESSAGES/xboard.mo + Normalized debian/xboard/usr/share/locale/zh_TW/LC_MESSAGES/xboard.mo + Normalized debian/xboard/usr/share/locale/vi/LC_MESSAGES/xboard.mo dh_compress dh_fixperms dh_missing @@ -2690,8 +2726,8 @@ dpkg-gencontrol: warning: package xboard: substitution variable ${perl:Depends} unused, but is defined dh_md5sums dh_builddeb -dpkg-deb: building package 'xboard-dbgsym' in '../xboard-dbgsym_4.9.1-3_amd64.deb'. dpkg-deb: building package 'xboard' in '../xboard_4.9.1-3_amd64.deb'. +dpkg-deb: building package 'xboard-dbgsym' in '../xboard-dbgsym_4.9.1-3_amd64.deb'. dpkg-genbuildinfo --build=binary -O../xboard_4.9.1-3_amd64.buildinfo dpkg-genchanges --build=binary -O../xboard_4.9.1-3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2699,12 +2735,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1252135/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1252135/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2356340 and its subdirectories -I: Current time: Sun Oct 4 23:47:19 -12 2026 -I: pbuilder-time-stamp: 1791200839 +I: removing directory /srv/workspace/pbuilder/1252135 and its subdirectories +I: Current time: Tue Sep 2 19:25:49 +14 2025 +I: pbuilder-time-stamp: 1756790749