Diff of the two buildlogs: -- --- b1/build.log 2025-02-20 08:53:14.492500596 +0000 +++ b2/build.log 2025-02-20 08:53:49.226937367 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Feb 19 20:52:28 -12 2025 -I: pbuilder-time-stamp: 1740041548 +I: Current time: Thu Mar 26 05:16:14 +14 2026 +I: pbuilder-time-stamp: 1774451774 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -23,54 +23,86 @@ 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/3078/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/38293/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +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 Mar 25 15:16 /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/38293/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/38293/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='9ffba6dbc5034f899e937b93f855a3a7' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='3078' - PS1='# ' - PS2='> ' + INVOCATION_ID=4855d5f016e94733946c715f6c068cd9 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=38293 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.Xn4B7SOC/pbuilderrc_Woln --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Xn4B7SOC/b1 --logfile b1/build.log atanks_6.6~dfsg-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - 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.Xn4B7SOC/pbuilderrc_8FSs --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Xn4B7SOC/b2 --logfile b2/build.log atanks_6.6~dfsg-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + 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 ionos2-i386 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3078/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/38293/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -169,7 +201,7 @@ Get: 58 http://deb.debian.org/debian unstable/main i386 libxfixes-dev i386 1:6.0.0-2+b4 [22.9 kB] Get: 59 http://deb.debian.org/debian unstable/main i386 libxcursor-dev i386 1:1.2.3-1 [53.1 kB] Get: 60 http://deb.debian.org/debian unstable/main i386 liballegro4-dev i386 2:4.4.3.1-5+b2 [298 kB] -Fetched 26.0 MB in 0s (72.7 MB/s) +Fetched 26.0 MB in 1s (19.8 MB/s) Preconfiguring packages ... 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 ... 19784 files and directories currently installed.) @@ -429,7 +461,11 @@ fakeroot is already the newest version (1.37-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/38293/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/38293/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 @@ -439,7 +475,7 @@ debian/rules clean dh clean dh_auto_clean - make -j11 clean + make -j21 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' @@ -450,32 +486,54 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j11 "INSTALL=install --strip-program=true" + make -j21 "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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/aicore.o -c src/aicore.cpp 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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/atanks.o -c src/atanks.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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/beam.o -c src/beam.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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/button.o -c src/button.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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/beam.o -c src/beam.cpp Compiling obj/client.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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/button.o -c src/button.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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/client.o -c src/client.cpp Compiling obj/clock.o -Compiling obj/debris_pool.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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/clock.o -c src/clock.cpp -Compiling obj/debug.o +Compiling obj/debris_pool.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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/debug.o -c src/debug.cpp +Compiling obj/debug.o Compiling obj/decor.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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/explosion.o -c src/explosion.cpp Compiling obj/files.o +Compiling obj/floattext.o +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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/files.o -c src/files.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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/floattext.o -c src/floattext.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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/globaldata.o -c src/globaldata.cpp +Compiling obj/globaltypes.o +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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/globaltypes.o -c src/globaltypes.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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/land.o -c src/land.cpp +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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/main.o -c src/main.cpp +Compiling obj/menu.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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/missile.o -c src/missile.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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/menu.o -c src/menu.cpp +Compiling obj/network.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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/network.o -c src/network.cpp +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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitembase.o -c src/optionitembase.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=] @@ -499,10 +557,129 @@ 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/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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/floattext.o -c src/floattext.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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/gameloop.o -c src/gameloop.cpp +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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitemmenu.o -c src/optionitemmenu.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/main.cpp: In member function 'void WEAPON::setDesc(const char*)': +src/main.cpp:103:81: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 103 | fprintf(stderr, "Weapon description for \"%s\" truncated! (%d/%lu characters)\n", + | ~~^ + | | + | long unsigned int + | %u + 104 | name, MAX_ITEM_DESC_LEN, strlen(desc_)); + | ~~~~~~~~~~~~~ + | | + | size_t {aka unsigned int} +src/main.cpp: In member function 'void WEAPON::setName(const char*)': +src/main.cpp:113:74: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 113 | fprintf(stderr, "Weapon name for \"%s\" truncated! (%d/%lu characters)\n", + | ~~^ + | | + | long unsigned int + | %u + 114 | name_, MAX_ITEM_NAME_LEN, strlen(name_)); + | ~~~~~~~~~~~~~ + | | + | size_t {aka unsigned int} +src/main.cpp: In member function 'void ITEM::setDesc(const char*)': +src/main.cpp:144:79: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 144 | fprintf(stderr, "Item description for \"%s\" truncated! (%d/%lu characters)\n", + | ~~^ + | | + | long unsigned int + | %u + 145 | name, MAX_ITEM_DESC_LEN, strlen(desc_)); + | ~~~~~~~~~~~~~ + | | + | size_t {aka unsigned int} +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; + | ^~ +src/globaldata.cpp:226:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 226 | if (canvas) destroy_bitmap(canvas); canvas = nullptr; + | ^~~~~~ +src/main.cpp: In member function 'void ITEM::setName(const char*)': +src/main.cpp:153:72: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 153 | fprintf(stderr, "Item name for \"%s\" truncated! (%d/%lu characters)\n", + | ~~^ + | | + | long unsigned int + | %u + 154 | name_, MAX_ITEM_NAME_LEN, strlen(name_)); + | ~~~~~~~~~~~~~ + | | + | size_t {aka unsigned int} +src/globaldata.cpp:227:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 227 | if (terrain) destroy_bitmap(terrain); terrain = nullptr; + | ^~ +src/globaldata.cpp:227:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 227 | if (terrain) destroy_bitmap(terrain); terrain = nullptr; + | ^~~~~~~ +src/globaldata.cpp:228:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 228 | if (done) delete [] done; done = nullptr; + | ^~ +src/globaldata.cpp:228:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 228 | if (done) delete [] done; done = nullptr; + | ^~~~ +src/globaldata.cpp:229:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 229 | if (fp) delete [] fp; fp = nullptr; + | ^~ +src/globaldata.cpp:229:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 229 | if (fp) delete [] fp; fp = nullptr; + | ^~ +src/globaldata.cpp:230:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 230 | if (surface) delete [] surface; surface = nullptr; + | ^~ +src/globaldata.cpp:230:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 230 | if (surface) delete [] surface; surface = nullptr; + | ^~~~~~~ +src/globaldata.cpp:231:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 231 | if (dropTo) delete [] dropTo; dropTo = nullptr; + | ^~ +src/globaldata.cpp:231:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 231 | if (dropTo) delete [] dropTo; dropTo = nullptr; + | ^~~~~~ +src/globaldata.cpp:232:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 232 | if (velocity) delete [] velocity; velocity = nullptr; + | ^~ +src/globaldata.cpp:232:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 232 | if (velocity) delete [] velocity; velocity = nullptr; + | ^~~~~~~~ +src/globaldata.cpp:233:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 233 | if (dropIncr) delete [] dropIncr; dropIncr = nullptr; + | ^~ +src/globaldata.cpp:233:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 233 | if (dropIncr) delete [] dropIncr; dropIncr = nullptr; + | ^~~~~~~~ +src/globaldata.cpp:234:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 234 | if (updates) delete [] updates; updates = nullptr; + | ^~ +src/globaldata.cpp:234:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 234 | if (updates) delete [] updates; updates = nullptr; + | ^~~~~~~ +src/globaldata.cpp:235:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 235 | if (lastUpdates) delete [] lastUpdates; lastUpdates = nullptr; + | ^~ +src/globaldata.cpp:235:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 235 | if (lastUpdates) delete [] lastUpdates; lastUpdates = nullptr; + | ^~~~~~~~~~~ +src/globaldata.cpp: In member function 'void GLOBALDATA::do_updates()': +src/globaldata.cpp:256:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct BOX' with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess] + 256 | memcpy (lastUpdates, updates, sizeof (BOX) * updateCount); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from src/player_types.h:9, + from src/player.h:25, + from src/globaldata.cpp:22: +src/main.h:280:8: note: 'struct BOX' declared here + 280 | struct BOX + | ^~~ 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) { @@ -514,12 +691,104 @@ 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/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/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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/gfxData.o -c src/gfxData.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); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitemplayer.o -c src/optionitemplayer.cpp 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); @@ -727,6 +996,8 @@ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1190 | sub_folder, file_count); | ~~~~~~~~~~~~~~~~~~~~~~~ +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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionscreens.o -c src/optionscreens.cpp src/environment.cpp: In member function 'bool ENVIRONMENT::loadFonts()': src/environment.cpp:1217:41: warning: '/unicode.dat' directive output may be truncated writing 12 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 1217 | snprintf(path_buf, PATH_MAX, "%s/unicode.dat", dataDir); @@ -744,6 +1015,12 @@ 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/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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/physobj.o -c src/physobj.cpp 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); @@ -758,247 +1035,6 @@ 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/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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/globaldata.o -c src/globaldata.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); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/main.o -c src/main.cpp -Compiling obj/menu.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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/menu.o -c src/menu.cpp -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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/missile.o -c src/missile.cpp -Compiling obj/network.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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/network.o -c src/network.cpp -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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitembase.o -c src/optionitembase.cpp -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitemmenu.o -c src/optionitemmenu.cpp -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; - | ^~ -src/globaldata.cpp:226:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 226 | if (canvas) destroy_bitmap(canvas); canvas = nullptr; - | ^~~~~~ -src/globaldata.cpp:227:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 227 | if (terrain) destroy_bitmap(terrain); terrain = nullptr; - | ^~ -src/globaldata.cpp:227:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 227 | if (terrain) destroy_bitmap(terrain); terrain = nullptr; - | ^~~~~~~ -src/globaldata.cpp:228:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 228 | if (done) delete [] done; done = nullptr; - | ^~ -src/globaldata.cpp:228:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 228 | if (done) delete [] done; done = nullptr; - | ^~~~ -src/globaldata.cpp:229:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 229 | if (fp) delete [] fp; fp = nullptr; - | ^~ -src/globaldata.cpp:229:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 229 | if (fp) delete [] fp; fp = nullptr; - | ^~ -src/globaldata.cpp:230:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 230 | if (surface) delete [] surface; surface = nullptr; - | ^~ -src/globaldata.cpp:230:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 230 | if (surface) delete [] surface; surface = nullptr; - | ^~~~~~~ -src/globaldata.cpp:231:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 231 | if (dropTo) delete [] dropTo; dropTo = nullptr; - | ^~ -src/globaldata.cpp:231:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 231 | if (dropTo) delete [] dropTo; dropTo = nullptr; - | ^~~~~~ -src/globaldata.cpp:232:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 232 | if (velocity) delete [] velocity; velocity = nullptr; - | ^~ -src/globaldata.cpp:232:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 232 | if (velocity) delete [] velocity; velocity = nullptr; - | ^~~~~~~~ -src/globaldata.cpp:233:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 233 | if (dropIncr) delete [] dropIncr; dropIncr = nullptr; - | ^~ -src/globaldata.cpp:233:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 233 | if (dropIncr) delete [] dropIncr; dropIncr = nullptr; - | ^~~~~~~~ -src/globaldata.cpp:234:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 234 | if (updates) delete [] updates; updates = nullptr; - | ^~ -src/globaldata.cpp:234:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 234 | if (updates) delete [] updates; updates = nullptr; - | ^~~~~~~ -src/globaldata.cpp:235:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 235 | if (lastUpdates) delete [] lastUpdates; lastUpdates = nullptr; - | ^~ -src/globaldata.cpp:235:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 235 | if (lastUpdates) delete [] lastUpdates; lastUpdates = nullptr; - | ^~~~~~~~~~~ -src/globaldata.cpp: In member function 'void GLOBALDATA::do_updates()': -src/globaldata.cpp:256:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct BOX' with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess] - 256 | memcpy (lastUpdates, updates, sizeof (BOX) * updateCount); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from src/player_types.h:9, - from src/player.h:25, - from src/globaldata.cpp:22: -src/main.h:280:8: note: 'struct BOX' declared here - 280 | struct BOX - | ^~~ -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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitemplayer.o -c src/optionitemplayer.cpp -src/main.cpp: In member function 'void WEAPON::setDesc(const char*)': -src/main.cpp:103:81: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 103 | fprintf(stderr, "Weapon description for \"%s\" truncated! (%d/%lu characters)\n", - | ~~^ - | | - | long unsigned int - | %u - 104 | name, MAX_ITEM_DESC_LEN, strlen(desc_)); - | ~~~~~~~~~~~~~ - | | - | size_t {aka unsigned int} -src/main.cpp: In member function 'void WEAPON::setName(const char*)': -src/main.cpp:113:74: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 113 | fprintf(stderr, "Weapon name for \"%s\" truncated! (%d/%lu characters)\n", - | ~~^ - | | - | long unsigned int - | %u - 114 | name_, MAX_ITEM_NAME_LEN, strlen(name_)); - | ~~~~~~~~~~~~~ - | | - | size_t {aka unsigned int} -src/main.cpp: In member function 'void ITEM::setDesc(const char*)': -src/main.cpp:144:79: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 144 | fprintf(stderr, "Item description for \"%s\" truncated! (%d/%lu characters)\n", - | ~~^ - | | - | long unsigned int - | %u - 145 | name, MAX_ITEM_DESC_LEN, strlen(desc_)); - | ~~~~~~~~~~~~~ - | | - | size_t {aka unsigned int} -src/main.cpp: In member function 'void ITEM::setName(const char*)': -src/main.cpp:153:72: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 153 | fprintf(stderr, "Item name for \"%s\" truncated! (%d/%lu characters)\n", - | ~~^ - | | - | long unsigned int - | %u - 154 | name_, MAX_ITEM_NAME_LEN, strlen(name_)); - | ~~~~~~~~~~~~~ - | | - | size_t {aka unsigned int} -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optiontypes.o -c src/optiontypes.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/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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/player.o -c src/player.cpp Compiling obj/player_types.o @@ -1015,25 +1051,6 @@ /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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/teleport.o -c src/teleport.cpp -In file included from src/environment.h:25, - from src/player.cpp:21: -src/player.cpp: In member function 'eControl PLAYER::executeNetCmd(bool, AICore*)': -src/player.cpp:1196:51: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'std::__atomic_base::__int_type' {aka 'int'} [-Wformat=] - 1196 | SAFE_WRITE(server_socket, "SURFACE %d %ld", x, - | ^~~~~~~~~~~~~~~~ - 1197 | global.surface[x].load()) - | ~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | std::__atomic_base::__int_type {aka int} -src/network.h:78:25: note: in definition of macro 'SAFE_WRITE' - 78 | sprintf(buffer, fmt_, __VA_ARGS__); \ - | ^~~~ -src/player.cpp:1196:65: note: format string is defined here - 1196 | SAFE_WRITE(server_socket, "SURFACE %d %ld", x, - | ~~^ - | | - | long int - | %d 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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/text.o -c src/text.cpp Compiling obj/update.o @@ -1066,13 +1083,32 @@ 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); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from src/environment.h:25, + from src/player.cpp:21: +src/player.cpp: In member function 'eControl PLAYER::executeNetCmd(bool, AICore*)': +src/player.cpp:1196:51: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'std::__atomic_base::__int_type' {aka 'int'} [-Wformat=] + 1196 | SAFE_WRITE(server_socket, "SURFACE %d %ld", x, + | ^~~~~~~~~~~~~~~~ + 1197 | global.surface[x].load()) + | ~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | std::__atomic_base::__int_type {aka int} +src/network.h:78:25: note: in definition of macro 'SAFE_WRITE' + 78 | sprintf(buffer, fmt_, __VA_ARGS__); \ + | ^~~~ +src/player.cpp:1196:65: note: format string is defined here + 1196 | SAFE_WRITE(server_socket, "SURFACE %d %ld", x, + | ~~^ + | | + | long int + | %d /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/i386-linux-gnu -lalleg -lm -lpthread -ggdb -g -O2 -ffile-prefix-map=/build/reproducible-path/atanks-6.6~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused make[1]: Leaving directory '/build/reproducible-path/atanks-6.6~dfsg' dh_auto_test create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install - make -j11 install DESTDIR=/build/reproducible-path/atanks-6.6\~dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j21 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 @@ -1164,12 +1200,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/38293/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/38293/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/3078 and its subdirectories -I: Current time: Wed Feb 19 20:53:13 -12 2025 -I: pbuilder-time-stamp: 1740041593 +I: removing directory /srv/workspace/pbuilder/38293 and its subdirectories +I: Current time: Thu Mar 26 05:16:46 +14 2026 +I: pbuilder-time-stamp: 1774451806