Diff of the two buildlogs: -- --- b1/build.log 2023-05-22 04:42:19.466132644 +0000 +++ b2/build.log 2023-05-22 04:43:14.583702647 +0000 @@ -1,6 +1,7 @@ +W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build -I: Current time: Sat Jun 22 23:03:05 -12 2024 -I: pbuilder-time-stamp: 1719140585 +I: Current time: Mon May 22 18:42:20 +14 2023 +I: pbuilder-time-stamp: 1684730540 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -17,7 +18,7 @@ I: copying [./supertransball2_1.5.orig.tar.gz] I: copying [./supertransball2_1.5-11.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Nov 14 22:52:56 2021 -12 +gpgv: Signature made Tue Nov 16 00:52:56 2021 +14 gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key @@ -31,137 +32,168 @@ dpkg-source: info: applying gcc-6-convert-bool.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/28608/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/22721/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 May 22 18:42 /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/22721/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/22721/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 parallel=16 ' - DISTRIBUTION='bookworm' - 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]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(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 parallel=7 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='11293f80749e40de8545b58e688b2c84' - 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='28608' - PS1='# ' - PS2='> ' + 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=22721 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.LAEeQF8o/pbuilderrc_6mRH --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.LAEeQF8o/b1 --logfile b1/build.log supertransball2_1.5-11.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.LAEeQF8o/pbuilderrc_b0ID --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.LAEeQF8o/b2 --logfile b2/build.log --extrapackages usrmerge supertransball2_1.5-11.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 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-23-686-pae #1 SMP Debian 5.10.179-1 (2023-05-12) i686 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 2023 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 2023 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 2023 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 2023 more - -rwsr-xr-x 1 root root 58912 Mar 22 2023 mount - -rwxr-xr-x 1 root root 13856 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 2023 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 2023 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 2023 tar - -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 2023 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/28608/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 00:20 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 00:20 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 22:38 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 01:43 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 00:20 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 00:20 more + -rwsr-xr-x 1 root root 58912 Mar 24 00:20 mount + -rwxr-xr-x 1 root root 13856 Mar 24 00:20 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 22 18:42 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 00:20 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 22:38 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 00:20 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 00:20 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/22721/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -401,7 +433,7 @@ Get: 194 http://deb.debian.org/debian bookworm/main i386 libsdl-mixer1.2-dev i386 1.2.12-17+b3 [104 kB] Get: 195 http://deb.debian.org/debian bookworm/main i386 libsdl-sge i386 030809dfsg-11 [77.3 kB] Get: 196 http://deb.debian.org/debian bookworm/main i386 libsdl-sge-dev i386 030809dfsg-11 [162 kB] -Fetched 103 MB in 3s (38.4 MB/s) +Fetched 103 MB in 3s (35.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:i386. (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 ... 19604 files and directories currently installed.) @@ -1209,10 +1241,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/supertransball2-1.5/ && 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 > ../supertransball2_1.5-11_source.changes +I: user script /srv/workspace/pbuilder/22721/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/22721/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/supertransball2-1.5/ && 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 > ../supertransball2_1.5-11_source.changes dpkg-buildpackage: info: source package supertransball2 dpkg-buildpackage: info: source version 1.5-11 dpkg-buildpackage: info: source distribution unstable @@ -1222,7 +1261,7 @@ fakeroot debian/rules clean dh clean --sourcedirectory=sources dh_auto_clean -O--sourcedirectory=sources - cd sources && make -j16 clean + cd sources && make -j7 clean make[1]: Entering directory '/build/supertransball2-1.5/sources' rm -f ../supertransball2 rm -f *.o @@ -1235,7 +1274,7 @@ dh_autoreconf -O--sourcedirectory=sources dh_auto_configure -O--sourcedirectory=sources dh_auto_build -O--sourcedirectory=sources - cd sources && make -j16 "INSTALL=install --strip-program=true" + cd sources && make -j7 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/supertransball2-1.5/sources' g++ -c -g3 -O3 auxiliar.cpp -o auxiliar.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL g++ -c -g3 -O3 configuration.cpp -o configuration.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL @@ -1244,15 +1283,6 @@ g++ -c -g3 -O3 fonts.cpp -o fonts.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL g++ -c -g3 -O3 game.cpp -o game.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL g++ -c -g3 -O3 main.cpp -o main.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 maps.cpp -o maps.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 replays.cpp -o replays.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_changepack.cpp -o state_changepack.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_chooseship.cpp -o state_chooseship.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_endsequence.cpp -o state_endsequence.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_game.cpp -o state_game.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_gameover.cpp -o state_gameover.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_instructions.cpp -o state_instructions.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_interphase.cpp -o state_interphase.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL encoder.cpp: In function 'void encode(char*, char*)': encoder.cpp:16:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | chdir(datadir); @@ -1263,6 +1293,69 @@ encoder.cpp:20:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | chdir(datadir); | ~~~~~^~~~~~~~~ +encoder.cpp: In function 'void decode(char*, char*)': +encoder.cpp:50:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 50 | chdir(datadir); + | ~~~~~^~~~~~~~~ +encoder.cpp:52:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 52 | chdir(confdir); + | ~~~~~^~~~~~~~~ +encoder.cpp:54:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 54 | chdir(datadir); + | ~~~~~^~~~~~~~~ +game.cpp: In function 'bool gamecycle(SDL_Surface*, int, int)': +game.cpp:141:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 141 | decode(tmp,"decoding.tmp"); + | ^~~~~~~~~~~~~~ +game.cpp:140:22: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 140 | chdir(datadir); + | ~~~~~^~~~~~~~~ +game.cpp:143:22: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 143 | chdir(confdir); + | ~~~~~^~~~~~~~~ +game.cpp:146:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 146 | fscanf(fp,"%i",&NLEVELS); + | ~~~~~~^~~~~~~~~~~~~~~~~~ +game.cpp:149:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 149 | fscanf(fp,"%s %s",tmp,tmp); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +game.cpp:154:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 154 | fscanf(fp,"%s ",tmp); + | ~~~~~~^~~~~~~~~~~~~~ +game.cpp:155:38: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 155 | fgets(tmp,128,fp); + | ~~~~~^~~~~~~~~~~~ +game.cpp:160:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 160 | fscanf(fp,"%s %s",tmp,tmp); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +game.cpp:165:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 165 | fscanf(fp,"%s %i",tmp,&initialfuel[i]); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +game.cpp:176:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 176 | chdir(datadir); + | ~~~~~^~~~~~~~~ +configuration.cpp: In function 'bool load_configuration()': +configuration.cpp:32:28: warning: format '%i' expects argument of type 'int*', but argument 3 has type 'bool*' [-Wformat=] + 32 | if (2!=fscanf(fp,"%i %i",&fullscreen,&PIXEL_SIZE)) { + | ~^ ~~~~~~~~~~~ + | | | + | int* bool* +configuration.cpp:21:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 21 | chdir(confdir); + | ~~~~~^~~~~~~~~ +configuration.cpp:23:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 23 | chdir(datadir); + | ~~~~~^~~~~~~~~ +configuration.cpp: In function 'void save_configuration()': +configuration.cpp:54:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 54 | chdir(confdir); + | ~~~~~^~~~~~~~~ +configuration.cpp:56:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 56 | chdir(datadir); + | ~~~~~^~~~~~~~~ +g++ -c -g3 -O3 maps.cpp -o maps.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +g++ -c -g3 -O3 replays.cpp -o replays.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +g++ -c -g3 -O3 state_changepack.cpp -o state_changepack.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL replays.cpp: In function 'int replay_parameters(char*, int*, int*, char*)': replays.cpp:14:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | chdir(confdir); @@ -1270,6 +1363,110 @@ replays.cpp:16:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | chdir(datadir); | ~~~~~^~~~~~~~~ +replays.cpp: In function 'void replay_copy(char*, char*)': +replays.cpp:43:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 43 | chdir(confdir); + | ~~~~~^~~~~~~~~ +replays.cpp:47:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | chdir(datadir); + | ~~~~~^~~~~~~~~ +g++ -c -g3 -O3 state_chooseship.cpp -o state_chooseship.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +g++ -c -g3 -O3 state_endsequence.cpp -o state_endsequence.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +g++ -c -g3 -O3 state_game.cpp -o state_game.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +state_changepack.cpp: In function 'bool state_changepack_cycle(SDL_Surface*, int, int, unsigned char*)': +state_changepack.cpp:131:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 131 | font_print_centered(sx/2,(sy/2)-24,"CHOOSE LEVEL-PACK:",screen); + | ^~~~~~~~~~~~~~~~~~~~ +state_changepack.cpp:104:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 104 | chdir(datadir); + | ~~~~~^~~~~~~~~ +state_game.cpp: In function 'bool state_game_cycle(SDL_Surface*, int, int, unsigned char*)': +state_game.cpp:93:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 93 | font_print(sx/2,sy/2-16,"PAUSE",screen); + | ^~~~~~~ +state_endsequence.cpp: In function 'bool state_endsequence_cycle(SDL_Surface*, int, int, unsigned char*)': +state_endsequence.cpp:70:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 70 | font_print(16,10," CONGRATULATIONS!",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:72:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 72 | font_print(16,30,"YOU HAVE RECOVERED ALL THE STOLEN SPHERES!!",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:73:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 73 | font_print(16,40,"YOU HAVE GIVEN THE HUMAN KIND ANOTHER CHANCE",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:74:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 74 | font_print(16,50,"TO SURVIVE. BUT THIS IS NOT THE END, A WAR HAS",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:75:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 75 | font_print(16,60,"STARTED BETWEEN THE HUMANS AND THE ALIEN RACE...",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:77:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 77 | font_print(16,80,"MORE CHALLENGES AWAIT YOU IN TRANSBALL 3...",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:79:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 79 | font_print(16,10," CONGRATULATIONS!",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:81:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 81 | font_print(16,30,"YOU HAVE FINISHED THIS LEVEL-PACK!!",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:82:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 82 | font_print(16,40,"BUT...",screen); + | ^~~~~~~~ +state_endsequence.cpp:83:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 83 | font_print(16,50,"HAVE YOU ALREADY FINISHED ALL THE OTHER PACKS?",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_chooseship.cpp: In function 'bool state_chooseship_cycle(SDL_Surface*, int, int, unsigned char*)': +state_chooseship.cpp:81:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 81 | font_print_centered(sx/2,40,"CHOOSE YOUR SHIP:",screen); + | ^~~~~~~~~~~~~~~~~~~ +state_chooseship.cpp:82:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 82 | font_print(100,60,"SHADOW RUNNER:",screen); + | ^~~~~~~~~~~~~~~~ +state_chooseship.cpp:83:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 83 | font_print(100,70," - HIGH SPEED AND RETRO THRUSTERS.",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_chooseship.cpp:84:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 84 | font_print(100,80," - LOW POWERED WEAPONS.",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +state_chooseship.cpp:86:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 86 | font_print(100,100,"V-PANTHER 2:",screen); + | ^~~~~~~~~~~~~~ +state_chooseship.cpp:87:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 87 | font_print(100,110," - MODERATE SPEED.",screen); + | ^~~~~~~~~~~~~~~~~~~~ +state_chooseship.cpp:88:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 88 | font_print(100,120," - MEDIUM POWERED WEAPONS.",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_chooseship.cpp:90:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 90 | font_print(100,140,"X-TERMINATOR:",screen); + | ^~~~~~~~~~~~~~~ +state_chooseship.cpp:91:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 91 | font_print(100,150," - LOW SPEED.",screen); + | ^~~~~~~~~~~~~~~ +state_chooseship.cpp:92:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 92 | font_print(100,160," - HIGH POWERED WEAPONS.",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -c -g3 -O3 state_gameover.cpp -o state_gameover.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +g++ -c -g3 -O3 state_instructions.cpp -o state_instructions.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +g++ -c -g3 -O3 state_interphase.cpp -o state_interphase.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +g++ -c -g3 -O3 state_keyredefinition.cpp -o state_keyredefinition.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +main.cpp:50:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 50 | char *datadir="/usr/share/games/supertransball2/"; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_gameover.cpp: In function 'bool state_gameover_cycle(SDL_Surface*, int, int, unsigned char*)': +state_gameover.cpp:69:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 69 | font_print_centered(sx/2,(sy/2)-24,"GAME OVER",screen); + | ^~~~~~~~~~~ +state_gameover.cpp:70:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 70 | font_print_centered(sx/2,(sy/2)-16,"PRESS R TO VIEW THE REPLAYS",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.cpp: In function 'int main(int, char**)': +main.cpp:142:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 142 | chdir(confdir); + | ~~~~~^~~~~~~~~ +main.cpp:157:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 157 | chdir(datadir); + | ~~~~~^~~~~~~~~ state_instructions.cpp: In function 'bool state_instructions_cycle(SDL_Surface*, int, int, unsigned char*)': state_instructions.cpp:70:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | font_print(16,10," SUPER TRANSBALL 2 V1.5",screen); @@ -1391,13 +1588,6 @@ state_instructions.cpp:119:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 119 | font_print(16,140," - YOU CAN KILL THE MANY ENEMIES YOU WILL FIND",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -replays.cpp: In function 'void replay_copy(char*, char*)': -replays.cpp:43:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 43 | chdir(confdir); - | ~~~~~^~~~~~~~~ -replays.cpp:47:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | chdir(datadir); - | ~~~~~^~~~~~~~~ state_instructions.cpp:120:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | font_print(16,150," USING YOUR CANONS, SEVERAL SHOTS ARE NEEDED",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1440,16 +1630,6 @@ state_instructions.cpp:137:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 137 | font_print(16,140," EASY... :]",screen); | ^~~~~~~~~~~~~~~ -encoder.cpp: In function 'void decode(char*, char*)': -encoder.cpp:50:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 50 | chdir(datadir); - | ~~~~~^~~~~~~~~ -encoder.cpp:52:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 52 | chdir(confdir); - | ~~~~~^~~~~~~~~ -encoder.cpp:54:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 54 | chdir(datadir); - | ~~~~~^~~~~~~~~ state_instructions.cpp:141:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | font_print(16,10," SUPER TRANSBALL 2 V1.5",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1471,136 +1651,6 @@ state_instructions.cpp:149:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | font_print(16,120," SEE README FILE FOR MORE INFO",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_chooseship.cpp: In function 'bool state_chooseship_cycle(SDL_Surface*, int, int, unsigned char*)': -state_chooseship.cpp:81:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 81 | font_print_centered(sx/2,40,"CHOOSE YOUR SHIP:",screen); - | ^~~~~~~~~~~~~~~~~~~ -state_chooseship.cpp:82:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 82 | font_print(100,60,"SHADOW RUNNER:",screen); - | ^~~~~~~~~~~~~~~~ -state_chooseship.cpp:83:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 83 | font_print(100,70," - HIGH SPEED AND RETRO THRUSTERS.",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_chooseship.cpp:84:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 84 | font_print(100,80," - LOW POWERED WEAPONS.",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -state_chooseship.cpp:86:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 86 | font_print(100,100,"V-PANTHER 2:",screen); - | ^~~~~~~~~~~~~~ -state_chooseship.cpp:87:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 87 | font_print(100,110," - MODERATE SPEED.",screen); - | ^~~~~~~~~~~~~~~~~~~~ -state_chooseship.cpp:88:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 88 | font_print(100,120," - MEDIUM POWERED WEAPONS.",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_chooseship.cpp:90:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 90 | font_print(100,140,"X-TERMINATOR:",screen); - | ^~~~~~~~~~~~~~~ -state_chooseship.cpp:91:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 91 | font_print(100,150," - LOW SPEED.",screen); - | ^~~~~~~~~~~~~~~ -state_chooseship.cpp:92:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 92 | font_print(100,160," - HIGH POWERED WEAPONS.",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -state_gameover.cpp: In function 'bool state_gameover_cycle(SDL_Surface*, int, int, unsigned char*)': -state_gameover.cpp:69:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 69 | font_print_centered(sx/2,(sy/2)-24,"GAME OVER",screen); - | ^~~~~~~~~~~ -state_gameover.cpp:70:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 70 | font_print_centered(sx/2,(sy/2)-16,"PRESS R TO VIEW THE REPLAYS",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -configuration.cpp: In function 'bool load_configuration()': -configuration.cpp:32:28: warning: format '%i' expects argument of type 'int*', but argument 3 has type 'bool*' [-Wformat=] - 32 | if (2!=fscanf(fp,"%i %i",&fullscreen,&PIXEL_SIZE)) { - | ~^ ~~~~~~~~~~~ - | | | - | int* bool* -state_game.cpp: In function 'bool state_game_cycle(SDL_Surface*, int, int, unsigned char*)': -state_game.cpp:93:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 93 | font_print(sx/2,sy/2-16,"PAUSE",screen); - | ^~~~~~~ -configuration.cpp:21:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 21 | chdir(confdir); - | ~~~~~^~~~~~~~~ -configuration.cpp:23:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 23 | chdir(datadir); - | ~~~~~^~~~~~~~~ -configuration.cpp: In function 'void save_configuration()': -configuration.cpp:54:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 54 | chdir(confdir); - | ~~~~~^~~~~~~~~ -configuration.cpp:56:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 56 | chdir(datadir); - | ~~~~~^~~~~~~~~ -state_changepack.cpp: In function 'bool state_changepack_cycle(SDL_Surface*, int, int, unsigned char*)': -state_changepack.cpp:131:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 131 | font_print_centered(sx/2,(sy/2)-24,"CHOOSE LEVEL-PACK:",screen); - | ^~~~~~~~~~~~~~~~~~~~ -state_changepack.cpp:104:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 104 | chdir(datadir); - | ~~~~~^~~~~~~~~ -game.cpp: In function 'bool gamecycle(SDL_Surface*, int, int)': -game.cpp:141:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 141 | decode(tmp,"decoding.tmp"); - | ^~~~~~~~~~~~~~ -game.cpp:140:22: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 140 | chdir(datadir); - | ~~~~~^~~~~~~~~ -game.cpp:143:22: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 143 | chdir(confdir); - | ~~~~~^~~~~~~~~ -game.cpp:146:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 146 | fscanf(fp,"%i",&NLEVELS); - | ~~~~~~^~~~~~~~~~~~~~~~~~ -game.cpp:149:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 149 | fscanf(fp,"%s %s",tmp,tmp); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -game.cpp:154:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 154 | fscanf(fp,"%s ",tmp); - | ~~~~~~^~~~~~~~~~~~~~ -state_endsequence.cpp: In function 'bool state_endsequence_cycle(SDL_Surface*, int, int, unsigned char*)': -state_endsequence.cpp:70:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 70 | font_print(16,10," CONGRATULATIONS!",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -game.cpp:155:38: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 155 | fgets(tmp,128,fp); - | ~~~~~^~~~~~~~~~~~ -game.cpp:160:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 160 | fscanf(fp,"%s %s",tmp,tmp); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -game.cpp:165:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 165 | fscanf(fp,"%s %i",tmp,&initialfuel[i]); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -game.cpp:176:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 176 | chdir(datadir); - | ~~~~~^~~~~~~~~ -state_endsequence.cpp:72:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 72 | font_print(16,30,"YOU HAVE RECOVERED ALL THE STOLEN SPHERES!!",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:73:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 73 | font_print(16,40,"YOU HAVE GIVEN THE HUMAN KIND ANOTHER CHANCE",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:74:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 74 | font_print(16,50,"TO SURVIVE. BUT THIS IS NOT THE END, A WAR HAS",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:75:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 75 | font_print(16,60,"STARTED BETWEEN THE HUMANS AND THE ALIEN RACE...",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:77:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 77 | font_print(16,80,"MORE CHALLENGES AWAIT YOU IN TRANSBALL 3...",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:79:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 79 | font_print(16,10," CONGRATULATIONS!",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:81:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 81 | font_print(16,30,"YOU HAVE FINISHED THIS LEVEL-PACK!!",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:82:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 82 | font_print(16,40,"BUT...",screen); - | ^~~~~~~~ -state_endsequence.cpp:83:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 83 | font_print(16,50,"HAVE YOU ALREADY FINISHED ALL THE OTHER PACKS?",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state_interphase.cpp: In function 'bool state_interphase_cycle(SDL_Surface*, int, int, unsigned char*)': state_interphase.cpp:96:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | game=new TRANSBALL("graphics/","sound/","maps/",initialfuel[level],levelnames[level],ship_type); @@ -1617,29 +1667,6 @@ state_interphase.cpp:100:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 100 | chdir(datadir); | ~~~~~^~~~~~~~~ -g++ -c -g3 -O3 state_keyredefinition.cpp -o state_keyredefinition.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_levelfinished.cpp -o state_levelfinished.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_logo.cpp -o state_logo.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_mainmenu.cpp -o state_mainmenu.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_replay.cpp -o state_replay.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_replaymanager.cpp -o state_replaymanager.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_typetext.cpp -o state_typetext.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 tiles.cpp -o tiles.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 transball.cpp -o transball.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -state_logo.cpp: In function 'bool state_logo_cycle(SDL_Surface*, int, int, unsigned char*)': -state_logo.cpp:72:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 72 | font_print_centered(sx/2,sy-64,"PRESENTS",screen); - | ^~~~~~~~~~ -state_levelfinished.cpp: In function 'bool state_levelfinished_cycle(SDL_Surface*, int, int, unsigned char*)': -state_levelfinished.cpp:147:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 147 | font_print_centered(sx/2,(sy/2)-8,"PREVIOUS HIGH: --",screen); - | ^~~~~~~~~~~~~~~~~~~ -state_levelfinished.cpp:163:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 163 | font_print_centered(sx/2,(sy/2)+40,"SPACE - CONTINUE",screen); - | ^~~~~~~~~~~~~~~~~~ -state_levelfinished.cpp:164:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 164 | font_print_centered(sx/2,(sy/2)+48,"R - REPEAT LEVEL",screen); - | ^~~~~~~~~~~~~~~~~~ state_keyredefinition.cpp: In function 'bool state_keyredefinition_cycle(SDL_Surface*, int, int, unsigned char*)': state_keyredefinition.cpp:80:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | font_print_centered(sx/2,40,"REDEFINE KEYBOARD:",screen); @@ -1668,20 +1695,104 @@ state_keyredefinition.cpp:149:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | font_print(32,140,"PRESS ANY KEY",screen); | ^~~~~~~~~~~~~~~ -state_typetext.cpp: In function 'bool state_typetext_cycle(SDL_Surface*, int, int, unsigned char*)': -state_typetext.cpp:85:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 85 | font_print_centered(sx/2,40,"ENTER LEVEL CODE:",screen); - | ^~~~~~~~~~~~~~~~~~~ -state_typetext.cpp:89:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 89 | font_print_centered(sx/2,40,"TYPE NEW FILE NAME:",screen); - | ^~~~~~~~~~~~~~~~~~~~~ +g++ -c -g3 -O3 state_levelfinished.cpp -o state_levelfinished.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +maps.cpp: In constructor 'TRANSBALL_MAP::TRANSBALL_MAP(char*)': +maps.cpp:31:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 31 | chdir(datadir); + | ~~~~~^~~~~~~~~ +maps.cpp:40:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 40 | fscanf(fp,"%i %i",&sx,&sy); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +maps.cpp:47:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | fscanf(fp,"%i",&(map[i])); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +maps.cpp:133:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 133 | fscanf(fp,"%i %i",&(d->state),&(d->event)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +maps.cpp:167:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 167 | fscanf(fp,"%i",&ntanks); + | ~~~~~~^~~~~~~~~~~~~~~~~ +maps.cpp:172:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 172 | fscanf(fp,"%i %i %i",&x,&y,&type); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +maps.cpp:191:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | fscanf(fp,"%i",&background_type); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -c -g3 -O3 state_logo.cpp -o state_logo.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +g++ -c -g3 -O3 state_mainmenu.cpp -o state_mainmenu.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +g++ -c -g3 -O3 state_replay.cpp -o state_replay.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +state_levelfinished.cpp: In function 'bool state_levelfinished_cycle(SDL_Surface*, int, int, unsigned char*)': +state_levelfinished.cpp:147:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 147 | font_print_centered(sx/2,(sy/2)-8,"PREVIOUS HIGH: --",screen); + | ^~~~~~~~~~~~~~~~~~~ +state_levelfinished.cpp:163:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 163 | font_print_centered(sx/2,(sy/2)+40,"SPACE - CONTINUE",screen); + | ^~~~~~~~~~~~~~~~~~ +state_levelfinished.cpp:164:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 164 | font_print_centered(sx/2,(sy/2)+48,"R - REPEAT LEVEL",screen); + | ^~~~~~~~~~~~~~~~~~ +g++ -c -g3 -O3 state_replaymanager.cpp -o state_replaymanager.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +state_logo.cpp: In function 'bool state_logo_cycle(SDL_Surface*, int, int, unsigned char*)': +state_logo.cpp:72:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 72 | font_print_centered(sx/2,sy-64,"PRESENTS",screen); + | ^~~~~~~~~~ +state_mainmenu.cpp: In function 'bool state_mainmenu_cycle(SDL_Surface*, int, int, unsigned char*)': +state_mainmenu.cpp:129:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 129 | font_print(SCREEN_X/2-72,sy-72,"FIRE - START GAME",screen); + | ^~~~~~~~~~~~~~~~~~~ +state_mainmenu.cpp:130:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 130 | font_print(SCREEN_X/2-72,sy-64," C - ENTER CODE",screen); + | ^~~~~~~~~~~~~~~~~~~ +state_mainmenu.cpp:131:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 131 | font_print(SCREEN_X/2-72,sy-56," L - CHANGE LEVEL-PACK",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +state_mainmenu.cpp:132:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 132 | font_print(SCREEN_X/2-72,sy-48," K - REDEFINE KEYBOARD",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +state_mainmenu.cpp:133:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 133 | font_print(SCREEN_X/2-72,sy-40," I - INSTRUCTIONS",screen); + | ^~~~~~~~~~~~~~~~~~~~~ +state_mainmenu.cpp:134:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 134 | font_print(SCREEN_X/2-72,sy-32," R - REPLAYS",screen); + | ^~~~~~~~~~~~~~~~ +state_mainmenu.cpp:135:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 135 | font_print(SCREEN_X/2-72,sy-24,"ESC - QUIT GAME",screen); + | ^~~~~~~~~~~~~~~~~~ +state_mainmenu.cpp:174:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 174 | game=new TRANSBALL("graphics/","sound/","maps/",fuel,levelname,ship_type); + | ^~~~~~~~~~~ +state_mainmenu.cpp:174:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 174 | game=new TRANSBALL("graphics/","sound/","maps/",fuel,levelname,ship_type); + | ^~~~~~~~ state_replay.cpp: In function 'bool state_replay_cycle(SDL_Surface*, int, int, unsigned char*)': state_replay.cpp:96:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | font_print(sx/2,sy/2-16,"PAUSE",screen); | ^~~~~~~ +state_mainmenu.cpp:174:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 174 | game=new TRANSBALL("graphics/","sound/","maps/",fuel,levelname,ship_type); + | ^~~~~~~ state_replay.cpp:116:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 116 | font_print_centered(sx/2,sy-10,"REPLAY",screen); | ^~~~~~~~ +state_mainmenu.cpp:163:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 163 | chdir(datadir); + | ~~~~~^~~~~~~~~ +g++ -c -g3 -O3 state_typetext.cpp -o state_typetext.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +g++ -c -g3 -O3 tiles.cpp -o tiles.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +state_mainmenu.cpp:140:41: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] + 140 | sprintf(tmp,"LEVELPACK: %s",levelpack); + | ^~ ~~~~~~~~~ +In file included from /usr/include/stdio.h:906, + from state_mainmenu.cpp:10: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'bool state_mainmenu_cycle(SDL_Surface*, int, int, unsigned char*)' at state_mainmenu.cpp:140:10: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ state_replaymanager.cpp: In function 'bool state_replaymanager_cycle(SDL_Surface*, int, int, unsigned char*)': state_replaymanager.cpp:141:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | if (replay_source==0) font_print_centered(sx/2,20,"REPLAY FILES [TAB - CHANGE SOURCE]:",screen); @@ -1731,86 +1842,14 @@ state_replaymanager.cpp:340:38: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 340 | chdir(datadir); | ~~~~~^~~~~~~~~ -state_mainmenu.cpp: In function 'bool state_mainmenu_cycle(SDL_Surface*, int, int, unsigned char*)': -state_mainmenu.cpp:129:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 129 | font_print(SCREEN_X/2-72,sy-72,"FIRE - START GAME",screen); - | ^~~~~~~~~~~~~~~~~~~ -state_mainmenu.cpp:130:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 130 | font_print(SCREEN_X/2-72,sy-64," C - ENTER CODE",screen); - | ^~~~~~~~~~~~~~~~~~~ -state_mainmenu.cpp:131:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 131 | font_print(SCREEN_X/2-72,sy-56," L - CHANGE LEVEL-PACK",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -state_mainmenu.cpp:132:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 132 | font_print(SCREEN_X/2-72,sy-48," K - REDEFINE KEYBOARD",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -state_mainmenu.cpp:133:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 133 | font_print(SCREEN_X/2-72,sy-40," I - INSTRUCTIONS",screen); - | ^~~~~~~~~~~~~~~~~~~~~ -state_mainmenu.cpp:134:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 134 | font_print(SCREEN_X/2-72,sy-32," R - REPLAYS",screen); - | ^~~~~~~~~~~~~~~~ -state_mainmenu.cpp:135:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 135 | font_print(SCREEN_X/2-72,sy-24,"ESC - QUIT GAME",screen); - | ^~~~~~~~~~~~~~~~~~ -state_mainmenu.cpp:174:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 174 | game=new TRANSBALL("graphics/","sound/","maps/",fuel,levelname,ship_type); - | ^~~~~~~~~~~ -state_mainmenu.cpp:174:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 174 | game=new TRANSBALL("graphics/","sound/","maps/",fuel,levelname,ship_type); - | ^~~~~~~~ -state_mainmenu.cpp:174:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 174 | game=new TRANSBALL("graphics/","sound/","maps/",fuel,levelname,ship_type); - | ^~~~~~~ -state_mainmenu.cpp:163:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 163 | chdir(datadir); - | ~~~~~^~~~~~~~~ -state_mainmenu.cpp:140:41: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] - 140 | sprintf(tmp,"LEVELPACK: %s",levelpack); - | ^~ ~~~~~~~~~ -In file included from /usr/include/stdio.h:906, - from state_mainmenu.cpp:10: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'bool state_mainmenu_cycle(SDL_Surface*, int, int, unsigned char*)' at state_mainmenu.cpp:140:10: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -main.cpp:50:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 50 | char *datadir="/usr/share/games/supertransball2/"; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.cpp: In function 'int main(int, char**)': -main.cpp:142:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 142 | chdir(confdir); - | ~~~~~^~~~~~~~~ -main.cpp:157:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 157 | chdir(datadir); - | ~~~~~^~~~~~~~~ -maps.cpp: In constructor 'TRANSBALL_MAP::TRANSBALL_MAP(char*)': -maps.cpp:31:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 31 | chdir(datadir); - | ~~~~~^~~~~~~~~ -maps.cpp:40:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 40 | fscanf(fp,"%i %i",&sx,&sy); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -maps.cpp:47:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | fscanf(fp,"%i",&(map[i])); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -maps.cpp:133:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 133 | fscanf(fp,"%i %i",&(d->state),&(d->event)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -maps.cpp:167:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 167 | fscanf(fp,"%i",&ntanks); - | ~~~~~~^~~~~~~~~~~~~~~~~ -maps.cpp:172:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 172 | fscanf(fp,"%i %i %i",&x,&y,&type); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -maps.cpp:191:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | fscanf(fp,"%i",&background_type); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -c -g3 -O3 transball.cpp -o transball.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +state_typetext.cpp: In function 'bool state_typetext_cycle(SDL_Surface*, int, int, unsigned char*)': +state_typetext.cpp:85:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 85 | font_print_centered(sx/2,40,"ENTER LEVEL CODE:",screen); + | ^~~~~~~~~~~~~~~~~~~ +state_typetext.cpp:89:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 89 | font_print_centered(sx/2,40,"TYPE NEW FILE NAME:",screen); + | ^~~~~~~~~~~~~~~~~~~~~ transball.cpp: In constructor 'TRANSBALL::TRANSBALL(char*, char*, char*, int, char*, int)': transball.cpp:44:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 44 | tiles_sfc = IMG_Load(g_filename("tiles.pcx")); @@ -1929,9 +1968,9 @@ dh_gencontrol -O--sourcedirectory=sources dh_md5sums -O--sourcedirectory=sources dh_builddeb -O--sourcedirectory=sources -dpkg-deb: building package 'supertransball2-data' in '../supertransball2-data_1.5-11_all.deb'. -dpkg-deb: building package 'supertransball2-dbgsym' in '../supertransball2-dbgsym_1.5-11_i386.deb'. dpkg-deb: building package 'supertransball2' in '../supertransball2_1.5-11_i386.deb'. +dpkg-deb: building package 'supertransball2-dbgsym' in '../supertransball2-dbgsym_1.5-11_i386.deb'. +dpkg-deb: building package 'supertransball2-data' in '../supertransball2-data_1.5-11_all.deb'. dpkg-genbuildinfo --build=binary -O../supertransball2_1.5-11_i386.buildinfo dpkg-genchanges --build=binary -O../supertransball2_1.5-11_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1939,12 +1978,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/22721/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/22721/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/28608 and its subdirectories -I: Current time: Sat Jun 22 23:05:18 -12 2024 -I: pbuilder-time-stamp: 1719140718 +I: removing directory /srv/workspace/pbuilder/22721 and its subdirectories +I: Current time: Mon May 22 18:43:14 +14 2023 +I: pbuilder-time-stamp: 1684730594