Diff of the two buildlogs: -- --- b1/build.log 2024-11-13 17:47:03.710387030 +0000 +++ b2/build.log 2024-11-13 17:47:36.933199794 +0000 @@ -1,6 +1,7 @@ +W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build -I: Current time: Tue Dec 16 12:09:35 -12 2025 -I: pbuilder-time-stamp: 1765930175 +I: Current time: Thu Nov 14 07:47:07 +14 2024 +I: pbuilder-time-stamp: 1731520027 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -31,52 +32,83 @@ dpkg-source: info: applying 0004-Add-void-return-type-to-init_field-prototype.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1825043/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4092349/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +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 Nov 13 17:47 /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/4092349/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4092349/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='arm64' - 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]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='68f82235b97847b7a5df6caf7ac10c1a' - 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='1825043' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=4092349 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.41M052Ng/pbuilderrc_NcKM --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.41M052Ng/b1 --logfile b1/build.log vitetris_0.59.1-3.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' - http_proxy='http://192.168.101.4: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.41M052Ng/pbuilderrc_kUc8 --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.41M052Ng/b2 --logfile b2/build.log vitetris_0.59.1-3.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' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink01-arm64 6.1.0-27-cloud-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-27-cloud-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1825043/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4092349/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -141,7 +173,7 @@ Get: 27 http://deb.debian.org/debian unstable/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main arm64 debhelper all 13.20 [915 kB] -Fetched 19.4 MB in 0s (124 MB/s) +Fetched 19.4 MB in 0s (164 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 ... 20090 files and directories currently installed.) @@ -272,7 +304,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-3_source.changes +I: user script /srv/workspace/pbuilder/4092349/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/4092349/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-3_source.changes dpkg-buildpackage: info: source package vitetris dpkg-buildpackage: info: source version 0.59.1-3 dpkg-buildpackage: info: source distribution unstable @@ -405,31 +441,7 @@ aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I. -c hiscore.c aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c lang.c aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c timer.c -cmdline.c: In function 'namematches': -cmdline.c:66:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 66 | while (n = subexplen(pattern)) { - | ^ aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c focus.c -cmdline.c: In function 'cmd_listen': -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: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': -cmdline.c:707:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 707 | if (q = strchr(p, '=')) { - | ^ -make -Cgame 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 && @@ -445,27 +457,17 @@ hiscore.c:48:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 48 | else if (p = strchr(last_chars, c)) | ^ +make -Cgame hiscore.c: In function 'decodehiscore_name': hiscore.c:93:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 93 | int len = strlen(line); | ^~~~ | | | unsigned char * -cfgfile.c: In function 'readname': In file included from hiscore.c:2: /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) | ~~~~~~~~~~~~^~~ -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; hiscore.c: In function 'decodehiscore': hiscore.c:190:21: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 190 | c = (line[0]-20 & 7)+2; @@ -479,6 +481,35 @@ hiscore.c:181:41: note: expected 'unsigned char *' but argument is of type 'char *' 181 | static int decodehiscore(unsigned char *line, struct hiscore *hs) | ~~~~~~~~~~~~~~~^~~~ +hiscore.c: In function 'readhiscores': +hiscore.c:281:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 281 | if (fp = fopen(cfgfilename, "r")) + | ^~ +hiscore.c:284:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 284 | if (fp = fopen(HISCORE_FILENAME, "r")) + | ^~ +hiscore.c: In function 'gethiscorename': +hiscore.c:350:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 350 | if (p = strchr(lat1, *nm)) + | ^ +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; +cmdline.c: In function 'namematches': +cmdline.c:66:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 66 | while (n = subexplen(pattern)) { + | ^ +make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/game' +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c tetris.c +make -Cmenu 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) @@ -487,14 +518,7 @@ | | int * | unsigned int * | %X -hiscore.c: In function 'readhiscores': -hiscore.c:281:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 281 | if (fp = fopen(cfgfilename, "r")) - | ^~ cfgfile.c: In function 'readkeymapping': -hiscore.c:284:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 284 | if (fp = fopen(HISCORE_FILENAME, "r")) - | ^~ cfgfile.c:205:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 205 | else if (input = stdin_convertval(&val, tp)) { | ^~~~~ @@ -502,10 +526,6 @@ cfgfile.c:218:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 218 | if (p = strchr(tcolor_keys, key[0])) | ^ -hiscore.c: In function 'gethiscorename': -hiscore.c:350:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 350 | if (p = strchr(lat1, *nm)) - | ^ 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); @@ -520,48 +540,33 @@ cfgfile.c:368:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 368 | if (i == 5 && !isjoystick || i == 7) | ^ -make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/game' -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c tetris.c -make -Cmenu make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/menu' +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c menucore.c make -Cnetw aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DSOCKET=1 -c tetris2p.c -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c menucore.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': +cmdline.c:707:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 707 | if (q = strchr(p, '=')) { + | ^ make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/netw' aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c socket.c -make -Cinput unixterm -make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/input' -make -Cdraw -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -DTERM_RESIZING=1 -c input.c -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); - | ~~~^~~~~~~~~ - | | - | signed char * -tetris2p.c:114:50: note: expected 'char *' but argument is of type 'signed char *' - 114 | static void getgarbage(struct player *plr, char *garbg) - | ~~~~~~^~~~~ -tetris2p.c: In function 'getgarbage_player2': -tetris2p.c:171:23: warning: pointer targets in initialization of 'char *' from 'signed char *' differ in signedness [-Wpointer-sign] - 171 | char *garbg = tetris2p[1].garbage; - | ^~~~~~~~ -tetris2p.c: In function 'sendnext': -tetris2p.c:189:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 189 | if (i = isplayer2(p)) { +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, ' ')) { | ^ -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[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/draw' -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DSOCKET=1 -c draw.c -make -Ctextgfx +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)) + | ^ +make -Cinput unixterm tetris.c: In function 'hitbtm': -make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/textgfx' -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c keyboard.c -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c block.c -menucore.c: In function 'printmenuitem_options': 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) @@ -600,6 +600,38 @@ tetris.c:864:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 864 | if (abs(ret) == 2 || ret > -1 && (flags & RETURN_ON_INPUT)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +make -Cdraw +make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/draw' +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DSOCKET=1 -c draw.c +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); + | ~~~^~~~~~~~~ + | | + | signed char * +tetris2p.c:114:50: note: expected 'char *' but argument is of type 'signed char *' + 114 | static void getgarbage(struct player *plr, char *garbg) + | ~~~~~~^~~~~ +tetris2p.c: In function 'getgarbage_player2': +tetris2p.c:171:23: warning: pointer targets in initialization of 'char *' from 'signed char *' differ in signedness [-Wpointer-sign] + 171 | char *garbg = tetris2p[1].garbage; + | ^~~~~~~~ +tetris2p.c: In function 'sendnext': +tetris2p.c:189:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 189 | if (i = isplayer2(p)) { + | ^ +tetris2p.c: In function 'startgame_2p': +options.c: In function 'setoption': +options.c:182:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 182 | if (tp==0 || tp==1 && !val.str[3]) { + | ~~~~~~^~~~~~~~~~~~~~ +tetris2p.c:570:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 570 | while (plr = play_round()) { + | ^~~ +options.c: In function 'freeoptions': +options.c:226:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 226 | while (o = s->opts) { + | ^ 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; @@ -607,68 +639,17 @@ socket.c:210:32: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 210 | if (sock_flags & (CONN_PROXY | CONNECTED) != | ^ -input.c: In function 'key_is_valid': -input.c:173:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 171 | c > MVRIGHT && - | ~~~~~~~~~~~~~~ - 172 | (c > MVDOWN || keypr & IN_GAME) && - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 173 | c != STARTBTN && c != '\t'; - | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -input.c: In function 'setkeymapping_keybd': -input.c:182:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 182 | if (c = getkeypress_select(100, SINGLE_PL)) - | ^ -input.c: In function 'setkeymapping_js': -input.c:211:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 211 | if (b = getkeypress_select(100, SINGLE_PL)) { - | ^ +make -Ctextgfx draw.c: In function 'drawbl': -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)) - | ^ draw.c:38:33: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 38 | } while (bl & 16-(i <<= 1)); | ~~^~~~~~~~~~ -keyboard.c:41:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 41 | if (i = transl_chr(c, k | PLAYER_2)) - | ^ draw.c: In function 'drawstr': draw.c:63:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 63 | while (p = strchr(str, '\\')) { | ^ -keyboard.c: In function 'kb_getpress': -keyboard.c:81:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 81 | if (c = transl_input(s, flags)) - | ^ -keyboard.c:91:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 89 | if (!(flags & IN_GAME) || c <= MVDOWN - | ~~~~~~~~~~~ - 90 | #ifdef TWOPLAYER - | ~~~~~~~~~~~~~~~~ - 91 | && (flags & SINGLE_PL || inputdevs_player[0] || - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 92 | !keys_1p.menu_keys[c-MVLEFT]) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -keyboard.c: In function 'rmkey': -keyboard.c:155:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 155 | if (old = transl_strict(input, flags)) - | ^~~ -keyboard.c:158:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 158 | if (old = transl_strict(input, flags)) - | ^~~ -keyboard.c: In function 'test_fallback': -keyboard.c:211:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 211 | || pl==PLAYER_2 && inputdevs_player[0] != 2 - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -keyboard.c:218:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 218 | pl == (keypr & (PLAYER_1 | PLAYER_2)) && - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ - 219 | #endif - | ~~~~~~ - 220 | k == (keypr & 63); - | ~~~~~~~~~~~~~~~~~ +make[3]: Entering directory '/build/reproducible-path/vitetris-0.59.1/src/textgfx' +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c block.c draw.c: In function 'drawblocks': draw.c:378:41: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 378 | } while (bl & 16-(i <<= 1)); @@ -676,6 +657,7 @@ draw.c: In function 'upddropmark': draw.c:457:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 457 | pl==2 && game->mode & MODE_NETWORK) +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw_menu.c In function 'decodehiscore_name', inlined from 'decodehiscore' at hiscore.c:183:10, inlined from 'readhiscores_fp' at hiscore.c:232:7: @@ -687,9 +669,24 @@ hiscore.h:5:14: note: at offset 8 into destination object 'name' of size 8 5 | char name[8]; | ^~~~ +input.c: In function 'key_is_valid': +input.c:173:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 171 | c > MVRIGHT && + | ~~~~~~~~~~~~~~ + 172 | (c > MVDOWN || keypr & IN_GAME) && + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 173 | c != STARTBTN && c != '\t'; + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +input.c: In function 'setkeymapping_keybd': +input.c:182:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 182 | if (c = getkeypress_select(100, SINGLE_PL)) + | ^ +input.c: In function 'setkeymapping_js': +input.c:211:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 211 | if (b = getkeypress_select(100, SINGLE_PL)) { + | ^ aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c win.c -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c print.c -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm.c +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c draw2p.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); @@ -708,14 +705,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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 || - | ~~~~~~~~~^~~~~~~~~~~ +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm.c +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c dropdown.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); @@ -727,6 +718,7 @@ 98 | int readbytes(char *buf, int n); | ~~~~~~^~~ comm.c: In function 'sock_getkeypress': +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c print.c comm.c:394:24: warning: pointer targets in passing argument 1 of 'readbytes' differ in signedness [-Wpointer-sign] 394 | if (!readbytes(&b, 1)) | ^~ @@ -772,13 +764,109 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 489 | hitbtm(&player2.piece, &player2)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joystick.c -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c dropdown.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 || + | ~~~~~~~~~^~~~~~~~~~~ +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw2p_menu.c aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c ibmgfx.c -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c playerin.c aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c ansi.c -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DJOYSTICK=1 -DSOCKET=1 -c inp_unixterm.c +comm.c:98:17: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] + 98 | strncpy(s+1, my_name+i, 16); + | ^ +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c ansi_win.c +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -DJOYSTICK=1 -c inputset.c +ansi.c: In function 'put_ch': +ansi.c:247:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 247 | if (ch == (' '|0x100) || ch == TEXTURE2 && !_LINUX_TERM) +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)) { + | ~~~~~~~~^~~~~ +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c term.c +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c inputdev.c +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")) + | ^ +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DTERM_RESIZING=1 -DSOCKET=1 -c resize.c +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -c gamemenu.c +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c inet.c +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm_inet.c +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c keyboard.c +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joystick.c +comm_inet.c: In function 'reconnect_server': +comm_inet.c:39:14: warning: unused variable 'b' [-Wunused-variable] + 39 | char b; + | ^ +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 | )) + | ~ +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)) + | ^ +keyboard.c:41:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 41 | if (i = transl_chr(c, k | PLAYER_2)) + | ^ +keyboard.c: In function 'kb_getpress': +keyboard.c:81:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 81 | if (c = transl_input(s, flags)) + | ^ +keyboard.c:91:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 89 | if (!(flags & IN_GAME) || c <= MVDOWN + | ~~~~~~~~~~~ + 90 | #ifdef TWOPLAYER + | ~~~~~~~~~~~~~~~~ + 91 | && (flags & SINGLE_PL || inputdevs_player[0] || + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 92 | !keys_1p.menu_keys[c-MVLEFT]) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +keyboard.c: In function 'rmkey': +keyboard.c:155:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 155 | if (old = transl_strict(input, flags)) + | ^~~ +keyboard.c:158:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 158 | if (old = transl_strict(input, flags)) + | ^~~ +keyboard.c: In function 'test_fallback': +keyboard.c:211:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 211 | || pl==PLAYER_2 && inputdevs_player[0] != 2 + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +keyboard.c:218:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 218 | pl == (keypr & (PLAYER_1 | PLAYER_2)) && + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ + 219 | #endif + | ~~~~~~ + 220 | k == (keypr & 63); + | ~~~~~~~~~~~~~~~~~ +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; + | ^ aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DJOYSTICK=1 -DSOCKET=1 -c game.c +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c playerin.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)) @@ -789,24 +877,33 @@ 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)) { -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -c ansi_win.c -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c term.c -ansi.c: In function 'put_ch': -ansi.c:247:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 247 | if (ch == (' '|0x100) || ch == TEXTURE2 && !_LINUX_TERM) +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c wonlost.c +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c gm_2p.c +ar dc netw.a no_inet.o +ar rs netw.a socket.o comm.o inet.o comm_inet.o +make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/netw' +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gm_sock.c +wonlost.c: In function 'upd_wonlost_stats': +wonlost.c:106:19: warning: unused variable 'val' [-Wunused-variable] + 106 | union val val; + | ^~~ +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c hslist.c +rm -f textgfx.a +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gameover.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) { + | ~~~~~^~~~~~ +aarch64-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 -mbranch-protection=standard -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()) { + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +ar rcs textgfx.a block.o win.o print.o ibmgfx.o ansi.o ansi_win.o term.o resize.o +make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/textgfx' aarch64-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 -mbranch-protection=standard -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); - | ^ -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DTERM_RESIZING=1 -DSOCKET=1 -c resize.c -term.c: In function 'gettermsize': -term.c:53: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")) - | ^ -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -DJOYSTICK=1 -c inputset.c +aarch64-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 -mbranch-protection=standard -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 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()) @@ -829,73 +926,6 @@ escseq.c:157:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 157 | while (e = hd->next) { | ^ -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)) { - | ~~~~~~~~^~~~~ -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c wonlost.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 | )) - | ~ -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c select.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); - | ^~ -joystick.c:226:31: note: directive argument in the range [26, 2147483599] - 226 | sprintf(name, "%d", btn); - | ^~~~ -In file included from /usr/include/stdio.h:970, - from joystick.c:1: -In function 'sprintf', - inlined from 'js_btnname' at joystick.c:226:3: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 4 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -wonlost.c: In function 'upd_wonlost_stats': -wonlost.c:106:19: warning: unused variable 'val' [-Wunused-variable] - 106 | union val val; - | ^~~ -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c inet.c -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joylinux.c -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c comm_inet.c -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw_menu.c -joylinux.c: In function 'set_devname': -joylinux.c:27:1: warning: no return statement in function returning non-void [-Wreturn-type] - 27 | } - | ^ -rm -f textgfx.a -joylinux.c: In function 'releasebtn': -joylinux.c:193:71: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] - 193 | js->pressedbtns |= (btns & ~0x7F) << i-8; - | ~^~ -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); - | ~~~~~~~~~^~~~~~~ -ar rcs textgfx.a block.o win.o print.o ibmgfx.o ansi.o ansi_win.o term.o resize.o -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c draw2p.c -comm_inet.c: In function 'reconnect_server': -comm_inet.c:39:14: warning: unused variable 'b' [-Wunused-variable] - 39 | char b; - | ^ -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c draw2p_menu.c -make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/textgfx' -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c inputdev.c -aarch64-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 -mbranch-protection=standard -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); | ^~ @@ -914,44 +944,36 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c gm_2p.c -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gm_sock.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; - | ^ -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c hslist.c -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c gameover.c -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c startup.c -DINET=1 +ar: creating draw.a +make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/draw' aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c invit.c -ar dc netw.a no_inet.o +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c netplay.c +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -c select.c +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c optsmenu.c +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c joylinux.c gameover.c: In function 'hiscore_editname': -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) { - | ~~~~~^~~~~~ 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)) | ^ -gm_sock.c: In function 'gamemenu_socket': -gm_sock.c:233:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 233 | playerlist_n > 0 && reconnect_server()) { - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -ar rs netw.a socket.o comm.o inet.o comm_inet.o gameover.c: In function 'hiscore_congrats': gameover.c:230:1: warning: control reaches end of non-void function [-Wreturn-type] 230 | } | ^ -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c netplay.c -make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/netw' +aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c blockstyle.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 '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); @@ -970,34 +992,48 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DTWOPLAYER=1 -c optsmenu.c -ar rs draw.a draw.o draw_menu.o draw2p.o draw2p_menu.o -aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c blockstyle.c -rm -f input.a -ar: creating draw.a -make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/draw' +joylinux.c: In function 'set_devname': +joylinux.c:27:1: warning: no return statement in function returning non-void [-Wreturn-type] + 27 | } + | ^ +joylinux.c: In function 'releasebtn': +joylinux.c:193:71: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] + 193 | js->pressedbtns |= (btns & ~0x7F) << i-8; + | ~^~ +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); + | ~~~~~~~~~^~~~~~~ aarch64-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 -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -DTWOPLAYER=1 -DINET=1 -c men_ansi.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); + | ^~ +joystick.c:226:31: note: directive argument in the range [26, 2147483599] + 226 | sprintf(name, "%d", btn); + | ^~~~ +In file included from /usr/include/stdio.h:970, + from joystick.c:1: +In function 'sprintf', + inlined from 'js_btnname' at joystick.c:226:3: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 4 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +ar rs game.a tetris.o tetris2p.o game.o wonlost.o +ar: creating game.a +rm -f menuext.a +ar rcs menuext.a startup.o invit.o netplay.o optsmenu.o blockstyle.o men_ansi.o +make[3]: Leaving directory '/build/reproducible-path/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 -optsmenu.c: In function 'options_menu': make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/input' -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') { - | ~~~~~~~~~^~~~~~~~~~~ ar rs menu.a menucore.o dropdown.o inputset.o inputdev.o gamemenu.o gm_2p.o gm_sock.o hslist.o gameover.o ar: creating menu.a -rm -f menuext.a -ar rcs menuext.a startup.o invit.o netplay.o optsmenu.o blockstyle.o men_ansi.o make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/menu' -ar rs game.a tetris.o tetris2p.o game.o wonlost.o -ar: creating game.a -make[3]: Leaving directory '/build/reproducible-path/vitetris-0.59.1/src/game' mv -f game/game.a . mv -f menu/*.a . mv -f netw/netw.a . @@ -1061,12 +1097,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/4092349/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4092349/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/1825043 and its subdirectories -I: Current time: Tue Dec 16 12:10:02 -12 2025 -I: pbuilder-time-stamp: 1765930202 +I: removing directory /srv/workspace/pbuilder/4092349 and its subdirectories +I: Current time: Thu Nov 14 07:47:35 +14 2024 +I: pbuilder-time-stamp: 1731520055