Diff of the two buildlogs: -- --- b1/build.log 2021-07-13 09:39:47.675393275 +0000 +++ b2/build.log 2021-07-13 09:45:01.427691162 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jul 12 21:32:38 -12 2021 -I: pbuilder-time-stamp: 1626168758 +I: Current time: Tue Jul 13 23:40:01 +14 2021 +I: pbuilder-time-stamp: 1626169201 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.pBabUEaS/trustedkeys.kbx': General error -gpgv: Signature made Sat Dec 26 22:56:52 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.xEa7LHuL/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/4330/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/29991/tmp/hooks/D01_modify_environment starting +debug: Running on ff64a. +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/29991/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/29991/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,-fixfilepath parallel=3' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=6' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='a07f0c07450648b8ac19782fc8dd5394' - 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='4330' - PS1='# ' - PS2='> ' + INVOCATION_ID=f3e74c5ddf744ebd99b06e66bb63a1b0 + 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=29991 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.A9SmWtqxwq/pbuilderrc_OtHZ --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.A9SmWtqxwq/b1 --logfile b1/build.log vitetris_0.59.1-1.dsc' - SUDO_GID='116' - SUDO_UID='112' - 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:8000/' + 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.A9SmWtqxwq/pbuilderrc_kWcj --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.A9SmWtqxwq/b2 --logfile b2/build.log --extrapackages usrmerge vitetris_0.59.1-1.dsc' + SUDO_GID=114 + SUDO_UID=109 + 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:8000/ I: uname -a - Linux cbxi4b 5.10.0-7-armmp #1 SMP Debian 5.10.40-1 (2021-05-28) armv7l GNU/Linux + Linux i-capture-the-hostname 5.10.0-7-arm64 #1 SMP Debian 5.10.40-1 (2021-05-28) aarch64 GNU/Linux I: ls -l /bin total 3580 - -rwxr-xr-x 1 root root 816764 Jun 21 14:26 bash - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 26052 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 26052 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 9636 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 26668 Sep 22 2020 cat - -rwxr-xr-x 1 root root 43104 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 38984 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 43112 Sep 22 2020 chown - -rwxr-xr-x 1 root root 92616 Sep 22 2020 cp - -rwxr-xr-x 1 root root 75524 Dec 10 2020 dash - -rwxr-xr-x 1 root root 75880 Sep 22 2020 date - -rwxr-xr-x 1 root root 55436 Sep 22 2020 dd - -rwxr-xr-x 1 root root 59912 Sep 22 2020 df - -rwxr-xr-x 1 root root 96764 Sep 22 2020 dir - -rwxr-xr-x 1 root root 55012 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 22508 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 22496 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 47492 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 26076 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 124508 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 64212 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 13784 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 43180 Sep 22 2020 ln - -rwxr-xr-x 1 root root 35068 Feb 7 2020 login - -rwxr-xr-x 1 root root 96764 Sep 22 2020 ls - -rwxr-xr-x 1 root root 99940 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 51408 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 43184 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 30780 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 34408 Feb 7 02:38 more - -rwsr-xr-x 1 root root 34400 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 9824 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 88524 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 26652 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 14:26 rbash -> bash - -rwxr-xr-x 1 root root 30740 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 43104 Sep 22 2020 rm - -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 8 21:29 sh -> dash - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty - -rwsr-xr-x 1 root root 46704 Feb 7 02:38 su - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sync - -rwxr-xr-x 1 root root 340872 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 9808 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 67696 Sep 22 2020 touch - -rwxr-xr-x 1 root root 22496 Sep 22 2020 true - -rwxr-xr-x 1 root root 9636 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 22520 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 96764 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 38512 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/4330/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 816764 Jun 22 16:26 bash + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 26052 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 26052 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 9636 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 26668 Sep 23 2020 cat + -rwxr-xr-x 1 root root 43104 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 38984 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 43112 Sep 23 2020 chown + -rwxr-xr-x 1 root root 92616 Sep 23 2020 cp + -rwxr-xr-x 1 root root 75524 Dec 11 2020 dash + -rwxr-xr-x 1 root root 75880 Sep 23 2020 date + -rwxr-xr-x 1 root root 55436 Sep 23 2020 dd + -rwxr-xr-x 1 root root 59912 Sep 23 2020 df + -rwxr-xr-x 1 root root 96764 Sep 23 2020 dir + -rwxr-xr-x 1 root root 55012 Feb 8 04:38 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 22508 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 22496 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 47492 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 26076 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 124508 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 64212 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 13784 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 43180 Sep 23 2020 ln + -rwxr-xr-x 1 root root 35068 Feb 8 2020 login + -rwxr-xr-x 1 root root 96764 Sep 23 2020 ls + -rwxr-xr-x 1 root root 99940 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 51408 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 43184 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 30780 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 34408 Feb 8 04:38 more + -rwsr-xr-x 1 root root 34400 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 9824 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 88524 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 26652 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 16:26 rbash -> bash + -rwxr-xr-x 1 root root 30740 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 43104 Sep 23 2020 rm + -rwxr-xr-x 1 root root 30732 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 14144 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 13 23:41 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 12 23:27 sh.distrib -> dash + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 55360 Sep 23 2020 stty + -rwsr-xr-x 1 root root 46704 Feb 8 04:38 su + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sync + -rwxr-xr-x 1 root root 340872 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 9808 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 67696 Sep 23 2020 touch + -rwxr-xr-x 1 root root 22496 Sep 23 2020 true + -rwxr-xr-x 1 root root 9636 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 22520 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 96764 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 38512 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/29991/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 armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main armhf debhelper all 13.3.4 [1049 kB] -Fetched 17.7 MB in 4s (4010 kB/s) +Fetched 17.7 MB in 2s (9418 kB/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 ... 19398 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 armhf libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main armhf libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main armhf libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main armhf usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (427 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 ... 21273 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: Name or service not known +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 @@ -376,7 +447,7 @@ debian/rules clean dh clean dh_auto_clean - make -j3 clean + make -j6 clean make[1]: Entering directory '/build/vitetris-0.59.1' rm -f systest systest.exe cd src; make clean @@ -461,7 +532,7 @@ Now run make make[1]: Leaving directory '/build/vitetris-0.59.1' dh_auto_build - make -j3 + make -j6 make[1]: Entering directory '/build/vitetris-0.59.1' generating src/src-conf.mk ./src-conf.sh 'arm-linux-gnueabihf-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' @@ -495,98 +566,9 @@ arm-linux-gnueabihf-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 -DINET=1 -DTERM_RESIZING=1 -c main.c arm-linux-gnueabihf-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 -DINET=1 -c cmdline.c arm-linux-gnueabihf-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 -c cfgfile.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, '=')) { - | ^ -cfgfile.c: In function 'nametokeypress_i': -cfgfile.c:112:16: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] - 112 | return MVLEFT+i | flags; -cfgfile.c: In function 'stdin_convertval': -cfgfile.c:174:48: warning: format '%X' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] - 174 | else if (!val->str[3] && sscanf(val->str, "0%X", &tp) == 1) - | ~^ ~~~ - | | | - | | int * - | unsigned int * - | %X -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)) { - | ^~~~~ -cfgfile.c: In function 'read_tetrom_color': -cfgfile.c:218:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 218 | if (p = strchr(tcolor_keys, key[0])) - | ^ -cfgfile.c: In function 'printkeymapping': -cfgfile.c:332:10: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] - 332 | fputs(s, fp); - | ^ - | | - | unsigned char * -In file included from cfgfile.c:1: -/usr/include/stdio.h:626:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 626 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -cfgfile.c: In function 'writeinputconf': -cfgfile.c:368:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 368 | if (i == 5 && !isjoystick || i == 7) - | ^ -cmdline.c: In function 'namematches': -cmdline.c:66:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 66 | while (n = subexplen(pattern)) { - | ^ -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, '=')) { - | ^ arm-linux-gnueabihf-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 options.c -In file included from /usr/include/string.h:495, - from cfgfile.c:2: -In function 'strncpy', - inlined from 'stdin_convertval' at cfgfile.c:168:4, - inlined from 'readkeymapping' at cfgfile.c:205:19, - inlined from 'readoptions' at cfgfile.c:264:9: -/usr/include/arm-linux-gnueabihf/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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from cmdline.c:3: -In function 'strncpy', - inlined from 'cmd_block_bgdot' at cmdline.c:624:2: -/usr/include/arm-linux-gnueabihf/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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -options.c: In function 'setoption': -options.c:182:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 182 | if (tp==0 || tp==1 && !val.str[3]) { - | ~~~~~~^~~~~~~~~~~~~~ -options.c: In function 'freeoptions': -options.c:226:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 226 | while (o = s->opts) { - | ^ -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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] arm-linux-gnueabihf-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 hiscore.c arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 hiscore.c: In function 'addhiscore': hiscore.c:28:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 27 | if (i == 10 || hs->score == hiscores[i-1].score && @@ -612,7 +594,15 @@ /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) | ~~~~~~~~~~~~^~~ +options.c: In function 'setoption': +options.c:182:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 182 | if (tp==0 || tp==1 && !val.str[3]) { + | ~~~~~~^~~~~~~~~~~~~~ +options.c: In function 'freeoptions': hiscore.c: In function 'decodehiscore': +options.c:226:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 226 | while (o = s->opts) { + | ^ hiscore.c:190:14: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 190 | c = (line[0]-20 & 7)+2; | ~~~~~~~^~~ @@ -636,25 +626,94 @@ hiscore.c:350:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 350 | if (p = strchr(lat1, *nm)) | ^ +cmdline.c: In function 'namematches': +cmdline.c:66:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 66 | while (n = subexplen(pattern)) { + | ^ +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, '=')) { + | ^ +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; +cfgfile.c: In function 'stdin_convertval': +cfgfile.c:174:48: warning: format '%X' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] + 174 | else if (!val->str[3] && sscanf(val->str, "0%X", &tp) == 1) + | ~^ ~~~ + | | | + | | int * + | unsigned int * + | %X +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)) { + | ^~~~~ +cfgfile.c: In function 'read_tetrom_color': +cfgfile.c:218:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 218 | if (p = strchr(tcolor_keys, key[0])) + | ^ +cfgfile.c: In function 'printkeymapping': +cfgfile.c:332:10: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] + 332 | fputs(s, fp); + | ^ + | | + | unsigned char * +In file included from cfgfile.c:1: +/usr/include/stdio.h:626:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' + 626 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~ +cfgfile.c: In function 'writeinputconf': +cfgfile.c:368:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 368 | if (i == 5 && !isjoystick || i == 7) + | ^ +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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] +arm-linux-gnueabihf-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 arm-linux-gnueabihf-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' arm-linux-gnueabihf-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 +In file included from /usr/include/string.h:495, + from cfgfile.c:2: +In function 'strncpy', + inlined from 'stdin_convertval' at cfgfile.c:168:4, + inlined from 'readkeymapping' at cfgfile.c:205:19, + inlined from 'readoptions' at cfgfile.c:264:9: +/usr/include/arm-linux-gnueabihf/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 -Cmenu make[3]: Entering directory '/build/vitetris-0.59.1/src/menu' arm-linux-gnueabihf-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 -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, ' ')) { - | ^ -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)) - | ^ tetris.c: In function 'hitbtm': tetris.c:74:40: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] 74 | if (1<blocks & 1<= p->y && p->blocks & 1<<4*(i-p->y+y)+x) | ~~~~~~~~~~~~^~ +In file included from /usr/include/string.h:495, + from cmdline.c:3: +In function 'strncpy', + inlined from 'cmd_block_bgdot' at cmdline.c:624:2: +/usr/include/arm-linux-gnueabihf/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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)) { @@ -683,16 +749,14 @@ tetris.c:864:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 864 | if (abs(ret) == 2 || ret > -1 && (flags & RETURN_ON_INPUT)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 -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)) { - | ~~~~~~~~^~~~~ -make -Cnetw -make[3]: Entering directory '/build/vitetris-0.59.1/src/netw' -arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 +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, ' ')) { + | ^ +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)) + | ^ 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; @@ -700,15 +764,45 @@ 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 inputdev.c:1: -In function 'strncpy', - inlined from 'inp_devhandler' at inputdev.c:102:3: -/usr/include/arm-linux-gnueabihf/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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -arm-linux-gnueabihf-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 +make -Cinput unixterm +make[3]: Entering directory '/build/vitetris-0.59.1/src/input' +arm-linux-gnueabihf-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 +make -Cdraw +make[3]: Entering directory '/build/vitetris-0.59.1/src/draw' +arm-linux-gnueabihf-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 arm-linux-gnueabihf-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 +arm-linux-gnueabihf-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 '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) +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)) { + | ^ 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); @@ -770,6 +864,11 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 489 | hitbtm(&player2.piece, &player2)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +make -Ctextgfx +make[3]: Entering directory '/build/vitetris-0.59.1/src/textgfx' +arm-linux-gnueabihf-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 +arm-linux-gnueabihf-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 +arm-linux-gnueabihf-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', @@ -778,91 +877,23 @@ /usr/include/arm-linux-gnueabihf/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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 -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) { - | ~~~~~^~~~~~ -gm_sock.c: In function 'gamemenu_socket': -gm_sock.c:233:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 233 | playerlist_n > 0 && reconnect_server()) { - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -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()) { - | ^~~ -arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 -comm_inet.c: In function 'reconnect_server': -comm_inet.c:39:7: warning: unused variable 'b' [-Wunused-variable] - 39 | char b; - | ^ -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 | } - | ^ -comm_inet.c: In function 'handle_server_message': -comm_inet.c:58:16: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] - 58 | playerlist_n = n; - | ~~~~~~~~~~~~~^~~ -comm_inet.c:54:6: note: 'n' was declared here - 54 | int n; - | ^ -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' -make -Cinput unixterm -make[3]: Entering directory '/build/vitetris-0.59.1/src/input' -arm-linux-gnueabihf-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 -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)) { - | ^ -arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 +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)) { + | ~~~~~~~~^~~~~ +arm-linux-gnueabihf-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 +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 || + | ~~~~~~~~~^~~~~~~~~~~ +arm-linux-gnueabihf-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 +arm-linux-gnueabihf-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 arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 +arm-linux-gnueabihf-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)) @@ -901,39 +932,19 @@ | ~~~~~~ 220 | k == (keypr & 63); | ~~~~~~~~~~~~~~~~~ -wonlost.c: In function 'upd_wonlost_stats': -wonlost.c:106:12: warning: unused variable 'val' [-Wunused-variable] - 106 | union val val; - | ^~~ -arm-linux-gnueabihf-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 -netplay.c:20:8: warning: return type defaults to 'int' [-Wimplicit-int] - 20 | static init_field(char *str, const char *val, int maxlen) - | ^~~~~~~~~~ -netplay.c: In function 'init_field': -netplay.c:28:1: warning: control reaches end of non-void function [-Wreturn-type] - 28 | } - | ^ -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/arm-linux-gnueabihf/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 game.a tetris.o tetris2p.o game.o wonlost.o +In file included from /usr/include/string.h:495, + from inputdev.c:1: +In function 'strncpy', + inlined from 'inp_devhandler' at inputdev.c:102:3: +/usr/include/arm-linux-gnueabihf/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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ansi.c: In function 'put_ch': +ansi.c:247:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 247 | if (ch == (' '|0x100) || ch == TEXTURE2 && !_LINUX_TERM) +arm-linux-gnueabihf-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 +arm-linux-gnueabihf-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 arm-linux-gnueabihf-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 -ar: creating game.a -make[3]: Leaving directory '/build/vitetris-0.59.1/src/game' -make -Cdraw -make[3]: Entering directory '/build/vitetris-0.59.1/src/draw' -arm-linux-gnueabihf-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 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)) @@ -944,29 +955,21 @@ 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)) { -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) -arm-linux-gnueabihf-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 -optsmenu.c: In function 'options_menu': -optsmenu.c:155:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 155 | while (i = openmenu(menu, n, i, x, y, handlers)) { - | ^ -optsmenu.c: In function 'term_optionhandler': -optsmenu.c:186:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 186 | _TT_BLOCKS_BG && (!_WHITE_BG || _MONOCHROME) && +arm-linux-gnueabihf-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 +comm_inet.c: In function 'reconnect_server': +comm_inet.c:39:7: warning: unused variable 'b' [-Wunused-variable] + 39 | char b; + | ^ +arm-linux-gnueabihf-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 +arm-linux-gnueabihf-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 +comm_inet.c: In function 'handle_server_message': +comm_inet.c:58:16: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] + 58 | playerlist_n = n; + | ~~~~~~~~~~~~~^~~ +comm_inet.c:54:6: note: 'n' was declared here + 54 | int n; + | ^ +arm-linux-gnueabihf-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 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); @@ -981,15 +984,93 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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' +arm-linux-gnueabihf-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 +arm-linux-gnueabihf-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 arm-linux-gnueabihf-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 +arm-linux-gnueabihf-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 +arm-linux-gnueabihf-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) { + | ~~~~~^~~~~~ +arm-linux-gnueabihf-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 +gm_sock.c: In function 'gamemenu_socket': +gm_sock.c:233:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 233 | playerlist_n > 0 && reconnect_server()) { + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +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 | )) + | ~ arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 -blockstyle.c: In function 'edit_custom_blockstyle': -blockstyle.c:95:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 95 | if (!pos || pos == 2 && c != 'a') { - | ~~~~~~~~~^~~~~~~~~~~ -arm-linux-gnueabihf-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 +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")) + | ^ +arm-linux-gnueabihf-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 +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' +arm-linux-gnueabihf-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 +arm-linux-gnueabihf-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()) { + | ^~~ +wonlost.c: In function 'upd_wonlost_stats': +wonlost.c:106:12: warning: unused variable 'val' [-Wunused-variable] + 106 | union val val; + | ^~~ arm-linux-gnueabihf-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 +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' +arm-linux-gnueabihf-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 +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/arm-linux-gnueabihf/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 ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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()) @@ -1012,42 +1093,28 @@ escseq.c:157:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 157 | while (e = hd->next) { | ^ -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 -arm-linux-gnueabihf-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 -rm -f menuext.a -ar rcs menuext.a startup.o invit.o netplay.o optsmenu.o blockstyle.o men_ansi.o -make[3]: Leaving directory '/build/vitetris-0.59.1/src/menu' -make -Ctextgfx -make[3]: Entering directory '/build/vitetris-0.59.1/src/textgfx' -arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 -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 || - | ~~~~~~~~~^~~~~~~~~~~ -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' arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 -arm-linux-gnueabihf-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 +arm-linux-gnueabihf-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 +arm-linux-gnueabihf-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 +arm-linux-gnueabihf-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 +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 | } + | ^ +arm-linux-gnueabihf-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 +arm-linux-gnueabihf-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 joylinux.c: In function 'set_devname': joylinux.c:27:1: warning: no return statement in function returning non-void [-Wreturn-type] 27 | } | ^ -ansi.c: In function 'put_ch': -ansi.c:247:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 247 | if (ch == (' '|0x100) || ch == TEXTURE2 && !_LINUX_TERM) +arm-linux-gnueabihf-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 joylinux.c: In function 'releasebtn': joylinux.c:193:43: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 193 | js->pressedbtns |= (btns & ~0x7F) << i-8; @@ -1056,33 +1123,37 @@ joylinux.c:216:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 216 | js->axis = (axis<axis & 12>>i); | ~~~~~~~~~^~~~~~~ -arm-linux-gnueabihf-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 -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")) - | ^ -arm-linux-gnueabihf-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 +optsmenu.c: In function 'options_menu': +optsmenu.c:155:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 155 | while (i = openmenu(menu, n, i, x, y, handlers)) { + | ^ +optsmenu.c: In function 'term_optionhandler': +optsmenu.c:186:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 186 | _TT_BLOCKS_BG && (!_WHITE_BG || _MONOCHROME) && +netplay.c:20:8: warning: return type defaults to 'int' [-Wimplicit-int] + 20 | static init_field(char *str, const char *val, int maxlen) + | ^~~~~~~~~~ +netplay.c: In function 'init_field': +netplay.c:28:1: warning: control reaches end of non-void function [-Wreturn-type] + 28 | } + | ^ +arm-linux-gnueabihf-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 +blockstyle.c: In function 'edit_custom_blockstyle': +blockstyle.c:95:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 95 | if (!pos || pos == 2 && c != 'a') { + | ~~~~~~~~~^~~~~~~~~~~ +arm-linux-gnueabihf-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 +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 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' -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 | )) - | ~ -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' +rm -f menuext.a +ar rcs menuext.a startup.o invit.o netplay.o optsmenu.o blockstyle.o men_ansi.o +make[3]: Leaving directory '/build/vitetris-0.59.1/src/menu' +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 . @@ -1099,7 +1170,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install - make -j3 install DESTDIR=/build/vitetris-0.59.1/debian/vitetris AM_UPDATE_INFO_DIR=no + make -j6 install DESTDIR=/build/vitetris-0.59.1/debian/vitetris AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/vitetris-0.59.1' install -d /build/vitetris-0.59.1/debian/vitetris/usr/games /build/vitetris-0.59.1/debian/vitetris/usr/share/doc/vitetris install -m755 vitetris /build/vitetris-0.59.1/debian/vitetris/usr/games @@ -1142,12 +1213,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/29991/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/29991/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/4330 and its subdirectories -I: Current time: Mon Jul 12 21:39:43 -12 2021 -I: pbuilder-time-stamp: 1626169183 +I: removing directory /srv/workspace/pbuilder/29991 and its subdirectories +I: Current time: Tue Jul 13 23:44:53 +14 2021 +I: pbuilder-time-stamp: 1626169493