Diff of the two buildlogs: -- --- b1/build.log 2023-04-29 14:03:27.309979051 +0000 +++ b2/build.log 2023-04-29 14:12:21.754512279 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Apr 29 01:55:47 -12 2023 -I: pbuilder-time-stamp: 1682776547 +I: Current time: Sun Apr 30 04:03:57 +14 2023 +I: pbuilder-time-stamp: 1682777037 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./xboard_4.9.1.orig.tar.gz] I: copying [./xboard_4.9.1-2.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Jul 26 06:11:24 2020 -12 +gpgv: Signature made Mon Jul 27 08:11:24 2020 +14 gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key @@ -32,135 +32,167 @@ dpkg-source: info: applying gcc10.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1497/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/17247/tmp/hooks/D01_modify_environment starting +debug: Running on virt32c. +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 Apr 30 04:04 /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/17247/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/17247/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + 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]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='018ce4ff03f44d0aad771b640c715111' - 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='1497' - PS1='# ' - PS2='> ' + INVOCATION_ID=9d68decf0bbd4795852d5b7ee4493eec + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=17247 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.3aw0kZQo/pbuilderrc_4s7M --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.3aw0kZQo/b1 --logfile b1/build.log xboard_4.9.1-2.dsc' - SUDO_GID='114' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.3aw0kZQo/pbuilderrc_Rnef --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.3aw0kZQo/b2 --logfile b2/build.log --extrapackages usrmerge xboard_4.9.1-2.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux jtx1b 5.10.0-21-arm64 #1 SMP Debian 5.10.162-1 (2023-01-21) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-21-armmp-lpae #1 SMP Debian 5.10.162-1 (2023-01-21) armv7l GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/1497/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 06:31 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 Apr 30 04:04 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 06:31 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/17247/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -423,7 +455,7 @@ Get: 213 http://deb.debian.org/debian bookworm/main armhf libxml-libxml-perl armhf 2.0207+dfsg+really+2.0134-1+b1 [307 kB] Get: 214 http://deb.debian.org/debian bookworm/main armhf tex-common all 6.18 [32.5 kB] Get: 215 http://deb.debian.org/debian bookworm/main armhf texinfo armhf 6.8-6+b1 [1803 kB] -Fetched 86.1 MB in 7s (11.7 MB/s) +Fetched 86.1 MB in 3s (33.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:armhf. (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 ... 19329 files and directories currently installed.) @@ -1318,10 +1350,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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/17247/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/17247/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/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 @@ -1410,7 +1449,7 @@ ./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --enable-zippy --bindir=\${exec_prefix}/games --sysconfdir=/etc/xboard --with-gtk checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -1461,8 +1500,8 @@ checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required @@ -1534,7 +1573,7 @@ sigint: yes make[1]: Leaving directory '/build/xboard-4.9.1' dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/xboard-4.9.1' make all-recursive make[2]: Entering directory '/build/xboard-4.9.1' @@ -1545,6 +1584,7 @@ gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o backend.o backend.c gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o book.o book.c gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o childio.o childio.c +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o gamelist.o gamelist.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); @@ -1552,7 +1592,7 @@ 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/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o gamelist.o gamelist.c +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o ngamelist.o ngamelist.c 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) + | ^~ +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); + | ^~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1690,7 +1752,6 @@ 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: In function 'TwoMachinesEventIfReady': 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); @@ -1699,18 +1760,11 @@ 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: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; - | ^~~~~~~ +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 + | ~~~~~^~~~ +backend.c: In function 'ApplyMove': 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1718,6 +1772,16 @@ 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: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; + | ^~~~~~~ +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); + | ^~~~~~~~~ book.c: In function 'MovesToText': book.c:742:13: warning: 'move_to_string' accessing 20 bytes in a region of size 12 [-Wstringop-overflow=] 742 | move_to_string(algMove, entries[i].move); @@ -1747,7 +1811,19 @@ moves.h:181:11: note: in a call to function 'CoordsToAlgebraic' 181 | ChessMove CoordsToAlgebraic P((Board board, int flags, | ^~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o lists.o lists.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; + | ^~~~~~~ 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"); @@ -1755,7 +1831,7 @@ 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"); | ^~~~~~~ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o moves.o moves.c +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o pgntags.o pgntags.c 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]) @@ -1766,60 +1842,6 @@ common.h:62:17: note: in definition of macro 'P' 62 | #define P(args) args | ^~~~ -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; - | ^~~~~~~~~ -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) - | ^~ -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) - | ^~ -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) - | ^~ -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/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o parser.o parser.c -parser.c: In function 'KifuMove': -parser.c:269:17: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] - 269 | if(kifu * ~1) { // disambiguation was given, and thus is probably needed - | ~~~~~^~~~ -parser.c: In function 'NextUnit': -parser.c:727:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 727 | if(**p == '.') (*p)++; SkipWhite(p); - | ^~ -parser.c:727:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 727 | if(**p == '.') (*p)++; SkipWhite(p); - | ^~~~~~~~~ -backend.c: In function 'LoadPosition': -backend.c:13618:16: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] -13618 | (void) fgets(line, MSG_SIZ, f); - | ^~~~~~~~~~~~~~~~~~~~~~~ -backend.c:13619:16: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] -13619 | (void) fgets(line, MSG_SIZ, f); - | ^~~~~~~~~~~~~~~~~~~~~~~ -backend.c:13622:20: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] -13622 | (void) fgets(line, MSG_SIZ, f); - | ^~~~~~~~~~~~~~~~~~~~~~~ -backend.c:13632:20: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] -13632 | (void) fgets(line, MSG_SIZ, f); - | ^~~~~~~~~~~~~~~~~~~~~~~ -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/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o pgntags.o pgntags.c gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o uci.o uci.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=] @@ -1837,71 +1859,29 @@ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o board.o board.c -backend.c: In function 'ParseTimeControl': -backend.c:1385:34: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - 1385 | snprintf(buf, MSG_SIZ, ":%s", mytc); - | ^ -In file included from /usr/include/stdio.h:906, - from backend.c:91: -In function 'snprintf', - inlined from 'ParseTimeControl' at backend.c:1385:7: -/usr/include/arm-linux-gnueabihf/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 ()); - | ~~~~~~~~~~~~~~~~~ -backend.c: In function 'ParseTimeControl': -backend.c:1383:35: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 499 and 509 [-Wformat-truncation=] - 1383 | snprintf(buf, MSG_SIZ, ":%d/%s", mps, mytc); - | ^~ -In function 'snprintf', - inlined from 'ParseTimeControl' at backend.c:1383:7: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 4 and 525 bytes into a destination of size 512 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -backend.c: In function 'ParseTimeControl': -backend.c:1380:34: warning: '+' directive output may be truncated writing 1 byte into a region of size between 0 and 511 [-Wformat-truncation=] - 1380 | snprintf(buf, MSG_SIZ, ":%s+%g", mytc, ti); - | ^ -backend.c:1380:30: note: assuming directive output of 12 bytes - 1380 | snprintf(buf, MSG_SIZ, ":%s+%g", mytc, ti); - | ^~~~~~~~ -In function 'snprintf', - inlined from 'ParseTimeControl' at backend.c:1380:7: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 4 and 527 bytes into a destination of size 512 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -backend.c: In function 'ParseTimeControl': -backend.c:1378:35: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 499 and 509 [-Wformat-truncation=] - 1378 | snprintf(buf, MSG_SIZ, ":%d/%s+%g", mps, mytc, ti); - | ^~ -backend.c:1378:30: note: assuming directive output of 12 bytes - 1378 | snprintf(buf, MSG_SIZ, ":%d/%s+%g", mps, mytc, ti); - | ^~~~~~~~~~~ -In function 'snprintf', - inlined from 'ParseTimeControl' at backend.c:1378:7: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 6 and 539 bytes into a destination of size 512 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ +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 + | ^ +backend.c: In function 'LoadPosition': +backend.c:13618:16: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] +13618 | (void) fgets(line, MSG_SIZ, f); + | ^~~~~~~~~~~~~~~~~~~~~~~ +backend.c:13619:16: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] +13619 | (void) fgets(line, MSG_SIZ, f); + | ^~~~~~~~~~~~~~~~~~~~~~~ +backend.c:13622:20: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] +13622 | (void) fgets(line, MSG_SIZ, f); + | ^~~~~~~~~~~~~~~~~~~~~~~ +backend.c:13632:20: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] +13632 | (void) fgets(line, MSG_SIZ, f); + | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o draw.o draw.c 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/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o dialogs.o dialogs.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); @@ -1935,26 +1915,6 @@ /usr/include/librsvg-2.0/librsvg/rsvg.h:605:10: note: declared here 605 | gboolean rsvg_handle_close (RsvgHandle *handle, GError **error); | ^~~~~~~~~~~~~~~~~ -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/string.h:535, - from /usr/include/glib-2.0/glib/galloca.h:35, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -In function 'strncpy', - inlined from 'InscribeKanji' at draw.c:906:5: -/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:95:10: warning: 'q' may be used uninitialized [-Wmaybe-uninitialized] - 95 | return __builtin___strncpy_chk (__dest, __src, __len, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 96 | __glibc_objsize (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~ -draw.c: In function 'InscribeKanji': -draw.c:887:15: note: 'q' was declared here - 887 | char *p, *q, buf[20], nr = 1; - | ^ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o dialogs.o dialogs.c 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; @@ -2047,6 +2007,25 @@ dialogs.c:3348:31: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 3348 | if(*res && **res) chdir(*res); | ^~~~~~~~~~~ +draw.c: In function 'InscribeKanji': +draw.c:906:5: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] + 906 | strncpy(buf, p, 20); + | ^ +In file included from /usr/include/string.h:535, + from /usr/include/glib-2.0/glib/galloca.h:35, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +In function 'strncpy', + inlined from 'InscribeKanji' at draw.c:906:5: +/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:95:10: warning: 'q' may be used uninitialized [-Wmaybe-uninitialized] + 95 | return __builtin___strncpy_chk (__dest, __src, __len, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 96 | __glibc_objsize (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~ +draw.c: In function 'InscribeKanji': +draw.c:887:15: note: 'q' was declared here + 887 | char *p, *q, buf[20], nr = 1; + | ^ 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); @@ -2062,43 +2041,67 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -backend.c: In function 'TimeString': -backend.c:18092:45: warning: '%d' directive output may be truncated writing between 1 and 8 bytes into a region of size 6 [-Wformat-truncation=] -18092 | if(timeSuffix) snprintf(moveTime, 8, " (%d)", timeSuffix/1000); // [HGM] kludge alert; fraction contains move time - | ^~ -backend.c:18092:42: note: directive argument in the range [-2147483, 2147483] -18092 | if(timeSuffix) snprintf(moveTime, 8, " (%d)", timeSuffix/1000); // [HGM] kludge alert; fraction contains move time - | ^~~~~~~ +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o engineoutput.o engineoutput.c +backend.c: In function 'ParseTimeControl': +backend.c:1385:34: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + 1385 | snprintf(buf, MSG_SIZ, ":%s", mytc); + | ^ +In file included from /usr/include/stdio.h:906, + from backend.c:91: In function 'snprintf', - inlined from 'TimeString' at backend.c:18092:20: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 5 and 12 bytes into a destination of size 8 + inlined from 'ParseTimeControl' at backend.c:1385:7: +/usr/include/arm-linux-gnueabihf/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 '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); - | ^ +backend.c: In function 'ParseTimeControl': +backend.c:1383:35: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 499 and 509 [-Wformat-truncation=] + 1383 | snprintf(buf, MSG_SIZ, ":%d/%s", mps, mytc); + | ^~ In function 'snprintf', - inlined from 'SendString' at dialogs.c:1066:2: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 2 and 513 bytes into a destination of size 512 + inlined from 'ParseTimeControl' at backend.c:1383:7: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 4 and 525 bytes into a destination of size 512 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +backend.c: In function 'ParseTimeControl': +backend.c:1380:34: warning: '+' directive output may be truncated writing 1 byte into a region of size between 0 and 511 [-Wformat-truncation=] + 1380 | snprintf(buf, MSG_SIZ, ":%s+%g", mytc, ti); + | ^ +backend.c:1380:30: note: assuming directive output of 12 bytes + 1380 | snprintf(buf, MSG_SIZ, ":%s+%g", mytc, ti); + | ^~~~~~~~ +In function 'snprintf', + inlined from 'ParseTimeControl' at backend.c:1380:7: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 4 and 527 bytes into a destination of size 512 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +backend.c: In function 'ParseTimeControl': +backend.c:1378:35: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 499 and 509 [-Wformat-truncation=] + 1378 | snprintf(buf, MSG_SIZ, ":%d/%s+%g", mps, mytc, ti); + | ^~ +backend.c:1378:30: note: assuming directive output of 12 bytes + 1378 | snprintf(buf, MSG_SIZ, ":%d/%s+%g", mps, mytc, ti); + | ^~~~~~~~~~~ +In function 'snprintf', + inlined from 'ParseTimeControl' at backend.c:1378:7: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 6 and 539 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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); - | ^ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o engineoutput.o engineoutput.c 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); @@ -2114,13 +2117,16 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -backend.c: In function 'AddAd': -backend.c:2665:50: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 502 [-Wformat-truncation=] - 2665 | snprintf(buf, MSG_SIZ, "%s (%s) %d %d %c %s%s", handle, rating, base, inc, rated, type, ext); - | ^~ +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 'AddAd' at backend.c:2665:2: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 11 or more bytes (assuming 522) into a destination of size 512 + inlined from 'SendString' at dialogs.c:1066:2: +/usr/include/arm-linux-gnueabihf/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, @@ -2155,6 +2161,12 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); + | ^ +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o nengineoutput.o nengineoutput.c +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o evalgraph.o evalgraph.c 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); @@ -2194,46 +2206,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -backend.c: In function 'CoordsToComputerAlgebraic': -backend.c:5389:39: warning: '__builtin___sprintf_chk' writing a terminating nul past the end of the destination [-Wformat-overflow=] - 5389 | sprintf(move+4, ";%c%c%c\n", AAA + killX, ONE + killY, promoChar); - | ^ -In function 'sprintf', - inlined from 'CoordsToComputerAlgebraic' at backend.c:5389:6: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 bytes into a destination of size 5 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -backend.c: In function 'CoordsToComputerAlgebraic': -backend.c:5390:65: warning: '%c' directive writing 1 byte into a region of size 0 [-Wformat-overflow=] - 5390 | if(kill2X >= 0 && kill2Y >= 0) sprintf(move+7, "%c%c%c\n", AAA + kill2X, ONE + kill2Y, promoChar); - | ^~ -In function 'sprintf', - inlined from 'CoordsToComputerAlgebraic' at backend.c:5390:37: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 5 bytes into a destination of size 2 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -backend.c: In function 'CoordsToComputerAlgebraic': -backend.c:5383:65: warning: ' - ' directive writing 1 byte into a region of size 0 [-Wformat-overflow=] - 5383 | if(kill2X >= 0 && kill2Y >= 0) sprintf(move+7, "%c%c\n", AAA + kill2X, ONE + kill2Y); - | ^~ -In function 'sprintf', - inlined from 'CoordsToComputerAlgebraic' at backend.c:5383:37: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 4 bytes into a destination of size 2 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o nevalgraph.o nevalgraph.c 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); @@ -2247,24 +2220,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o nengineoutput.o nengineoutput.c -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o evalgraph.o evalgraph.c -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o nevalgraph.o nevalgraph.c gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o history.o history.c -backend.c: In function 'ApplyMove': -backend.c:10317:52: warning: 'killed' may be used uninitialized [-Wmaybe-uninitialized] -10317 | board[toY][toX + (killX < fromX ? 1 : -1)] = killed; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -backend.c:10215:62: note: 'killed' was declared here -10215 | ChessSquare captured = board[toY][toX], piece, pawn, king, killed, killed2; int p, rookX, oldEP, epRank, berolina = 0; - | ^~~~~~ gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o usounds.o usounds.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); @@ -2281,15 +2240,11 @@ menus.c:347:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 347 | system(buf); | ^~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o usystem.o usystem.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); +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); | ^~~~~~~~~~~ -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/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o usystem.o usystem.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); @@ -2306,8 +2261,15 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +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 + | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o gtk/xboard.o gtk/xboard.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 @@ -2316,6 +2278,7 @@ 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/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o gtk/xboard.o gtk/xboard.c 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]); @@ -2331,75 +2294,32 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -backend.c: In function 'UploadGameEvent': -backend.c:5308:44: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 506 [-Wformat-truncation=] - 5308 | snprintf(command,MSG_SIZ, "match %s", ics_handle); - | ^~ ~~~~~~~~~~ -In function 'snprintf', - inlined from 'UploadGameEvent' at backend.c:5308:4: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 7 and 518 bytes into a destination of size 512 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -backend.c: In function 'UploadGameEvent': -backend.c:5321:43: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - 5321 | } else snprintf(buf, MSG_SIZ,"%s\n", ics_type == ICS_ICC ? command : "examine\n"); // match yourself or examine - | ^ -In function 'snprintf', - inlined from 'UploadGameEvent' at backend.c:5321:9: -/usr/include/arm-linux-gnueabihf/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 ()); - | ~~~~~~~~~~~~~~~~~ -backend.c: In function 'UploadGameEvent': -backend.c:5319:55: warning: ' fr - ' directive output may be truncated writing 4 bytes into a region of size between 1 and 512 [-Wformat-truncation=] - 5319 | else if(i == 22) snprintf(buf,MSG_SIZ, "%s fr\n", command); - | ^~~~~ -In function 'snprintf', - inlined from 'UploadGameEvent' at backend.c:5319:23: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 5 and 516 bytes into a destination of size 512 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -backend.c: In function 'UploadGameEvent': -backend.c:5318:71: warning: ' w' directive output may be truncated writing 2 bytes into a region of size between 1 and 512 [-Wformat-truncation=] - 5318 | if(i<=36 && ics_type == ICS_ICC) snprintf(buf, MSG_SIZ,"%s w%d\n", command, i); - | ^~ -backend.c:5318:68: note: directive argument in the range [1, 36] - 5318 | if(i<=36 && ics_type == ICS_ICC) snprintf(buf, MSG_SIZ,"%s w%d\n", command, i); - | ^~~~~~~~~~ -In function 'snprintf', - inlined from 'UploadGameEvent' at backend.c:5318:39: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 5 and 517 bytes into a destination of size 512 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -backend.c: In function 'UploadGameEvent': -backend.c:5320:44: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 0 and 511 [-Wformat-truncation=] - 5320 | else snprintf(buf, MSG_SIZ,"%s %s\n", command, VariantName(gameInfo.variant)); - | ^~ -In function 'snprintf', - inlined from 'UploadGameEvent' at backend.c:5320:11: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 3 and 1025 bytes into a destination of size 512 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o gtk/xoptions.o gtk/xoptions.c +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from gtk/xoptions.c:51: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32: +/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here + 700 | { + | ^ +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o gtk/xtimer.o gtk/xtimer.c 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, @@ -2437,6 +2357,38 @@ /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here + 576 | struct _GTimeVal + | ^~~~~~~~~ +gtk/xoptions.c: In function 'SetTextColor': +gtk/xoptions.c:627:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 627 | if(fg < 0) fg = 0; if(bg < 0) bg = 7; + | ^~ +gtk/xoptions.c:627:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 627 | if(fg < 0) fg = 0; if(bg < 0) bg = 7; + | ^~ +gtk/xoptions.c: In function 'PopDown': +gtk/xoptions.c:879:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 879 | if(messedUp) Preview(0, NULL); messedUp = FALSE; // Board Options dialog can need this to cancel preview + | ^~ +gtk/xoptions.c:879:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 879 | if(messedUp) Preview(0, NULL); messedUp = FALSE; // Board Options dialog can need this to cancel preview + | ^~~~~~~~ +gtk/xoptions.c: In function 'GraphEventProc': +gtk/xoptions.c:982:13: warning: variable 'opt' set but not used [-Wunused-but-set-variable] + 982 | Option *opt, *graph = (Option *) gdata; + | ^~~ +backend.c: In function 'TimeString': ./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) @@ -2471,11 +2423,25 @@ ./args.h:1565:5: note: in expansion of macro 'SetCurrentDirectory' 1565 | SetCurrentDirectory(dir); | ^~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o gtk/xoptions.o gtk/xoptions.c +backend.c:18092:45: warning: '%d' directive output may be truncated writing between 1 and 8 bytes into a region of size 6 [-Wformat-truncation=] +18092 | if(timeSuffix) snprintf(moveTime, 8, " (%d)", timeSuffix/1000); // [HGM] kludge alert; fraction contains move time + | ^~ 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:18092:42: note: directive argument in the range [-2147483, 2147483] +18092 | if(timeSuffix) snprintf(moveTime, 8, " (%d)", timeSuffix/1000); // [HGM] kludge alert; fraction contains move time + | ^~~~~~~ +In function 'snprintf', + inlined from 'TimeString' at backend.c:18092:20: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 5 and 12 bytes into a destination of size 8 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ 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 &"); @@ -2502,7 +2468,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from gtk/xoptions.c:51: + 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); | ^~~~ @@ -2518,13 +2484,33 @@ /usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here 700 | { | ^ -backend.c: In function 'wrap': -backend.c:18878:17: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] -18878 | strncpy(dest+len, cseq, cseq_len); - | ^ -backend.c:18833:16: note: length computed here -18833 | cseq_len = strlen(cseq); - | ^~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here + 576 | struct _GTimeVal + | ^~~~~~~~~ +backend.c: In function 'AddAd': +backend.c:2665:50: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 502 [-Wformat-truncation=] + 2665 | snprintf(buf, MSG_SIZ, "%s (%s) %d %d %c %s%s", handle, rating, base, inc, rated, type, ext); + | ^~ +In function 'snprintf', + inlined from 'AddAd' at backend.c:2665:2: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 11 or more bytes (assuming 522) into a destination of size 512 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o gtk/xengineoutput.o gtk/xengineoutput.c In file included from gtk/xboard.c:355: ./args.h: In function 'ParseArgs': ./args.h:1007:7: warning: '__builtin_strncpy' specified bound 131072 equals destination size [-Wstringop-truncation] @@ -2547,37 +2533,46 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here - 576 | struct _GTimeVal - | ^~~~~~~~~ -gtk/xoptions.c: In function 'SetTextColor': -gtk/xoptions.c:627:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 627 | if(fg < 0) fg = 0; if(bg < 0) bg = 7; - | ^~ -gtk/xoptions.c:627:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 627 | if(fg < 0) fg = 0; if(bg < 0) bg = 7; - | ^~ -gtk/xoptions.c: In function 'PopDown': -gtk/xoptions.c:879:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 879 | if(messedUp) Preview(0, NULL); messedUp = FALSE; // Board Options dialog can need this to cancel preview - | ^~ -gtk/xoptions.c:879:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 879 | if(messedUp) Preview(0, NULL); messedUp = FALSE; // Board Options dialog can need this to cancel preview - | ^~~~~~~~ -gtk/xoptions.c: In function 'GraphEventProc': -gtk/xoptions.c:982:13: warning: variable 'opt' set but not used [-Wunused-but-set-variable] - 982 | Option *opt, *graph = (Option *) gdata; - | ^~~ +backend.c: In function 'CoordsToComputerAlgebraic': +backend.c:5389:39: warning: '__builtin___sprintf_chk' writing a terminating nul past the end of the destination [-Wformat-overflow=] + 5389 | sprintf(move+4, ";%c%c%c\n", AAA + killX, ONE + killY, promoChar); + | ^ +In function 'sprintf', + inlined from 'CoordsToComputerAlgebraic' at backend.c:5389:6: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 bytes into a destination of size 5 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +backend.c: In function 'CoordsToComputerAlgebraic': +backend.c:5390:65: warning: '%c' directive writing 1 byte into a region of size 0 [-Wformat-overflow=] + 5390 | if(kill2X >= 0 && kill2Y >= 0) sprintf(move+7, "%c%c%c\n", AAA + kill2X, ONE + kill2Y, promoChar); + | ^~ +In function 'sprintf', + inlined from 'CoordsToComputerAlgebraic' at backend.c:5390:37: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 5 bytes into a destination of size 2 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +backend.c: In function 'CoordsToComputerAlgebraic': +backend.c:5383:65: warning: ' + ' directive writing 1 byte into a region of size 0 [-Wformat-overflow=] + 5383 | if(kill2X >= 0 && kill2Y >= 0) sprintf(move+7, "%c%c\n", AAA + kill2X, ONE + kill2Y); + | ^~ +In function 'sprintf', + inlined from 'CoordsToComputerAlgebraic' at backend.c:5383:37: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 4 bytes into a destination of size 2 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ ./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); @@ -2591,40 +2586,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -backend.c: In function 'Reset': -backend.c:12063:9: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] -12063 | strncpy(engineVariant, appData.variant, MSG_SIZ); - | ^ -gtk/xboard.c: In function 'ReSize': -gtk/xboard.c:1735:17: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] - 1735 | strncpy(text, _(mainOptions[h].name), MSG_SIZ); - | ^ -gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/share/info"' -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -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/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -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/arm-linux-gnueabihf -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -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/arm-linux-gnueabihf -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 -ffile-prefix-map=/build/xboard-4.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -c -o gtk/xengineoutput.o gtk/xengineoutput.c -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:700:1: note: declared here - 700 | { - | ^ 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, @@ -2662,19 +2623,97 @@ /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here - 576 | struct _GTimeVal - | ^~~~~~~~~ +backend.c: In function 'ApplyMove': +backend.c:10317:52: warning: 'killed' may be used uninitialized [-Wmaybe-uninitialized] +10317 | board[toY][toX + (killX < fromX ? 1 : -1)] = killed; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ +backend.c:10215:62: note: 'killed' was declared here +10215 | ChessSquare captured = board[toY][toX], piece, pawn, king, killed, killed2; int p, rookX, oldEP, epRank, berolina = 0; + | ^~~~~~ +gtk/xboard.c: In function 'ReSize': +gtk/xboard.c:1735:17: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] + 1735 | strncpy(text, _(mainOptions[h].name), MSG_SIZ); + | ^ +backend.c: In function 'UploadGameEvent': +backend.c:5308:44: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 506 [-Wformat-truncation=] + 5308 | snprintf(command,MSG_SIZ, "match %s", ics_handle); + | ^~ ~~~~~~~~~~ +In function 'snprintf', + inlined from 'UploadGameEvent' at backend.c:5308:4: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 7 and 518 bytes into a destination of size 512 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +backend.c: In function 'UploadGameEvent': +backend.c:5321:43: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + 5321 | } else snprintf(buf, MSG_SIZ,"%s\n", ics_type == ICS_ICC ? command : "examine\n"); // match yourself or examine + | ^ +In function 'snprintf', + inlined from 'UploadGameEvent' at backend.c:5321:9: +/usr/include/arm-linux-gnueabihf/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 ()); + | ~~~~~~~~~~~~~~~~~ +backend.c: In function 'UploadGameEvent': +backend.c:5319:55: warning: ' fr + ' directive output may be truncated writing 4 bytes into a region of size between 1 and 512 [-Wformat-truncation=] + 5319 | else if(i == 22) snprintf(buf,MSG_SIZ, "%s fr\n", command); + | ^~~~~ +In function 'snprintf', + inlined from 'UploadGameEvent' at backend.c:5319:23: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 5 and 516 bytes into a destination of size 512 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +backend.c: In function 'UploadGameEvent': +backend.c:5318:71: warning: ' w' directive output may be truncated writing 2 bytes into a region of size between 1 and 512 [-Wformat-truncation=] + 5318 | if(i<=36 && ics_type == ICS_ICC) snprintf(buf, MSG_SIZ,"%s w%d\n", command, i); + | ^~ +backend.c:5318:68: note: directive argument in the range [1, 36] + 5318 | if(i<=36 && ics_type == ICS_ICC) snprintf(buf, MSG_SIZ,"%s w%d\n", command, i); + | ^~~~~~~~~~ +In function 'snprintf', + inlined from 'UploadGameEvent' at backend.c:5318:39: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 5 and 517 bytes into a destination of size 512 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +backend.c: In function 'UploadGameEvent': +backend.c:5320:44: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 0 and 511 [-Wformat-truncation=] + 5320 | else snprintf(buf, MSG_SIZ,"%s %s\n", command, VariantName(gameInfo.variant)); + | ^~ +In function 'snprintf', + inlined from 'UploadGameEvent' at backend.c:5320:11: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 3 and 1025 bytes into a destination of size 512 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +backend.c: In function 'wrap': +backend.c:18878:17: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] +18878 | strncpy(dest+len, cseq, cseq_len); + | ^ +backend.c:18833:16: note: length computed here +18833 | cseq_len = strlen(cseq); + | ^~~~~~~~~~~~ +backend.c: In function 'Reset': +backend.c:12063:9: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] +12063 | strncpy(engineVariant, appData.variant, MSG_SIZ); + | ^ backend.c: In function 'GameEnds': backend.c:11685:51: warning: ' but bare king' directive output may be truncated writing 14 bytes into a region of size between 1 and 512 [-Wformat-truncation=] 11685 | snprintf(buf, MSG_SIZ, "%s but bare king", resultDetails); @@ -2877,7 +2916,7 @@ make[2]: Leaving directory '/build/xboard-4.9.1' make[1]: Leaving directory '/build/xboard-4.9.1' dh_auto_test - make -j3 check "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 + make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 make[1]: Entering directory '/build/xboard-4.9.1' Making check in po make[2]: Entering directory '/build/xboard-4.9.1/po' @@ -2893,11 +2932,11 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/xboard-4.9.1' dh_auto_install - make -j3 install DESTDIR=/build/xboard-4.9.1/debian/xboard AM_UPDATE_INFO_DIR=no + make -j4 install DESTDIR=/build/xboard-4.9.1/debian/xboard AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/xboard-4.9.1' Making install in po make[3]: Entering directory '/build/xboard-4.9.1/po' -/bin/mkdir -p /build/xboard-4.9.1/debian/xboard/usr/share +/usr/bin/mkdir -p /build/xboard-4.9.1/debian/xboard/usr/share installing da.gmo as /build/xboard-4.9.1/debian/xboard/usr/share/locale/da/LC_MESSAGES/xboard.mo installing de.gmo as /build/xboard-4.9.1/debian/xboard/usr/share/locale/de/LC_MESSAGES/xboard.mo installing es.gmo as /build/xboard-4.9.1/debian/xboard/usr/share/locale/es/LC_MESSAGES/xboard.mo @@ -2914,7 +2953,7 @@ installing zh_HK.gmo as /build/xboard-4.9.1/debian/xboard/usr/share/locale/zh_HK/LC_MESSAGES/xboard.mo installing zh_TW.gmo as /build/xboard-4.9.1/debian/xboard/usr/share/locale/zh_TW/LC_MESSAGES/xboard.mo if test "xboard" = "gettext-tools"; then \ - /bin/mkdir -p /build/xboard-4.9.1/debian/xboard/usr/share/gettext/po; \ + /usr/bin/mkdir -p /build/xboard-4.9.1/debian/xboard/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -c -m 644 ./$file \ /build/xboard-4.9.1/debian/xboard/usr/share/gettext/po/$file; \ @@ -2928,36 +2967,36 @@ make[3]: Leaving directory '/build/xboard-4.9.1/po' make[3]: Entering directory '/build/xboard-4.9.1' make[4]: Entering directory '/build/xboard-4.9.1' - /bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/games' - /usr/bin/install -c xboard '/build/xboard-4.9.1/debian/xboard/usr/games' - /bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/etc/xboard' - /bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/applications' - /bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/icons/hicolor/48x48/apps' + /usr/bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/games' + /usr/bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/etc/xboard' /usr/bin/install -c -m 644 xboard.conf '/build/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/xboard-4.9.1/debian/xboard/usr/share/applications' - /bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/games/xboard/pixmaps/textures' + /usr/bin/install -c xboard '/build/xboard-4.9.1/debian/xboard/usr/games' + /usr/bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/applications' + /usr/bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/icons/hicolor/48x48/apps' /usr/bin/install -c -m 644 xboard.png '/build/xboard-4.9.1/debian/xboard/usr/share/icons/hicolor/48x48/apps' - /bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/textures' + /usr/bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/games/xboard/pixmaps/textures' + /usr/bin/install -c -m 644 xboard.desktop xboard-fen-viewer.desktop xboard-pgn-viewer.desktop xboard-tourney.desktop xboard-config.desktop '/build/xboard-4.9.1/debian/xboard/usr/share/applications' + /usr/bin/mkdir -p '/build/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/xboard-4.9.1/debian/xboard/usr/share/games/xboard/pixmaps/textures' - /bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/shogi' /usr/bin/install -c -m 644 png/hatch.png png/wood_d.png png/wood_l.png png/xqboard-9x10.png '/build/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/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/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/shogi' - /bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/games/xboard/sounds' + /usr/bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/shogi' + /usr/bin/mkdir -p '/build/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/xboard-4.9.1/debian/xboard/usr/share/games/xboard/sounds' - /bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/default' - /bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/icons/hicolor/scalable/apps' - /bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/conf' + /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/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/shogi' + /usr/bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/default' + /usr/bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/icons/hicolor/scalable/apps' + /usr/bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/conf' /usr/bin/install -c -m 644 xboard.svg '/build/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/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/default' + /usr/bin/mkdir -p '/build/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/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/conf' - /bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/xiangqi' - /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/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/default' - /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/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/xiangqi' - /bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/man/man6' - /usr/bin/install -c -m 644 svg/BlackWolf.svg svg/WhiteWolf.svg svg/BlackCamel.svg svg/WhiteCamel.svg svg/BlackZebra.svg svg/WhiteZebra.svg svg/BlackGnu.svg svg/WhiteGnu.svg svg/BlackWizard.svg svg/WhiteWizard.svg svg/BlackViking.svg svg/WhiteViking.svg svg/BlackIron.svg svg/WhiteIron.svg svg/BlackCopper.svg svg/WhiteCopper.svg svg/BlackTower.svg svg/WhiteTower.svg svg/BlackDragon.svg svg/WhiteDragon.svg svg/BlackCub.svg svg/WhiteCub.svg svg/BlackButterfly.svg svg/WhiteButterfly.svg svg/BlackLeft.svg svg/WhiteLeft.svg svg/BlackRight.svg svg/WhiteRight.svg svg/BlackHat.svg svg/WhiteHat.svg svg/BlackRShield.svg svg/WhiteRShield.svg svg/BlackLShield.svg svg/WhiteLShield.svg svg/BlackAxe.svg svg/WhiteAxe.svg svg/BlackFlag.svg svg/WhiteFlag.svg svg/BlackDuck.svg svg/WhiteDuck.svg '/build/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/default' - /bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/mime/packages' + /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/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/default' + /usr/bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/man/man6' /usr/bin/install -c -m 644 'xboard.man' '/build/xboard-4.9.1/debian/xboard/usr/share/man/man6/xboard.6' + /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/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/xiangqi' + /usr/bin/mkdir -p '/build/xboard-4.9.1/debian/xboard/usr/share/mime/packages' /usr/bin/install -c -m 644 xboard.xml '/build/xboard-4.9.1/debian/xboard/usr/share/mime/packages' + /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/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/default' + /usr/bin/install -c -m 644 svg/BlackWolf.svg svg/WhiteWolf.svg svg/BlackCamel.svg svg/WhiteCamel.svg svg/BlackZebra.svg svg/WhiteZebra.svg svg/BlackGnu.svg svg/WhiteGnu.svg svg/BlackWizard.svg svg/WhiteWizard.svg svg/BlackViking.svg svg/WhiteViking.svg svg/BlackIron.svg svg/WhiteIron.svg svg/BlackCopper.svg svg/WhiteCopper.svg svg/BlackTower.svg svg/WhiteTower.svg svg/BlackDragon.svg svg/WhiteDragon.svg svg/BlackCub.svg svg/WhiteCub.svg svg/BlackButterfly.svg svg/WhiteButterfly.svg svg/BlackLeft.svg svg/WhiteLeft.svg svg/BlackRight.svg svg/WhiteRight.svg svg/BlackHat.svg svg/WhiteHat.svg svg/BlackRShield.svg svg/WhiteRShield.svg svg/BlackLShield.svg svg/WhiteLShield.svg svg/BlackAxe.svg svg/WhiteAxe.svg svg/BlackFlag.svg svg/WhiteFlag.svg svg/BlackDuck.svg svg/WhiteDuck.svg '/build/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/default' /usr/bin/install -c -m 644 svg/BlackPegasus.svg svg/WhitePegasus.svg svg/eo_Analyzing.svg svg/eo_Black.svg svg/eo_Clear.svg svg/eo_Ponder.svg svg/eo_Thinking.svg svg/eo_Unknown.svg svg/eo_White.svg '/build/xboard-4.9.1/debian/xboard/usr/share/games/xboard/themes/default' make install-data-hook make[5]: Entering directory '/build/xboard-4.9.1' @@ -2990,21 +3029,21 @@ dh_perl dh_link dh_strip_nondeterminism - Normalized debian/xboard/usr/share/locale/es/LC_MESSAGES/xboard.mo - Normalized debian/xboard/usr/share/locale/sr/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/it/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/zh_HK/LC_MESSAGES/xboard.mo Normalized debian/xboard/usr/share/locale/ru/LC_MESSAGES/xboard.mo - Normalized debian/xboard/usr/share/locale/zh_CN/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/fr/LC_MESSAGES/xboard.mo Normalized debian/xboard/usr/share/locale/uk/LC_MESSAGES/xboard.mo - Normalized debian/xboard/usr/share/locale/da/LC_MESSAGES/xboard.mo + Normalized debian/xboard/usr/share/locale/nl/LC_MESSAGES/xboard.mo + Normalized debian/xboard/usr/share/locale/de/LC_MESSAGES/xboard.mo + Normalized debian/xboard/usr/share/locale/es/LC_MESSAGES/xboard.mo + Normalized debian/xboard/usr/share/locale/zh_CN/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/pl/LC_MESSAGES/xboard.mo - 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/zh_TW/LC_MESSAGES/xboard.mo dh_compress dh_fixperms dh_missing @@ -3018,8 +3057,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_armhf.deb'. dpkg-deb: building package 'xboard' in '../xboard_4.9.1-2_armhf.deb'. +dpkg-deb: building package 'xboard-dbgsym' in '../xboard-dbgsym_4.9.1-2_armhf.deb'. dpkg-genbuildinfo --build=binary -O../xboard_4.9.1-2_armhf.buildinfo dpkg-genchanges --build=binary -O../xboard_4.9.1-2_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3027,12 +3066,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/17247/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/17247/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/1497 and its subdirectories -I: Current time: Sat Apr 29 02:03:14 -12 2023 -I: pbuilder-time-stamp: 1682776994 +I: removing directory /srv/workspace/pbuilder/17247 and its subdirectories +I: Current time: Sun Apr 30 04:12:14 +14 2023 +I: pbuilder-time-stamp: 1682777534