Diff of the two buildlogs: -- --- b1/build.log 2025-09-23 22:54:28.117302098 +0000 +++ b2/build.log 2025-09-23 22:56:47.761474764 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Oct 26 17:15:24 -12 2026 -I: pbuilder-time-stamp: 1793078124 +I: Current time: Wed Sep 24 12:54:29 +14 2025 +I: pbuilder-time-stamp: 1758668069 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -31,53 +31,85 @@ dpkg-source: info: applying 08_fix-ftbfs-gcc6.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3010008/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2284165/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-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 Sep 23 22:54 /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/2284165/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2284165/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(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=40 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='9f659f6f153c470bb2a18f1ab6c202e5' - 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='3010008' - PS1='# ' - PS2='> ' + INVOCATION_ID=2cba057c35d4476989263bebf8501637 + 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=2284165 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.UL2ufzKn/pbuilderrc_O1ep --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.UL2ufzKn/b1 --logfile b1/build.log bomberclone_0.11.9-7.2.dsc' - SUDO_GID='111' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.UL2ufzKn/pbuilderrc_dZ7v --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.UL2ufzKn/b2 --logfile b2/build.log bomberclone_0.11.9-7.2.dsc' + SUDO_GID=110 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3010008/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2284165/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -383,7 +415,7 @@ Get: 256 http://deb.debian.org/debian unstable/main amd64 libsdl-mixer1.2 amd64 1.2.12-19+b1 [81.6 kB] Get: 257 http://deb.debian.org/debian unstable/main amd64 libvorbis-dev amd64 1.3.7-3 [325 kB] Get: 258 http://deb.debian.org/debian unstable/main amd64 libsdl-mixer1.2-dev amd64 1.2.12-19+b1 [97.9 kB] -Fetched 114 MB in 3s (38.8 MB/s) +Fetched 114 MB in 1s (77.3 MB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:amd64. (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 ... 19917 files and directories currently installed.) @@ -1219,8 +1251,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Oct 27 05:16:50 UTC 2026. -Universal Time is now: Tue Oct 27 05:16:50 UTC 2026. +Local time is now: Tue Sep 23 22:56:11 UTC 2025. +Universal Time is now: Tue Sep 23 22:56:11 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:amd64 (1.17.0-2+b1) ... @@ -1455,7 +1487,11 @@ fakeroot is already the newest version (1.37.1.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/bomberclone-0.11.9/ && 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 > ../bomberclone_0.11.9-7.2_source.changes +I: user script /srv/workspace/pbuilder/2284165/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2284165/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/bomberclone-0.11.9/ && 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 > ../bomberclone_0.11.9-7.2_source.changes dpkg-buildpackage: info: source package bomberclone dpkg-buildpackage: info: source version 0.11.9-7.2 dpkg-buildpackage: info: source distribution unstable @@ -1652,7 +1688,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/bomberclone-0.11.9' dh_auto_build - make -j42 + make -j40 make[2]: Entering directory '/build/reproducible-path/bomberclone-0.11.9' make all-recursive make[3]: Entering directory '/build/reproducible-path/bomberclone-0.11.9' @@ -1791,68 +1827,6 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bomberclone-0.11.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu17 -ggdb -O0 -Wall -c -o keyb.o keyb.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bomberclone-0.11.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu17 -ggdb -O0 -Wall -c -o playermenu.o playermenu.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bomberclone-0.11.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu17 -ggdb -O0 -Wall -c -o broadcast.o broadcast.c -ogcache-client.c: In function 'ogc_sendgamestatus': -ogcache-client.c:205:35: warning: ' IPv6' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] - 205 | sprintf (data, "%s\tIPv6", data); - | ^~~~~~ -ogcache-client.c:205:17: note: 'sprintf' output between 6 and 1029 bytes into a destination of size 1024 - 205 | sprintf (data, "%s\tIPv6", data); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ogcache-client.c:205:17: warning: 'sprintf' argument 3 overlaps destination object 'data' [-Wrestrict] -ogcache-client.c:198:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 198 | char data[BUF_SIZE]; - | ^~~~ -ogcache-client.c:203:35: warning: ' IPv4' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] - 203 | sprintf (data, "%s\tIPv4", data); - | ^~~~~~ -ogcache-client.c:203:17: note: 'sprintf' output between 6 and 1029 bytes into a destination of size 1024 - 203 | sprintf (data, "%s\tIPv4", data); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ogcache-client.c:203:17: warning: 'sprintf' argument 3 overlaps destination object 'data' [-Wrestrict] -ogcache-client.c:198:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 198 | char data[BUF_SIZE]; - | ^~~~ -ogcache-client.c:206:29: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] - 206 | sprintf (data, "%s\t%d\t%d\t%s", data, curplayers, maxplayers, status); - | ^~ -ogcache-client.c:206:9: note: 'sprintf' output 6 or more bytes (assuming 1029) into a destination of size 1024 - 206 | sprintf (data, "%s\t%d\t%d\t%s", data, curplayers, maxplayers, status); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ogcache-client.c:206:9: warning: 'sprintf' argument 3 overlaps destination object 'data' [-Wrestrict] -ogcache-client.c:198:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 198 | char data[BUF_SIZE]; - | ^~~~ -netsrvlist.c: In function 'srvlist_rebuildlist': -netsrvlist.c:110:47: warning: '%5s' directive writing between 5 and 254 bytes into a region of size between 0 and 234 [-Wformat-overflow=] - 110 | sprintf (txt1, "%-20s %5s %-11s %-4s", txt1,txt2, srvlst_dat[i].version, srvlst_dat[i].comment); - | ^~~ ~~~~ -netsrvlist.c:110:25: note: 'sprintf' output between 45 and 563 bytes into a destination of size 255 - 110 | sprintf (txt1, "%-20s %5s %-11s %-4s", txt1,txt2, srvlst_dat[i].version, srvlst_dat[i].comment); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -netsrvlist.c:110:25: warning: 'sprintf' argument 3 overlaps destination object 'txt1' [-Wrestrict] -netsrvlist.c:33:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 33 | char txt1[255]; - | ^~~~ -netsrvlist.c:107:47: warning: '%-5s' directive writing between 5 and 254 bytes into a region of size between 223 and 239 [-Wformat-overflow=] - 107 | sprintf (txt1, "%-15s %-5s %5s %-11s %-4s", srvlst_dat[i].gamename, txt3, txt2, srvlst_dat[i].version, srvlst_dat[i].comment); - | ^~~~ ~~~~ -netsrvlist.c:107:25: note: 'sprintf' output between 46 and 595 bytes into a destination of size 255 - 107 | sprintf (txt1, "%-15s %-5s %5s %-11s %-4s", srvlst_dat[i].gamename, txt3, txt2, srvlst_dat[i].version, srvlst_dat[i].comment); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -font.c: In function 'font_load': -packets.c: In function 'send_mapinfo': -packets.c:1602:39: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] - 1602 | sprintf (map_pkg.start_speed, "%4f", bman.start_speed); - | ^ -packets.c:1602:5: note: 'sprintf' output between 5 and 318 bytes into a destination of size 8 - 1602 | sprintf (map_pkg.start_speed, "%4f", bman.start_speed); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -packets.c:1603:44: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] - 1603 | sprintf (map_pkg.bomb_tickingtime, "%4f", bman.bomb_tickingtime); - | ^ -packets.c:1603:5: note: 'sprintf' output between 5 and 318 bytes into a destination of size 8 - 1603 | sprintf (map_pkg.bomb_tickingtime, "%4f", bman.bomb_tickingtime); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c: In function 'gfx_get_nr_of_playergfx': gfx.c:28:37: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 28 | sprintf (filename, "%s/player/player%d.png", bman.datapath, i); @@ -1867,24 +1841,26 @@ gfx.c:83:5: note: 'sprintf' output between 18 and 529 bytes into a destination of size 255 83 | sprintf (filename, "%s/player/dead0.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -font.c:76:39: warning: '/gfx/font' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] - 76 | sprintf (filename, "%s/gfx/font%d.png", bman.datapath, i); - | ^~~~~~~~~ gfx.c:100:25: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 100 | sprintf (filename, "%s/player/playersick.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ gfx.c:100:5: note: 'sprintf' output between 23 and 534 bytes into a destination of size 255 100 | sprintf (filename, "%s/player/playersick.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -font.c:76:36: note: directive argument in the range [0, 2] - 76 | sprintf (filename, "%s/gfx/font%d.png", bman.datapath, i); - | ^~~~~~~~~~~~~~~~~~~ -font.c:76:17: note: 'sprintf' output between 15 and 526 bytes into a destination of size 512 - 76 | sprintf (filename, "%s/gfx/font%d.png", bman.datapath, i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +debug.c: In function 'd_playerstat': gfx.c:115:25: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 115 | sprintf (filename, "%s/player/respawn.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ +debug.c:47:28: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] + 47 | sprintf(text, "%s\n", text); + | ^ +debug.c:47:9: note: 'sprintf' output between 2 and 256 bytes into a destination of size 255 + 47 | sprintf(text, "%s\n", text); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +debug.c:47:9: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] +debug.c:39:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 39 | char text[255]; + | ^~~~ gfx.c:115:5: note: 'sprintf' output between 20 and 531 bytes into a destination of size 255 115 | sprintf (filename, "%s/player/respawn.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1894,13 +1870,46 @@ gfx.c:56:28: note: directive argument in the range [0, 2147483646] 56 | sprintf (filename, "%s/player/player%d.png", bman.datapath, i); | ^~~~~~~~~~~~~~~~~~~~~~~~ +debug.c:56:44: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] + 56 | sprintf(text, "%s\n", text); + | ^ gfx.c:56:9: note: 'sprintf' output between 20 and 540 bytes into a destination of size 255 56 | sprintf (filename, "%s/player/player%d.png", bman.datapath, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +debug.c:56:25: note: 'sprintf' output between 2 and 256 bytes into a destination of size 255 + 56 | sprintf(text, "%s\n", text); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +debug.c:56:25: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] +debug.c:39:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 39 | char text[255]; + | ^~~~ +debug.c:55:59: warning: '%2d' directive writing between 2 and 11 bytes into a region of size between 0 and 254 [-Wformat-overflow=] + 55 | sprintf(text, "%s %2d", text, players[i].gamestats.killedBy[j]); + | ^~~ +debug.c:55:41: note: 'sprintf' output between 4 and 267 bytes into a destination of size 255 + 55 | sprintf(text, "%s %2d", text, players[i].gamestats.killedBy[j]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +debug.c:55:41: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] +debug.c:39:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 39 | char text[255]; + | ^~~~ +debug.c:46:43: warning: '%02d' directive writing 2 bytes into a region of size between 0 and 254 [-Wformat-overflow=] + 46 | sprintf(text, "%s %02d", text, i); + | ^~~~ gfx.c: In function 'gfx_load_menusmall_players': gfx.c:324:29: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 324 | sprintf (filename, "%s/player/ghost.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ +debug.c:46:39: note: directive argument in the range [0, 15] + 46 | sprintf(text, "%s %02d", text, i); + | ^~~~~~~~~ +debug.c:46:25: note: 'sprintf' output between 4 and 258 bytes into a destination of size 255 + 46 | sprintf(text, "%s %02d", text, i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +debug.c:46:25: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] +debug.c:39:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 39 | char text[255]; + | ^~~~ gfx.c:324:9: note: 'sprintf' output between 18 and 529 bytes into a destination of size 255 324 | sprintf (filename, "%s/player/ghost.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1945,9 +1954,16 @@ 435 | sprintf (filename, "%s/tileset/default/%s.png", bman.datapath, ft_filenames[ft]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c: In function 'gfx_loaddata': +mapmenu.c: In function 'mapinfo': gfx.c:193:25: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 193 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ +mapmenu.c:221:39: warning: '%s' directive writing up to 511 bytes into a region of size 241 [-Wformat-overflow=] + 221 | sprintf (text, "Selected Map: %s", map.map); + | ^~ ~~~~~~~ +mapmenu.c:221:9: note: 'sprintf' output between 15 and 526 bytes into a destination of size 255 + 221 | sprintf (text, "Selected Map: %s", map.map); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:193:5: note: 'sprintf' output between 14 and 525 bytes into a destination of size 255 193 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1957,45 +1973,39 @@ gfx.c:260:5: note: 'sprintf' output between 20 and 531 bytes into a destination of size 255 260 | sprintf (filename, "%s/gfx/menuselect.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mapmenu.c: In function 'mapmenu': +mapmenu.c:126:35: warning: '/tileset' directive writing 8 bytes into a region of size between 1 and 512 [-Wformat-overflow=] + 126 | sprintf (pathname, "%s/tileset", bman.datapath); + | ^~~~~~~~ +mapmenu.c:126:13: note: 'sprintf' output between 9 and 520 bytes into a destination of size 512 + 126 | sprintf (pathname, "%s/tileset", bman.datapath); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mapmenu.c:115:35: warning: '/maps' directive writing 5 bytes into a region of size between 1 and 512 [-Wformat-overflow=] + 115 | sprintf (pathname, "%s/maps", bman.datapath); + | ^~~~~ +mapmenu.c:115:13: note: 'sprintf' output between 6 and 517 bytes into a destination of size 512 + 115 | sprintf (pathname, "%s/maps", bman.datapath); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mapmenu.c:122:38: warning: '/maps/' directive writing 6 bytes into a region of size between 1 and 512 [-Wformat-overflow=] + 122 | sprintf (map.map, "%s/maps/%s", bman.datapath, mapname); + | ^~~~~~ +mapmenu.c:122:17: note: 'sprintf' output 7 or more bytes (assuming 518) into a destination of size 512 + 122 | sprintf (map.map, "%s/maps/%s", bman.datapath, mapname); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:248:45: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 248 | sprintf (filename, "%s/gfx/menulist%d_%d.png", bman.datapath, j, i); | ^~ ~~~~~~~~~~~~~ gfx.c:248:44: note: directive argument in the range [0, 1] 248 | sprintf (filename, "%s/gfx/menulist%d_%d.png", bman.datapath, j, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +pkgcache.c: In function 'rscache_loop': +pkgcache.c:93:49: warning: taking address of packed member of 'struct _rscache_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] + 93 | &rscache.entry[i].addr.sAddr, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:248:44: note: directive argument in the range [0, 8] gfx.c:248:25: note: 'sprintf' output between 21 and 532 bytes into a destination of size 255 248 | sprintf (filename, "%s/gfx/menulist%d_%d.png", bman.datapath, j, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gfx.c:234:45: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] - 234 | sprintf (filename, "%s/gfx/menuentry%d_%d.png", bman.datapath, j, i); - | ^~ ~~~~~~~~~~~~~ -gfx.c:234:44: note: directive argument in the range [0, 1] - 234 | sprintf (filename, "%s/gfx/menuentry%d_%d.png", bman.datapath, j, i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -gfx.c:234:44: note: directive argument in the range [0, 2] -gfx.c:234:25: note: 'sprintf' output between 22 and 533 bytes into a destination of size 255 - 234 | sprintf (filename, "%s/gfx/menuentry%d_%d.png", bman.datapath, j, i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gfx.c:220:45: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] - 220 | sprintf (filename, "%s/gfx/menubutton%d_%d.png", bman.datapath, j, i); - | ^~ ~~~~~~~~~~~~~ -gfx.c:220:44: note: directive argument in the range [0, 2] - 220 | sprintf (filename, "%s/gfx/menubutton%d_%d.png", bman.datapath, j, i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gfx.c:220:44: note: directive argument in the range [0, 2] -gfx.c:220:25: note: 'sprintf' output between 23 and 534 bytes into a destination of size 255 - 220 | sprintf (filename, "%s/gfx/menubutton%d_%d.png", bman.datapath, j, i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gfx.c:209:37: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] - 209 | sprintf (filename, "%s/gfx/menu%d.png", bman.datapath, i); - | ^~ ~~~~~~~~~~~~~ -gfx.c:209:36: note: directive argument in the range [0, 8] - 209 | sprintf (filename, "%s/gfx/menu%d.png", bman.datapath, i); - | ^~~~~~~~~~~~~~~~~~~ -gfx.c:209:17: note: 'sprintf' output between 15 and 526 bytes into a destination of size 255 - 209 | sprintf (filename, "%s/gfx/menu%d.png", bman.datapath, i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tileset.c: In function 'tileset_random': tileset.c:38:23: warning: '/tileset' directive writing 8 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 38 | sprintf (path, "%s/tileset", bman.datapath); @@ -2003,6 +2013,12 @@ tileset.c:38:5: note: 'sprintf' output between 9 and 520 bytes into a destination of size 512 38 | sprintf (path, "%s/tileset", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gfx.c:234:45: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] + 234 | sprintf (filename, "%s/gfx/menuentry%d_%d.png", bman.datapath, j, i); + | ^~ ~~~~~~~~~~~~~ +gfx.c:234:44: note: directive argument in the range [0, 1] + 234 | sprintf (filename, "%s/gfx/menuentry%d_%d.png", bman.datapath, j, i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tileset.c: In function 'tileset_load': tileset.c:109:27: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 109 | sprintf (fullname, "%s/tileset/%s/fire.png", bman.datapath, tileset); @@ -2058,80 +2074,23 @@ tileset.c:170:13: note: 'sprintf' output between 18 and 592 bytes into a destination of size 512 170 | sprintf (fullname, "%s/tileset/default/%s", bman.datapath, filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -debug.c: In function 'd_playerstat': -debug.c:47:28: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] - 47 | sprintf(text, "%s\n", text); - | ^ -debug.c:47:9: note: 'sprintf' output between 2 and 256 bytes into a destination of size 255 - 47 | sprintf(text, "%s\n", text); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -debug.c:47:9: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] -debug.c:39:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 39 | char text[255]; - | ^~~~ -debug.c:56:44: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] - 56 | sprintf(text, "%s\n", text); - | ^ -debug.c:56:25: note: 'sprintf' output between 2 and 256 bytes into a destination of size 255 - 56 | sprintf(text, "%s\n", text); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -debug.c:56:25: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] -debug.c:39:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 39 | char text[255]; - | ^~~~ -debug.c:55:59: warning: '%2d' directive writing between 2 and 11 bytes into a region of size between 0 and 254 [-Wformat-overflow=] - 55 | sprintf(text, "%s %2d", text, players[i].gamestats.killedBy[j]); - | ^~~ -debug.c:55:41: note: 'sprintf' output between 4 and 267 bytes into a destination of size 255 - 55 | sprintf(text, "%s %2d", text, players[i].gamestats.killedBy[j]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -debug.c:55:41: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] -debug.c:39:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 39 | char text[255]; - | ^~~~ -debug.c:46:43: warning: '%02d' directive writing 2 bytes into a region of size between 0 and 254 [-Wformat-overflow=] - 46 | sprintf(text, "%s %02d", text, i); - | ^~~~ -debug.c:46:39: note: directive argument in the range [0, 15] - 46 | sprintf(text, "%s %02d", text, i); - | ^~~~~~~~~ -debug.c:46:25: note: 'sprintf' output between 4 and 258 bytes into a destination of size 255 - 46 | sprintf(text, "%s %02d", text, i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -debug.c:46:25: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] -debug.c:39:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 39 | char text[255]; - | ^~~~ -mapmenu.c: In function 'mapinfo': -mapmenu.c:221:39: warning: '%s' directive writing up to 511 bytes into a region of size 241 [-Wformat-overflow=] - 221 | sprintf (text, "Selected Map: %s", map.map); - | ^~ ~~~~~~~ -mapmenu.c:221:9: note: 'sprintf' output between 15 and 526 bytes into a destination of size 255 - 221 | sprintf (text, "Selected Map: %s", map.map); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mapmenu.c: In function 'mapmenu': -mapmenu.c:126:35: warning: '/tileset' directive writing 8 bytes into a region of size between 1 and 512 [-Wformat-overflow=] - 126 | sprintf (pathname, "%s/tileset", bman.datapath); - | ^~~~~~~~ -mapmenu.c:126:13: note: 'sprintf' output between 9 and 520 bytes into a destination of size 512 - 126 | sprintf (pathname, "%s/tileset", bman.datapath); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mapmenu.c:115:35: warning: '/maps' directive writing 5 bytes into a region of size between 1 and 512 [-Wformat-overflow=] - 115 | sprintf (pathname, "%s/maps", bman.datapath); - | ^~~~~ -mapmenu.c:115:13: note: 'sprintf' output between 6 and 517 bytes into a destination of size 512 - 115 | sprintf (pathname, "%s/maps", bman.datapath); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mapmenu.c:122:38: warning: '/maps/' directive writing 6 bytes into a region of size between 1 and 512 [-Wformat-overflow=] - 122 | sprintf (map.map, "%s/maps/%s", bman.datapath, mapname); - | ^~~~~~ -mapmenu.c:122:17: note: 'sprintf' output 7 or more bytes (assuming 518) into a destination of size 512 - 122 | sprintf (map.map, "%s/maps/%s", bman.datapath, mapname); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pkgcache.c: In function 'rscache_loop': -pkgcache.c:93:49: warning: taking address of packed member of 'struct _rscache_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] - 93 | &rscache.entry[i].addr.sAddr, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gfx.c:234:44: note: directive argument in the range [0, 2] +gfx.c:234:25: note: 'sprintf' output between 22 and 533 bytes into a destination of size 255 + 234 | sprintf (filename, "%s/gfx/menuentry%d_%d.png", bman.datapath, j, i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gfx.c:220:45: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] + 220 | sprintf (filename, "%s/gfx/menubutton%d_%d.png", bman.datapath, j, i); + | ^~ ~~~~~~~~~~~~~ +gfx.c:220:44: note: directive argument in the range [0, 2] + 220 | sprintf (filename, "%s/gfx/menubutton%d_%d.png", bman.datapath, j, i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gfx.c:220:44: note: directive argument in the range [0, 2] +gfx.c:220:25: note: 'sprintf' output between 23 and 534 bytes into a destination of size 255 + 220 | sprintf (filename, "%s/gfx/menubutton%d_%d.png", bman.datapath, j, i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gfx.c:209:37: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] + 209 | sprintf (filename, "%s/gfx/menu%d.png", bman.datapath, i); + | ^~ ~~~~~~~~~~~~~ chat.c: In function 'chat_loop': chat.c:239:33: warning: '%s' directive writing up to 254 bytes into a region of size between 238 and 253 [-Wformat-overflow=] 239 | sprintf (text, "%s: %s", bman.playername, chat.input.text); @@ -2139,6 +2098,12 @@ chat.c:239:13: note: 'sprintf' output between 3 and 272 bytes into a destination of size 255 239 | sprintf (text, "%s: %s", bman.playername, chat.input.text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gfx.c:209:36: note: directive argument in the range [0, 8] + 209 | sprintf (filename, "%s/gfx/menu%d.png", bman.datapath, i); + | ^~~~~~~~~~~~~~~~~~~ +gfx.c:209:17: note: 'sprintf' output between 15 and 526 bytes into a destination of size 255 + 209 | sprintf (filename, "%s/gfx/menu%d.png", bman.datapath, i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ map.c: In function 'map_random': map.c:281:23: warning: '/maps' directive writing 5 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 281 | sprintf (path, "%s/maps", bman.datapath); @@ -2152,63 +2117,46 @@ map.c:298:9: note: 'sprintf' output between 7 and 581 bytes into a destination of size 512 298 | sprintf (map.map, "%s/maps/%s", bman.datapath, desel->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -playermenu.c: In function 'playermenu_getflags': -playermenu.c:374:17: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] - 374 | sprintf (text, "%sNET_FW ", text); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -playermenu.c:371:33: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 371 | void playermenu_getflags (char *text, _player *player) { - | ~~~~~~^~~~ -playermenu.c:376:17: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] - 376 | sprintf (text, "%sNET_2P ", text); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -playermenu.c:371:33: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 371 | void playermenu_getflags (char *text, _player *player) { - | ~~~~~~^~~~ -playermenu.c:378:17: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] - 378 | sprintf (text, "%sPSF_NET ", text); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -playermenu.c:371:33: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 371 | void playermenu_getflags (char *text, _player *player) { - | ~~~~~~^~~~ -playermenu.c:380:17: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] - 380 | sprintf (text, "%sPSF_AI ", text); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -playermenu.c:371:33: note: destination object referenced by 'restrict'-qualified argument 1 was declared here - 371 | void playermenu_getflags (char *text, _player *player) { - | ~~~~~~^~~~ -sound.c: In function 'snd_load': -sound.c:151:31: warning: '/music' directive writing 6 bytes into a region of size between 1 and 512 [-Wformat-overflow=] - 151 | sprintf (fullname, "%s/music", bman.datapath); - | ^~~~~~ -sound.c:151:9: note: 'sprintf' output between 7 and 518 bytes into a destination of size 512 - 151 | sprintf (fullname, "%s/music", bman.datapath); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sound.c:167:39: warning: '/music/' directive writing 7 bytes into a region of size between 1 and 512 [-Wformat-overflow=] - 167 | sprintf (fullname, "%s/music/%s", bman.datapath, desel->name); - | ^~~~~~~ -sound.c:167:17: note: 'sprintf' output between 8 and 582 bytes into a destination of size 512 - 167 | sprintf (fullname, "%s/music/%s", bman.datapath, desel->name); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sound.c:141:31: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] - 141 | sprintf (fullname, "%s/tileset/%s/%s", bman.datapath, tilesetname, filename); - | ^~~~~~~~~ -sound.c:141:9: note: 'sprintf' output 11 or more bytes (assuming 585) into a destination of size 512 - 141 | sprintf (fullname, "%s/tileset/%s/%s", bman.datapath, tilesetname, filename); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sound.c:143:35: warning: '/tileset/default/' directive writing 17 bytes into a region of size between 1 and 512 [-Wformat-overflow=] - 143 | sprintf (fullname, "%s/tileset/default/%s", bman.datapath, filename); - | ^~~~~~~~~~~~~~~~~ -sound.c:143:13: note: 'sprintf' output between 18 and 592 bytes into a destination of size 512 - 143 | sprintf (fullname, "%s/tileset/default/%s", bman.datapath, filename); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -keyb.c: In function 'keyb_config_joypad': -keyb.c:225:38: warning: 'event.type' may be used uninitialized [-Wmaybe-uninitialized] - 225 | switch (event.type) { - | ~~~~~^~~~~ -keyb.c:182:19: note: 'event' declared here - 182 | SDL_Event event; - | ^~~~~ +font.c: In function 'font_load': +font.c:76:39: warning: '/gfx/font' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] + 76 | sprintf (filename, "%s/gfx/font%d.png", bman.datapath, i); + | ^~~~~~~~~ +font.c:76:36: note: directive argument in the range [0, 2] + 76 | sprintf (filename, "%s/gfx/font%d.png", bman.datapath, i); + | ^~~~~~~~~~~~~~~~~~~ +font.c:76:17: note: 'sprintf' output between 15 and 526 bytes into a destination of size 512 + 76 | sprintf (filename, "%s/gfx/font%d.png", bman.datapath, i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +netsrvlist.c: In function 'srvlist_rebuildlist': +netsrvlist.c:110:47: warning: '%5s' directive writing between 5 and 254 bytes into a region of size between 0 and 234 [-Wformat-overflow=] + 110 | sprintf (txt1, "%-20s %5s %-11s %-4s", txt1,txt2, srvlst_dat[i].version, srvlst_dat[i].comment); + | ^~~ ~~~~ +netsrvlist.c:110:25: note: 'sprintf' output between 45 and 563 bytes into a destination of size 255 + 110 | sprintf (txt1, "%-20s %5s %-11s %-4s", txt1,txt2, srvlst_dat[i].version, srvlst_dat[i].comment); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +netsrvlist.c:110:25: warning: 'sprintf' argument 3 overlaps destination object 'txt1' [-Wrestrict] +netsrvlist.c:33:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 33 | char txt1[255]; + | ^~~~ +netsrvlist.c:107:47: warning: '%-5s' directive writing between 5 and 254 bytes into a region of size between 223 and 239 [-Wformat-overflow=] + 107 | sprintf (txt1, "%-15s %-5s %5s %-11s %-4s", srvlst_dat[i].gamename, txt3, txt2, srvlst_dat[i].version, srvlst_dat[i].comment); + | ^~~~ ~~~~ +netsrvlist.c:107:25: note: 'sprintf' output between 46 and 595 bytes into a destination of size 255 + 107 | sprintf (txt1, "%-15s %-5s %5s %-11s %-4s", srvlst_dat[i].gamename, txt3, txt2, srvlst_dat[i].version, srvlst_dat[i].comment); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +packets.c: In function 'send_mapinfo': +packets.c:1602:39: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] + 1602 | sprintf (map_pkg.start_speed, "%4f", bman.start_speed); + | ^ +packets.c:1602:5: note: 'sprintf' output between 5 and 318 bytes into a destination of size 8 + 1602 | sprintf (map_pkg.start_speed, "%4f", bman.start_speed); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +packets.c:1603:44: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] + 1603 | sprintf (map_pkg.bomb_tickingtime, "%4f", bman.bomb_tickingtime); + | ^ +packets.c:1603:5: note: 'sprintf' output between 5 and 318 bytes into a destination of size 8 + 1603 | sprintf (map_pkg.bomb_tickingtime, "%4f", bman.bomb_tickingtime); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configuration.c: In function 'config_get_datapath': configuration.c:31:25: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 31 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); @@ -2241,6 +2189,94 @@ configuration.c:70:9: note: 'sprintf' output between 7 and 17 bytes into a destination of size 16 70 | sprintf (teams[i].name, "Team %d", i + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ogcache-client.c: In function 'ogc_sendgamestatus': +ogcache-client.c:205:35: warning: ' IPv6' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] + 205 | sprintf (data, "%s\tIPv6", data); + | ^~~~~~ +ogcache-client.c:205:17: note: 'sprintf' output between 6 and 1029 bytes into a destination of size 1024 + 205 | sprintf (data, "%s\tIPv6", data); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ogcache-client.c:205:17: warning: 'sprintf' argument 3 overlaps destination object 'data' [-Wrestrict] +ogcache-client.c:198:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 198 | char data[BUF_SIZE]; + | ^~~~ +ogcache-client.c:203:35: warning: ' IPv4' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] + 203 | sprintf (data, "%s\tIPv4", data); + | ^~~~~~ +ogcache-client.c:203:17: note: 'sprintf' output between 6 and 1029 bytes into a destination of size 1024 + 203 | sprintf (data, "%s\tIPv4", data); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ogcache-client.c:203:17: warning: 'sprintf' argument 3 overlaps destination object 'data' [-Wrestrict] +ogcache-client.c:198:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 198 | char data[BUF_SIZE]; + | ^~~~ +ogcache-client.c:206:29: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] + 206 | sprintf (data, "%s\t%d\t%d\t%s", data, curplayers, maxplayers, status); + | ^~ +ogcache-client.c:206:9: note: 'sprintf' output 6 or more bytes (assuming 1029) into a destination of size 1024 + 206 | sprintf (data, "%s\t%d\t%d\t%s", data, curplayers, maxplayers, status); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ogcache-client.c:206:9: warning: 'sprintf' argument 3 overlaps destination object 'data' [-Wrestrict] +ogcache-client.c:198:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 198 | char data[BUF_SIZE]; + | ^~~~ +sound.c: In function 'snd_load': +sound.c:151:31: warning: '/music' directive writing 6 bytes into a region of size between 1 and 512 [-Wformat-overflow=] + 151 | sprintf (fullname, "%s/music", bman.datapath); + | ^~~~~~ +sound.c:151:9: note: 'sprintf' output between 7 and 518 bytes into a destination of size 512 + 151 | sprintf (fullname, "%s/music", bman.datapath); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sound.c:167:39: warning: '/music/' directive writing 7 bytes into a region of size between 1 and 512 [-Wformat-overflow=] + 167 | sprintf (fullname, "%s/music/%s", bman.datapath, desel->name); + | ^~~~~~~ +sound.c:167:17: note: 'sprintf' output between 8 and 582 bytes into a destination of size 512 + 167 | sprintf (fullname, "%s/music/%s", bman.datapath, desel->name); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sound.c:141:31: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] + 141 | sprintf (fullname, "%s/tileset/%s/%s", bman.datapath, tilesetname, filename); + | ^~~~~~~~~ +sound.c:141:9: note: 'sprintf' output 11 or more bytes (assuming 585) into a destination of size 512 + 141 | sprintf (fullname, "%s/tileset/%s/%s", bman.datapath, tilesetname, filename); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sound.c:143:35: warning: '/tileset/default/' directive writing 17 bytes into a region of size between 1 and 512 [-Wformat-overflow=] + 143 | sprintf (fullname, "%s/tileset/default/%s", bman.datapath, filename); + | ^~~~~~~~~~~~~~~~~ +sound.c:143:13: note: 'sprintf' output between 18 and 592 bytes into a destination of size 512 + 143 | sprintf (fullname, "%s/tileset/default/%s", bman.datapath, filename); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +keyb.c: In function 'keyb_config_joypad': +keyb.c:225:38: warning: 'event.type' may be used uninitialized [-Wmaybe-uninitialized] + 225 | switch (event.type) { + | ~~~~~^~~~~ +keyb.c:182:19: note: 'event' declared here + 182 | SDL_Event event; + | ^~~~~ +playermenu.c: In function 'playermenu_getflags': +playermenu.c:374:17: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] + 374 | sprintf (text, "%sNET_FW ", text); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +playermenu.c:371:33: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 371 | void playermenu_getflags (char *text, _player *player) { + | ~~~~~~^~~~ +playermenu.c:376:17: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] + 376 | sprintf (text, "%sNET_2P ", text); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +playermenu.c:371:33: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 371 | void playermenu_getflags (char *text, _player *player) { + | ~~~~~~^~~~ +playermenu.c:378:17: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] + 378 | sprintf (text, "%sPSF_NET ", text); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +playermenu.c:371:33: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 371 | void playermenu_getflags (char *text, _player *player) { + | ~~~~~~^~~~ +playermenu.c:380:17: warning: 'sprintf' argument 3 overlaps destination object 'text' [-Wrestrict] + 380 | sprintf (text, "%sPSF_AI ", text); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +playermenu.c:371:33: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 371 | void playermenu_getflags (char *text, _player *player) { + | ~~~~~~^~~~ gcc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bomberclone-0.11.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu17 -ggdb -O0 -Wall -Wl,-z,relro -ggdb -o bomberclone main.o bomb.o debug.o packets.o font.o gfx.o gfxengine.o gfxpixelimage.o player.o game.o netmenu.o network.o netsrvlist.o udp.o menu.o menubools.o menubuttons.o menuentrys.o menulabels.o menulists.o menuimages.o map.o mapmenu.o tileset.o field.o sysfunc.o configuration.o pkgcache.o chat.o multiwait.o keybinput.o single.o special.o sound.o ogcache-client.o flyingitems.o help.o playerinput.o keyb.o playermenu.o broadcast.o -lm -lSDL_image -lSDL -lpng -ljpeg -lSDL_mixer make[4]: Leaving directory '/build/reproducible-path/bomberclone-0.11.9/src' make[4]: Entering directory '/build/reproducible-path/bomberclone-0.11.9' @@ -2250,7 +2286,7 @@ docbook-to-man debian/bomberclone.sgml > debian/bomberclone.6 make[1]: Leaving directory '/build/reproducible-path/bomberclone-0.11.9' dh_auto_test - make -j42 check TESTSUITEFLAGS="-j42 --verbose" VERBOSE=1 + make -j40 check TESTSUITEFLAGS="-j40 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/bomberclone-0.11.9' Making check in data make[2]: Entering directory '/build/reproducible-path/bomberclone-0.11.9/data' @@ -2355,7 +2391,7 @@ dh_prep dh_installdirs dh_auto_install - make -j42 install DESTDIR=/build/reproducible-path/bomberclone-0.11.9/debian/tmp AM_UPDATE_INFO_DIR=no + make -j40 install DESTDIR=/build/reproducible-path/bomberclone-0.11.9/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/bomberclone-0.11.9' Making install in data make[2]: Entering directory '/build/reproducible-path/bomberclone-0.11.9/data' @@ -2578,12 +2614,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/2284165/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2284165/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/3010008 and its subdirectories -I: Current time: Mon Oct 26 17:17:27 -12 2026 -I: pbuilder-time-stamp: 1793078247 +I: removing directory /srv/workspace/pbuilder/2284165 and its subdirectories +I: Current time: Wed Sep 24 12:56:47 +14 2025 +I: pbuilder-time-stamp: 1758668207