Diff of the two buildlogs: -- --- b1/build.log 2024-05-15 03:08:31.921250101 +0000 +++ b2/build.log 2024-05-15 03:11:36.069413710 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jun 16 21:29:34 -12 2025 -I: pbuilder-time-stamp: 1750152574 +I: Current time: Wed May 15 17:08:35 +14 2024 +I: pbuilder-time-stamp: 1715742515 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -32,51 +32,83 @@ dpkg-source: info: applying gcc10.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3111488/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4033504/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 May 15 03:08 /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/4033504/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4033504/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' + 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]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(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 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='369731bd9f2f40be934d768451470fd7' - 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='3111488' - PS1='# ' - PS2='> ' + INVOCATION_ID=e6c81d57de0d4a0db783d4a854a9026c + 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=4033504 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.VVB6xB34/pbuilderrc_Mt8T --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.VVB6xB34/b1 --logfile b1/build.log xboard_4.9.1-2.dsc' - SUDO_GID='109' - 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.VVB6xB34/pbuilderrc_nCqt --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.VVB6xB34/b2 --logfile b2/build.log xboard_4.9.1-2.dsc' + SUDO_GID=109 + 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.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 16 03:14 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3111488/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 14 11:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4033504/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -355,7 +387,7 @@ Get: 229 http://deb.debian.org/debian trixie/main amd64 tex-common all 6.18 [32.5 kB] Get: 230 http://deb.debian.org/debian trixie/main amd64 texinfo-lib amd64 7.1-3+b1 [224 kB] Get: 231 http://deb.debian.org/debian trixie/main amd64 texinfo all 7.1-3 [1748 kB] -Fetched 91.1 MB in 2s (41.4 MB/s) +Fetched 91.1 MB in 2s (52.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal: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 ... 19699 files and directories currently installed.) @@ -1103,8 +1135,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Jun 17 09:30:31 UTC 2025. -Universal Time is now: Tue Jun 17 09:30:31 UTC 2025. +Local time is now: Wed May 15 03:10:44 UTC 2024. +Universal Time is now: Wed May 15 03:10:44 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libsysprof-capture-4-dev:amd64 (46.0-1) ... @@ -1327,7 +1359,11 @@ fakeroot is already the newest version (1.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 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-2_source.changes +I: user script /srv/workspace/pbuilder/4033504/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/4033504/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-2_source.changes dpkg-buildpackage: info: source package xboard dpkg-buildpackage: info: source version 4.9.1-2 dpkg-buildpackage: info: source distribution unstable @@ -1569,53 +1605,35 @@ childio.c:81:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | pipe(from_prog); | ^~~~~~~~~~~~~~~ -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 - | ~~~~~^~~~ -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); - | ^~ -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 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 'NextUnit': -parser.c:727:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 727 | if(**p == '.') (*p)++; SkipWhite(p); - | ^~ -parser.c:727:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 727 | if(**p == '.') (*p)++; SkipWhite(p); - | ^~~~~~~~~ -backend.c: In function 'ReserveGame': -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. - | ^~~~~~~~~~~~ moves.c: In function 'MovesFromString': moves.c:498:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 498 | if(killX < 0) cb(board, flags, FirstLeg, r, f, y, x, cl); if(killX < f) | ^~ +parser.c: In function 'KifuMove': moves.c:498:85: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 498 | if(killX < 0) cb(board, flags, FirstLeg, r, f, y, x, cl); if(killX < f) | ^~ +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 + | ~~~~~^~~~ moves.c:506:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 506 | if(killX < 0) cb(board, flags, FirstLeg, r, f, y, x, cl); if(killX > f) | ^~ moves.c:506:85: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 506 | if(killX < 0) cb(board, flags, FirstLeg, r, f, y, x, cl); if(killX > f) | ^~ +parser.c: In function 'NextUnit': +parser.c:727:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 +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); + | ^~~~~~~~~ book.c: In function 'SaveToBook': book.c:891:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 891 | for(i=0; i directly is deprecated." [-Wcpp] + 26 | #warning "Including directly is deprecated." + | ^~~~~~~ dialogs.c:3340:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3340 | for(p=*res; q=strchr(p, '/');) p = q + 1; *p = NULLCHAR; | ^~~ dialogs.c:3340:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3340 | for(p=*res; q=strchr(p, '/');) p = q + 1; *p = NULLCHAR; | ^ +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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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"); @@ -1790,7 +1832,6 @@ dialogs.c:2331:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2331 | system("stty -echo"); | ^~~~~~~~~~~~~~~~~~~~ -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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: In function 'ListDir': dialogs.c:3218:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 3218 | getcwd(curDir, MSG_SIZ); @@ -1809,11 +1850,6 @@ dialogs.c:3348:31: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 3348 | if(*res && **res) chdir(*res); | ^~~~~~~~~~~ -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 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); @@ -1841,7 +1877,6 @@ 737 | void g_type_init (void); | ^~~~~~~~~~~ draw.c: In function 'ClearPieces': -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 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); | ^~ @@ -1885,9 +1920,6 @@ book.c:437:12: note: 'r' was declared here 437 | uint64 r; | ^ -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 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)); @@ -1906,11 +1938,20 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 +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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 +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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 +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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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); @@ -1927,22 +1968,23 @@ menus.c:347:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 347 | system(buf); | ^~~~~~~~~~~ -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] +usystem.c: In function 'RunCommand': +usystem.c:287:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 287 | system(buf); + | ^~~~~~~~~~~ +usystem.c: In function 'StartChildProcess': +usystem.c:465:9: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] + 465 | nice(appData.niceEngines); // [HGM] nice: adjust priority of engine proc + | ^~~~~~~~~~~~~~~~~~~~~~~~~ backend.c: In function 'HandleMachineMove': backend.c:9435:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 9435 | } 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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 gtk/xboard.o gtk/xboard.c 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 ) { | ^~ -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); - | ^~~~~~~~~~~ +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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 gtk/xoptions.o gtk/xoptions.c 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 @@ -1951,12 +1993,6 @@ backendz.h:60:13: note: 'star_match' declared here 60 | extern char star_match[STAR_MATCH_N][MSG_SIZ]; | ^~~~~~~~~~ -usystem.c: In function 'StartChildProcess': -usystem.c:465:9: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] - 465 | nice(appData.niceEngines); // [HGM] nice: adjust priority of engine proc - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 gtk/xboard.o gtk/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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 gtk/xoptions.o gtk/xoptions.c 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); @@ -1974,6 +2010,22 @@ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ backend.c: In function 'ApplyMove': +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; + | ^~ +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; + | ^~~~~~~ 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]); @@ -1989,14 +2041,17 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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': +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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 gtk/xtimer.o gtk/xtimer.c +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 + | ^ +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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 gtk/xengineoutput.o gtk/xengineoutput.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); + | ^ dialogs.c: In function 'BrowseOK': -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; - | ^~ 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); | ^ @@ -2011,19 +2066,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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; - | ^~~~~~~ -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); - | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2072,8 +2114,6 @@ /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 gtk/xtimer.o gtk/xtimer.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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -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=yes; Xaw3d=no; Xaw=no; ptys=pipes; zippy=yes; sigint=yes"' -DDATADIR='"/usr/share/games/xboard"' -DMANDIR='"/usr/share/man"' -I gtk -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 gtk/xengineoutput.o gtk/xengineoutput.c In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -2100,44 +2140,31 @@ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ -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 - | ^ -gtk/xoptions.c: In function 'SetTextColor': -gtk/xoptions.c:627:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 627 | if(fg < 0) fg = 0; if(bg < 0) bg = 7; - | ^~ -gtk/xoptions.c:627:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 627 | if(fg < 0) fg = 0; if(bg < 0) bg = 7; - | ^~ -gtk/xoptions.c: In function 'PopDown': -gtk/xoptions.c:879:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 879 | if(messedUp) Preview(0, NULL); messedUp = FALSE; // Board Options dialog can need this to cancel preview - | ^~ -gtk/xoptions.c:879:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 879 | if(messedUp) Preview(0, NULL); messedUp = FALSE; // Board Options dialog can need this to cancel preview - | ^~~~~~~~ -gtk/xoptions.c: In function 'GraphEventProc': -gtk/xoptions.c:982:13: warning: variable 'opt' set but not used [-Wunused-but-set-variable] - 982 | Option *opt, *graph = (Option *) gdata; - | ^~~ -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); - | ^ -dialogs.c:1066:37: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - 1066 | snprintf(buf, MSG_SIZ, "%s\n", p); - | ^ -In function 'snprintf', - inlined from 'SendString' at dialogs.c:1066:2: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 2 and 513 bytes into a destination of size 512 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from gtk/xtimer.c:61: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32: +/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here + 725 | { + | ^ +backend.c: In function 'LoadPosition': ./args.h: In function 'InitAppData': gtk/xboard.c:350:41: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 350 | #define GetCurrentDirectory(SIZE, NAME) getcwd(NAME, SIZE) @@ -2155,7 +2182,6 @@ ./args.h:1530:3: note: in expansion of macro 'SetCurrentDirectory' 1530 | SetCurrentDirectory(currDir); | ^~~~~~~~~~~~~~~~~~~ -backend.c: In function 'LoadPosition': ./args.h: In function 'SaveSettings': gtk/xboard.c:350:41: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 350 | #define GetCurrentDirectory(SIZE, NAME) getcwd(NAME, SIZE) @@ -2173,62 +2199,13 @@ ./args.h:1565:5: note: in expansion of macro 'SetCurrentDirectory' 1565 | SetCurrentDirectory(dir); | ^~~~~~~~~~~~~~~~~~~ -dialogs.c: In function 'ContextMenu': -dialogs.c:2026:5: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] - 2026 | strncpy(clickedWord, text, MSG_SIZ); - | ^ +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"); + | ^~~ gtk/xboard.c: In function 'main': gtk/xboard.c:987:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 987 | getcwd(dirName, MSG_SIZ); | ^~~~~~~~~~~~~~~~~~~~~~~~ -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"); - | ^~~ -gtk/xboard.c: In function 'ManProc': -gtk/xboard.c:2038:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 2038 | system("x-terminal-emulator -e man xboard &"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gtk/xboard.c: In function 'InfoProc': -gtk/xboard.c:2052:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 2052 | system(buf); - | ^~~~~~~~~~~ -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"); - | ^~~~~~~ -gtk/xboard.c: In function 'FileNamePopUpWrapper': -gtk/xboard.c:2429:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] - 2429 | getcwd(curDir, MSG_SIZ); - | ^~~~~~~~~~~~~~~~~~~~~~~ -gtk/xboard.c:2430:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] - 2430 | chdir(def); - | ^~~~~~~~~~ -gtk/xboard.c:2514:48: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] - 2514 | if(def && *def && def[strlen(def)-1] == '/') chdir(curDir); - | ^~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from gtk/xtimer.c:61: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32: -/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here - 725 | { - | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2241,6 +2218,9 @@ /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ +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"); + | ^~~~~~~ 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, @@ -2253,6 +2233,42 @@ /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ +gtk/xboard.c: In function 'ManProc': +gtk/xboard.c:2038:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 2038 | system("x-terminal-emulator -e man xboard &"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gtk/xboard.c: In function 'InfoProc': +gtk/xboard.c:2052:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 2052 | system(buf); + | ^~~~~~~~~~~ +gtk/xoptions.c: In function 'SetTextColor': +gtk/xoptions.c:627:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 627 | if(fg < 0) fg = 0; if(bg < 0) bg = 7; + | ^~ +gtk/xoptions.c:627:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 627 | if(fg < 0) fg = 0; if(bg < 0) bg = 7; + | ^~ +gtk/xboard.c: In function 'FileNamePopUpWrapper': +gtk/xboard.c:2429:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] + 2429 | getcwd(curDir, MSG_SIZ); + | ^~~~~~~~~~~~~~~~~~~~~~~ +gtk/xboard.c:2430:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] + 2430 | chdir(def); + | ^~~~~~~~~~ +gtk/xoptions.c: In function 'PopDown': +gtk/xboard.c:2514:48: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] + 2514 | if(def && *def && def[strlen(def)-1] == '/') chdir(curDir); + | ^~~~~~~~~~~~~ +gtk/xoptions.c:879:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 879 | if(messedUp) Preview(0, NULL); messedUp = FALSE; // Board Options dialog can need this to cancel preview + | ^~ +gtk/xoptions.c:879:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 879 | if(messedUp) Preview(0, NULL); messedUp = FALSE; // Board Options dialog can need this to cancel preview + | ^~~~~~~~ +gtk/xoptions.c: In function 'GraphEventProc': +gtk/xoptions.c:982:13: warning: variable 'opt' set but not used [-Wunused-but-set-variable] + 982 | Option *opt, *graph = (Option *) gdata; + | ^~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -2279,6 +2295,26 @@ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ +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); + | ^ +dialogs.c:1066:37: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + 1066 | snprintf(buf, MSG_SIZ, "%s\n", p); + | ^ +In function 'snprintf', + inlined from 'SendString' at dialogs.c:1066:2: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 2 and 513 bytes into a destination of size 512 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +dialogs.c: In function 'ContextMenu': +dialogs.c:2026:5: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] + 2026 | strncpy(clickedWord, text, MSG_SIZ); + | ^ 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]) @@ -2311,6 +2347,19 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +./args.h: In function 'ParseSettingsFile': +./args.h:941:39: warning: '/themes/conf' directive output may be truncated writing 12 bytes into a region of size between 1 and 512 [-Wformat-truncation=] + 941 | snprintf(buf, MSG_SIZ, "%s/themes/conf", dataDir); + | ^~~~~~~~~~~~ +In function 'snprintf', + inlined from 'ParseSettingsFile' at ./args.h:941:6: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 13 and 524 bytes into a destination of size 512 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ 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); @@ -2338,10 +2387,6 @@ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dialogs.c: In function 'DisplayHelp': -./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); - | ^~~~~~~~~~~~ dialogs.c:2710:52: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 502 [-Wformat-truncation=] 2710 | snprintf(tidy, MSG_SIZ, "gunzip -c %s", buf); | ^~ ~~~ @@ -2354,15 +2399,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -In function 'snprintf', - inlined from 'ParseSettingsFile' at ./args.h:941:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 13 and 524 bytes into a destination of size 512 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ 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); @@ -2882,30 +2918,30 @@ make[3]: Leaving directory '/build/reproducible-path/xboard-4.9.1/po' make[3]: Entering directory '/build/reproducible-path/xboard-4.9.1' make[4]: Entering directory '/build/reproducible-path/xboard-4.9.1' - /usr/bin/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/games' /usr/bin/mkdir -p '/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/games' /usr/bin/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/applications' /usr/bin/mkdir -p '/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/pixmaps/textures' - /usr/bin/install -c xboard '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/games' - /usr/bin/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/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.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 xboard.png '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/icons/hicolor/48x48/apps' - /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 xboard '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/games' + /usr/bin/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/textures' /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 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/shogi' /usr/bin/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/sounds' - /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 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/games/xboard/themes/default' /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/conf' /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/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/xiangqi' /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/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/man/man6' + /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/mkdir -p '/build/reproducible-path/xboard-4.9.1/debian/xboard/usr/share/man/man6' /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 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' @@ -2944,21 +2980,21 @@ dh_perl dh_link dh_strip_nondeterminism - Normalized debian/xboard/usr/share/locale/fr/LC_MESSAGES/xboard.mo + 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/de/LC_MESSAGES/xboard.mo + Normalized debian/xboard/usr/share/locale/zh_HK/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/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/uk/LC_MESSAGES/xboard.mo - Normalized debian/xboard/usr/share/locale/vi/LC_MESSAGES/xboard.mo + Normalized debian/xboard/usr/share/locale/tr/LC_MESSAGES/xboard.mo Normalized debian/xboard/usr/share/locale/da/LC_MESSAGES/xboard.mo - Normalized debian/xboard/usr/share/locale/it/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_HK/LC_MESSAGES/xboard.mo - Normalized debian/xboard/usr/share/locale/de/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/vi/LC_MESSAGES/xboard.mo + Normalized debian/xboard/usr/share/locale/uk/LC_MESSAGES/xboard.mo + Normalized debian/xboard/usr/share/locale/pl/LC_MESSAGES/xboard.mo dh_compress dh_fixperms dh_missing @@ -2972,8 +3008,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-2_amd64.deb'. dpkg-deb: building package 'xboard' in '../xboard_4.9.1-2_amd64.deb'. +dpkg-deb: building package 'xboard-dbgsym' in '../xboard-dbgsym_4.9.1-2_amd64.deb'. dpkg-genbuildinfo --build=binary -O../xboard_4.9.1-2_amd64.buildinfo dpkg-genchanges --build=binary -O../xboard_4.9.1-2_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2981,12 +3017,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/4033504/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4033504/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/3111488 and its subdirectories -I: Current time: Mon Jun 16 21:31:31 -12 2025 -I: pbuilder-time-stamp: 1750152691 +I: removing directory /srv/workspace/pbuilder/4033504 and its subdirectories +I: Current time: Wed May 15 17:11:35 +14 2024 +I: pbuilder-time-stamp: 1715742695