Diff of the two buildlogs: -- --- b1/build.log 2024-05-02 15:20:35.529018149 +0000 +++ b2/build.log 2024-05-02 15:21:26.166869710 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 2 03:19:09 -12 2024 -I: pbuilder-time-stamp: 1714663149 +I: Current time: Thu Jun 5 11:43:38 +14 2025 +I: pbuilder-time-stamp: 1749073418 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking atanks_6.6~dfsg-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/836987/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3714087/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 4 21:43 /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/3714087/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3714087/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=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='2290a80ec6fb4fe0b31e28cc6ed85997' - 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='836987' - PS1='# ' - PS2='> ' + INVOCATION_ID=ceadc0aff45c4c8f9ef8397bd8ad4289 + 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=3714087 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.l2hVJl8S/pbuilderrc_e7vI --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.l2hVJl8S/b1 --logfile b1/build.log atanks_6.6~dfsg-1.dsc' - SUDO_GID='110' - 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.l2hVJl8S/pbuilderrc_8EJQ --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.l2hVJl8S/b2 --logfile b2/build.log atanks_6.6~dfsg-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + 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.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 22 13:10 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/836987/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 25 19:07 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3714087/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -172,7 +204,7 @@ Get: 60 http://deb.debian.org/debian trixie/main amd64 libxfixes-dev amd64 1:6.0.0-2+b1 [22.3 kB] Get: 61 http://deb.debian.org/debian trixie/main amd64 libxcursor-dev amd64 1:1.2.1-1+b1 [47.3 kB] Get: 62 http://deb.debian.org/debian trixie/main amd64 liballegro4-dev amd64 2:4.4.3.1-4.1+b1 [283 kB] -Fetched 24.2 MB in 1s (41.0 MB/s) +Fetched 24.2 MB in 0s (87.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19875 files and directories currently installed.) @@ -440,7 +472,11 @@ fakeroot is already the newest version (1.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/atanks-6.6~dfsg/ && 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 > ../atanks_6.6~dfsg-1_source.changes +I: user script /srv/workspace/pbuilder/3714087/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3714087/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/atanks-6.6~dfsg/ && 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 > ../atanks_6.6~dfsg-1_source.changes dpkg-buildpackage: info: source package atanks dpkg-buildpackage: info: source version 6.6~dfsg-1 dpkg-buildpackage: info: source distribution unstable @@ -450,7 +486,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j20 clean + make -j42 clean make[1]: Entering directory '/build/reproducible-path/atanks-6.6~dfsg' /usr/bin/rm -f obj/* atanks make[1]: Leaving directory '/build/reproducible-path/atanks-6.6~dfsg' @@ -461,43 +497,43 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j20 "INSTALL=install --strip-program=true" + make -j42 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/atanks-6.6~dfsg' Compiling obj/aicore.o -Compiling obj/atanks.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/aicore.o -c src/aicore.cpp +Compiling obj/atanks.o Compiling obj/beam.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/atanks.o -c src/atanks.cpp Compiling obj/button.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/beam.o -c src/beam.cpp /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/button.o -c src/button.cpp Compiling obj/client.o -Compiling obj/clock.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/client.o -c src/client.cpp -Compiling obj/debris_pool.o +Compiling obj/clock.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/clock.o -c src/clock.cpp +Compiling obj/debris_pool.o Compiling obj/debug.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/debris_pool.o -c src/debris_pool.cpp -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/debug.o -c src/debug.cpp Compiling obj/decor.o -Compiling obj/environment.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/debug.o -c src/debug.cpp /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/decor.o -c src/decor.cpp +Compiling obj/environment.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/environment.o -c src/environment.cpp Compiling obj/explosion.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/explosion.o -c src/explosion.cpp Compiling obj/files.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/files.o -c src/files.cpp Compiling obj/floattext.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/floattext.o -c src/floattext.cpp +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/files.o -c src/files.cpp Compiling obj/gameloop.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/floattext.o -c src/floattext.cpp +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/gameloop.o -c src/gameloop.cpp Compiling obj/gfxData.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/gfxData.o -c src/gfxData.cpp -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/gameloop.o -c src/gameloop.cpp Compiling obj/globaldata.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/globaldata.o -c src/globaldata.cpp Compiling obj/globaltypes.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/globaltypes.o -c src/globaltypes.cpp Compiling obj/land.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/globaltypes.o -c src/globaltypes.cpp /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/land.o -c src/land.cpp Compiling obj/main.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/main.o -c src/main.cpp @@ -506,7 +542,45 @@ Compiling obj/missile.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/missile.o -c src/missile.cpp Compiling obj/network.o +Compiling obj/optionitembase.o +Compiling obj/optionitemcolour.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/network.o -c src/network.cpp +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitembase.o -c src/optionitembase.cpp +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitemcolour.o -c src/optionitemcolour.cpp +Compiling obj/optionitemmenu.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitemmenu.o -c src/optionitemmenu.cpp +Compiling obj/optionitemplayer.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitemplayer.o -c src/optionitemplayer.cpp +Compiling obj/optionscreens.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionscreens.o -c src/optionscreens.cpp +Compiling obj/optiontypes.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optiontypes.o -c src/optiontypes.cpp +Compiling obj/perlin.o +Compiling obj/physobj.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/perlin.o -c src/perlin.cpp +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/physobj.o -c src/physobj.cpp +Compiling obj/player.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/player.o -c src/player.cpp +Compiling obj/player_types.o +Compiling obj/satellite.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/player_types.o -c src/player_types.cpp +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/satellite.o -c src/satellite.cpp +Compiling obj/shop.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/shop.o -c src/shop.cpp +Compiling obj/sky.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/sky.o -c src/sky.cpp +Compiling obj/sound.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/sound.o -c src/sound.cpp +Compiling obj/tank.o +Compiling obj/teleport.o +Compiling obj/text.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/tank.o -c src/tank.cpp +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/teleport.o -c src/teleport.cpp +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/text.o -c src/text.cpp +Compiling obj/update.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/update.o -c src/update.cpp +Compiling obj/virtobj.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/virtobj.o -c src/virtobj.cpp In file included from src/debug.cpp:1: src/debug.cpp: In function 'void debug_log(const char*, const char*, const char*, ...)': src/debug.cpp:31:38: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size between 8 and 15 [-Wformat-truncation=] @@ -530,12 +604,6 @@ src/debug.cpp:31:9: note: in expansion of macro 'atanks_snprintf' 31 | atanks_snprintf(timebuf, 20, "%04d.%02d.%02d %02d:%02d:%02d", | ^~~~~~~~~~~~~~~ -Compiling obj/optionitembase.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitembase.o -c src/optionitembase.cpp -src/explosion.cpp: In member function 'virtual void EXPLOSION::applyPhysics()': -src/explosion.cpp:187:39: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 187 | } catch (std::exception) { /* No reason to fuss, its just smoke. */ } - | ^~~~~~~~~ src/beam.cpp: In member function 'virtual void BEAM::applyPhysics()': src/beam.cpp:201:39: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 201 | } catch (std::exception) { @@ -547,6 +615,20 @@ src/beam.cpp:271:31: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 271 | } catch (std::exception) { | ^~~~~~~~~ +src/explosion.cpp: In member function 'virtual void EXPLOSION::applyPhysics()': +src/explosion.cpp:187:39: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 187 | } catch (std::exception) { /* No reason to fuss, its just smoke. */ } + | ^~~~~~~~~ +src/tank.cpp: In member function 'void TANK::applyDamage()': +src/tank.cpp:529:44: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] + 529 | snprintf (buf, 9, "%d", full_damage); + | ^~ +src/tank.cpp:529:43: note: directive argument in the range [1, 2147483647] + 529 | snprintf (buf, 9, "%d", full_damage); + | ^~~~ +src/tank.cpp:529:34: note: 'snprintf' output between 2 and 11 bytes into a destination of size 9 + 529 | snprintf (buf, 9, "%d", full_damage); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/globaldata.cpp: In member function 'void GLOBALDATA::destroy()': src/globaldata.cpp:226:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 226 | if (canvas) destroy_bitmap(canvas); canvas = nullptr; @@ -618,10 +700,102 @@ src/main.h:280:8: note: 'struct BOX' declared here 280 | struct BOX | ^~~ -Compiling obj/optionitemcolour.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitemcolour.o -c src/optionitemcolour.cpp -Compiling obj/optionitemmenu.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitemmenu.o -c src/optionitemmenu.cpp +src/missile.cpp: In member function 'virtual void MISSILE::applyPhysics()': +src/missile.cpp:254:39: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 254 | } catch (std::exception) { + | ^~~~~~~~~ +src/files.cpp: In function 'bool Save_Game()': +src/files.cpp:44:41: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] + 44 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); + | ^ +src/files.cpp:44:17: note: 'snprintf' output between 6 and 4166 bytes into a destination of size 4096 + 44 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:100:41: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] + 100 | snprintf(path_buf, PATH_MAX, "%s/%s.txt", + | ^ +src/files.cpp:100:17: note: 'snprintf' output between 6 and 4166 bytes into a destination of size 4096 + 100 | snprintf(path_buf, PATH_MAX, "%s/%s.txt", + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 101 | env.configDir, env.game_name); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp: In function 'bool Load_Game()': +src/files.cpp:137:41: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] + 137 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); + | ^ +src/files.cpp:137:17: note: 'snprintf' output between 6 and 4166 bytes into a destination of size 4096 + 137 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp: In function 'bool Check_For_Saved_Game()': +src/files.cpp:322:41: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] + 322 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); + | ^ +src/files.cpp:322:17: note: 'snprintf' output between 6 and 4166 bytes into a destination of size 4096 + 322 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp: In function 'bool Copy_Config_File()': +src/files.cpp:350:42: warning: '/atanks-config.txt' directive output may be truncated writing 18 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 350 | snprintf(dest_path, PATH_MAX, "%s/atanks-config.txt", env.configDir); + | ^~~~~~~~~~~~~~~~~~ +src/files.cpp:350:17: note: 'snprintf' output between 19 and 4115 bytes into a destination of size 4096 + 350 | snprintf(dest_path, PATH_MAX, "%s/atanks-config.txt", env.configDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp: In function 'bool Create_Music_Folder()': +src/files.cpp:407:41: warning: '/music' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 407 | snprintf(path_buf, PATH_MAX, "%s/music", env.configDir); + | ^~~~~~ +src/files.cpp:407:17: note: 'snprintf' output between 7 and 4103 bytes into a destination of size 4096 + 407 | snprintf(path_buf, PATH_MAX, "%s/music", env.configDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp: In function 'bool Load_Weapons_Text()': +src/files.cpp:537:49: warning: '/text/weapons_it.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 537 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_it.txt", env.dataDir); + | ^~~~~~~~~~~~~~~~~~~~ +src/files.cpp:537:25: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 + 537 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_it.txt", env.dataDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:535:49: warning: '/text/weapons_ES.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 535 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ES.txt", env.dataDir); + | ^~~~~~~~~~~~~~~~~~~~ +src/files.cpp:535:25: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 + 535 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ES.txt", env.dataDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:533:49: warning: '/text/weapons_ru.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 533 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ru.txt", env.dataDir); + | ^~~~~~~~~~~~~~~~~~~~ +src/files.cpp:533:25: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 + 533 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ru.txt", env.dataDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:531:49: warning: '/text/weapons_sk.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 531 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_sk.txt", env.dataDir); + | ^~~~~~~~~~~~~~~~~~~~ +src/files.cpp:531:25: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 + 531 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_sk.txt", env.dataDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:529:49: warning: '/text/weapons_de.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 529 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_de.txt", env.dataDir); + | ^~~~~~~~~~~~~~~~~~~~ +src/files.cpp:529:25: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 + 529 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_de.txt", env.dataDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:527:49: warning: '/text/weapons_fr.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 527 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_fr.txt", env.dataDir); + | ^~~~~~~~~~~~~~~~~~~~ +src/files.cpp:527:25: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 + 527 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_fr.txt", env.dataDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:525:49: warning: '/text/weapons.pt_BR.txt' directive output may be truncated writing 23 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 525 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.pt_BR.txt", env.dataDir); + | ^~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:525:25: note: 'snprintf' output between 24 and 4120 bytes into a destination of size 4096 + 525 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.pt_BR.txt", env.dataDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:523:49: warning: '/text/weapons.txt' directive output may be truncated writing 17 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 523 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.txt", env.dataDir); + | ^~~~~~~~~~~~~~~~~ +src/files.cpp:523:25: note: 'snprintf' output between 18 and 4114 bytes into a destination of size 4096 + 523 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.txt", env.dataDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function 'void ENVIRONMENT::load_text_files()': src/environment.cpp:946:57: warning: '/text/war_quotes_it.txt' directive output may be truncated writing 23 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 946 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_it.txt", dataDir); @@ -846,148 +1020,6 @@ src/environment.cpp:1292:25: note: 'snprintf' output between 14 and 4110 bytes into a destination of size 4096 1292 | snprintf(path_buf, PATH_MAX, "%s/sound/%02d.wav", dataDir, i); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Compiling obj/optionitemplayer.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitemplayer.o -c src/optionitemplayer.cpp -Compiling obj/optionscreens.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionscreens.o -c src/optionscreens.cpp -Compiling obj/optiontypes.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optiontypes.o -c src/optiontypes.cpp -Compiling obj/perlin.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/perlin.o -c src/perlin.cpp -Compiling obj/physobj.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/physobj.o -c src/physobj.cpp -Compiling obj/player.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/player.o -c src/player.cpp -Compiling obj/player_types.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/player_types.o -c src/player_types.cpp -Compiling obj/satellite.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/satellite.o -c src/satellite.cpp -src/files.cpp: In function 'bool Save_Game()': -src/files.cpp:44:41: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] - 44 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); - | ^ -src/files.cpp:44:17: note: 'snprintf' output between 6 and 4166 bytes into a destination of size 4096 - 44 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:100:41: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] - 100 | snprintf(path_buf, PATH_MAX, "%s/%s.txt", - | ^ -src/files.cpp:100:17: note: 'snprintf' output between 6 and 4166 bytes into a destination of size 4096 - 100 | snprintf(path_buf, PATH_MAX, "%s/%s.txt", - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 101 | env.configDir, env.game_name); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp: In function 'bool Load_Game()': -src/files.cpp:137:41: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] - 137 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); - | ^ -src/files.cpp:137:17: note: 'snprintf' output between 6 and 4166 bytes into a destination of size 4096 - 137 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp: In function 'bool Check_For_Saved_Game()': -src/files.cpp:322:41: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] - 322 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); - | ^ -src/files.cpp:322:17: note: 'snprintf' output between 6 and 4166 bytes into a destination of size 4096 - 322 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp: In function 'bool Copy_Config_File()': -src/files.cpp:350:42: warning: '/atanks-config.txt' directive output may be truncated writing 18 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 350 | snprintf(dest_path, PATH_MAX, "%s/atanks-config.txt", env.configDir); - | ^~~~~~~~~~~~~~~~~~ -src/files.cpp:350:17: note: 'snprintf' output between 19 and 4115 bytes into a destination of size 4096 - 350 | snprintf(dest_path, PATH_MAX, "%s/atanks-config.txt", env.configDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp: In function 'bool Create_Music_Folder()': -src/files.cpp:407:41: warning: '/music' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 407 | snprintf(path_buf, PATH_MAX, "%s/music", env.configDir); - | ^~~~~~ -src/files.cpp:407:17: note: 'snprintf' output between 7 and 4103 bytes into a destination of size 4096 - 407 | snprintf(path_buf, PATH_MAX, "%s/music", env.configDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp: In function 'bool Load_Weapons_Text()': -src/files.cpp:537:49: warning: '/text/weapons_it.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 537 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_it.txt", env.dataDir); - | ^~~~~~~~~~~~~~~~~~~~ -src/files.cpp:537:25: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 - 537 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_it.txt", env.dataDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:535:49: warning: '/text/weapons_ES.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 535 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ES.txt", env.dataDir); - | ^~~~~~~~~~~~~~~~~~~~ -src/files.cpp:535:25: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 - 535 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ES.txt", env.dataDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:533:49: warning: '/text/weapons_ru.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 533 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ru.txt", env.dataDir); - | ^~~~~~~~~~~~~~~~~~~~ -src/files.cpp:533:25: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 - 533 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ru.txt", env.dataDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:531:49: warning: '/text/weapons_sk.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 531 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_sk.txt", env.dataDir); - | ^~~~~~~~~~~~~~~~~~~~ -src/files.cpp:531:25: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 - 531 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_sk.txt", env.dataDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:529:49: warning: '/text/weapons_de.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 529 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_de.txt", env.dataDir); - | ^~~~~~~~~~~~~~~~~~~~ -src/files.cpp:529:25: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 - 529 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_de.txt", env.dataDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:527:49: warning: '/text/weapons_fr.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 527 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_fr.txt", env.dataDir); - | ^~~~~~~~~~~~~~~~~~~~ -src/files.cpp:527:25: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 - 527 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_fr.txt", env.dataDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:525:49: warning: '/text/weapons.pt_BR.txt' directive output may be truncated writing 23 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 525 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.pt_BR.txt", env.dataDir); - | ^~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:525:25: note: 'snprintf' output between 24 and 4120 bytes into a destination of size 4096 - 525 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.pt_BR.txt", env.dataDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:523:49: warning: '/text/weapons.txt' directive output may be truncated writing 17 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 523 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.txt", env.dataDir); - | ^~~~~~~~~~~~~~~~~ -src/files.cpp:523:25: note: 'snprintf' output between 18 and 4114 bytes into a destination of size 4096 - 523 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.txt", env.dataDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/atanks.cpp: In function 'void credits()': -src/atanks.cpp:152:42: warning: '/credits.txt' directive output may be truncated writing 12 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 152 | snprintf (path_buf, PATH_MAX, "%s/credits.txt", env.dataDir); - | ^~~~~~~~~~~~ -src/atanks.cpp:152:18: note: 'snprintf' output between 13 and 4109 bytes into a destination of size 4096 - 152 | snprintf (path_buf, PATH_MAX, "%s/credits.txt", env.dataDir); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/atanks.cpp: In function 'bool loadConfig()': -src/atanks.cpp:736:49: warning: '/atanks-config.txt' directive output may be truncated writing 18 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 736 | snprintf(fullPath, PATH_MAX, "%s/atanks-config.txt", env.configDir); - | ^~~~~~~~~~~~~~~~~~ -src/atanks.cpp:736:25: note: 'snprintf' output between 19 and 4115 bytes into a destination of size 4096 - 736 | snprintf(fullPath, PATH_MAX, "%s/atanks-config.txt", env.configDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Compiling obj/shop.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/shop.o -c src/shop.cpp -Compiling obj/sky.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/sky.o -c src/sky.cpp -Compiling obj/sound.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/sound.o -c src/sound.cpp -Compiling obj/tank.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/tank.o -c src/tank.cpp -Compiling obj/teleport.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/teleport.o -c src/teleport.cpp -src/missile.cpp: In member function 'virtual void MISSILE::applyPhysics()': -src/missile.cpp:254:39: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 254 | } catch (std::exception) { - | ^~~~~~~~~ -Compiling obj/text.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/text.o -c src/text.cpp -Compiling obj/update.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/update.o -c src/update.cpp -Compiling obj/virtobj.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/virtobj.o -c src/virtobj.cpp src/shop.cpp: In function 'bool shop(LevelCreator*)': src/shop.cpp:284:64: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size 62 [-Wformat-truncation=] 284 | "%s \"%s\".", @@ -1004,16 +1036,20 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~ 286 | env.game_name); | ~~~~~~~~~~~~~~ -src/tank.cpp: In member function 'void TANK::applyDamage()': -src/tank.cpp:529:44: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] - 529 | snprintf (buf, 9, "%d", full_damage); - | ^~ -src/tank.cpp:529:43: note: directive argument in the range [1, 2147483647] - 529 | snprintf (buf, 9, "%d", full_damage); - | ^~~~ -src/tank.cpp:529:34: note: 'snprintf' output between 2 and 11 bytes into a destination of size 9 - 529 | snprintf (buf, 9, "%d", full_damage); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/atanks.cpp: In function 'void credits()': +src/atanks.cpp:152:42: warning: '/credits.txt' directive output may be truncated writing 12 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 152 | snprintf (path_buf, PATH_MAX, "%s/credits.txt", env.dataDir); + | ^~~~~~~~~~~~ +src/atanks.cpp:152:18: note: 'snprintf' output between 13 and 4109 bytes into a destination of size 4096 + 152 | snprintf (path_buf, PATH_MAX, "%s/credits.txt", env.dataDir); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/atanks.cpp: In function 'bool loadConfig()': +src/atanks.cpp:736:49: warning: '/atanks-config.txt' directive output may be truncated writing 18 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 736 | snprintf(fullPath, PATH_MAX, "%s/atanks-config.txt", env.configDir); + | ^~~~~~~~~~~~~~~~~~ +src/atanks.cpp:736:25: note: 'snprintf' output between 19 and 4115 bytes into a destination of size 4096 + 736 | snprintf(fullPath, PATH_MAX, "%s/atanks-config.txt", env.configDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/g++ -o atanks obj/aicore.o obj/atanks.o obj/beam.o obj/button.o obj/client.o obj/clock.o obj/debris_pool.o obj/debug.o obj/decor.o obj/environment.o obj/explosion.o obj/files.o obj/floattext.o obj/gameloop.o obj/gfxData.o obj/globaldata.o obj/globaltypes.o obj/land.o obj/main.o obj/menu.o obj/missile.o obj/network.o obj/optionitembase.o obj/optionitemcolour.o obj/optionitemmenu.o obj/optionitemplayer.o obj/optionscreens.o obj/optiontypes.o obj/perlin.o obj/physobj.o obj/player.o obj/player_types.o obj/satellite.o obj/shop.o obj/sky.o obj/sound.o obj/tank.o obj/teleport.o obj/text.o obj/update.o obj/virtobj.o -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -DATANKS_DEBUG -Wl,-z,relro -L/usr/lib/x86_64-linux-gnu -lalleg -lm -lpthread -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused make[1]: Leaving directory '/build/reproducible-path/atanks-6.6~dfsg' dh_auto_test @@ -1023,7 +1059,7 @@ dh_testroot dh_prep dh_auto_install - make -j20 install DESTDIR=/build/reproducible-path/atanks-6.6\~dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j42 install DESTDIR=/build/reproducible-path/atanks-6.6\~dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/atanks-6.6~dfsg' install --strip-program=true -d /build/reproducible-path/atanks-6.6~dfsg/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified @@ -1106,8 +1142,8 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'atanks-dbgsym' in '../atanks-dbgsym_6.6~dfsg-1_amd64.deb'. -dpkg-deb: building package 'atanks' in '../atanks_6.6~dfsg-1_amd64.deb'. dpkg-deb: building package 'atanks-data' in '../atanks-data_6.6~dfsg-1_all.deb'. +dpkg-deb: building package 'atanks' in '../atanks_6.6~dfsg-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../atanks_6.6~dfsg-1_amd64.buildinfo dpkg-genchanges --build=binary -O../atanks_6.6~dfsg-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1115,12 +1151,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3714087/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3714087/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/836987 and its subdirectories -I: Current time: Thu May 2 03:20:34 -12 2024 -I: pbuilder-time-stamp: 1714663234 +I: removing directory /srv/workspace/pbuilder/3714087 and its subdirectories +I: Current time: Thu Jun 5 11:44:25 +14 2025 +I: pbuilder-time-stamp: 1749073465