Diff of the two buildlogs: -- --- b1/build.log 2023-04-23 08:23:39.635165265 +0000 +++ b2/build.log 2023-04-23 08:25:08.427233508 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 25 02:46:11 -12 2024 -I: pbuilder-time-stamp: 1716648371 +I: Current time: Sun Apr 23 22:23:42 +14 2023 +I: pbuilder-time-stamp: 1682238222 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./vitetris_0.59.1.orig.tar.gz] I: copying [./vitetris_0.59.1-2.debian.tar.xz] I: Extracting source -gpgv: Signature made Wed Sep 1 04:29:14 2021 -12 +gpgv: Signature made Thu Sep 2 06:29:14 2021 +14 gpgv: using EDDSA key 2DE24895313C5DA7F089E14E17494B10795DD733 gpgv: issuer "lyknode@debian.org" gpgv: Can't check signature: No public key @@ -30,135 +30,167 @@ 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/522133/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1782765/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 Apr 23 22:24 /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/1782765/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1782765/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='d040f72677944f0fba7fd231c8dd9a45' - 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='522133' - PS1='# ' - PS2='> ' + INVOCATION_ID=3230301f6cb346f98d1247c927aa7fb8 + 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=1782765 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.7MbE3AO6/pbuilderrc_mWjn --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.7MbE3AO6/b1 --logfile b1/build.log vitetris_0.59.1-2.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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.7MbE3AO6/pbuilderrc_4Mi2 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.7MbE3AO6/b2 --logfile b2/build.log --extrapackages usrmerge vitetris_0.59.1-2.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://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Feb 12 2023 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 2023 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 203152 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 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 2023 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 2023 more - -rwsr-xr-x 1 root root 59704 Mar 22 2023 mount - -rwxr-xr-x 1 root root 18744 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Feb 12 2023 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 2023 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 2023 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 2023 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/522133/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Feb 13 10:05 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 00:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 00:02 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 22:35 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 02:40 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 00:02 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 00:02 more + -rwsr-xr-x 1 root root 59704 Mar 24 00:02 mount + -rwxr-xr-x 1 root root 18744 Mar 24 00:02 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Feb 13 10:05 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 06:31 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 Apr 23 22:24 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 00:02 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 14520 Nov 3 06:31 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 22:35 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 00:02 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 00:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/1782765/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -224,7 +256,7 @@ Get: 28 http://deb.debian.org/debian bookworm/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main amd64 debhelper all 13.11.4 [942 kB] -Fetched 18.7 MB in 0s (86.8 MB/s) +Fetched 18.7 MB in 1s (28.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19596 files and directories currently installed.) @@ -358,8 +390,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/vitetris-0.59.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../vitetris_0.59.1-2_source.changes +I: user script /srv/workspace/pbuilder/1782765/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/1782765/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/vitetris-0.59.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../vitetris_0.59.1-2_source.changes dpkg-buildpackage: info: source package vitetris dpkg-buildpackage: info: source version 0.59.1-2 dpkg-buildpackage: info: source distribution unstable @@ -369,7 +412,7 @@ debian/rules clean dh clean dh_auto_clean - make -j16 clean + make -j15 clean make[1]: Entering directory '/build/vitetris-0.59.1' rm -f systest systest.exe cd src; make clean @@ -454,7 +497,7 @@ Now run make make[1]: Leaving directory '/build/vitetris-0.59.1' dh_auto_build - make -j16 + make -j15 make[1]: Entering directory '/build/vitetris-0.59.1' generating src/src-conf.mk ./src-conf.sh 'x86_64-linux-gnu-gcc' '-g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic' '-Wdate-time -D_FORTIFY_SOURCE=2' @@ -494,33 +537,32 @@ x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c timer.c x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c focus.c make -Cgame +make -Cmenu make[3]: Entering directory '/build/vitetris-0.59.1/src/game' x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c tetris.c -make -Cmenu +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DSOCKET=1 -c tetris2p.c make[3]: Entering directory '/build/vitetris-0.59.1/src/menu' x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c menucore.c make -Cnetw -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DSOCKET=1 -c tetris2p.c x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c dropdown.c -make[3]: Entering directory '/build/vitetris-0.59.1/src/netw' -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c socket.c -make -Cinput unixterm x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -c game.c -make[3]: Entering directory '/build/vitetris-0.59.1/src/input' -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -DTERM_RESIZING=1 -c input.c -make -Cdraw -options.c: In function 'setoption': -options.c:182:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 182 | if (tp==0 || tp==1 && !val.str[3]) { - | ~~~~~~^~~~~~~~~~~~~~ -options.c: In function 'freeoptions': -options.c:226:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 226 | while (o = s->opts) { - | ^ cmdline.c: In function 'namematches': cmdline.c:66:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 66 | while (n = subexplen(pattern)) { | ^ +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -DJOYSTICK=1 -c inputset.c +cmdline.c: In function 'cmd_listen': +cmdline.c:467:1: warning: label 'press' defined but not used [-Wunused-label] + 467 | press: press_any_key(); + | ^~~~~ +cmdline.c:434:15: warning: unused variable 'msg' [-Wunused-variable] + 434 | char *msg; + | ^~~ +cmdline.c: In function 'proc_args': +options.c: In function 'setoption': +cmdline.c:707:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 707 | if (q = strchr(p, '=')) { + | ^ hiscore.c: In function 'addhiscore': hiscore.c:28:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 27 | if (i == 10 || hs->score == hiscores[i-1].score && @@ -546,17 +588,19 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -cmdline.c: In function 'cmd_listen': -cmdline.c:467:1: warning: label 'press' defined but not used [-Wunused-label] - 467 | press: press_any_key(); - | ^~~~~ -cmdline.c:434:15: warning: unused variable 'msg' [-Wunused-variable] - 434 | char *msg; - | ^~~ +make[3]: Entering directory '/build/vitetris-0.59.1/src/netw' +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c socket.c hiscore.c: In function 'decodehiscore': hiscore.c:190:21: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 190 | c = (line[0]-20 & 7)+2; | ~~~~~~~^~~ +options.c:182:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 182 | if (tp==0 || tp==1 && !val.str[3]) { + | ~~~~~~^~~~~~~~~~~~~~ +options.c: In function 'freeoptions': +options.c:226:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 226 | while (o = s->opts) { + | ^ hiscore.c: In function 'readhiscores_fp': hiscore.c:232:35: warning: pointer targets in passing argument 1 of 'decodehiscore' differ in signedness [-Wpointer-sign] 232 | if (decodehiscore(line, &hs)) @@ -577,16 +621,27 @@ hiscore.c:350:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 350 | if (p = strchr(lat1, *nm)) | ^ -make[3]: Entering directory '/build/vitetris-0.59.1/src/draw' -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DSOCKET=1 -c draw.c -make -Ctextgfx -cmdline.c: In function 'proc_args': -cmdline.c:707:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 707 | if (q = strchr(p, '=')) { - | ^ -make[3]: Entering directory '/build/vitetris-0.59.1/src/textgfx' -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c block.c -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -DJOYSTICK=1 -c inputset.c +tetris.c: In function 'hitbtm': +tetris.c:74:68: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] + 74 | if (1<blocks & 1<= p->y && p->blocks & 1<<4*(i-p->y+y)+x) + | ~~~~~~~~~~~~^~ cfgfile.c: In function 'printkeymapping': cfgfile.c:332:31: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 332 | fputs(s, fp); @@ -628,66 +692,10 @@ cfgfile.c:368:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 368 | if (i == 5 && !isjoystick || i == 7) | ^ -tetris.c: In function 'hitbtm': -tetris.c:74:68: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] - 74 | if (1<blocks & 1<= p->y && p->blocks & 1<<4*(i-p->y+y)+x) - | ~~~~~~~~~~~~^~ -tetris.c: In function 'processinput': -tetris.c:857:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 857 | if (key = getkeypress(tm-d, IN_GAME | SINGLE_PL)) { - | ^~~ -tetris.c:864:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 864 | if (abs(ret) == 2 || ret > -1 && (flags & RETURN_ON_INPUT)) - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -draw.c: In function 'drawbl': -draw.c:38:33: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] - 38 | } while (bl & 16-(i <<= 1)); - | ~~^~~~~~~~~~ -draw.c: In function 'drawstr': -draw.c:63:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 63 | while (p = strchr(str, '\\')) { - | ^ -draw.c: In function 'drawblocks': -draw.c:378:41: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] - 378 | } while (bl & 16-(i <<= 1)); - | ~~^~~~~~~~~~ -draw.c: In function 'upddropmark': -draw.c:457:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 457 | pl==2 && game->mode & MODE_NETWORK) -input.c: In function 'key_is_valid': -inputset.c: In function 'inputsetup_menu': -inputset.c:93:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 93 | if (devlist && (k==MVUP && !i || k=='\t' && i==10)) { - | ~~~~~~~~^~~~~ tetris2p.c: In function 'spawndelay': tetris2p.c:141:36: warning: pointer targets in passing argument 2 of 'getgarbage' differ in signedness [-Wpointer-sign] 141 | getgarbage(plr, tet->garbage); @@ -705,6 +713,28 @@ tetris2p.c:189:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 189 | if (i = isplayer2(p)) { | ^ +make[3]: Entering directory '/build/vitetris-0.59.1/src/input' +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -DTERM_RESIZING=1 -c input.c +menucore.c: In function 'handle_menuitem': +menucore.c:144:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 144 | if (m = find_firstletter(menu, n, j, keypr)) + | ^ +tetris.c: In function 'processinput': +tetris.c:857:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 857 | if (key = getkeypress(tm-d, IN_GAME | SINGLE_PL)) { + | ^~~ +tetris.c:864:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 864 | if (abs(ret) == 2 || ret > -1 && (flags & RETURN_ON_INPUT)) + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +tetris2p.c: In function 'startgame_2p': +tetris2p.c:570:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 570 | while (plr = play_round()) { + | ^~~ +make -Cdraw +make[3]: Entering directory '/build/vitetris-0.59.1/src/draw' +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DSOCKET=1 -c draw.c +make -Ctextgfx +input.c: In function 'key_is_valid': input.c:173:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 171 | c > MVRIGHT && | ~~~~~~~~~~~~~~ @@ -713,19 +743,38 @@ 173 | c != STARTBTN && c != '\t'; | ~~~~~~~~~~~~~~^~~~~~~~~~~~ input.c: In function 'setkeymapping_keybd': +socket.c: In function 'conn_broken': input.c:182:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 182 | if (c = getkeypress_select(100, SINGLE_PL)) | ^ +socket.c:42:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] + 42 | sock_flags = CONN_BROKEN | sock_flags & ~PL2_IN_GAME; input.c: In function 'setkeymapping_js': input.c:211:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 211 | if (b = getkeypress_select(100, SINGLE_PL)) { | ^ +socket.c: In function 'rmsocket': +socket.c:210:32: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] + 210 | if (sock_flags & (CONN_PROXY | CONNECTED) != + | ^ +make[3]: Entering directory '/build/vitetris-0.59.1/src/textgfx' +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c block.c x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c keyboard.c -tetris2p.c: In function 'startgame_2p': -tetris2p.c:570:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 570 | while (plr = play_round()) { - | ^~~ -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c wonlost.c +draw.c: In function 'drawbl': +draw.c:38:33: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] + 38 | } while (bl & 16-(i <<= 1)); + | ~~^~~~~~~~~~ +draw.c: In function 'drawstr': +draw.c:63:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 63 | while (p = strchr(str, '\\')) { + | ^ +draw.c: In function 'drawblocks': +draw.c:378:41: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] + 378 | } while (bl & 16-(i <<= 1)); + | ~~^~~~~~~~~~ +draw.c: In function 'upddropmark': +draw.c:457:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 457 | pl==2 && game->mode & MODE_NETWORK) keyboard.c: In function 'transl_chr': keyboard.c:39:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 39 | if (i = transl_chr(c, k | PLAYER_1)) @@ -764,37 +813,8 @@ | ~~~~~~ 220 | k == (keypr & 63); | ~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c win.c -socket.c: In function 'conn_broken': -socket.c:42:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] - 42 | sock_flags = CONN_BROKEN | sock_flags & ~PL2_IN_GAME; -socket.c: In function 'rmsocket': -socket.c:210:32: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] - 210 | if (sock_flags & (CONN_PROXY | CONNECTED) != - | ^ -wonlost.c: In function 'upd_wonlost_stats': -wonlost.c:106:19: warning: unused variable 'val' [-Wunused-variable] - 106 | union val val; - | ^~~ -draw.c: In function 'print_top_scores.part.0': -draw.c:243:29: 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:28: note: directive argument in the range [-2147483648, 2147483647] - 243 | sprintf(s, "%06ld", (long) hs->score); - | ^~~~~~~ -In file included from /usr/include/stdio.h:906, - from draw.c:3: -In function 'sprintf', - inlined from 'print_top_scores.part.0' at draw.c:243:3: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 12 bytes into a destination of size 8 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c inputdev.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -c gamemenu.c In function 'decodehiscore_name', inlined from 'decodehiscore' at hiscore.c:183:10, inlined from 'readhiscores_fp' at hiscore.c:232:7: @@ -806,41 +826,33 @@ hiscore.h:5:14: note: at offset 8 into destination object 'name' of size 8 5 | char name[8]; | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -c gamemenu.c -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c print.c -print.c: In function 'printstr_acs': -print.c:45:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 45 | if (islower(*str) || (ch & 0x100) && *str == ' ') - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ -print.c: In function 'isprintable': -print.c:60:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 60 | return c >= ' ' && c < 0x7F || - | ~~~~~~~~~^~~~~~~~~~~ -wonlost.c:127:33: 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:32: note: directive argument in the range [-2147483648, 999] - 127 | sprintf(stats, "%d-%d", won, loss); - | ^~~~~~~ -wonlost.c:127:32: note: directive argument in the range [-2147483648, 999] +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c wonlost.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c win.c +draw.c: In function 'print_top_scores.part.0': +draw.c:243:29: 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:28: note: directive argument in the range [-2147483648, 2147483647] + 243 | sprintf(s, "%06ld", (long) hs->score); + | ^~~~~~~ In file included from /usr/include/stdio.h:906, - from wonlost.c:4: + from draw.c:3: In function 'sprintf', - inlined from 'upd_wonlost_stats' at wonlost.c:127:3: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 24 bytes into a destination of size 8 + inlined from 'print_top_scores.part.0' at draw.c:243:3: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 12 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm.c +wonlost.c: In function 'upd_wonlost_stats': +wonlost.c:106:19: warning: unused variable 'val' [-Wunused-variable] + 106 | union val val; + | ^~~ x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c gm_2p.c -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c ibmgfx.c -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gm_sock.c -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joystick.c -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c playerin.c -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c ansi.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c print.c comm.c: In function 'recvpiece': comm.c:332:19: warning: pointer targets in passing argument 1 of 'readbytes' differ in signedness [-Wpointer-sign] 332 | readbytes(&p->piece.x, 2); @@ -897,17 +909,17 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 489 | hitbtm(&player2.piece, &player2)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DJOYSTICK=1 -DSOCKET=1 -c inp_unixterm.c -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c hslist.c -gm_sock.c: In function 'printplayerlist': -gm_sock.c:57:26: 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:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 233 | playerlist_n > 0 && reconnect_server()) { - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c ansi_win.c +print.c: In function 'printstr_acs': +print.c:45:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 45 | if (islower(*str) || (ch & 0x100) && *str == ' ') + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ +print.c: In function 'isprintable': +print.c:60:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 60 | return c >= ' ' && c < 0x7F || + | ~~~~~~~~~^~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joystick.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c ibmgfx.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gm_sock.c joystick.c: In function 'transl_btn': joystick.c:51:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 51 | if (p = getbtn(b, btns, 5)) @@ -918,13 +930,56 @@ joystick.c: In function 'js_getpress': joystick.c:85:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 85 | if (b > MVDOWN && (ret <= MVRIGHT || !ingame && ret <= MVDOWN)) { +wonlost.c:127:33: 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:32: note: directive argument in the range [-2147483648, 999] + 127 | sprintf(stats, "%d-%d", won, loss); + | ^~~~~~~ +wonlost.c:127:32: note: directive argument in the range [-2147483648, 999] +In file included from /usr/include/stdio.h:906, + from wonlost.c:4: +In function 'sprintf', + inlined from 'upd_wonlost_stats' at wonlost.c:127:3: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 24 bytes into a destination of size 8 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c hslist.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c ansi.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gameover.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c ansi_win.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c playerin.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c term.c +gm_sock.c: In function 'printplayerlist': +gm_sock.c:57:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 57 | if (i==0 && off || i==9 && playerlist_n - off > 10) { + | ~~~~~^~~~~~ +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DTERM_RESIZING=1 -DSOCKET=1 -c resize.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DJOYSTICK=1 -DSOCKET=1 -c inp_unixterm.c +gm_sock.c: In function 'gamemenu_socket': +gm_sock.c:233:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 233 | playerlist_n > 0 && reconnect_server()) { + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ansi.c: In function 'put_ch': ansi.c:247:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 247 | if (ch == (' '|0x100) || ch == TEXTURE2 && !_LINUX_TERM) -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gameover.c -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c startup.c -DINET=1 -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c term.c -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c escseq.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c inet.c +resize.c: In function 'upd_termresize': +resize.c:114:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 114 | !in_menu && game && game->state & (GAME_OVER + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ + 115 | # ifndef CURSES + | ~~~~~~~~~~~~~~~ + 116 | | GAME_RUNNING + | ~~~~~~~~~~~~~~ + 117 | # endif + | ~~~~~~~ + 118 | )) + | ~ gameover.c: In function 'hiscore_editname': gameover.c:89:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 89 | if (k >= 'A' && k <= 'Z' || strchr(chars, k) || @@ -936,8 +991,12 @@ gameover.c:230:1: warning: control reaches end of non-void function [-Wreturn-type] 230 | } | ^ -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DTERM_RESIZING=1 -DSOCKET=1 -c resize.c -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw_menu.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm_inet.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c startup.c -DINET=1 +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c escseq.c +comm.c:98:17: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] + 98 | strncpy(s+1, my_name+i, 16); + | ^ term.c: In function 'gettermsize': term.c:53:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 53 | if (s = getenv("COLUMNS")) @@ -945,7 +1004,29 @@ term.c:55:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 55 | if (s = getenv("LINES")) | ^ -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c invit.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c select.c +gameover.c: In function 'show_hiscorelist5': +gameover.c:34:32: warning: '%7ld' directive writing between 7 and 11 bytes into a region of size 8 [-Wformat-overflow=] + 34 | sprintf(s+12, "%7ld", (long) hs->score); + | ^~~~ +gameover.c:34:31: note: directive argument in the range [-2147483648, 2147483647] + 34 | sprintf(s+12, "%7ld", (long) hs->score); + | ^~~~~~ +In file included from /usr/include/stdio.h:906, + from gameover.c:3: +In function 'sprintf', + inlined from 'show_hiscorelist5' at gameover.c:34:3: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 8 and 12 bytes into a destination of size 8 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +comm_inet.c: In function 'reconnect_server': +comm_inet.c:39:14: warning: unused variable 'b' [-Wunused-variable] + 39 | char b; + | ^ escseq.c: In function 'readescseq': escseq.c:60:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 60 | if (s[1] = readchr_wait()) @@ -968,53 +1049,7 @@ escseq.c:157:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 157 | while (e = hd->next) { | ^ -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c netplay.c -gameover.c: In function 'show_hiscorelist5': -gameover.c:34:32: warning: '%7ld' directive writing between 7 and 11 bytes into a region of size 8 [-Wformat-overflow=] - 34 | sprintf(s+12, "%7ld", (long) hs->score); - | ^~~~ -gameover.c:34:31: note: directive argument in the range [-2147483648, 2147483647] - 34 | sprintf(s+12, "%7ld", (long) hs->score); - | ^~~~~~ -In file included from /usr/include/stdio.h:906, - from gameover.c:3: -In function 'sprintf', - inlined from 'show_hiscorelist5' at gameover.c:34:3: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 8 and 12 bytes into a destination of size 8 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -resize.c: In function 'upd_termresize': -resize.c:114:30: 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 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c select.c -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c draw2p.c -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joylinux.c -netplay.c:20:8: warning: return type defaults to 'int' [-Wimplicit-int] - 20 | static init_field(char *str, const char *val, int maxlen) - | ^~~~~~~~~~ -comm.c:98:17: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] - 98 | strncpy(s+1, my_name+i, 16); - | ^ -netplay.c: In function 'init_field': -netplay.c:28:1: warning: control reaches end of non-void function [-Wreturn-type] - 28 | } - | ^ -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c optsmenu.c -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c inet.c -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw2p_menu.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c invit.c joystick.c: In function 'js_btnname': joystick.c:226:32: warning: '%d' directive writing between 2 and 10 bytes into a region of size 4 [-Wformat-overflow=] 226 | sprintf(name, "%d", btn); @@ -1033,9 +1068,16 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -rm -f textgfx.a -ar rcs textgfx.a block.o win.o print.o ibmgfx.o ansi.o ansi_win.o term.o resize.o -make[3]: Leaving directory '/build/vitetris-0.59.1/src/textgfx' +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joylinux.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw_menu.c +comm_inet.c: In function 'handle_server_message': +comm_inet.c:54:13: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] + 54 | int n; + | ^ +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c netplay.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c draw2p.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c optsmenu.c +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw2p_menu.c optsmenu.c: In function 'options_menu': optsmenu.c:155:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 155 | while (i = openmenu(menu, n, i, x, y, handlers)) { @@ -1043,13 +1085,12 @@ optsmenu.c: In function 'term_optionhandler': optsmenu.c:186:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | _TT_BLOCKS_BG && (!_WHITE_BG || _MONOCHROME) && -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm_inet.c x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c blockstyle.c -x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DINET=1 -c men_ansi.c -blockstyle.c: In function 'edit_custom_blockstyle': -blockstyle.c:95:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 95 | if (!pos || pos == 2 && c != 'a') { - | ~~~~~~~~~^~~~~~~~~~~ +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 +netplay.c:20:8: warning: return type defaults to 'int' [-Wimplicit-int] + 20 | static init_field(char *str, const char *val, int maxlen) + | ^~~~~~~~~~ joylinux.c: In function 'set_devname': joylinux.c:27:1: warning: no return statement in function returning non-void [-Wreturn-type] 27 | } @@ -1058,35 +1099,37 @@ joylinux.c:193:71: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 193 | js->pressedbtns |= (btns & ~0x7F) << i-8; | ~^~ +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 'readjs_axis': joylinux.c:216:48: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 216 | js->axis = (axis<axis & 12>>i); | ~~~~~~~~~^~~~~~~ -comm_inet.c: In function 'reconnect_server': -comm_inet.c:39:14: warning: unused variable 'b' [-Wunused-variable] - 39 | char b; - | ^ +x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/vitetris-0.59.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DINET=1 -c men_ansi.c +make[3]: Leaving directory '/build/vitetris-0.59.1/src/textgfx' +ar dc netw.a no_inet.o +blockstyle.c: In function 'edit_custom_blockstyle': +blockstyle.c:95:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 95 | if (!pos || pos == 2 && c != 'a') { + | ~~~~~~~~~^~~~~~~~~~~ +ar rs netw.a socket.o comm.o inet.o comm_inet.o +make[3]: Leaving directory '/build/vitetris-0.59.1/src/netw' ar rs draw.a draw.o draw_menu.o draw2p.o draw2p_menu.o -ar: creating draw.a -make[3]: Leaving directory '/build/vitetris-0.59.1/src/draw' 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 -comm_inet.c: In function 'handle_server_message': -comm_inet.c:54:13: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] - 54 | int n; - | ^ -ar dc netw.a no_inet.o -ar rs netw.a socket.o comm.o inet.o comm_inet.o +ar: creating draw.a +make[3]: Leaving directory '/build/vitetris-0.59.1/src/draw' rm -f menuext.a -make[3]: Leaving directory '/build/vitetris-0.59.1/src/netw' ar rcs menuext.a startup.o invit.o netplay.o optsmenu.o blockstyle.o men_ansi.o make[3]: Leaving directory '/build/vitetris-0.59.1/src/menu' -rm -f input.a -ar rcs input.a input.o keyboard.o joystick.o playerin.o inp_unixterm.o escseq.o select.o joylinux.o -make[3]: Leaving directory '/build/vitetris-0.59.1/src/input' ar rs game.a tetris.o tetris2p.o game.o wonlost.o ar: creating game.a make[3]: Leaving directory '/build/vitetris-0.59.1/src/game' +rm -f input.a +ar rcs input.a input.o keyboard.o joystick.o playerin.o inp_unixterm.o escseq.o select.o joylinux.o +make[3]: Leaving directory '/build/vitetris-0.59.1/src/input' mv -f game/game.a . mv -f menu/*.a . mv -f netw/netw.a . @@ -1103,7 +1146,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/vitetris/ - make -j16 install DESTDIR=/build/vitetris-0.59.1/debian/vitetris AM_UPDATE_INFO_DIR=no + make -j15 install DESTDIR=/build/vitetris-0.59.1/debian/vitetris AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/vitetris-0.59.1' install -d /build/vitetris-0.59.1/debian/vitetris/usr/games /build/vitetris-0.59.1/debian/vitetris/usr/share/doc/vitetris install -m755 vitetris /build/vitetris-0.59.1/debian/vitetris/usr/games @@ -1146,12 +1189,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1782765/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1782765/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/522133 and its subdirectories -I: Current time: Sat May 25 02:46:41 -12 2024 -I: pbuilder-time-stamp: 1716648401 +I: removing directory /srv/workspace/pbuilder/1782765 and its subdirectories +I: Current time: Sun Apr 23 22:25:07 +14 2023 +I: pbuilder-time-stamp: 1682238307