Diff of the two buildlogs: -- --- b1/build.log 2024-07-19 20:10:08.410347481 +0000 +++ b2/build.log 2024-07-19 20:12:22.956643636 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Aug 21 14:32:22 -12 2025 -I: pbuilder-time-stamp: 1755829942 +I: Current time: Sat Jul 20 10:10:13 +14 2024 +I: pbuilder-time-stamp: 1721419813 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,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.GbfkMUyJ/trustedkeys.kbx': General error -gpgv: Signature made Sat Dec 26 22:56:52 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.UL3r85H0/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 @@ -32,135 +32,166 @@ 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/3738289/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3225210/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jul 20 10:10 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3225210/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3225210/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=42 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=20 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='2df3855d42ad40b4b8b1e5722b19c5b6' - 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='3738289' - PS1='# ' - PS2='> ' + INVOCATION_ID=16e7a17866c44e149944dc49affe96ab + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3225210 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.oRzMfVMC/pbuilderrc_jGMy --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.oRzMfVMC/b1 --logfile b1/build.log vitetris_0.59.1-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.oRzMfVMC/pbuilderrc_e0sy --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.oRzMfVMC/b2 --logfile b2/build.log vitetris_0.59.1-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 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 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 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 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Mar 27 2024 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 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 69032 Mar 27 2024 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98048 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Mar 27 2024 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Mar 27 2024 more - -rwsr-xr-x 1 root root 55528 Mar 27 2024 mount - -rwxr-xr-x 1 root root 18664 Mar 27 2024 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 9 03:46 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Mar 27 2024 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Jan 19 2024 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Mar 27 2024 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Mar 27 2024 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 5898 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8049 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/3738289/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 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 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 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 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Mar 29 00:09 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 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 69032 Mar 29 00:09 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98048 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Mar 29 00:09 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Mar 29 00:09 more + -rwsr-xr-x 1 root root 55528 Mar 29 00:09 mount + -rwxr-xr-x 1 root root 18664 Mar 29 00:09 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Jul 20 10:10 sh -> /bin/bash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Mar 29 00:09 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Jan 20 23:59 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Mar 29 00:09 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Mar 29 00:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 5898 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8049 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/3225210/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -227,7 +258,7 @@ Get: 29 http://deb.debian.org/debian bullseye/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main amd64 debhelper all 13.3.4 [1049 kB] -Fetched 18.3 MB in 3s (5396 kB/s) +Fetched 18.3 MB in 5s (3984 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 ... 19711 files and directories currently installed.) @@ -367,7 +398,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/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 +I: user script /srv/workspace/pbuilder/3225210/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/3225210/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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 @@ -377,7 +412,7 @@ debian/rules clean dh clean dh_auto_clean - make -j42 clean + make -j20 clean make[1]: Entering directory '/build/reproducible-path/vitetris-0.59.1' rm -f systest systest.exe cd src; make clean @@ -462,7 +497,7 @@ Now run make make[1]: Leaving directory '/build/reproducible-path/vitetris-0.59.1' dh_auto_build - make -j42 + make -j20 make[1]: Entering directory '/build/reproducible-path/vitetris-0.59.1' generating src/src-conf.mk ./src-conf.sh 'x86_64-linux-gnu-gcc' '-g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic' '-Wdate-time -D_FORTIFY_SOURCE=2' @@ -503,70 +538,19 @@ x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -Cmenu -make -Cnetw -make -Cinput unixterm -make -Cdraw -make -Ctextgfx make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/game' x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c tetris.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DSOCKET=1 -c tetris2p.c +make -Cnetw make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/menu' x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c menucore.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c dropdown.c +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DSOCKET=1 -c tetris2p.c +make -Cinput unixterm +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/netw' x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c socket.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/input' -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/draw' -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c wonlost.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm.c -make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/textgfx' -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c block.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c inputdev.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw_menu.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c inet.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joystick.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c draw2p.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c playerin.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c gm_2p.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw2p_menu.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gm_sock.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm_inet.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c escseq.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c print.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c select.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joylinux.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c hslist.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c ibmgfx.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gameover.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -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)) - | ^ -keyboard.c:41:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 41 | if (i = transl_chr(c, k | PLAYER_2)) - | ^ -keyboard.c: In function 'kb_getpress': -keyboard.c:81:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 81 | if (c = transl_input(s, flags)) - | ^ -keyboard.c:91:3: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 89 | if (!(flags & IN_GAME) || c <= MVDOWN - | ~~~~~~~~~~~ - 90 | #ifdef TWOPLAYER - | ~~~~~~~~~~~~~~~~ - 91 | && (flags & SINGLE_PL || inputdevs_player[0] || - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 92 | !keys_1p.menu_keys[c-MVLEFT]) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c dropdown.c +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 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 && @@ -575,54 +559,30 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 29 | !strcmp(hs->name, hiscores[i-1].name)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -inputset.c: In function 'inputsetup_menu': -inputset.c:93:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 93 | if (devlist && (k==MVUP && !i || k=='\t' && i==10)) { - | ~~~~~~~~^~~~~ -keyboard.c: In function 'rmkey': hiscore.c: In function 'encodehiscore_name': hiscore.c:45:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 45 | for (i = 0; c = name[i]; i++) { | ^ -keyboard.c:155:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 155 | if (old = transl_strict(input, flags)) - | ^~~ -keyboard.c:158:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 158 | if (old = transl_strict(input, flags)) - | ^~~ hiscore.c:48:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 48 | else if (p = strchr(last_chars, c)) | ^ -print.c: In function 'printstr_acs': -print.c:45:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 45 | if (islower(*str) || (ch & 0x100) && *str == ' ') - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ -keyboard.c: In function 'test_fallback': hiscore.c: In function 'decodehiscore_name': -keyboard.c:211:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 211 | || pl==PLAYER_2 && inputdevs_player[0] != 2 - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -print.c: In function 'isprintable': hiscore.c:93:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 93 | int len = strlen(line); | ^~~~ | | | unsigned char * -print.c:60:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 60 | return c >= ' ' && c < 0x7F || - | ~~~~~~~~~^~~~~~~~~~~ -keyboard.c:218:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 218 | pl == (keypr & (PLAYER_1 | PLAYER_2)) && - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ - 219 | #endif - | ~~~~~~ - 220 | k == (keypr & 63); - | ~~~~~~~~~~~~~~~~~ In file included from hiscore.c:2: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +make -Cdraw +make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/input' +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm.c hiscore.c: In function 'decodehiscore': +make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/draw' +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 hiscore.c:190:14: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 190 | c = (line[0]-20 & 7)+2; | ~~~~~~~^~~ @@ -642,40 +602,66 @@ hiscore.c:284:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 284 | if (fp = fopen(HISCORE_FILENAME, "r")) | ^~ +make -Ctextgfx hiscore.c: In function 'gethiscorename': hiscore.c:350:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 350 | if (p = strchr(lat1, *nm)) | ^ -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)) +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, '=')) { | ^ -joystick.c:55:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 55 | if (p = getbtn(b, btns, 7)) +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])) | ^ -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)); - | ~~^~~~~~~~~~ -cmdline.c: In function 'namematches': -cmdline.c:66:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 66 | while (n = subexplen(pattern)) { - | ^ -tetris.c: In function 'hitbtm': -tetris.c:74:40: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] - 74 | if (1<blocks & 1<opts) { | ^ -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, ' ')) { - | ^ +wonlost.c: In function 'upd_wonlost_stats': +wonlost.c:106:12: warning: unused variable 'val' [-Wunused-variable] + 106 | union val val; + | ^~~ 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); @@ -685,10 +671,6 @@ tetris2p.c:114:50: note: expected 'char *' but argument is of type 'signed char *' 114 | static void getgarbage(struct player *plr, char *garbg) | ~~~~~~^~~~~ -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)) - | ^ 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; @@ -697,13 +679,31 @@ tetris2p.c:189:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 189 | if (i = isplayer2(p)) { | ^ -tetris.c: In function 'can_moveright': -tetris.c:272:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 272 | if (i = (bl != TETR_I)) - | ^ -tetris.c:284:21: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] - 284 | while (!(bl & 1<blocks & 1<mode & MODE_NETWORK) cmdline.c: In function 'proc_args': -comm.c: In function 'recvpiece': cmdline.c:707:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 707 | if (q = strchr(p, '=')) { | ^ +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 +draw.c:457:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 457 | pl==2 && game->mode & MODE_NETWORK) +comm.c: In function 'recvpiece': comm.c:332:12: warning: pointer targets in passing argument 1 of 'readbytes' differ in signedness [-Wpointer-sign] 332 | readbytes(&p->piece.x, 2); | ^~~~~~~~~~~ @@ -746,10 +733,39 @@ sock.h:98:21: note: expected 'char *' but argument is of type 'signed char *' 98 | int readbytes(char *buf, int n); | ~~~~~~^~~ -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()) { - | ^~~ +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)) { + | ^ +tetris.c: In function 'can_moveright': +tetris.c:272:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 272 | if (i = (bl != TETR_I)) + | ^ +tetris.c:284:21: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] + 284 | while (!(bl & 1<= p->y && p->blocks & 1<<4*(i-p->y+y)+x) - | ~~~~~~~~~~~~^~ comm.c:474:17: warning: pointer targets in passing argument 1 of 'readbytes' differ in signedness [-Wpointer-sign] 474 | if (readbytes(&b, 1) && b >'0' && b <= '3') { | ^~ @@ -805,104 +817,106 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 489 | hitbtm(&player2.piece, &player2)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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]) || - | ~~^~~~~~~~~~~~~~~~~ -wonlost.c: In function 'upd_wonlost_stats': -wonlost.c:106:12: warning: unused variable 'val' [-Wunused-variable] - 106 | union val val; - | ^~~ -cfgfile.c: In function 'readopt': -cfgfile.c:89:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 89 | if (p = strchr(line, '=')) { +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)) | ^ -cfgfile.c: In function 'nametokeypress_i': -cfgfile.c:112:16: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] - 112 | return MVLEFT+i | flags; -options.c: In function 'setoption': -options.c:182:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 182 | if (tp==0 || tp==1 && !val.str[3]) { - | ~~~~~~^~~~~~~~~~~~~~ +keyboard.c:41:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 41 | if (i = transl_chr(c, k | PLAYER_2)) + | ^ +keyboard.c: In function 'kb_getpress': +keyboard.c:81:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 81 | if (c = transl_input(s, flags)) + | ^ +keyboard.c:91:3: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 89 | if (!(flags & IN_GAME) || c <= MVDOWN + | ~~~~~~~~~~~ + 90 | #ifdef TWOPLAYER + | ~~~~~~~~~~~~~~~~ + 91 | && (flags & SINGLE_PL || inputdevs_player[0] || + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 92 | !keys_1p.menu_keys[c-MVLEFT]) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +keyboard.c: In function 'rmkey': +keyboard.c:155:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 155 | if (old = transl_strict(input, flags)) + | ^~~ +keyboard.c:158:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 158 | if (old = transl_strict(input, flags)) + | ^~~ +keyboard.c: In function 'test_fallback': +keyboard.c:211:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 211 | || pl==PLAYER_2 && inputdevs_player[0] != 2 + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +keyboard.c:218:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 218 | pl == (keypr & (PLAYER_1 | PLAYER_2)) && + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ + 219 | #endif + | ~~~~~~ + 220 | k == (keypr & 63); + | ~~~~~~~~~~~~~~~~~ +tetris.c: In function 'movedown_n': +tetris.c:648:53: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] + 648 | do if (y+i >= p->y && p->blocks & 1<<4*(i-p->y+y)+x) + | ~~~~~~~~~~~~^~ +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)) + | ^ +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/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tetris.c: In function 'processinput': -options.c: In function 'freeoptions': -options.c:226:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 226 | while (o = s->opts) { - | ^ tetris.c:857:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 857 | if (key = getkeypress(tm-d, IN_GAME | SINGLE_PL)) { | ^~~ -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'; - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -cfgfile.c: In function 'stdin_convertval': tetris.c:864:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 864 | if (abs(ret) == 2 || ret > -1 && (flags & RETURN_ON_INPUT)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -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)) - | ^ -cfgfile.c: In function 'readkeymapping': -input.c: In function 'setkeymapping_js': -cfgfile.c:205:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 205 | else if (input = stdin_convertval(&val, tp)) { - | ^~~~~ -input.c:211:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 211 | if (b = getkeypress_select(100, SINGLE_PL)) { - | ^ -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); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -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()) - | ^ -cfgfile.c: In function 'writeinputconf': -escseq.c: In function 'transl_escseq': -escseq.c:85:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 85 | if (ret = transl_escseq(s, flags | PLAYER_1 | SINGLE_PL)) - | ^~~ -cfgfile.c:368:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 368 | if (i == 5 && !isjoystick || i == 7) - | ^ -escseq.c:87:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 87 | if (ret = transl_escseq(s, flags | PLAYER_2 | SINGLE_PL)) - | ^~~ -escseq.c:102:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 102 | } while (e = e->next); - | ^ -escseq.c: In function 'getescseq_str': -escseq.c:112:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 112 | while (e = e->next); - | ^ -escseq.c: In function 'freeescseq': -escseq.c:157:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 157 | while (e = hd->next) { - | ^ +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw_menu.c +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c inputdev.c +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c print.c +In file included from /usr/include/string.h:495, + from options.c:2: +In function 'strncpy', + inlined from 'strtoval' at options.c:40:2: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] +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/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 24 bytes into a destination of size 8 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c inet.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 || + | ~~~~~~~~~^~~~~~~~~~~ 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; @@ -910,6 +924,46 @@ socket.c:210:18: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 210 | if (sock_flags & (CONN_PROXY | CONNECTED) != | ^ +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c draw2p.c +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joystick.c +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c gm_2p.c +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw2p_menu.c +draw.c: In function 'print_top_scores.part.0': +draw.c:243:15: warning: '%06ld' directive writing between 6 and 11 bytes into a region of size 8 [-Wformat-overflow=] + 243 | sprintf(s, "%06ld", (long) hs->score); + | ^~~~~ +draw.c:243:14: note: directive argument in the range [-2147483648, 2147483647] + 243 | sprintf(s, "%06ld", (long) hs->score); + | ^~~~~~~ +In file included from /usr/include/stdio.h:867, + from draw.c:3: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 12 bytes into a destination of size 8 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm_inet.c +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c ibmgfx.c +comm_inet.c: In function 'reconnect_server': +comm_inet.c:39:7: warning: unused variable 'b' [-Wunused-variable] + 39 | char b; + | ^ +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)) + | ^ +joystick.c:55:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 55 | if (p = getbtn(b, btns, 7)) + | ^ +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c ansi.c +joystick.c: In function 'js_getpress': +joystick.c:85:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 85 | if (b > MVDOWN && (ret <= MVRIGHT || !ingame && ret <= MVDOWN)) { +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gm_sock.c +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c term.c +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c playerin.c In file included from /usr/include/string.h:495, from inputdev.c:1: In function 'strncpy', @@ -917,18 +971,37 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -joylinux.c: In function 'set_devname': -joylinux.c:27:1: warning: no return statement in function returning non-void [-Wreturn-type] - 27 | } - | ^ +In file included from /usr/include/string.h:495, + from comm.c:2: +In function 'strncpy', + inlined from 'sendname' at comm.c:98:3, + inlined from 'sock_getkeypress.part.0' at comm.c:418:5: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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; + | ^ +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c hslist.c +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gameover.c +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/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ansi.c: In function 'put_ch': +ansi.c:247:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 247 | if (ch == (' '|0x100) || ch == TEXTURE2 && !_LINUX_TERM) 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()) { - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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) || @@ -936,34 +1009,15 @@ gameover.c:94:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 94 | else if (p = strchr(lat1_chars_small, k)) | ^ -joylinux.c: In function 'releasebtn': -joylinux.c:193:43: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] - 193 | js->pressedbtns |= (btns & ~0x7F) << i-8; - | ~^~ +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 +gm_sock.c: In function 'gamemenu_socket': +gm_sock.c:233:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 233 | playerlist_n > 0 && reconnect_server()) { + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ gameover.c: In function 'hiscore_congrats': gameover.c:230:1: warning: control reaches end of non-void function [-Wreturn-type] 230 | } | ^ -joylinux.c: In function 'readjs_axis': -joylinux.c:216:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] - 216 | js->axis = (axis<axis & 12>>i); - | ~~~~~~~~~^~~~~~~ -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; - | ^ -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c ansi.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c invit.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c netplay.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c term.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c optsmenu.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c blockstyle.c -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 gameover.c: In function 'show_hiscorelist5': gameover.c:34:18: warning: '%7ld' directive writing between 7 and 11 bytes into a region of size 8 [-Wformat-overflow=] 34 | sprintf(s+12, "%7ld", (long) hs->score); @@ -978,40 +1032,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] -ansi.c: In function 'put_ch': -ansi.c:247:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 247 | if (ch == (' '|0x100) || ch == TEXTURE2 && !_LINUX_TERM) -blockstyle.c: In function 'edit_custom_blockstyle': -blockstyle.c:95:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 95 | if (!pos || pos == 2 && c != 'a') { - | ~~~~~~~~~^~~~~~~~~~~ -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) && -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 | )) - | ~ term.c: In function 'gettermsize': term.c:53:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 53 | if (s = getenv("COLUMNS")) @@ -1019,58 +1039,7 @@ term.c:55:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 55 | if (s = getenv("LINES")) | ^ -draw.c: In function 'print_top_scores.part.0': -draw.c:243:15: warning: '%06ld' directive writing between 6 and 11 bytes into a region of size 8 [-Wformat-overflow=] - 243 | sprintf(s, "%06ld", (long) hs->score); - | ^~~~~ -draw.c:243:14: note: directive argument in the range [-2147483648, 2147483647] - 243 | sprintf(s, "%06ld", (long) hs->score); - | ^~~~~~~ -In file included from /usr/include/stdio.h:867, - from draw.c:3: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 12 bytes into a destination of size 8 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -netplay.c:20:8: warning: return type defaults to 'int' [-Wimplicit-int] - 20 | static init_field(char *str, const char *val, int maxlen) - | ^~~~~~~~~~ -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/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 24 bytes into a destination of size 8 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -netplay.c: In function 'init_field': -netplay.c:28:1: warning: control reaches end of non-void function [-Wreturn-type] - 28 | } - | ^ -In file included from /usr/include/string.h:495, - from comm.c:2: -In function 'strncpy', - inlined from 'sendname' at comm.c:98:3, - inlined from 'sock_getkeypress.part.0' at comm.c:418:5: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 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); @@ -1085,30 +1054,96 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -rm -f textgfx.a +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c invit.c +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c escseq.c +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c netplay.c +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c select.c +resize.c: In function 'upd_termresize': +resize.c:114:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 114 | !in_menu && game && game->state & (GAME_OVER + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ + 115 | # ifndef CURSES + | ~~~~~~~~~~~~~~~ + 116 | | GAME_RUNNING + | ~~~~~~~~~~~~~~ + 117 | # endif + | ~~~~~~~ + 118 | )) + | ~ +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c optsmenu.c +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c blockstyle.c +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 +blockstyle.c: In function 'edit_custom_blockstyle': +blockstyle.c:95:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 95 | if (!pos || pos == 2 && c != 'a') { + | ~~~~~~~~~^~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joylinux.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) && ar dc netw.a no_inet.o -ar rcs textgfx.a block.o win.o print.o ibmgfx.o ansi.o ansi_win.o term.o resize.o -rm -f input.a ar rs netw.a socket.o comm.o inet.o comm_inet.o -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/reproducible-path/vitetris-0.59.1/src/textgfx' +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()) + | ^ make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/netw' -make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/input' +escseq.c: In function 'transl_escseq': +escseq.c:85:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 85 | if (ret = transl_escseq(s, flags | PLAYER_1 | SINGLE_PL)) + | ^~~ +escseq.c:87:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 87 | if (ret = transl_escseq(s, flags | PLAYER_2 | SINGLE_PL)) + | ^~~ +escseq.c:102:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 102 | } while (e = e->next); + | ^ +escseq.c: In function 'getescseq_str': +escseq.c:112:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 112 | while (e = e->next); + | ^ +escseq.c: In function 'freeescseq': +escseq.c:157:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 157 | while (e = hd->next) { + | ^ +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 | } + | ^ +joylinux.c: In function 'set_devname': +joylinux.c:27:1: warning: no return statement in function returning non-void [-Wreturn-type] + 27 | } + | ^ +joylinux.c: In function 'releasebtn': +joylinux.c:193:43: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] + 193 | js->pressedbtns |= (btns & ~0x7F) << i-8; + | ~^~ +joylinux.c: In function 'readjs_axis': +joylinux.c:216:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] + 216 | js->axis = (axis<axis & 12>>i); + | ~~~~~~~~~^~~~~~~ +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/reproducible-path/vitetris-0.59.1/src/textgfx' 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 ar rs draw.a draw.o draw_menu.o draw2p.o draw2p_menu.o ar: creating draw.a -make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/menu' make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/draw' +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/reproducible-path/vitetris-0.59.1/src/input' +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/reproducible-path/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/reproducible-path/vitetris-0.59.1/src/game' @@ -1128,7 +1163,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install - make -j42 install DESTDIR=/build/reproducible-path/vitetris-0.59.1/debian/vitetris AM_UPDATE_INFO_DIR=no + make -j20 install DESTDIR=/build/reproducible-path/vitetris-0.59.1/debian/vitetris AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/vitetris-0.59.1' install -d /build/reproducible-path/vitetris-0.59.1/debian/vitetris/usr/games /build/reproducible-path/vitetris-0.59.1/debian/vitetris/usr/share/doc/vitetris install -m755 vitetris /build/reproducible-path/vitetris-0.59.1/debian/vitetris/usr/games @@ -1171,12 +1206,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/3225210/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3225210/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/3738289 and its subdirectories -I: Current time: Thu Aug 21 14:33:06 -12 2025 -I: pbuilder-time-stamp: 1755829986 +I: removing directory /srv/workspace/pbuilder/3225210 and its subdirectories +I: Current time: Sat Jul 20 10:12:22 +14 2024 +I: pbuilder-time-stamp: 1721419942