Diff of the two buildlogs: -- --- b1/build.log 2024-04-18 14:08:40.511710009 +0000 +++ b2/build.log 2024-04-18 14:09:37.313293937 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 21 08:31:05 -12 2025 -I: pbuilder-time-stamp: 1747859465 +I: Current time: Fri Apr 19 04:08:43 +14 2024 +I: pbuilder-time-stamp: 1713449323 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,54 +27,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/22831/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/8949/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-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 Apr 18 14:08 /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/8949/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/8949/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=22 ' - 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]="21" [3]="1" [4]="release" [5]="i686-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + 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='bdb13665b0104e52bc0b0b8fd87da783' - 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='22831' - PS1='# ' - PS2='> ' + INVOCATION_ID=4ef39564c834441f80ba3bb7cf80a8c3 + 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=8949 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.yAMO3xGF/pbuilderrc_lQKS --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.yAMO3xGF/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://85.184.249.68: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.yAMO3xGF/pbuilderrc_l7Dw --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.yAMO3xGF/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://78.137.99.97:3128 I: uname -a - Linux ionos16-i386 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.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 21 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/22831/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 17 07:42 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/8949/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -175,7 +207,7 @@ Get: 60 http://deb.debian.org/debian unstable/main i386 libxfixes-dev i386 1:6.0.0-2 [25.3 kB] Get: 61 http://deb.debian.org/debian unstable/main i386 libxcursor-dev i386 1:1.2.1-1 [54.1 kB] Get: 62 http://deb.debian.org/debian unstable/main i386 liballegro4-dev i386 2:4.4.3.1-4.1+b1 [297 kB] -Fetched 24.6 MB in 1s (43.7 MB/s) +Fetched 24.6 MB in 0s (57.6 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 ... 19681 files and directories currently installed.) @@ -443,7 +475,11 @@ fakeroot is already the newest version (1.34-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/8949/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/8949/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 @@ -453,7 +489,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j22 clean + make -j10 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' @@ -464,56 +500,30 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j22 "INSTALL=install --strip-program=true" + make -j10 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/atanks-6.6~dfsg' Compiling obj/aicore.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/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 /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 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/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 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 -/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/debris_pool.o Compiling obj/debug.o +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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/clock.o -c src/clock.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/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/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/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 -/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 -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/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 -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 -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 -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/main.o -c src/main.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/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 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=] @@ -537,227 +547,12 @@ 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/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/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} -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 - | ^~~ -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) { - | ^~~~~~~~~ -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); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Compiling obj/optionitemplayer.o -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); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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/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/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/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 -Wformat -Werror=format-security -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 -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 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) { @@ -769,10 +564,10 @@ src/beam.cpp:271:31: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 271 | } catch (std::exception) { | ^~~~~~~~~ -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/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 +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/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); @@ -997,12 +792,10 @@ 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/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 -/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_types.o -c src/player_types.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/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); @@ -1010,15 +803,258 @@ 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); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Compiling obj/satellite.o 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); | ^~~~~~~~~~~~~~~~~~ -/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/satellite.o -c src/satellite.cpp 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/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 +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); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Compiling obj/network.o +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); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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 +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 +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/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 +/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_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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/shop.o -c src/shop.cpp Compiling obj/sky.o @@ -1089,7 +1125,7 @@ dh_testroot dh_prep dh_auto_install - make -j22 install DESTDIR=/build/reproducible-path/atanks-6.6\~dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j10 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 @@ -1181,12 +1217,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/8949/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/8949/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/22831 and its subdirectories -I: Current time: Wed May 21 08:31:38 -12 2025 -I: pbuilder-time-stamp: 1747859498 +I: removing directory /srv/workspace/pbuilder/8949 and its subdirectories +I: Current time: Fri Apr 19 04:09:36 +14 2024 +I: pbuilder-time-stamp: 1713449376