Diff of the two buildlogs: -- --- b1/build.log 2020-08-05 15:30:40.560157868 +0000 +++ b2/build.log 2020-08-05 15:32:23.620944821 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Aug 5 03:26:56 -12 2020 -I: pbuilder-time-stamp: 1596641216 +I: Current time: Thu Aug 6 05:30:50 +14 2020 +I: pbuilder-time-stamp: 1596641450 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Wed Oct 17 08:17:35 2018 -12 +gpgv: Signature made Thu Oct 18 10:17:35 2018 +14 gpgv: using RSA key 498A93056B052604FACBC8A329BFA0D079290ACA gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./vitetris_0.57.2-2.dsc @@ -32,136 +32,170 @@ dpkg-source: info: applying 0005-fix-implicit-declaration.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/27550/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/27880/tmp/hooks/D01_modify_environment starting +debug: Running on jtx1b. +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/27880/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/27880/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3' - DISTRIBUTION='' - 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]="0" [2]="3" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='e2289b7615bd43f887ce2490c594df72' - 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='27550' - PS1='# ' - PS2='> ' + INVOCATION_ID=89a83feac7534a3392d524b1b771059e + 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=27880 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.eVjDYU4Blc/pbuilderrc_0lmY --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.eVjDYU4Blc/b1 --logfile b1/build.log vitetris_0.57.2-2.dsc' - SUDO_GID='114' - SUDO_UID='109' - 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.eVjDYU4Blc/pbuilderrc_IDjr --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.eVjDYU4Blc/b2 --logfile b2/build.log vitetris_0.57.2-2.dsc' + SUDO_GID=114 + SUDO_UID=110 + 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 odu3a 4.19.0-10-armmp #1 SMP Debian 4.19.132-1 (2020-07-24) armv7l GNU/Linux + Linux i-capture-the-hostname 4.19.0-10-arm64 #1 SMP Debian 4.19.132-1 (2020-07-24) aarch64 GNU/Linux I: ls -l /bin total 3328 - -rwxr-xr-x 1 root root 767656 Apr 17 2019 bash - -rwxr-xr-x 3 root root 26052 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 26052 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 26052 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 9636 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 22432 Feb 28 2019 cat - -rwxr-xr-x 1 root root 38868 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 38836 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 42972 Feb 28 2019 chown - -rwxr-xr-x 1 root root 88376 Feb 28 2019 cp - -rwxr-xr-x 1 root root 75516 Jan 17 2019 dash - -rwxr-xr-x 1 root root 71648 Feb 28 2019 date - -rwxr-xr-x 1 root root 51212 Feb 28 2019 dd - -rwxr-xr-x 1 root root 55672 Feb 28 2019 df - -rwxr-xr-x 1 root root 88444 Feb 28 2019 dir - -rwxr-xr-x 1 root root 54872 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 22364 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 18260 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 47356 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 21980 Apr 22 07:38 fusermount - -rwxr-xr-x 1 root root 124508 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 64232 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 13784 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 43044 Feb 28 2019 ln - -rwxr-xr-x 1 root root 34932 Jul 26 2018 login - -rwxr-xr-x 1 root root 88444 Feb 28 2019 ls - -rwxr-xr-x 1 root root 67036 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 47168 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 43040 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 26552 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 26024 Jan 9 2019 more - -rwsr-xr-x 1 root root 34268 Jan 9 2019 mount - -rwxr-xr-x 1 root root 9688 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 84284 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 22416 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 26504 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 42968 Feb 28 2019 rm - -rwxr-xr-x 1 root root 26496 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 14136 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 4 20:26 sh -> dash - -rwxr-xr-x 1 root root 22384 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 51124 Feb 28 2019 stty - -rwsr-xr-x 1 root root 42472 Jan 9 2019 su - -rwxr-xr-x 1 root root 22392 Feb 28 2019 sync - -rwxr-xr-x 1 root root 283324 Apr 23 2019 tar - -rwxr-xr-x 1 root root 9808 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 63464 Feb 28 2019 touch - -rwxr-xr-x 1 root root 18260 Feb 28 2019 true - -rwxr-xr-x 1 root root 9636 Apr 22 07:38 ulockmgr_server - -rwsr-xr-x 1 root root 21976 Jan 9 2019 umount - -rwxr-xr-x 1 root root 22380 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 88444 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 21980 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/27550/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 767656 Apr 18 2019 bash + -rwxr-xr-x 3 root root 26052 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 26052 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 26052 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 9636 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 22432 Mar 1 2019 cat + -rwxr-xr-x 1 root root 38868 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 38836 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 42972 Mar 1 2019 chown + -rwxr-xr-x 1 root root 88376 Mar 1 2019 cp + -rwxr-xr-x 1 root root 75516 Jan 18 2019 dash + -rwxr-xr-x 1 root root 71648 Mar 1 2019 date + -rwxr-xr-x 1 root root 51212 Mar 1 2019 dd + -rwxr-xr-x 1 root root 55672 Mar 1 2019 df + -rwxr-xr-x 1 root root 88444 Mar 1 2019 dir + -rwxr-xr-x 1 root root 54872 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 22364 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 18260 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 47356 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 21980 Apr 23 09:38 fusermount + -rwxr-xr-x 1 root root 124508 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 64232 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 13784 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 43044 Mar 1 2019 ln + -rwxr-xr-x 1 root root 34932 Jul 27 2018 login + -rwxr-xr-x 1 root root 88444 Mar 1 2019 ls + -rwxr-xr-x 1 root root 67036 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 47168 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 43040 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 26552 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 26024 Jan 10 2019 more + -rwsr-xr-x 1 root root 34268 Jan 10 2019 mount + -rwxr-xr-x 1 root root 9688 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 84284 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 22416 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 26504 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 42968 Mar 1 2019 rm + -rwxr-xr-x 1 root root 26496 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 14136 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 6 05:31 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 3 22:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 22384 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 51124 Mar 1 2019 stty + -rwsr-xr-x 1 root root 42472 Jan 10 2019 su + -rwxr-xr-x 1 root root 22392 Mar 1 2019 sync + -rwxr-xr-x 1 root root 283324 Apr 24 2019 tar + -rwxr-xr-x 1 root root 9808 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 63464 Mar 1 2019 touch + -rwxr-xr-x 1 root root 18260 Mar 1 2019 true + -rwxr-xr-x 1 root root 9636 Apr 23 09:38 ulockmgr_server + -rwsr-xr-x 1 root root 21976 Jan 10 2019 umount + -rwxr-xr-x 1 root root 22380 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 88444 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 21980 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/27880/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -230,7 +264,7 @@ Get: 31 http://deb.debian.org/debian buster/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 32 http://deb.debian.org/debian buster/main armhf po-debconf all 1.0.21 [248 kB] Get: 33 http://deb.debian.org/debian buster/main armhf debhelper all 12.1.1 [1016 kB] -Fetched 18.2 MB in 2s (7655 kB/s) +Fetched 18.2 MB in 2s (10.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18932 files and directories currently installed.) @@ -385,7 +419,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/vitetris-0.57.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/vitetris-0.57.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package vitetris dpkg-buildpackage: info: source version 0.57.2-2 dpkg-buildpackage: info: source distribution unstable @@ -395,7 +429,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j3 clean + make -j4 clean make[1]: Entering directory '/build/vitetris-0.57.2' rm -f systest systest.exe cd src; make clean @@ -446,7 +480,7 @@ ./configure --prefix=/usr --bindir=/usr/games compiling test program... ok operating system: unix -sed s/\$(MAKE) -C\([a-z/]*\)/cd ; $(MAKE)/ Makefile src/Makefile +sed s/\$(MAKE) -C\([a-z/]*\)/cd \1; $(MAKE)/ Makefile src/Makefile checking for linux/joystick.h... yes checking for linux/input.h... yes checking for Xlib... no @@ -473,7 +507,7 @@ Now run make make[1]: Leaving directory '/build/vitetris-0.57.2' dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/vitetris-0.57.2' generating src/src-conf.mk ./src-conf.sh 'cc' '-g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic' '-Wdate-time -D_FORTIFY_SOURCE=2' @@ -507,6 +541,7 @@ cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -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 cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -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 cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I. -DTWOPLAYER=1 -DJOYSTICK=1 -c cfgfile.c +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c options.c cmdline.c: In function 'namematches': cmdline.c:66:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (n = subexplen(pattern)) { @@ -518,6 +553,10 @@ cmdline.c:434:8: warning: unused variable 'msg' [-Wunused-variable] char *msg; ^~~ +cmdline.c: In function 'proc_args': +cmdline.c:707:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + if (q = strchr(p, '=')) { + ^ cfgfile.c: In function 'readname': cfgfile.c:61:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (i < n && (i && line[i] == '-' || islower(line[i]) || @@ -529,10 +568,6 @@ cfgfile.c: In function 'nametokeypress_i': cfgfile.c:112:16: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] return MVLEFT+i | flags; -cmdline.c: In function 'proc_args': -cmdline.c:707:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - if (q = strchr(p, '=')) { - ^ 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=] else if (!val->str[3] && sscanf(val->str, "0%X", &tp) == 1) @@ -558,7 +593,6 @@ cfgfile.c:366:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (i == 5 && !isjoystick || i == 7) ^ -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c options.c options.c: In function 'setoption': options.c:168:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (tp==0 || tp==1 && !val.str[3]) { @@ -568,7 +602,6 @@ while (o = s->opts) { ^ cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I. -c hiscore.c -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c lang.c hiscore.c: In function 'addhiscore': hiscore.c:25:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (i == 10 || hs->score == hiscores[i-1].score && @@ -584,6 +617,7 @@ hiscore.c:45:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (p = strchr(last_chars, c)) ^ +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c lang.c hiscore.c: In function 'decodehiscore_name': hiscore.c:90:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int len = strlen(line); @@ -627,10 +661,6 @@ if (1<blocks & 1<= p->y && p->blocks & 1<<4*(i-p->y+y)+x) @@ -662,10 +688,20 @@ tetris.c:863:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (abs(ret) == 2 || ret > -1 && (flags & RETURN_ON_INPUT)) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c dropdown.c +menucore.c: In function 'printmenuitem_options': +menucore.c:46:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + if (p = strchr(str, ' ')) { + ^ +menucore.c: In function 'handle_menuitem': +menucore.c:144:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + if (m = find_firstletter(menu, n, j, keypr)) + ^ cd netw; make make[3]: Entering directory '/build/vitetris-0.57.2/src/netw' cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c socket.c +cd input; make unixterm +make[3]: Entering directory '/build/vitetris-0.57.2/src/input' +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -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] sock_flags = CONN_BROKEN | sock_flags & ~PL2_IN_GAME; @@ -673,13 +709,24 @@ socket.c:210:18: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if (sock_flags & (CONN_PROXY | CONNECTED) != ^ -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -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] - if (devlist && (k==MVUP && !i || k=='\t' && i==10)) { - ~~~~~~~~^~~~~ +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c dropdown.c +input.c: In function 'key_is_valid': +input.c:173:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + c > MVRIGHT && + ~~~~~~~~~~~~~~ + (c > MVDOWN || keypr & IN_GAME) && + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + c != STARTBTN && c != '\t'; + ~~~~~~~~~~~~~~^~~~~~~~~~~~ +input.c: In function 'setkeymapping_keybd': +input.c:182:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 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] + if (b = getkeypress_select(100, SINGLE_PL)) { + ^ cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm.c -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c inputdev.c comm.c: In function 'recvpiece': comm.c:332:12: warning: pointer targets in passing argument 1 of 'readbytes' differ in signedness [-Wpointer-sign] readbytes(&p->piece.x, 2); @@ -729,86 +776,12 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ hitbtm(&player2.piece, &player2)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -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 -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DSOCKET=1 -c tetris2p.c -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c inet.c -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c gm_2p.c -tetris2p.c: In function 'spawndelay': -tetris2p.c:141:22: warning: pointer targets in passing argument 2 of 'getgarbage' differ in signedness [-Wpointer-sign] - getgarbage(plr, tet->garbage); - ~~~^~~~~~~~~ -tetris2p.c:114:13: note: expected 'char *' but argument is of type 'signed char *' - 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] - char *garbg = tetris2p[1].garbage; - ^~~~~~~~ -tetris2p.c: In function 'sendnext': -tetris2p.c:189:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - if (i = isplayer2(p)) { - ^ -tetris2p.c: In function 'startgame_2p': -tetris2p.c:570:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - while (plr = play_round()) { - ^~~ -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gm_sock.c -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm_inet.c -gm_sock.c: In function 'printplayerlist': -gm_sock.c:57:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 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] - playerlist_n > 0 && reconnect_server()) { - ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -comm_inet.c: In function 'reconnect_server': -comm_inet.c:39:7: warning: unused variable 'b' [-Wunused-variable] - char b; - ^ -comm_inet.c: In function 'handle_server_message': -comm_inet.c:58:16: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] - playerlist_n = n; - ~~~~~~~~~~~~~^~~ -comm_inet.c:54:6: note: 'n' was declared here - 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.57.2/src/netw' -cd input; make unixterm -make[3]: Entering directory '/build/vitetris-0.57.2/src/input' -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -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] - c > MVRIGHT && - ~~~~~~~~~~~~~~ - (c > MVDOWN || keypr & IN_GAME) && - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c != STARTBTN && c != '\t'; - ~~~~~~~~~~~~~~^~~~~~~~~~~~ -input.c: In function 'setkeymapping_keybd': -input.c:182:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 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] - if (b = getkeypress_select(100, SINGLE_PL)) { - ^ -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c hslist.c -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gameover.c -gameover.c: In function 'hiscore_editname': -gameover.c:84:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - if (k >= 'A' && k <= 'Z' || strchr(chars, k) || - ~~~~~~~~~^~~~~~~~~~~ -gameover.c:89:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - else if (p = strchr(lat1_chars_small, k)) - ^ -gameover.c: In function 'hiscore_congrats': -gameover.c:225:1: warning: control reaches end of non-void function [-Wreturn-type] - } - ^ +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -DJOYSTICK=1 -c inputset.c cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -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] + if (devlist && (k==MVUP && !i || k=='\t' && i==10)) { + ~~~~~~~~^~~~~ keyboard.c: In function 'transl_chr': keyboard.c:39:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = transl_chr(c, k | PLAYER_1)) @@ -847,11 +820,16 @@ ~~~~~~ k == (keypr & 63); ~~~~~~~~~~~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -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 +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c inputdev.c +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c inet.c cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joystick.c -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c wonlost.c +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm_inet.c +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DSOCKET=1 -c tetris2p.c +comm_inet.c: In function 'reconnect_server': +comm_inet.c:39:7: warning: unused variable 'b' [-Wunused-variable] + char b; + ^ joystick.c: In function 'transl_btn': -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c startup.c -DINET=1 joystick.c:51:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = getbtn(b, btns, 5)) ^ @@ -861,46 +839,39 @@ joystick.c: In function 'js_getpress': joystick.c:85:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (b > MVDOWN && (ret <= MVRIGHT || !ingame && ret <= MVDOWN)) { -wonlost.c: In function 'upd_wonlost_stats': -wonlost.c:106:12: warning: unused variable 'val' [-Wunused-variable] - union val val; - ^~~ -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c invit.c -wonlost.c:127:19: warning: '%d' directive writing between 1 and 11 bytes into a region of size 8 [-Wformat-overflow=] - sprintf(stats, "%d-%d", won, loss); - ^~ -wonlost.c:127:18: note: directive argument in the range [-2147483648, 999] - 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:873, - 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 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ar rs game.a tetris.o tetris2p.o game.o wonlost.o -ar: creating game.a -make[3]: Leaving directory '/build/vitetris-0.57.2/src/game' +comm_inet.c: In function 'handle_server_message': +comm_inet.c:58:16: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] + playerlist_n = n; + ~~~~~~~~~~~~~^~~ +comm_inet.c:54:6: note: 'n' was declared here + int n; + ^ +tetris2p.c: In function 'spawndelay': +tetris2p.c:141:22: warning: pointer targets in passing argument 2 of 'getgarbage' differ in signedness [-Wpointer-sign] + getgarbage(plr, tet->garbage); + ~~~^~~~~~~~~ +tetris2p.c:114:13: note: expected 'char *' but argument is of type 'signed char *' + 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] + char *garbg = tetris2p[1].garbage; + ^~~~~~~~ +tetris2p.c: In function 'sendnext': +tetris2p.c:189:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + if (i = isplayer2(p)) { + ^ +ar dc netw.a no_inet.o +tetris2p.c: In function 'startgame_2p': +tetris2p.c:570:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + while (plr = play_round()) { + ^~~ +ar rs netw.a socket.o comm.o inet.o comm_inet.o +make[3]: Leaving directory '/build/vitetris-0.57.2/src/netw' +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -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 cd draw; make make[3]: Entering directory '/build/vitetris-0.57.2/src/draw' cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -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 'js_btnname': -joystick.c:226:18: warning: '%d' directive writing between 2 and 10 bytes into a region of size 4 [-Wformat-overflow=] - sprintf(name, "%d", btn); - ^~ -joystick.c:226:17: note: directive argument in the range [26, 2147483599] - sprintf(name, "%d", btn); - ^~~~ -In file included from /usr/include/stdio.h:873, - from joystick.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 4 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c netplay.c draw.c: In function 'drawbl': draw.c:38:19: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] } while (bl & 16-(i <<= 1)); @@ -916,24 +887,37 @@ draw.c: In function 'upddropmark': draw.c:452:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] pl==2 && game->mode & MODE_NETWORK) +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=] + sprintf(name, "%d", btn); + ^~ +joystick.c:226:17: note: directive argument in the range [26, 2147483599] + sprintf(name, "%d", btn); + ^~~~ +In file included from /usr/include/stdio.h:873, + from joystick.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 4 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c gm_2p.c cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c playerin.c -netplay.c:20:8: warning: return type defaults to 'int' [-Wimplicit-int] - 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] - } - ^ +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gm_sock.c cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DJOYSTICK=1 -DSOCKET=1 -c inp_unixterm.c +gm_sock.c: In function 'printplayerlist': +gm_sock.c:57:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 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] + playerlist_n > 0 && reconnect_server()) { + ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw_menu.c +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -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 cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c escseq.c -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -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] - 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] - _TT_BLOCKS_BG && (!_WHITE_BG || _MONOCHROME) && +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c hslist.c +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c draw2p.c escseq.c: In function 'readescseq': escseq.c:60:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s[1] = readchr_wait()) @@ -956,17 +940,46 @@ escseq.c:157:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (e = hd->next) { ^ +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gameover.c cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c select.c -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw_menu.c -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -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] - if (!pos || pos == 2 && c != 'a') { - ~~~~~~~~~^~~~~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c draw2p.c -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joylinux.c -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DINET=1 -c men_ansi.c +gameover.c: In function 'hiscore_editname': +gameover.c:84:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + if (k >= 'A' && k <= 'Z' || strchr(chars, k) || + ~~~~~~~~~^~~~~~~~~~~ +gameover.c:89:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + else if (p = strchr(lat1_chars_small, k)) + ^ +gameover.c: In function 'hiscore_congrats': +gameover.c:225:1: warning: control reaches end of non-void function [-Wreturn-type] + } + ^ +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c wonlost.c cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw2p_menu.c +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joylinux.c +wonlost.c: In function 'upd_wonlost_stats': +wonlost.c:106:12: warning: unused variable 'val' [-Wunused-variable] + union val val; + ^~~ +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.57.2/src/draw' +cd textgfx; make +make[3]: Entering directory '/build/vitetris-0.57.2/src/textgfx' +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c block.c +wonlost.c:127:19: warning: '%d' directive writing between 1 and 11 bytes into a region of size 8 [-Wformat-overflow=] + sprintf(stats, "%d-%d", won, loss); + ^~ +wonlost.c:127:18: note: directive argument in the range [-2147483648, 999] + 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:873, + 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 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ joylinux.c: In function 'set_devname': joylinux.c:27:1: warning: no return statement in function returning non-void [-Wreturn-type] } @@ -979,21 +992,16 @@ joylinux.c:216:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] js->axis = (axis<axis & 12>>i); ~~~~~~~~~^~~~~~~ -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.57.2/src/draw' -cd textgfx; make -make[3]: Entering directory '/build/vitetris-0.57.2/src/textgfx' -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c block.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 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.57.2/src/menu' +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c startup.c -DINET=1 +ar rs game.a tetris.o tetris2p.o game.o wonlost.o +ar: creating game.a +make[3]: Leaving directory '/build/vitetris-0.57.2/src/game' +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c invit.c cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c win.c +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c netplay.c cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c print.c -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c ibmgfx.c print.c: In function 'printstr_acs': +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c optsmenu.c print.c:45:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (islower(*str) || (ch & 0x100) && *str == ' ') ~~~~~~~~~~~~~^~~~~~~~~~~~~~ @@ -1001,16 +1009,49 @@ print.c:60:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return c >= ' ' && c < 0x7F || ~~~~~~~~~^~~~~~~~~~~ +netplay.c:20:8: warning: return type defaults to 'int' [-Wimplicit-int] + 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] + } + ^ +optsmenu.c: In function 'options_menu': +optsmenu.c:155:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 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] + _TT_BLOCKS_BG && (!_WHITE_BG || _MONOCHROME) && +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.57.2/src/input' +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c blockstyle.c +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c ibmgfx.c +blockstyle.c: In function 'edit_custom_blockstyle': +blockstyle.c:95:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + if (!pos || pos == 2 && c != 'a') { + ~~~~~~~~~^~~~~~~~~~~ cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c ansi.c -cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -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] if (ch == (' '|0x100) || ch == TEXTURE2 && !_LINUX_TERM) -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.57.2/src/input' +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -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 +cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c ansi_win.c cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c term.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.57.2/src/menu' cc -g -O2 -ffile-prefix-map=/build/vitetris-0.57.2=. -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 +term.c: In function 'gettermsize': +term.c:53:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + if (s = getenv("COLUMNS")) + ^ +term.c:55:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + if (s = getenv("LINES")) + ^ resize.c: In function 'upd_termresize': resize.c:114:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] !in_menu && game && game->state & (GAME_OVER @@ -1023,13 +1064,6 @@ ~~~~~~~ )) ~ -term.c: In function 'gettermsize': -term.c:53:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - if (s = getenv("COLUMNS")) - ^ -term.c:55:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - if (s = getenv("LINES")) - ^ 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.57.2/src/textgfx' @@ -1054,7 +1088,7 @@ dh_testroot dh_prep dh_auto_install - make -j3 install DESTDIR=/build/vitetris-0.57.2/debian/vitetris AM_UPDATE_INFO_DIR=no + make -j4 install DESTDIR=/build/vitetris-0.57.2/debian/vitetris AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/vitetris-0.57.2' install -oroot -groot -d /build/vitetris-0.57.2/debian/vitetris/usr/games /build/vitetris-0.57.2/debian/vitetris/usr/share/doc/vitetris install -oroot -groot -m755 vitetris /build/vitetris-0.57.2/debian/vitetris/usr/games @@ -1094,12 +1128,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/27880/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/27880/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/27550 and its subdirectories -I: Current time: Wed Aug 5 03:30:34 -12 2020 -I: pbuilder-time-stamp: 1596641434 +I: removing directory /srv/workspace/pbuilder/27880 and its subdirectories +I: Current time: Thu Aug 6 05:32:19 +14 2020 +I: pbuilder-time-stamp: 1596641539