Diff of the two buildlogs: -- --- b1/build.log 2024-05-02 15:21:41.250229745 +0000 +++ b2/build.log 2024-05-02 15:22:29.292191350 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 2 03:20:42 -12 2024 -I: pbuilder-time-stamp: 1714663242 +I: Current time: Thu Jun 5 11:44:43 +14 2025 +I: pbuilder-time-stamp: 1749073483 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -30,51 +30,83 @@ 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/297730/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2703534/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-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 Jun 4 21:44 /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/2703534/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2703534/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' + 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]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(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 parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='a7571f4df0fe4998bc1cd8db0d121bc2' - 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='297730' - PS1='# ' - PS2='> ' + INVOCATION_ID=b665e4f58cf148e0860d1c0f381c971f + 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=2703534 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.ZvlzlPFU/pbuilderrc_ujkO --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ZvlzlPFU/b1 --logfile b1/build.log vitetris_0.59.1-2.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.ZvlzlPFU/pbuilderrc_shmd --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ZvlzlPFU/b2 --logfile b2/build.log vitetris_0.59.1-2.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom01-amd64 6.1.0-20-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 23 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/297730/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 24 13:34 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2703534/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -140,7 +172,7 @@ Get: 28 http://deb.debian.org/debian trixie/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.15.3 [901 kB] -Fetched 19.0 MB in 1s (24.4 MB/s) +Fetched 19.0 MB in 1s (35.4 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 ... 19875 files and directories currently installed.) @@ -275,7 +307,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-2_source.changes +I: user script /srv/workspace/pbuilder/2703534/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2703534/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-2_source.changes dpkg-buildpackage: info: source package vitetris dpkg-buildpackage: info: source version 0.59.1-2 dpkg-buildpackage: info: source distribution unstable @@ -445,18 +481,10 @@ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ hiscore.c: In function 'decodehiscore': -options.c: In function 'setoption': -options.c:182:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 182 | if (tp==0 || tp==1 && !val.str[3]) { - | ~~~~~~^~~~~~~~~~~~~~ hiscore.c:190:21: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 190 | c = (line[0]-20 & 7)+2; | ~~~~~~~^~~ -options.c: In function 'freeoptions': hiscore.c: In function 'readhiscores_fp': -options.c:226:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 226 | while (o = s->opts) { - | ^ hiscore.c:232:35: warning: pointer targets in passing argument 1 of 'decodehiscore' differ in signedness [-Wpointer-sign] 232 | if (decodehiscore(line, &hs)) | ^~~~ @@ -476,6 +504,55 @@ hiscore.c:350:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 350 | if (p = strchr(lat1, *nm)) | ^ +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) { + | ^ +cfgfile.c: In function 'readname': +cfgfile.c:61:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 61 | while (i < n && (i && line[i] == '-' || islower(line[i]) || + | ~~^~~~~~~~~~~~~~~~~ +cfgfile.c: In function 'readopt': +cfgfile.c:89:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 89 | if (p = strchr(line, '=')) { + | ^ +cfgfile.c: In function 'nametokeypress_i': +cfgfile.c:112:30: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] + 112 | return MVLEFT+i | flags; +cfgfile.c: In function 'stdin_convertval': +cfgfile.c:174:62: 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:18: 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:13: 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:31: 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:655:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' + 655 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~ +cfgfile.c: In function 'writeinputconf': +cfgfile.c:368:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 368 | if (i == 5 && !isjoystick || i == 7) + | ^ cmdline.c: In function 'namematches': cmdline.c:66:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 66 | while (n = subexplen(pattern)) { @@ -484,13 +561,6 @@ tetris.c:74:68: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] 74 | if (1<blocks & 1<garbage); @@ -521,10 +606,6 @@ tetris2p.c:114:50: note: expected 'char *' but argument is of type 'signed char *' 114 | static void getgarbage(struct player *plr, char *garbg) | ~~~~~~^~~~~ -tetris.c: In function 'movedown_n': -tetris.c:648:74: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] - 648 | do if (y+i >= p->y && p->blocks & 1<<4*(i-p->y+y)+x) - | ~~~~~~~~~~~~^~ tetris2p.c: In function 'getgarbage_player2': tetris2p.c:171:23: warning: pointer targets in initialization of 'char *' from 'signed char *' differ in signedness [-Wpointer-sign] 171 | char *garbg = tetris2p[1].garbage; @@ -533,66 +614,22 @@ tetris2p.c:189:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 189 | if (i = isplayer2(p)) { | ^ +tetris.c: In function 'movedown_n': +tetris.c:648:74: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] + 648 | do if (y+i >= p->y && p->blocks & 1<<4*(i-p->y+y)+x) + | ~~~~~~~~~~~~^~ +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -c game.c 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)) { | ^~~ +tetris2p.c: In function 'startgame_2p': tetris.c:864:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 864 | if (abs(ret) == 2 || ret > -1 && (flags & RETURN_ON_INPUT)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cfgfile.c: In function 'readname': -cfgfile.c:61:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 61 | while (i < n && (i && line[i] == '-' || islower(line[i]) || - | ~~^~~~~~~~~~~~~~~~~ -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()) { | ^~~ -cfgfile.c: In function 'readopt': -cfgfile.c:89:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 89 | if (p = strchr(line, '=')) { - | ^ -cfgfile.c: In function 'nametokeypress_i': -cfgfile.c:112:30: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] - 112 | return MVLEFT+i | flags; -cfgfile.c: In function 'stdin_convertval': -cfgfile.c:174:62: 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:18: 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:13: 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:31: 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:655:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 655 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -cfgfile.c: In function 'writeinputconf': -cfgfile.c:368:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 368 | if (i == 5 && !isjoystick || i == 7) - | ^ -menucore.c: In function 'printmenuitem_options': -menucore.c:46:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 46 | if (p = strchr(str, ' ')) { - | ^ -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)) - | ^ 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; @@ -600,6 +637,7 @@ socket.c:210:32: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 210 | if (sock_flags & (CONN_PROXY | CONNECTED) != | ^ +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c dropdown.c In function 'decodehiscore_name', inlined from 'decodehiscore' at hiscore.c:183:10, inlined from 'readhiscores_fp' at hiscore.c:232:7: @@ -611,27 +649,15 @@ hiscore.h:5:14: note: at offset 8 into destination object 'name' of size 8 5 | char name[8]; | ^~~~ -make -Cinput unixterm x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm.c +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c wonlost.c +make -Cinput unixterm x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c inet.c -make -Cdraw -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c dropdown.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -DTERM_RESIZING=1 -c input.c +make -Cdraw make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/draw' x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DSOCKET=1 -c draw.c -make -Ctextgfx -make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/textgfx' -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c block.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, '\\')) { - | ^ 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); @@ -642,12 +668,7 @@ sock.h:98:21: note: expected 'char *' but argument is of type 'signed char *' 98 | int readbytes(char *buf, int n); | ~~~~~~^~~ -draw.c: In function 'drawblocks': -draw.c:378:41: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] - 378 | } while (bl & 16-(i <<= 1)); - | ~~^~~~~~~~~~ comm.c: In function 'sock_getkeypress': -draw.c: In function 'upddropmark': comm.c:394:24: warning: pointer targets in passing argument 1 of 'readbytes' differ in signedness [-Wpointer-sign] 394 | if (!readbytes(&b, 1)) | ^~ @@ -656,8 +677,6 @@ sock.h:98:21: note: expected 'char *' but argument is of type 'signed char *' 98 | int readbytes(char *buf, int n); | ~~~~~~^~~ -draw.c:457:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 457 | pl==2 && game->mode & MODE_NETWORK) comm.c:416:31: warning: pointer targets in passing argument 1 of 'readbytes' differ in signedness [-Wpointer-sign] 416 | if (readbytes(&b, 1)) { | ^~ @@ -666,6 +685,11 @@ sock.h:98:21: note: expected 'char *' but argument is of type 'signed char *' 98 | int readbytes(char *buf, int n); | ~~~~~~^~~ +wonlost.c: In function 'upd_wonlost_stats': +make -Ctextgfx +wonlost.c:106:19: warning: unused variable 'val' [-Wunused-variable] + 106 | union val val; + | ^~~ comm.c:433:31: warning: pointer targets in passing argument 1 of 'readbytes' differ in signedness [-Wpointer-sign] 433 | if (readbytes(&b, 1) && b > 0 && recvgarbage_num(b)) | ^~ @@ -695,6 +719,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 489 | hitbtm(&player2.piece, &player2)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/textgfx' +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c block.c input.c: In function 'key_is_valid': input.c:173:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 171 | c > MVRIGHT && @@ -711,6 +737,39 @@ input.c:211:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 211 | if (b = getkeypress_select(100, SINGLE_PL)) { | ^ +draw.c: In function 'drawbl': +draw.c:38: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) +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 ()); + | ~~~~~~~~~~~~~~~~~ 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); @@ -729,26 +788,12 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -comm.c:98:17: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] - 98 | strncpy(s+1, my_name+i, 16); - | ^ -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm_inet.c -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c keyboard.c -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c win.c -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c wonlost.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -DJOYSTICK=1 -c inputset.c +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c keyboard.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw_menu.c -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c print.c -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c draw2p.c +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c win.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c inputdev.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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joystick.c 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)) { @@ -791,78 +836,6 @@ | ~~~~~~ 220 | k == (keypr & 63); | ~~~~~~~~~~~~~~~~~ -comm_inet.c: In function 'reconnect_server': -comm_inet.c:39:14: warning: unused variable 'b' [-Wunused-variable] - 39 | char b; - | ^ -wonlost.c: In function 'upd_wonlost_stats': -wonlost.c:106:19: warning: unused variable 'val' [-Wunused-variable] - 106 | union val val; - | ^~~ -In function 'recvplayerlist', - inlined from 'handle_server_message' at comm_inet.c:95:9: -comm_inet.c:57:12: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] - 57 | if (n > 0) { - | ^ -comm_inet.c: In function 'handle_server_message': -comm_inet.c:54:13: note: 'n' was declared here - 54 | int n; - | ^ -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -c gamemenu.c -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c ibmgfx.c -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw2p_menu.c -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c ansi.c -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c ansi_win.c -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c term.c -ar dc netw.a no_inet.o -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DTERM_RESIZING=1 -DSOCKET=1 -c resize.c -ar rs netw.a socket.o comm.o inet.o comm_inet.o -ar rs game.a tetris.o tetris2p.o game.o wonlost.o -ar: creating game.a -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c gm_2p.c -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gm_sock.c -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joystick.c -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c hslist.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 | )) - | ~ -term.c: In function 'gettermsize': -term.c:53:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 53 | if (s = getenv("COLUMNS")) - | ^ -term.c:55:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 55 | if (s = getenv("LINES")) - | ^ 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)) @@ -873,14 +846,14 @@ 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)) { -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()) { - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +comm.c:98:17: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] + 98 | strncpy(s+1, my_name+i, 16); + | ^ +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm_inet.c +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c playerin.c +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c draw2p.c +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw2p_menu.c +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c print.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); @@ -899,40 +872,41 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/game' -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gameover.c -make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/netw' -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c playerin.c +comm_inet.c: In function 'reconnect_server': +comm_inet.c:39:14: warning: unused variable 'b' [-Wunused-variable] + 39 | char b; + | ^ +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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c ibmgfx.c +In function 'recvplayerlist', + inlined from 'handle_server_message' at comm_inet.c:95:9: +comm_inet.c:57:12: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] + 57 | if (n > 0) { + | ^ +comm_inet.c: In function 'handle_server_message': +comm_inet.c:54:13: note: 'n' was declared here + 54 | int n; + | ^ +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DJOYSTICK=1 -DSOCKET=1 -c inp_unixterm.c -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c startup.c -DINET=1 -ar rs draw.a draw.o draw_menu.o draw2p.o draw2p_menu.o -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c invit.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c escseq.c -ar: x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c select.c -creating draw.a +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c select.c +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c ansi.c +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c gm_2p.c +ar dc netw.a no_inet.o +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c ansi_win.c +ar rs netw.a socket.o comm.o inet.o comm_inet.o x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joylinux.c -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c netplay.c -rm -f textgfx.a -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c optsmenu.c -ar rcs textgfx.a block.o win.o print.o ibmgfx.o ansi.o ansi_win.o term.o resize.o -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)) { - | ^ -optsmenu.c: In function 'term_optionhandler': -optsmenu.c:186:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 186 | _TT_BLOCKS_BG && (!_WHITE_BG || _MONOCHROME) && -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) || - | ~~~~~~~~~^~~~~~~~~~~ -gameover.c:94:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 94 | else if (p = strchr(lat1_chars_small, k)) - | ^ -gameover.c: In function 'hiscore_congrats': -gameover.c:230:1: warning: control reaches end of non-void function [-Wreturn-type] - 230 | } - | ^ +ansi.c: In function 'put_ch': +ansi.c:247:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 247 | if (ch == (' '|0x100) || ch == TEXTURE2 && !_LINUX_TERM) 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()) @@ -941,9 +915,6 @@ escseq.c:85:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 85 | if (ret = transl_escseq(s, flags | PLAYER_1 | SINGLE_PL)) | ^~~ -netplay.c:20:8: warning: return type defaults to 'int' [-Wimplicit-int] - 20 | static init_field(char *str, const char *val, int maxlen) - | ^~~~~~~~~~ escseq.c:87:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 87 | if (ret = transl_escseq(s, flags | PLAYER_2 | SINGLE_PL)) | ^~~ @@ -958,10 +929,9 @@ escseq.c:157:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 157 | while (e = hd->next) { | ^ -netplay.c: In function 'init_field': -netplay.c:28:1: warning: control reaches end of non-void function [-Wreturn-type] - 28 | } - | ^ +make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/netw' +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c term.c +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gm_sock.c joylinux.c: In function 'set_devname': joylinux.c:27:1: warning: no return statement in function returning non-void [-Wreturn-type] 27 | } @@ -974,6 +944,77 @@ joylinux.c:216:48: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 216 | js->axis = (axis<axis & 12>>i); | ~~~~~~~~~^~~~~~~ +ar rs draw.a draw.o draw_menu.o draw2p.o draw2p_menu.o +ar: creating draw.a +ar rs game.a tetris.o tetris2p.o game.o wonlost.o +ar: creating game.a +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c hslist.c +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DTERM_RESIZING=1 -DSOCKET=1 -c resize.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()) { + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +term.c: In function 'gettermsize': +term.c:53:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 53 | if (s = getenv("COLUMNS")) + | ^ +term.c:55:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 55 | if (s = getenv("LINES")) + | ^ +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 | )) + | ~ +make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/draw' +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gameover.c +make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/game' +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c startup.c -DINET=1 +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c invit.c +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c netplay.c +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c optsmenu.c +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c blockstyle.c +x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DINET=1 -c men_ansi.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)) { + | ^ +optsmenu.c: In function 'term_optionhandler': +optsmenu.c:186:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 186 | _TT_BLOCKS_BG && (!_WHITE_BG || _MONOCHROME) && +blockstyle.c: In function 'edit_custom_blockstyle': +blockstyle.c:95:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 95 | if (!pos || pos == 2 && c != 'a') { + | ~~~~~~~~~^~~~~~~~~~~ +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) || + | ~~~~~~~~~^~~~~~~~~~~ +gameover.c:94:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 94 | else if (p = strchr(lat1_chars_small, k)) + | ^ +netplay.c:20:8: warning: return type defaults to 'int' [-Wimplicit-int] + 20 | static init_field(char *str, const char *val, int maxlen) + | ^~~~~~~~~~ +gameover.c: In function 'hiscore_congrats': +gameover.c:230:1: warning: control reaches end of non-void function [-Wreturn-type] + 230 | } + | ^ +netplay.c: In function 'init_field': +netplay.c:28:1: warning: control reaches end of non-void function [-Wreturn-type] + 28 | } + | ^ 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); @@ -992,21 +1033,16 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/draw' -make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/textgfx' -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c blockstyle.c -x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vitetris-0.59.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DINET=1 -c men_ansi.c +rm -f textgfx.a +ar rcs textgfx.a block.o win.o print.o ibmgfx.o ansi.o ansi_win.o term.o resize.o 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 -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 -blockstyle.c: In function 'edit_custom_blockstyle': -blockstyle.c:95:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 95 | if (!pos || pos == 2 && c != 'a') { - | ~~~~~~~~~^~~~~~~~~~~ +make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/textgfx' make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/input' +ar rs menu.a menucore.o dropdown.o inputset.o inputdev.o gamemenu.o gm_2p.o gm_sock.o hslist.o gameover.o rm -f menuext.a ar rcs menuext.a startup.o invit.o netplay.o optsmenu.o blockstyle.o men_ansi.o +ar: creating menu.a make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/menu' mv -f game/game.a . mv -f menu/*.a . @@ -1058,8 +1094,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'vitetris-dbgsym' in '../vitetris-dbgsym_0.59.1-2_amd64.deb'. dpkg-deb: building package 'vitetris' in '../vitetris_0.59.1-2_amd64.deb'. +dpkg-deb: building package 'vitetris-dbgsym' in '../vitetris-dbgsym_0.59.1-2_amd64.deb'. dpkg-genbuildinfo --build=binary -O../vitetris_0.59.1-2_amd64.buildinfo dpkg-genchanges --build=binary -O../vitetris_0.59.1-2_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1067,12 +1103,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/2703534/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2703534/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/297730 and its subdirectories -I: Current time: Thu May 2 03:21:40 -12 2024 -I: pbuilder-time-stamp: 1714663300 +I: removing directory /srv/workspace/pbuilder/2703534 and its subdirectories +I: Current time: Thu Jun 5 11:45:28 +14 2025 +I: pbuilder-time-stamp: 1749073528