Diff of the two buildlogs: -- --- b1/build.log 2025-10-22 09:45:32.643490226 +0000 +++ b2/build.log 2025-10-22 09:47:53.599579821 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Oct 21 21:38:06 -12 2025 -I: pbuilder-time-stamp: 1761125886 +I: Current time: Wed Nov 25 06:08:31 +14 2026 +I: pbuilder-time-stamp: 1795536511 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-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/2501941/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3943832/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 Nov 24 16:09 /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/3943832/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3943832/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=40 ' - DISTRIBUTION='forky' - 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=42 ' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='439e9b87ad92459b9e83b2c30f624381' - 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='2501941' - PS1='# ' - PS2='> ' + INVOCATION_ID=efeb7bd7d3164b3fb77783a62a1ac9a1 + 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=3943832 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.9Ug0U8ni/pbuilderrc_xqUg --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.9Ug0U8ni/b1 --logfile b1/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+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.9Ug0U8ni/pbuilderrc_3JZ7 --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.9Ug0U8ni/b2 --logfile b2/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-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-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 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2501941/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3943832/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 forky/main amd64 libsdl-mixer1.2 amd64 1.2.12-19+b1 [81.6 kB] Get: 257 http://deb.debian.org/debian forky/main amd64 libvorbis-dev amd64 1.3.7-3 [325 kB] Get: 258 http://deb.debian.org/debian forky/main amd64 libsdl-mixer1.2-dev amd64 1.2.12-19+b1 [97.9 kB] -Fetched 114 MB in 2s (64.5 MB/s) +Fetched 114 MB in 4s (25.5 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 ... 19898 files and directories currently installed.) @@ -1219,8 +1251,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Oct 22 09:44:47 UTC 2025. -Universal Time is now: Wed Oct 22 09:44:47 UTC 2025. +Local time is now: Tue Nov 24 16:10:21 UTC 2026. +Universal Time is now: Tue Nov 24 16:10:21 UTC 2026. 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/3943832/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/3943832/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 -j40 + make -j42 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' @@ -1790,171 +1826,7 @@ 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 playerinput.o playerinput.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 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 -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -tileset.c: In function 'tileset_load': -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, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~ -tileset.c:109:5: note: 'sprintf' output between 19 and 561 bytes into a destination of size 512 - 109 | sprintf (fullname, "%s/tileset/%s/fire.png", bman.datapath, tileset); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -tileset.c:113:31: warning: '/tileset/default/fire.png' directive writing 25 bytes into a region of size between 1 and 512 [-Wformat-overflow=] - 113 | sprintf (fullname, "%s/tileset/default/fire.png", bman.datapath); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -tileset.c:113:9: note: 'sprintf' output between 26 and 537 bytes into a destination of size 512 - 113 | sprintf (fullname, "%s/tileset/default/fire.png", bman.datapath); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -tileset.c:131:27: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] - 131 | sprintf (fullname, "%s/tileset/%s/bomb.png", bman.datapath, tileset); - | ^~~~~~~~~ -tileset.c:131:5: note: 'sprintf' output between 19 and 561 bytes into a destination of size 512 - 131 | sprintf (fullname, "%s/tileset/%s/bomb.png", bman.datapath, tileset); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -tileset.c:135:31: warning: '/tileset/default/bomb.png' directive writing 25 bytes into a region of size between 1 and 512 [-Wformat-overflow=] - 135 | sprintf (fullname, "%s/tileset/default/bomb.png", bman.datapath); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -tileset.c:135:9: note: 'sprintf' output between 26 and 537 bytes into a destination of size 512 - 135 | sprintf (fullname, "%s/tileset/default/bomb.png", bman.datapath); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -tileset.c:189:35: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] - 189 | sprintf (fullname, "%s/tileset/%s/%s.png", bman.datapath, tileset, ft_filenames[i]); - | ^~~~~~~~~ -tileset.c:189:13: note: 'sprintf' output 15 or more bytes (assuming 557) into a destination of size 512 - 189 | sprintf (fullname, "%s/tileset/%s/%s.png", bman.datapath, tileset, ft_filenames[i]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -tileset.c:194:39: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] - 194 | sprintf (fullname, "%s/tileset/%s/%s96.png", bman.datapath, tileset, ft_filenames[i]); - | ^~~~~~~~~ -tileset.c:194:17: note: 'sprintf' output 17 or more bytes (assuming 559) into a destination of size 512 - 194 | sprintf (fullname, "%s/tileset/%s/%s96.png", bman.datapath, tileset, ft_filenames[i]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -tileset.c:198:43: warning: '/tileset/default/' directive writing 17 bytes into a region of size between 1 and 512 [-Wformat-overflow=] - 198 | sprintf (fullname, "%s/tileset/default/%s.png", bman.datapath, ft_filenames[i]); - | ^~~~~~~~~~~~~~~~~ -tileset.c:198:21: note: 'sprintf' output 22 or more bytes (assuming 533) into a destination of size 512 - 198 | sprintf (fullname, "%s/tileset/default/%s.png", bman.datapath, ft_filenames[i]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -tileset.c:166:31: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] - 166 | sprintf (fullname, "%s/tileset/%s/%s", bman.datapath, tileset, filename); - | ^~~~~~~~~ -tileset.c:166:9: note: 'sprintf' output between 11 and 616 bytes into a destination of size 512 - 166 | sprintf (fullname, "%s/tileset/%s/%s", bman.datapath, tileset, filename); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -tileset.c:170:35: warning: '/tileset/default/' directive writing 17 bytes into a region of size between 1 and 512 [-Wformat-overflow=] - 170 | sprintf (fullname, "%s/tileset/default/%s", bman.datapath, filename); - | ^~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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]; - | ^~~~ +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 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); @@ -1966,26 +1838,43 @@ debug.c:39:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 39 | char text[255]; | ^~~~ +netsrvlist.c: In function 'srvlist_rebuildlist': 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); | ^ +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); + | ^~~ ~~~~ debug.c:56:25: note: 'sprintf' output between 2 and 256 bytes into a destination of size 255 56 | sprintf(text, "%s\n", text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +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] 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]; | ^~~~ +netsrvlist.c:33:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here + 33 | char txt1[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]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~ ~~~~ 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]; | ^~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~ @@ -1999,88 +1888,6 @@ debug.c:39:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 39 | char text[255]; | ^~~~ -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); - | ^~ ~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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; - | ^~~~~ -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); - | ^~ ~~~~~~~~~~~~~ -configuration.c:31:5: note: 'sprintf' output between 14 and 525 bytes into a destination of size 255 - 31 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -configuration.c:36:29: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] - 36 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); - | ^~ ~~~~~~~~~~~~~ -configuration.c:36:9: note: 'sprintf' output between 14 and 525 bytes into a destination of size 255 - 36 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -configuration.c:40:33: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] - 40 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); - | ^~ ~~~~~~~~~~~~~ -configuration.c:40:13: note: 'sprintf' output between 14 and 525 bytes into a destination of size 255 - 40 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -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) { - | ~~~~~~^~~~ -configuration.c: In function 'config_init': -configuration.c:157:21: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] - 157 | sprintf (icon, "%s/pixmaps/bomberclone.png", bman.datapath); - | ^~ ~~~~~~~~~~~~~ -configuration.c:157:5: note: 'sprintf' output between 25 and 536 bytes into a destination of size 255 - 157 | sprintf (icon, "%s/pixmaps/bomberclone.png", bman.datapath); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -configuration.c:70:41: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] - 70 | sprintf (teams[i].name, "Team %d", i + 1); - | ^ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -2132,13 +1939,27 @@ gfx.c:287:25: note: 'sprintf' output between 20 and 540 bytes into a destination of size 255 287 | sprintf (filename, "%s/player/player%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); + | ^~~~~~~~ +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: In function 'gfx_load_fieldtype_menu': +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); + | ^~ ~~~~~~~ gfx.c:365:45: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 365 | sprintf (filename, "%s/tileset/default/background.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ gfx.c:365:25: note: 'sprintf' output between 32 and 543 bytes into a destination of size 255 365 | sprintf (filename, "%s/tileset/default/background.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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:382:45: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 382 | sprintf (filename, "%s/tileset/default/powerbad.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ @@ -2154,22 +1975,106 @@ gfx.c:416:45: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 416 | sprintf (filename, "%s/tileset/default/powersp.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ +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); + | ^~~~~~~~~ gfx.c:416:25: note: 'sprintf' output between 29 and 540 bytes into a destination of size 255 416 | sprintf (filename, "%s/tileset/default/powersp.png", bman.datapath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:435:37: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 435 | sprintf (filename, "%s/tileset/default/%s.png", bman.datapath, ft_filenames[ft]); | ^~ ~~~~~~~~~~~~~ +tileset.c: In function 'tileset_load': gfx.c:435:17: note: 'sprintf' output 22 or more bytes (assuming 533) into a destination of size 255 435 | sprintf (filename, "%s/tileset/default/%s.png", bman.datapath, ft_filenames[ft]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +tileset.c:109:5: note: 'sprintf' output between 19 and 561 bytes into a destination of size 512 + 109 | sprintf (fullname, "%s/tileset/%s/fire.png", bman.datapath, tileset); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +tileset.c:113:31: warning: '/tileset/default/fire.png' directive writing 25 bytes into a region of size between 1 and 512 [-Wformat-overflow=] + 113 | sprintf (fullname, "%s/tileset/default/fire.png", bman.datapath); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +tileset.c:113:9: note: 'sprintf' output between 26 and 537 bytes into a destination of size 512 + 113 | sprintf (fullname, "%s/tileset/default/fire.png", bman.datapath); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +tileset.c:131:27: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] + 131 | sprintf (fullname, "%s/tileset/%s/bomb.png", bman.datapath, tileset); + | ^~~~~~~~~ +tileset.c:131:5: note: 'sprintf' output between 19 and 561 bytes into a destination of size 512 + 131 | sprintf (fullname, "%s/tileset/%s/bomb.png", bman.datapath, tileset); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~ +tileset.c:135:31: warning: '/tileset/default/bomb.png' directive writing 25 bytes into a region of size between 1 and 512 [-Wformat-overflow=] + 135 | sprintf (fullname, "%s/tileset/default/bomb.png", bman.datapath); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +tileset.c:135:9: note: 'sprintf' output between 26 and 537 bytes into a destination of size 512 + 135 | sprintf (fullname, "%s/tileset/default/bomb.png", 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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +tileset.c:189:35: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] + 189 | sprintf (fullname, "%s/tileset/%s/%s.png", bman.datapath, tileset, ft_filenames[i]); + | ^~~~~~~~~ +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); + | ^~~~~ +tileset.c:189:13: note: 'sprintf' output 15 or more bytes (assuming 557) into a destination of size 512 + 189 | sprintf (fullname, "%s/tileset/%s/%s.png", bman.datapath, tileset, ft_filenames[i]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +tileset.c:194:39: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] + 194 | sprintf (fullname, "%s/tileset/%s/%s96.png", bman.datapath, tileset, ft_filenames[i]); + | ^~~~~~~~~ gfx.c: In function 'gfx_loaddata': +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +tileset.c:194:17: note: 'sprintf' output 17 or more bytes (assuming 559) into a destination of size 512 + 194 | sprintf (fullname, "%s/tileset/%s/%s96.png", bman.datapath, tileset, ft_filenames[i]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~ ~~~~~~~~~~~~~ +tileset.c:198:43: warning: '/tileset/default/' directive writing 17 bytes into a region of size between 1 and 512 [-Wformat-overflow=] + 198 | sprintf (fullname, "%s/tileset/default/%s.png", bman.datapath, ft_filenames[i]); + | ^~~~~~~~~~~~~~~~~ +tileset.c:198:21: note: 'sprintf' output 22 or more bytes (assuming 533) into a destination of size 512 + 198 | sprintf (fullname, "%s/tileset/default/%s.png", bman.datapath, ft_filenames[i]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +tileset.c:166:31: warning: '/tileset/' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] + 166 | sprintf (fullname, "%s/tileset/%s/%s", bman.datapath, tileset, filename); + | ^~~~~~~~~ +tileset.c:166:9: note: 'sprintf' output between 11 and 616 bytes into a destination of size 512 + 166 | sprintf (fullname, "%s/tileset/%s/%s", bman.datapath, tileset, filename); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +tileset.c:170:35: warning: '/tileset/default/' directive writing 17 bytes into a region of size between 1 and 512 [-Wformat-overflow=] + 170 | sprintf (fullname, "%s/tileset/default/%s", bman.datapath, filename); + | ^~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfx.c:260:25: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] 260 | sprintf (filename, "%s/gfx/menuselect.png", bman.datapath); | ^~ ~~~~~~~~~~~~~ @@ -2179,6 +2084,10 @@ 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); | ^~ ~~~~~~~~~~~~~ +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, 1] 248 | sprintf (filename, "%s/gfx/menulist%d_%d.png", bman.datapath, j, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2209,6 +2118,12 @@ 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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -2222,12 +2137,126 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~ ~~~~~~~~~~~~~ +configuration.c:31:5: note: 'sprintf' output between 14 and 525 bytes into a destination of size 255 + 31 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +configuration.c:36:29: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] + 36 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); + | ^~ ~~~~~~~~~~~~~ +configuration.c:36:9: note: 'sprintf' output between 14 and 525 bytes into a destination of size 255 + 36 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +configuration.c:40:33: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] + 40 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); + | ^~ ~~~~~~~~~~~~~ +configuration.c:40:13: note: 'sprintf' output between 14 and 525 bytes into a destination of size 255 + 40 | sprintf (filename, "%s/gfx/logo.png", bman.datapath); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~ ~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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]; + | ^~~~ +configuration.c: In function 'config_init': +configuration.c:157:21: warning: '%s' directive writing up to 511 bytes into a region of size 255 [-Wformat-overflow=] + 157 | sprintf (icon, "%s/pixmaps/bomberclone.png", bman.datapath); + | ^~ ~~~~~~~~~~~~~ +configuration.c:157:5: note: 'sprintf' output between 25 and 536 bytes into a destination of size 255 + 157 | sprintf (icon, "%s/pixmaps/bomberclone.png", bman.datapath); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +configuration.c:70:41: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] + 70 | sprintf (teams[i].name, "Team %d", i + 1); + | ^ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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) { + | ~~~~~~^~~~ 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); @@ -2241,6 +2270,13 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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; + | ^~~~~ 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 -j40 check TESTSUITEFLAGS="-j40 --verbose" VERBOSE=1 + make -j42 check TESTSUITEFLAGS="-j42 --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 -j40 install DESTDIR=/build/reproducible-path/bomberclone-0.11.9/debian/tmp AM_UPDATE_INFO_DIR=no + make -j42 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' @@ -2568,9 +2604,9 @@ dh_gencontrol dh_md5sums dh_builddeb +dpkg-deb: building package 'bomberclone' in '../bomberclone_0.11.9-7.2_amd64.deb'. dpkg-deb: building package 'bomberclone-dbgsym' in '../bomberclone-dbgsym_0.11.9-7.2_amd64.deb'. dpkg-deb: building package 'bomberclone-data' in '../bomberclone-data_0.11.9-7.2_all.deb'. -dpkg-deb: building package 'bomberclone' in '../bomberclone_0.11.9-7.2_amd64.deb'. dpkg-genbuildinfo --build=binary -O../bomberclone_0.11.9-7.2_amd64.buildinfo dpkg-genchanges --build=binary -O../bomberclone_0.11.9-7.2_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -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/3943832/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3943832/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/2501941 and its subdirectories -I: Current time: Tue Oct 21 21:45:32 -12 2025 -I: pbuilder-time-stamp: 1761126332 +I: removing directory /srv/workspace/pbuilder/3943832 and its subdirectories +I: Current time: Wed Nov 25 06:10:50 +14 2026 +I: pbuilder-time-stamp: 1795536650