Diff of the two buildlogs: -- --- b1/build.log 2021-07-07 21:07:09.281701663 +0000 +++ b2/build.log 2021-07-07 21:08:12.547324552 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jul 7 09:06:37 -12 2021 -I: pbuilder-time-stamp: 1625691997 +I: Current time: Wed Aug 10 17:30:13 +14 2022 +I: pbuilder-time-stamp: 1660102213 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./vitetris_0.59.1-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.P_06P4r5/trustedkeys.kbx': General error -gpgv: Signature made Sat Dec 26 22:56:52 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.EW7mmZ7Y/trustedkeys.kbx': General error +gpgv: Signature made Mon Dec 28 00:56:52 2020 +14 gpgv: using EDDSA key 2DE24895313C5DA7F089E14E17494B10795DD733 gpgv: issuer "lyknode@cilg.org" gpgv: Can't check signature: No public key @@ -31,135 +31,169 @@ dpkg-source: info: applying 0003-remove-strip-from-makefile.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1057/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/24461/tmp/hooks/D01_modify_environment starting +debug: Running on codethink13-arm64. +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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/24461/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/24461/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='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='1057' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=24461 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/tmp.jI5aYjj0Fr/pbuilderrc_xsul --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.jI5aYjj0Fr/b1 --logfile b1/build.log vitetris_0.59.1-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + 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/tmp.jI5aYjj0Fr/pbuilderrc_e8EV --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.jI5aYjj0Fr/b2 --logfile b2/build.log --extrapackages usrmerge vitetris_0.59.1-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink14-arm64 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:18:37 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:18:37 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Jun 21 14:26 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Feb 7 02:38 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Feb 7 02:38 more - -rwsr-xr-x 1 root root 51360 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 14496 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 14:26 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 5 21:25 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Feb 7 02:38 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/1057/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Jun 22 2021 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Feb 8 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Feb 8 2021 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 178400 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 93744 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Feb 8 2021 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Feb 8 2021 more + -rwsr-xr-x 1 root root 51360 Feb 8 2021 mount + -rwxr-xr-x 1 root root 14496 Feb 8 2021 mountpoint + -rwxr-xr-x 1 root root 134808 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 2021 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 10 17:30 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 10 05:48 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Feb 8 2021 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 2021 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Feb 8 2021 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Feb 8 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/24461/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -226,7 +260,7 @@ Get: 29 http://deb.debian.org/debian bullseye/main arm64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main arm64 debhelper all 13.3.4 [1049 kB] -Fetched 17.9 MB in 0s (54.7 MB/s) +Fetched 17.9 MB in 0s (42.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19646 files and directories currently installed.) @@ -365,8 +399,45 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main arm64 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main arm64 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main arm64 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main arm64 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (2051 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 21521 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/vitetris-0.59.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 > ../vitetris_0.59.1-1_source.changes +hostname: Temporary failure in name resolution +I: Running cd /build/vitetris-0.59.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 > ../vitetris_0.59.1-1_source.changes dpkg-buildpackage: info: source package vitetris dpkg-buildpackage: info: source version 0.59.1-1 dpkg-buildpackage: info: source distribution unstable @@ -500,9 +571,6 @@ aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c lang.c aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c timer.c aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c focus.c -make -Cgame -make[3]: Entering directory '/build/vitetris-0.59.1/src/game' -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c tetris.c options.c: In function 'setoption': options.c:182:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 182 | if (tp==0 || tp==1 && !val.str[3]) { @@ -511,10 +579,22 @@ options.c:226:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 226 | while (o = s->opts) { | ^ -tetris.c: In function 'hitbtm': -tetris.c:74:40: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] - 74 | if (1<blocks & 1<score == hiscores[i-1].score && @@ -530,14 +610,6 @@ hiscore.c:48:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 48 | else if (p = strchr(last_chars, c)) | ^ -cfgfile.c: In function 'readname': -cfgfile.c:61:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 61 | while (i < n && (i && line[i] == '-' || islower(line[i]) || - | ~~^~~~~~~~~~~~~~~~~ -cfgfile.c: In function 'readopt': -cfgfile.c:89:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 89 | if (p = strchr(line, '=')) { - | ^ hiscore.c: In function 'decodehiscore_name': hiscore.c:93:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 93 | int len = strlen(line); @@ -548,16 +620,51 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +make[3]: Entering directory '/build/vitetris-0.59.1/src/game' +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c tetris.c +hiscore.c: In function 'decodehiscore': +hiscore.c:190:14: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] + 190 | c = (line[0]-20 & 7)+2; + | ~~~~~~~^~~ +hiscore.c: In function 'readhiscores_fp': +hiscore.c:232:21: warning: pointer targets in passing argument 1 of 'decodehiscore' differ in signedness [-Wpointer-sign] + 232 | if (decodehiscore(line, &hs)) + | ^~~~ + | | + | char * +hiscore.c:181:41: note: expected 'unsigned char *' but argument is of type 'char *' + 181 | static int decodehiscore(unsigned char *line, struct hiscore *hs) + | ~~~~~~~~~~~~~~~^~~~ +hiscore.c: In function 'readhiscores': +hiscore.c:281:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 281 | if (fp = fopen(cfgfilename, "r")) + | ^~ +hiscore.c:284:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 284 | if (fp = fopen(HISCORE_FILENAME, "r")) + | ^~ +hiscore.c: In function 'gethiscorename': +hiscore.c:350:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 350 | if (p = strchr(lat1, *nm)) + | ^ +In file included from /usr/include/string.h:495, + from options.c:2: +In function 'strncpy', + inlined from 'strtoval' at options.c:40:2: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] +cfgfile.c: In function 'readname': +cfgfile.c:61:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 61 | while (i < n && (i && line[i] == '-' || islower(line[i]) || + | ~~^~~~~~~~~~~~~~~~~ +cfgfile.c: In function 'readopt': +cfgfile.c:89:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 89 | if (p = strchr(line, '=')) { + | ^ cfgfile.c: In function 'nametokeypress_i': cfgfile.c:112:16: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 112 | return MVLEFT+i | flags; -tetris.c: In function 'can_moveright': -tetris.c:272:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 272 | if (i = (bl != TETR_I)) - | ^ -tetris.c:284:21: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] - 284 | while (!(bl & 1<str[3] && sscanf(val->str, "0%X", &tp) == 1) @@ -566,37 +673,14 @@ | | int * | unsigned int * | %X -hiscore.c: In function 'decodehiscore': -hiscore.c:190:14: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] - 190 | c = (line[0]-20 & 7)+2; - | ~~~~~~~^~~ cfgfile.c: In function 'readkeymapping': cfgfile.c:205:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 205 | else if (input = stdin_convertval(&val, tp)) { | ^~~~~ -tetris.c: In function 'can_moveleft': -tetris.c:345:21: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] - 345 | while (!(bl & 1<blocks & 1<= p->y && p->blocks & 1<<4*(i-p->y+y)+x) | ~~~~~~~~~~~~^~ -cmdline.c: In function 'namematches': -cmdline.c:66:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 66 | while (n = subexplen(pattern)) { - | ^ -hiscore.c: In function 'readhiscores': -hiscore.c:281:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 281 | if (fp = fopen(cfgfilename, "r")) - | ^~ -hiscore.c:284:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 284 | if (fp = fopen(HISCORE_FILENAME, "r")) - | ^~ -hiscore.c: In function 'gethiscorename': -hiscore.c:350:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 350 | if (p = strchr(lat1, *nm)) - | ^ -make -Cmenu tetris.c: In function 'processinput': tetris.c:857:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 857 | if (key = getkeypress(tm-d, IN_GAME | SINGLE_PL)) { @@ -638,39 +730,43 @@ tetris.c:864:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 864 | if (abs(ret) == 2 || ret > -1 && (flags & RETURN_ON_INPUT)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cmdline.c: In function 'cmd_listen': -cmdline.c:467:1: warning: label 'press' defined but not used [-Wunused-label] - 467 | press: press_any_key(); - | ^~~~~ -cmdline.c:434:8: warning: unused variable 'msg' [-Wunused-variable] - 434 | char *msg; - | ^~~ -cmdline.c: In function 'proc_args': -cmdline.c:707:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 707 | if (q = strchr(p, '=')) { - | ^ -make[3]: Entering directory '/build/vitetris-0.59.1/src/menu' -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c menucore.c -In file included from /usr/include/string.h:495, - from options.c:2: -In function 'strncpy', - inlined from 'strtoval' at options.c:40:2: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] -make -Cnetw -make[3]: Entering directory '/build/vitetris-0.59.1/src/netw' -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c socket.c -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DSOCKET=1 -c tetris2p.c menucore.c: In function 'printmenuitem_options': menucore.c:46:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 46 | if (p = strchr(str, ' ')) { | ^ +make -Cnetw menucore.c: In function 'handle_menuitem': menucore.c:144:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 144 | if (m = find_firstletter(menu, n, j, keypr)) | ^ +make[3]: Entering directory '/build/vitetris-0.59.1/src/netw' +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c socket.c +make -Cinput unixterm +make[3]: Entering directory '/build/vitetris-0.59.1/src/input' +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -DTERM_RESIZING=1 -c input.c +socket.c: In function 'conn_broken': +socket.c:42:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] + 42 | sock_flags = CONN_BROKEN | sock_flags & ~PL2_IN_GAME; +input.c: In function 'key_is_valid': +input.c:173:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 171 | c > MVRIGHT && + | ~~~~~~~~~~~~~~ + 172 | (c > MVDOWN || keypr & IN_GAME) && + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 173 | c != STARTBTN && c != '\t'; + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +input.c: In function 'setkeymapping_keybd': +input.c:182:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 182 | if (c = getkeypress_select(100, SINGLE_PL)) + | ^ +input.c: In function 'setkeymapping_js': +input.c:211:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 211 | if (b = getkeypress_select(100, SINGLE_PL)) { + | ^ +socket.c: In function 'rmsocket': +socket.c:210:18: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] + 210 | if (sock_flags & (CONN_PROXY | CONNECTED) != + | ^ In file included from /usr/include/string.h:495, from cfgfile.c:2: In function 'strncpy', @@ -680,34 +776,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -socket.c: In function 'conn_broken': -socket.c:42:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] - 42 | sock_flags = CONN_BROKEN | sock_flags & ~PL2_IN_GAME; -socket.c: In function 'rmsocket': -socket.c:210:18: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] - 210 | if (sock_flags & (CONN_PROXY | CONNECTED) != - | ^ -tetris2p.c: In function 'spawndelay': -tetris2p.c:141:22: warning: pointer targets in passing argument 2 of 'getgarbage' differ in signedness [-Wpointer-sign] - 141 | getgarbage(plr, tet->garbage); - | ~~~^~~~~~~~~ - | | - | signed char * -tetris2p.c:114:50: note: expected 'char *' but argument is of type 'signed char *' - 114 | static void getgarbage(struct player *plr, char *garbg) - | ~~~~~~^~~~~ -tetris2p.c: In function 'getgarbage_player2': -tetris2p.c:171:16: warning: pointer targets in initialization of 'char *' from 'signed char *' differ in signedness [-Wpointer-sign] - 171 | char *garbg = tetris2p[1].garbage; - | ^~~~~~~~ -tetris2p.c: In function 'sendnext': -tetris2p.c:189:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 189 | if (i = isplayer2(p)) { - | ^ -tetris2p.c: In function 'startgame_2p': -tetris2p.c:570:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 570 | while (plr = play_round()) { - | ^~~ In file included from /usr/include/string.h:495, from cmdline.c:3: In function 'strncpy', @@ -715,11 +783,25 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -make -Cinput unixterm -make[3]: Entering directory '/build/vitetris-0.59.1/src/input' -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -DTERM_RESIZING=1 -c input.c -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm.c make -Cdraw +make[3]: Entering directory '/build/vitetris-0.59.1/src/draw' +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DSOCKET=1 -c draw.c +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm.c +draw.c: In function 'drawbl': +draw.c:38:19: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] + 38 | } while (bl & 16-(i <<= 1)); + | ~~^~~~~~~~~~ +draw.c: In function 'drawstr': +draw.c:63:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 63 | while (p = strchr(str, '\\')) { + | ^ +draw.c: In function 'drawblocks': +draw.c:378:20: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] + 378 | } while (bl & 16-(i <<= 1)); + | ~~^~~~~~~~~~ +draw.c: In function 'upddropmark': +draw.c:457:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 457 | pl==2 && game->mode & MODE_NETWORK) comm.c: In function 'recvpiece': comm.c:332:12: warning: pointer targets in passing argument 1 of 'readbytes' differ in signedness [-Wpointer-sign] 332 | readbytes(&p->piece.x, 2); @@ -730,8 +812,6 @@ sock.h:98:21: note: expected 'char *' but argument is of type 'signed char *' 98 | int readbytes(char *buf, int n); | ~~~~~~^~~ -make[3]: Entering directory '/build/vitetris-0.59.1/src/draw' -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DSOCKET=1 -c draw.c comm.c: In function 'sock_getkeypress': comm.c:394:17: warning: pointer targets in passing argument 1 of 'readbytes' differ in signedness [-Wpointer-sign] 394 | if (!readbytes(&b, 1)) @@ -783,50 +863,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 489 | hitbtm(&player2.piece, &player2)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -input.c: In function 'key_is_valid': -input.c:173:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 171 | c > MVRIGHT && - | ~~~~~~~~~~~~~~ - 172 | (c > MVDOWN || keypr & IN_GAME) && - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 173 | c != STARTBTN && c != '\t'; - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -input.c: In function 'setkeymapping_keybd': -input.c:182:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 182 | if (c = getkeypress_select(100, SINGLE_PL)) - | ^ -input.c: In function 'setkeymapping_js': -input.c:211:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 211 | if (b = getkeypress_select(100, SINGLE_PL)) { - | ^ -draw.c: In function 'drawbl': -draw.c:38:19: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] - 38 | } while (bl & 16-(i <<= 1)); - | ~~^~~~~~~~~~ -draw.c: In function 'drawstr': -draw.c:63:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 63 | while (p = strchr(str, '\\')) { - | ^ -make -Ctextgfx -draw.c: In function 'drawblocks': -draw.c:378:20: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] - 378 | } while (bl & 16-(i <<= 1)); - | ~~^~~~~~~~~~ -make[3]: Entering directory '/build/vitetris-0.59.1/src/textgfx' -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c block.c aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c dropdown.c -draw.c: In function 'upddropmark': -draw.c:457:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 457 | pl==2 && game->mode & MODE_NETWORK) -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c win.c -In file included from /usr/include/string.h:495, - from comm.c:2: -In function 'strncpy', - inlined from 'sendname' at comm.c:98:3, - inlined from 'sock_getkeypress.part.0' at comm.c:418:5: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c keyboard.c draw.c: In function 'print_top_scores.part.0': draw.c:243:15: warning: '%06ld' directive writing between 6 and 11 bytes into a region of size 8 [-Wformat-overflow=] 243 | sprintf(s, "%06ld", (long) hs->score); @@ -841,23 +879,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c print.c -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c ibmgfx.c -print.c: In function 'printstr_acs': -print.c:45:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 45 | if (islower(*str) || (ch & 0x100) && *str == ' ') - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ -print.c: In function 'isprintable': -print.c:60:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 60 | return c >= ' ' && c < 0x7F || - | ~~~~~~~~~^~~~~~~~~~~ aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -DJOYSTICK=1 -c inputset.c -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c keyboard.c -inputset.c: In function 'inputsetup_menu': -inputset.c:93:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 93 | if (devlist && (k==MVUP && !i || k=='\t' && i==10)) { - | ~~~~~~~~^~~~~ -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c ansi.c keyboard.c: In function 'transl_chr': keyboard.c:39:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 39 | if (i = transl_chr(c, k | PLAYER_1)) @@ -885,6 +907,10 @@ keyboard.c:158:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 158 | if (old = transl_strict(input, flags)) | ^~~ +inputset.c: In function 'inputsetup_menu': +inputset.c:93:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 93 | if (devlist && (k==MVUP && !i || k=='\t' && i==10)) { + | ~~~~~~~~^~~~~ keyboard.c: In function 'test_fallback': keyboard.c:211:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 211 | || pl==PLAYER_2 && inputdevs_player[0] != 2 @@ -896,21 +922,20 @@ | ~~~~~~ 220 | k == (keypr & 63); | ~~~~~~~~~~~~~~~~~ -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c ansi_win.c -ansi.c: In function 'put_ch': -ansi.c:247:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 247 | if (ch == (' '|0x100) || ch == TEXTURE2 && !_LINUX_TERM) +In file included from /usr/include/string.h:495, + from comm.c:2: +In function 'strncpy', + inlined from 'sendname' at comm.c:98:3, + inlined from 'sock_getkeypress.part.0' at comm.c:418:5: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +make -Ctextgfx +make[3]: Entering directory '/build/vitetris-0.59.1/src/textgfx' +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c block.c +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c win.c aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c inputdev.c -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c inet.c -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c term.c -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -c game.c -term.c: In function 'gettermsize': -term.c:53:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 53 | if (s = getenv("COLUMNS")) - | ^ -term.c:55:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 55 | if (s = getenv("LINES")) - | ^ +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -c gamemenu.c In file included from /usr/include/string.h:495, from inputdev.c:1: In function 'strncpy', @@ -918,16 +943,19 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c wonlost.c -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw_menu.c +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c print.c +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c ibmgfx.c +print.c: In function 'printstr_acs': +print.c:45:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 45 | if (islower(*str) || (ch & 0x100) && *str == ' ') + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ +print.c: In function 'isprintable': +print.c:60:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 60 | return c >= ' ' && c < 0x7F || + | ~~~~~~~~~^~~~~~~~~~~ aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joystick.c -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm_inet.c -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DTERM_RESIZING=1 -DSOCKET=1 -c resize.c -wonlost.c: In function 'upd_wonlost_stats': -wonlost.c:106:12: warning: unused variable 'val' [-Wunused-variable] - 106 | union val val; - | ^~~ -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c draw2p.c +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c gm_2p.c +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c ansi.c joystick.c: In function 'transl_btn': joystick.c:51:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 51 | if (p = getbtn(b, btns, 5)) @@ -938,56 +966,13 @@ joystick.c: In function 'js_getpress': joystick.c:85:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 85 | if (b > MVDOWN && (ret <= MVRIGHT || !ingame && ret <= MVDOWN)) { -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -c gamemenu.c -comm_inet.c: In function 'reconnect_server': -comm_inet.c:39:7: warning: unused variable 'b' [-Wunused-variable] - 39 | char b; - | ^ -resize.c: In function 'upd_termresize': -resize.c:114:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 114 | !in_menu && game && game->state & (GAME_OVER - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ - 115 | # ifndef CURSES - | ~~~~~~~~~~~~~~~ - 116 | | GAME_RUNNING - | ~~~~~~~~~~~~~~ - 117 | # endif - | ~~~~~~~ - 118 | )) - | ~ -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c gm_2p.c -comm_inet.c: In function 'handle_server_message': -comm_inet.c:61:16: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] - 61 | playerlist = malloc(n * sizeof(struct player_id)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -comm_inet.c:54:6: note: 'n' was declared here - 54 | int n; - | ^ -rm -f textgfx.a -ar rcs textgfx.a block.o win.o print.o ibmgfx.o ansi.o ansi_win.o term.o resize.o -make[3]: Leaving directory '/build/vitetris-0.59.1/src/textgfx' -wonlost.c:127:19: warning: '%d' directive writing between 1 and 11 bytes into a region of size 8 [-Wformat-overflow=] - 127 | sprintf(stats, "%d-%d", won, loss); - | ^~ +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c ansi_win.c aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gm_sock.c -wonlost.c:127:18: note: directive argument in the range [-2147483648, 999] - 127 | sprintf(stats, "%d-%d", won, loss); - | ^~~~~~~ -wonlost.c:127:18: note: directive argument in the range [-2147483648, 999] -In file included from /usr/include/stdio.h:867, - from wonlost.c:4: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 24 bytes into a destination of size 8 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c playerin.c -ar dc netw.a no_inet.o -ar rs netw.a socket.o comm.o inet.o comm_inet.o -make[3]: Leaving directory '/build/vitetris-0.59.1/src/netw' -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DJOYSTICK=1 -DSOCKET=1 -c inp_unixterm.c -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw2p_menu.c +ansi.c: In function 'put_ch': +ansi.c:247:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 247 | if (ch == (' '|0x100) || ch == TEXTURE2 && !_LINUX_TERM) aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c hslist.c +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c term.c gm_sock.c: In function 'printplayerlist': gm_sock.c:57:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 57 | if (i==0 && off || i==9 && playerlist_n - off > 10) { @@ -997,16 +982,28 @@ 233 | playerlist_n > 0 && reconnect_server()) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gameover.c -ar rs game.a tetris.o tetris2p.o game.o wonlost.o -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c escseq.c -ar: creating game.a -make[3]: Leaving directory '/build/vitetris-0.59.1/src/game' -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c startup.c -DINET=1 -ar rs draw.a draw.o draw_menu.o draw2p.o draw2p_menu.o -ar: creating draw.a -make[3]: Leaving directory '/build/vitetris-0.59.1/src/draw' -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c invit.c -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c netplay.c +term.c: In function 'gettermsize': +term.c:53:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 53 | if (s = getenv("COLUMNS")) + | ^ +term.c:55:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 55 | if (s = getenv("LINES")) + | ^ +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c inet.c +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw_menu.c +gameover.c: In function 'hiscore_editname': +gameover.c:89:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 89 | if (k >= 'A' && k <= 'Z' || strchr(chars, k) || + | ~~~~~~~~~^~~~~~~~~~~ +gameover.c:94:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 94 | else if (p = strchr(lat1_chars_small, k)) + | ^ +gameover.c: In function 'hiscore_congrats': +gameover.c:230:1: warning: control reaches end of non-void function [-Wreturn-type] + 230 | } + | ^ +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c draw2p.c +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw2p_menu.c joystick.c: In function 'js_btnname': joystick.c:226:18: warning: '%d' directive writing between 2 and 10 bytes into a region of size 4 [-Wformat-overflow=] 226 | sprintf(name, "%d", btn); @@ -1021,6 +1018,41 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameover.c: In function 'show_hiscorelist5': +gameover.c:34:18: warning: '%7ld' directive writing between 7 and 11 bytes into a region of size 8 [-Wformat-overflow=] + 34 | sprintf(s+12, "%7ld", (long) hs->score); + | ^~~~ +gameover.c:34:17: note: directive argument in the range [-2147483648, 2147483647] + 34 | sprintf(s+12, "%7ld", (long) hs->score); + | ^~~~~~ +In file included from /usr/include/stdio.h:867, + from gameover.c:3: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 12 bytes into a destination of size 8 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c playerin.c +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DTERM_RESIZING=1 -DSOCKET=1 -c resize.c +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DJOYSTICK=1 -DSOCKET=1 -c inp_unixterm.c +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm_inet.c +resize.c: In function 'upd_termresize': +resize.c:114:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 114 | !in_menu && game && game->state & (GAME_OVER + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ + 115 | # ifndef CURSES + | ~~~~~~~~~~~~~~~ + 116 | | GAME_RUNNING + | ~~~~~~~~~~~~~~ + 117 | # endif + | ~~~~~~~ + 118 | )) + | ~ +comm_inet.c: In function 'reconnect_server': +comm_inet.c:39:7: warning: unused variable 'b' [-Wunused-variable] + 39 | char b; + | ^ +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c escseq.c escseq.c: In function 'readescseq': escseq.c:60:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 60 | if (s[1] = readchr_wait()) @@ -1043,18 +1075,55 @@ escseq.c:157:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 157 | while (e = hd->next) { | ^ +rm -f textgfx.a +ar rcs textgfx.a block.o win.o print.o ibmgfx.o ansi.o ansi_win.o term.o resize.o +comm_inet.c: In function 'handle_server_message': +comm_inet.c:61:16: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] + 61 | playerlist = malloc(n * sizeof(struct player_id)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +comm_inet.c:54:6: note: 'n' was declared here + 54 | int n; + | ^ +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DSOCKET=1 -c tetris2p.c +make[3]: Leaving directory '/build/vitetris-0.59.1/src/textgfx' aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c select.c -gameover.c: In function 'hiscore_editname': -gameover.c:89:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 89 | if (k >= 'A' && k <= 'Z' || strchr(chars, k) || - | ~~~~~~~~~^~~~~~~~~~~ -gameover.c:94:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 94 | else if (p = strchr(lat1_chars_small, k)) - | ^ -gameover.c: In function 'hiscore_congrats': -gameover.c:230:1: warning: control reaches end of non-void function [-Wreturn-type] - 230 | } - | ^ +ar rs draw.a draw.o draw_menu.o draw2p.o draw2p_menu.o +ar: creating draw.a +make[3]: Leaving directory '/build/vitetris-0.59.1/src/draw' +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -c game.c +ar dc netw.a no_inet.o +ar rs netw.a socket.o comm.o inet.o comm_inet.o +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c startup.c -DINET=1 +make[3]: Leaving directory '/build/vitetris-0.59.1/src/netw' +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c wonlost.c +tetris2p.c: In function 'spawndelay': +tetris2p.c:141:22: warning: pointer targets in passing argument 2 of 'getgarbage' differ in signedness [-Wpointer-sign] + 141 | getgarbage(plr, tet->garbage); + | ~~~^~~~~~~~~ + | | + | signed char * +tetris2p.c:114:50: note: expected 'char *' but argument is of type 'signed char *' + 114 | static void getgarbage(struct player *plr, char *garbg) + | ~~~~~~^~~~~ +tetris2p.c: In function 'getgarbage_player2': +tetris2p.c:171:16: warning: pointer targets in initialization of 'char *' from 'signed char *' differ in signedness [-Wpointer-sign] + 171 | char *garbg = tetris2p[1].garbage; + | ^~~~~~~~ +tetris2p.c: In function 'sendnext': +tetris2p.c:189:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 189 | if (i = isplayer2(p)) { + | ^ +tetris2p.c: In function 'startgame_2p': +tetris2p.c:570:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 570 | while (plr = play_round()) { + | ^~~ +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joylinux.c +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c invit.c +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c netplay.c +wonlost.c: In function 'upd_wonlost_stats': +wonlost.c:106:12: warning: unused variable 'val' [-Wunused-variable] + 106 | union val val; + | ^~~ netplay.c:20:8: warning: return type defaults to 'int' [-Wimplicit-int] 20 | static init_field(char *str, const char *val, int maxlen) | ^~~~~~~~~~ @@ -1062,29 +1131,13 @@ netplay.c:28:1: warning: control reaches end of non-void function [-Wreturn-type] 28 | } | ^ -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joylinux.c -gameover.c: In function 'show_hiscorelist5': -gameover.c:34:18: warning: '%7ld' directive writing between 7 and 11 bytes into a region of size 8 [-Wformat-overflow=] - 34 | sprintf(s+12, "%7ld", (long) hs->score); - | ^~~~ -gameover.c:34:17: note: directive argument in the range [-2147483648, 2147483647] - 34 | sprintf(s+12, "%7ld", (long) hs->score); - | ^~~~~~ -In file included from /usr/include/stdio.h:867, - from gameover.c:3: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 12 bytes into a destination of size 8 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c optsmenu.c -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c blockstyle.c joylinux.c: In function 'set_devname': joylinux.c:27:1: warning: no return statement in function returning non-void [-Wreturn-type] 27 | } | ^ -aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DINET=1 -c men_ansi.c joylinux.c: In function 'releasebtn': +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c blockstyle.c joylinux.c:193:43: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 193 | js->pressedbtns |= (btns & ~0x7F) << i-8; | ~^~ @@ -1103,6 +1156,21 @@ blockstyle.c:95:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 95 | if (!pos || pos == 2 && c != 'a') { | ~~~~~~~~~^~~~~~~~~~~ +aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DINET=1 -c men_ansi.c +wonlost.c:127:19: warning: '%d' directive writing between 1 and 11 bytes into a region of size 8 [-Wformat-overflow=] + 127 | sprintf(stats, "%d-%d", won, loss); + | ^~ +wonlost.c:127:18: note: directive argument in the range [-2147483648, 999] + 127 | sprintf(stats, "%d-%d", won, loss); + | ^~~~~~~ +wonlost.c:127:18: note: directive argument in the range [-2147483648, 999] +In file included from /usr/include/stdio.h:867, + from wonlost.c:4: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 24 bytes into a destination of size 8 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rs menu.a menucore.o dropdown.o inputset.o inputdev.o gamemenu.o gm_2p.o gm_sock.o hslist.o gameover.o ar: creating menu.a rm -f menuext.a @@ -1111,6 +1179,9 @@ rm -f input.a ar rcs input.a input.o keyboard.o joystick.o playerin.o inp_unixterm.o escseq.o select.o joylinux.o make[3]: Leaving directory '/build/vitetris-0.59.1/src/input' +ar rs game.a tetris.o tetris2p.o game.o wonlost.o +ar: creating game.a +make[3]: Leaving directory '/build/vitetris-0.59.1/src/game' mv -f game/game.a . mv -f menu/*.a . mv -f netw/netw.a . @@ -1170,12 +1241,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/24461/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/24461/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/1057 and its subdirectories -I: Current time: Wed Jul 7 09:07:08 -12 2021 -I: pbuilder-time-stamp: 1625692028 +I: removing directory /srv/workspace/pbuilder/24461 and its subdirectories +I: Current time: Wed Aug 10 17:31:11 +14 2022 +I: pbuilder-time-stamp: 1660102271