Diff of the two buildlogs: -- --- b1/build.log 2021-06-13 01:47:30.102138404 +0000 +++ b2/build.log 2021-06-13 01:47:59.965012714 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jun 12 13:43:04 -12 2021 -I: pbuilder-time-stamp: 1623548584 +I: Current time: Sat Jul 16 22:10:27 +14 2022 +I: pbuilder-time-stamp: 1657959027 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./atanks_6.5~dfsg-4.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.0HpL8Y5a/trustedkeys.kbx': General error -gpgv: Signature made Sat Nov 14 09:37:44 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.9W68i9PZ/trustedkeys.kbx': General error +gpgv: Signature made Sun Nov 15 11:37:44 2020 +14 gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key @@ -30,137 +30,171 @@ dpkg-source: info: applying freebsd-hurd.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/21764/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/48321/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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/48321/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/48321/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - 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,-fixfilepath parallel=10' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + 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,-fixfilepath parallel=18' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='4e79c087b8d24fb9a17a1c4e8af3b751' - 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='21764' - PS1='# ' - PS2='> ' + INVOCATION_ID=3190cbbe2788405ba1e09b71739d8e92 + 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=48321 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/tmp.OSf1eIjbAD/pbuilderrc_JjdW --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.OSf1eIjbAD/b1 --logfile b1/build.log atanks_6.5~dfsg-4.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://78.137.99.97: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/tmp.OSf1eIjbAD/pbuilderrc_RAT4 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.OSf1eIjbAD/b2 --logfile b2/build.log --extrapackages usrmerge atanks_6.5~dfsg-4.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://85.184.249.68:3128 I: uname -a - Linux ionos12-i386 4.19.0-16-686-pae #1 SMP Debian 4.19.181-1 (2021-03-19) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux I: ls -l /bin - total 5780 - -rwxr-xr-x 1 root root 1367848 Feb 24 08:57 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 02:38 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 02:38 more - -rwsr-xr-x 1 root root 50720 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 13856 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Feb 24 08:57 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jun 11 21:25 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 02:38 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/21764/tmp/hooks/D02_print_environment finished + total 5776 + -rwxr-xr-x 1 root root 1367848 Feb 25 2021 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 2021 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 2021 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 2021 more + -rwsr-xr-x 1 root root 50720 Feb 8 2021 mount + -rwxr-xr-x 1 root root 13856 Feb 8 2021 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Feb 25 2021 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 16 22:10 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 16 05:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 2021 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 2021 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/48321/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -266,7 +300,7 @@ Get: 65 http://deb.debian.org/debian bullseye/main i386 libxfixes-dev i386 1:5.0.3-2 [24.7 kB] Get: 66 http://deb.debian.org/debian bullseye/main i386 libxcursor-dev i386 1:1.2.0-2 [46.8 kB] Get: 67 http://deb.debian.org/debian bullseye/main i386 liballegro4-dev i386 2:4.4.3.1-2 [306 kB] -Fetched 23.7 MB in 8s (3140 kB/s) +Fetched 23.7 MB in 0s (74.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19675 files and directories currently installed.) @@ -553,9 +587,41 @@ Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). -0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (5053 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 22628 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/atanks-6.5~dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/atanks-6.5~dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package atanks dpkg-buildpackage: info: source version 6.5~dfsg-4 dpkg-buildpackage: info: source distribution unstable @@ -565,9 +631,9 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j10 clean + make -j18 clean make[1]: Entering directory '/build/atanks-6.5~dfsg' -/bin/rm -f obj/* atanks +/usr/bin/rm -f obj/* atanks make[1]: Leaving directory '/build/atanks-6.5~dfsg' dh_clean debian/rules build @@ -576,30 +642,249 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j10 "INSTALL=install --strip-program=true" + make -j18 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 Compiling obj/beam.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 -Compiling obj/client.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 Compiling obj/debug.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 Compiling obj/decor.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 +Compiling obj/gfxData.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 +In file included from src/menu.h:24, + from src/optionscreens.h:28, + from src/atanks.cpp:24: +src/optionitem.h: In constructor 'OptionItem::OptionItem(int32_t, tgt_T*, int32_t (*)(tgt_T*, int32_t), const char*, int32_t, BUTTON*, int32_t, int32_t, int32_t, int32_t, int32_t)': +src/optionitem.h:304:16: warning: invalid use of incomplete type 'class BUTTON' + 304 | this->button->getLocation(this->left, this->top, this->width, this->height); + | ^~ +In file included from src/optionitem.h:24, + from src/menu.h:24, + from src/optionscreens.h:28, + from src/atanks.cpp:24: +src/optionitembase.h:40:7: note: forward declaration of 'class BUTTON' + 40 | class BUTTON; + | ^~~~~~ +src/explosion.cpp: In member function 'virtual void EXPLOSION::applyPhysics()': +src/explosion.cpp:181:18: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 181 | } catch (std::exception) { /* No reason to fuss, its just smoke. */ } + | ^~~~~~~~~ +src/beam.cpp: In member function 'virtual void BEAM::applyPhysics()': +src/beam.cpp:201:18: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 201 | } catch (std::exception) { + | ^~~~~~~~~ +src/beam.cpp:211:17: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 211 | } catch (std::exception) { + | ^~~~~~~~~ +src/beam.cpp: In member function 'void BEAM::createBeamPath()': +src/beam.cpp:271:17: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 271 | } catch (std::exception) { + | ^~~~~~~~~ +src/gameloop.cpp: In function 'void init_new_round()': +src/gameloop.cpp:1399:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] + 1399 | for (int32_t i = 0; i < env.numGamePlayers; ++i) + | ^~~ +src/gameloop.cpp:1403:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' + 1403 | global.newRound(); + | ^~~~~~ +src/globaldata.cpp: In member function 'void GLOBALDATA::destroy()': +src/globaldata.cpp:226:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 226 | if (canvas) destroy_bitmap(canvas); canvas = nullptr; + | ^~ +src/globaldata.cpp:226:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 227 | if (terrain) destroy_bitmap(terrain); terrain = nullptr; + | ^~ +src/globaldata.cpp:227:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 228 | if (done) delete [] done; done = nullptr; + | ^~ +src/globaldata.cpp:228:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 229 | if (fp) delete [] fp; fp = nullptr; + | ^~ +src/globaldata.cpp:229:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 230 | if (surface) delete [] surface; surface = nullptr; + | ^~ +src/globaldata.cpp:230:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 231 | if (dropTo) delete [] dropTo; dropTo = nullptr; + | ^~ +src/globaldata.cpp:231:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 232 | if (velocity) delete [] velocity; velocity = nullptr; + | ^~ +src/globaldata.cpp:232:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 233 | if (dropIncr) delete [] dropIncr; dropIncr = nullptr; + | ^~ +src/globaldata.cpp:233:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 234 | if (updates) delete [] updates; updates = nullptr; + | ^~ +src/globaldata.cpp:234:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 235 | if (lastUpdates) delete [] lastUpdates; lastUpdates = nullptr; + | ^~ +src/globaldata.cpp:235:43: 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:59: 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/files.cpp: In function 'bool Save_Game()': +src/files.cpp:44:34: 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:10: 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:95:34: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] + 95 | snprintf(path_buf, PATH_MAX, "%s/%s.txt", + | ^ +src/files.cpp:95:10: note: 'snprintf' output between 6 and 4166 bytes into a destination of size 4096 + 95 | snprintf(path_buf, PATH_MAX, "%s/%s.txt", + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 96 | env.configDir, env.game_name); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp: In function 'bool Load_Game()': +src/files.cpp:131:34: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] + 131 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); + | ^ +src/files.cpp:131:10: note: 'snprintf' output between 6 and 4166 bytes into a destination of size 4096 + 131 | 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:295:34: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] + 295 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); + | ^ +src/files.cpp:295:10: note: 'snprintf' output between 6 and 4166 bytes into a destination of size 4096 + 295 | 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:323:35: warning: '/atanks-config.txt' directive output may be truncated writing 18 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 323 | snprintf(dest_path, PATH_MAX, "%s/atanks-config.txt", env.configDir); + | ^~~~~~~~~~~~~~~~~~ +src/files.cpp:323:10: note: 'snprintf' output between 19 and 4115 bytes into a destination of size 4096 + 323 | snprintf(dest_path, PATH_MAX, "%s/atanks-config.txt", env.configDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp: In function 'bool Create_Music_Folder()': +src/files.cpp:381:34: warning: '/music' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 381 | snprintf(path_buf, PATH_MAX, "%s/music", env.configDir); + | ^~~~~~ +src/files.cpp:381:10: note: 'snprintf' output between 7 and 4103 bytes into a destination of size 4096 + 381 | snprintf(path_buf, PATH_MAX, "%s/music", env.configDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp: In function 'bool Load_Weapons_Text()': +src/files.cpp:511:35: warning: '/text/weapons_it.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 511 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_it.txt", env.dataDir); + | ^~~~~~~~~~~~~~~~~~~~ +src/files.cpp:511:11: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 + 511 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_it.txt", env.dataDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:509:35: warning: '/text/weapons_ES.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 509 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ES.txt", env.dataDir); + | ^~~~~~~~~~~~~~~~~~~~ +src/files.cpp:509:11: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 + 509 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ES.txt", env.dataDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:507:35: warning: '/text/weapons_ru.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 507 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ru.txt", env.dataDir); + | ^~~~~~~~~~~~~~~~~~~~ +src/files.cpp:507:11: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 + 507 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ru.txt", env.dataDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:505:35: warning: '/text/weapons_sk.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 505 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_sk.txt", env.dataDir); + | ^~~~~~~~~~~~~~~~~~~~ +src/files.cpp:505:11: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 + 505 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_sk.txt", env.dataDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:503:35: warning: '/text/weapons_de.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 503 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_de.txt", env.dataDir); + | ^~~~~~~~~~~~~~~~~~~~ +src/files.cpp:503:11: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 + 503 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_de.txt", env.dataDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:501:35: warning: '/text/weapons_fr.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 501 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_fr.txt", env.dataDir); + | ^~~~~~~~~~~~~~~~~~~~ +src/files.cpp:501:11: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 + 501 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_fr.txt", env.dataDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:499:35: 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=] + 499 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.pt_BR.txt", env.dataDir); + | ^~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:499:11: note: 'snprintf' output between 24 and 4120 bytes into a destination of size 4096 + 499 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.pt_BR.txt", env.dataDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/files.cpp:497:35: warning: '/text/weapons.txt' directive output may be truncated writing 17 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] + 497 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.txt", env.dataDir); + | ^~~~~~~~~~~~~~~~~ +src/files.cpp:497:11: note: 'snprintf' output between 18 and 4114 bytes into a destination of size 4096 + 497 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.txt", env.dataDir); + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function 'void ENVIRONMENT::load_text_files()': src/environment.cpp:942:36: 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=] 942 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_it.txt", dataDir); @@ -815,37 +1100,8 @@ src/environment.cpp:1288:11: note: 'snprintf' output between 14 and 4119 bytes into a destination of size 4096 1288 | snprintf(path_buf, PATH_MAX, "%s/sound/%02d.wav", dataDir, i); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Compiling obj/files.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 -In file included from src/menu.h:24, - from src/optionscreens.h:28, - from src/atanks.cpp:24: -src/optionitem.h: In constructor 'OptionItem::OptionItem(int32_t, tgt_T*, int32_t (*)(tgt_T*, int32_t), const char*, int32_t, BUTTON*, int32_t, int32_t, int32_t, int32_t, int32_t)': -src/optionitem.h:304:16: warning: invalid use of incomplete type 'class BUTTON' - 304 | this->button->getLocation(this->left, this->top, this->width, this->height); - | ^~ -In file included from src/optionitem.h:24, - from src/menu.h:24, - from src/optionscreens.h:28, - from src/atanks.cpp:24: -src/optionitembase.h:40:7: note: forward declaration of 'class BUTTON' - 40 | class BUTTON; - | ^~~~~~ -src/beam.cpp: In member function 'virtual void BEAM::applyPhysics()': -src/beam.cpp:201:18: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 201 | } catch (std::exception) { - | ^~~~~~~~~ -src/beam.cpp:211:17: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 211 | } catch (std::exception) { - | ^~~~~~~~~ -src/beam.cpp: In member function 'void BEAM::createBeamPath()': -src/beam.cpp:271:17: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 271 | } catch (std::exception) { - | ^~~~~~~~~ -Compiling obj/floattext.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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/network.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 src/atanks.cpp: In function 'void credits()': src/atanks.cpp:152:35: 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); @@ -867,206 +1123,6 @@ src/atanks.cpp:737:11: note: 'snprintf' output between 19 and 4115 bytes into a destination of size 4096 737 | snprintf(fullPath, PATH_MAX, "%s/atanks-config.txt", env.configDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Compiling obj/gfxData.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 -src/explosion.cpp: In member function 'virtual void EXPLOSION::applyPhysics()': -src/explosion.cpp:181:18: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 181 | } catch (std::exception) { /* No reason to fuss, its just smoke. */ } - | ^~~~~~~~~ -src/files.cpp: In function 'bool Save_Game()': -src/files.cpp:44:34: 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:10: 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:95:34: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] - 95 | snprintf(path_buf, PATH_MAX, "%s/%s.txt", - | ^ -src/files.cpp:95:10: note: 'snprintf' output between 6 and 4166 bytes into a destination of size 4096 - 95 | snprintf(path_buf, PATH_MAX, "%s/%s.txt", - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 96 | env.configDir, env.game_name); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp: In function 'bool Load_Game()': -src/files.cpp:131:34: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] - 131 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); - | ^ -src/files.cpp:131:10: note: 'snprintf' output between 6 and 4166 bytes into a destination of size 4096 - 131 | 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:295:34: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] - 295 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); - | ^ -src/files.cpp:295:10: note: 'snprintf' output between 6 and 4166 bytes into a destination of size 4096 - 295 | 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:323:35: warning: '/atanks-config.txt' directive output may be truncated writing 18 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 323 | snprintf(dest_path, PATH_MAX, "%s/atanks-config.txt", env.configDir); - | ^~~~~~~~~~~~~~~~~~ -src/files.cpp:323:10: note: 'snprintf' output between 19 and 4115 bytes into a destination of size 4096 - 323 | snprintf(dest_path, PATH_MAX, "%s/atanks-config.txt", env.configDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp: In function 'bool Create_Music_Folder()': -src/files.cpp:381:34: warning: '/music' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 381 | snprintf(path_buf, PATH_MAX, "%s/music", env.configDir); - | ^~~~~~ -src/files.cpp:381:10: note: 'snprintf' output between 7 and 4103 bytes into a destination of size 4096 - 381 | snprintf(path_buf, PATH_MAX, "%s/music", env.configDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp: In function 'bool Load_Weapons_Text()': -src/files.cpp:511:35: warning: '/text/weapons_it.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 511 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_it.txt", env.dataDir); - | ^~~~~~~~~~~~~~~~~~~~ -src/files.cpp:511:11: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 - 511 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_it.txt", env.dataDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:509:35: warning: '/text/weapons_ES.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 509 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ES.txt", env.dataDir); - | ^~~~~~~~~~~~~~~~~~~~ -src/files.cpp:509:11: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 - 509 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ES.txt", env.dataDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:507:35: warning: '/text/weapons_ru.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 507 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ru.txt", env.dataDir); - | ^~~~~~~~~~~~~~~~~~~~ -src/files.cpp:507:11: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 - 507 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ru.txt", env.dataDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:505:35: warning: '/text/weapons_sk.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 505 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_sk.txt", env.dataDir); - | ^~~~~~~~~~~~~~~~~~~~ -src/files.cpp:505:11: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 - 505 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_sk.txt", env.dataDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:503:35: warning: '/text/weapons_de.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 503 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_de.txt", env.dataDir); - | ^~~~~~~~~~~~~~~~~~~~ -src/files.cpp:503:11: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 - 503 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_de.txt", env.dataDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:501:35: warning: '/text/weapons_fr.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 501 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_fr.txt", env.dataDir); - | ^~~~~~~~~~~~~~~~~~~~ -src/files.cpp:501:11: note: 'snprintf' output between 21 and 4117 bytes into a destination of size 4096 - 501 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_fr.txt", env.dataDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:499:35: 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=] - 499 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.pt_BR.txt", env.dataDir); - | ^~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:499:11: note: 'snprintf' output between 24 and 4120 bytes into a destination of size 4096 - 499 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.pt_BR.txt", env.dataDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/files.cpp:497:35: warning: '/text/weapons.txt' directive output may be truncated writing 17 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] - 497 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.txt", env.dataDir); - | ^~~~~~~~~~~~~~~~~ -src/files.cpp:497:11: note: 'snprintf' output between 18 and 4114 bytes into a destination of size 4096 - 497 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.txt", env.dataDir); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Compiling obj/menu.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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/globaldata.cpp: In member function 'void GLOBALDATA::destroy()': -src/globaldata.cpp:226:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 226 | if (canvas) destroy_bitmap(canvas); canvas = nullptr; - | ^~ -src/globaldata.cpp:226:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 227 | if (terrain) destroy_bitmap(terrain); terrain = nullptr; - | ^~ -src/globaldata.cpp:227:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 228 | if (done) delete [] done; done = nullptr; - | ^~ -src/globaldata.cpp:228:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 229 | if (fp) delete [] fp; fp = nullptr; - | ^~ -src/globaldata.cpp:229:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 230 | if (surface) delete [] surface; surface = nullptr; - | ^~ -src/globaldata.cpp:230:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 231 | if (dropTo) delete [] dropTo; dropTo = nullptr; - | ^~ -src/globaldata.cpp:231:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 232 | if (velocity) delete [] velocity; velocity = nullptr; - | ^~ -src/globaldata.cpp:232:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 233 | if (dropIncr) delete [] dropIncr; dropIncr = nullptr; - | ^~ -src/globaldata.cpp:233:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 234 | if (updates) delete [] updates; updates = nullptr; - | ^~ -src/globaldata.cpp:234:43: 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 235 | if (lastUpdates) delete [] lastUpdates; lastUpdates = nullptr; - | ^~ -src/globaldata.cpp:235:43: 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:59: 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/gameloop.cpp: In function 'void init_new_round()': -src/gameloop.cpp:1399:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] - 1399 | for (int32_t i = 0; i < env.numGamePlayers; ++i) - | ^~~ -src/gameloop.cpp:1403:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' - 1403 | global.newRound(); - | ^~~~~~ -Compiling obj/network.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 -Compiling obj/optionitemplayer.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 -Compiling obj/optionscreens.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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/main.cpp: In member function 'void WEAPON::setDesc(const char*)': src/main.cpp:103:67: 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", @@ -1111,8 +1167,30 @@ | ~~~~~~~~~~~~~ | | | size_t {aka unsigned int} +Compiling obj/optionitembase.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 +Compiling obj/optionitemplayer.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 +Compiling obj/optionscreens.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 +Compiling obj/satellite.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 In file included from src/menu.h:24, from src/menu.cpp:5: src/optionitem.h: In instantiation of 'void OptionItem::activateValue(int32_t) [with tgt_T = bool; opt_T = unsigned int; int32_t = int]': @@ -1125,8 +1203,18 @@ src/missile.cpp:237:18: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 237 | } 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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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/sky.o +Compiling obj/sound.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/sky.o -c src/sky.cpp +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/sound.o -c src/sound.cpp +Compiling obj/tank.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 +Compiling obj/text.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/update.o -c src/update.cpp In file included from src/menu.h:24, from src/optionitemmenu.cpp:2: src/optionitem.h: In constructor 'OptionItem::OptionItem(int32_t, tgt_T*, int32_t (*)(tgt_T*, int32_t), const char*, int32_t, BUTTON*, int32_t, int32_t, int32_t, int32_t, int32_t)': @@ -1138,10 +1226,6 @@ src/optionitembase.h:40:7: note: forward declaration of 'class BUTTON' 40 | class BUTTON; | ^~~~~~ -Compiling obj/physobj.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 In file included from src/menu.h:24, from src/optionscreens.h:28, from src/optionscreens.cpp:1: @@ -1156,27 +1240,8 @@ src/optionitembase.h:40:7: note: forward declaration of 'class BUTTON' 40 | class BUTTON; | ^~~~~~ -Compiling obj/player_types.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 -In file included from src/menu.h:24, - from src/optionscreens.h:28, - from src/optionscreens.cpp:1: -src/optionitem.h: In instantiation of 'void OptionItem::activateValue(int32_t) [with tgt_T = bool; opt_T = int; int32_t = int]': -src/optionitem.h:382:12: required from 'int32_t OptionItem::activate(int32_t, int32_t, int32_t, int32_t) [with tgt_T = bool; opt_T = int; int32_t = int]' -src/optionitem.h:340:10: required from here -src/optionitem.h:507:40: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] - 507 | tgt_T t_val = static_cast(val * decinc); - | ~~~~^~~~~~~~ -Compiling obj/satellite.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/sky.o -c src/sky.cpp -Compiling obj/sound.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/sound.o -c src/sound.cpp -Compiling obj/tank.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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/virtobj.o +/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/virtobj.o -c src/virtobj.cpp In file included from src/menu.h:24, from src/player.cpp:25: src/optionitem.h: In constructor 'OptionItem::OptionItem(int32_t, tgt_T*, int32_t (*)(tgt_T*, int32_t), const char*, int32_t, BUTTON*, int32_t, int32_t, int32_t, int32_t, int32_t)': @@ -1208,14 +1273,15 @@ | | | long int | %d -Compiling obj/teleport.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 -Compiling obj/text.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~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 -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/update.o -c src/update.cpp -Compiling obj/virtobj.o -/usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6.5~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/virtobj.o -c src/virtobj.cpp +In file included from src/menu.h:24, + from src/optionscreens.h:28, + from src/optionscreens.cpp:1: +src/optionitem.h: In instantiation of 'void OptionItem::activateValue(int32_t) [with tgt_T = bool; opt_T = int; int32_t = int]': +src/optionitem.h:382:12: required from 'int32_t OptionItem::activate(int32_t, int32_t, int32_t, int32_t) [with tgt_T = bool; opt_T = int; int32_t = int]' +src/optionitem.h:340:10: required from here +src/optionitem.h:507:40: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] + 507 | tgt_T t_val = static_cast(val * decinc); + | ~~~~^~~~~~~~ src/shop.cpp: In function 'bool shop(LevelCreator*)': src/shop.cpp:284:22: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size 62 [-Wformat-truncation=] 284 | "%s \"%s\".", @@ -1241,7 +1307,7 @@ dh_testroot dh_prep dh_auto_install - make -j10 install DESTDIR=/build/atanks-6.5\~dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j18 install DESTDIR=/build/atanks-6.5\~dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/atanks-6.5~dfsg' install --strip-program=true -d /build/atanks-6.5~dfsg/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified @@ -1322,21 +1388,23 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'atanks-dbgsym' in '../atanks-dbgsym_6.5~dfsg-4_i386.deb'. dpkg-deb: building package 'atanks' in '../atanks_6.5~dfsg-4_i386.deb'. dpkg-deb: building package 'atanks-data' in '../atanks-data_6.5~dfsg-4_all.deb'. +dpkg-deb: building package 'atanks-dbgsym' in '../atanks-dbgsym_6.5~dfsg-4_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../atanks_6.5~dfsg-4_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/48321/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/48321/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/21764 and its subdirectories -I: Current time: Sat Jun 12 13:47:29 -12 2021 -I: pbuilder-time-stamp: 1623548849 +I: removing directory /srv/workspace/pbuilder/48321 and its subdirectories +I: Current time: Sat Jul 16 22:10:55 +14 2022 +I: pbuilder-time-stamp: 1657959055