Diff of the two buildlogs: -- --- b1/build.log 2024-07-29 17:06:55.986622869 +0000 +++ b2/build.log 2024-07-29 17:09:37.531758237 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Aug 31 11:28:33 -12 2025 -I: pbuilder-time-stamp: 1756682913 +I: Current time: Tue Jul 30 07:06:58 +14 2024 +I: pbuilder-time-stamp: 1722272818 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 [./supertransball2_1.5-10.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.dnIbZaQk/trustedkeys.kbx': General error -gpgv: Signature made Fri Dec 25 23:12:43 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.fhMNM9KB/trustedkeys.kbx': General error +gpgv: Signature made Sun Dec 27 01:12:43 2020 +14 gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key @@ -32,135 +32,166 @@ 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/2521616/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/621303/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jul 30 07:07 /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/621303/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/621303/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=42 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=20 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='691cd985848d475eb4e462e2f3795bd9' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2521616' - PS1='# ' - PS2='> ' + INVOCATION_ID=cbab35e20e4d4960b77c99d9762646a9 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=621303 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.nXlV2K23/pbuilderrc_UUAV --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.nXlV2K23/b1 --logfile b1/build.log supertransball2_1.5-10.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.nXlV2K23/pbuilderrc_m1gF --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.nXlV2K23/b2 --logfile b2/build.log supertransball2_1.5-10.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.9.7+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.9.7-1~bpo12+1 (2024-07-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 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 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 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 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Mar 27 2024 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 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 69032 Mar 27 2024 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 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 98048 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Mar 27 2024 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Mar 27 2024 more - -rwsr-xr-x 1 root root 55528 Mar 27 2024 mount - -rwxr-xr-x 1 root root 18664 Mar 27 2024 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 9 03:46 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Mar 27 2024 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Jan 19 2024 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Mar 27 2024 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Mar 27 2024 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 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 5898 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 8049 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/2521616/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 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 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 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 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Mar 29 00:09 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 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 69032 Mar 29 00:09 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Jan 25 2023 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 98048 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Mar 29 00:09 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Mar 29 00:09 more + -rwsr-xr-x 1 root root 55528 Mar 29 00:09 mount + -rwxr-xr-x 1 root root 18664 Mar 29 00:09 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Jul 30 07:07 sh -> /bin/bash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Mar 29 00:09 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Jan 20 2024 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Mar 29 00:09 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Mar 29 00:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 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 5898 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 8049 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/621303/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -410,7 +441,7 @@ Get: 204 http://deb.debian.org/debian bullseye/main amd64 libsdl-mixer1.2-dev amd64 1.2.12-16+b1 [107 kB] Get: 205 http://deb.debian.org/debian bullseye/main amd64 libsdl-sge amd64 030809dfsg-9+b1 [73.6 kB] Get: 206 http://deb.debian.org/debian bullseye/main amd64 libsdl-sge-dev amd64 030809dfsg-9+b1 [162 kB] -Fetched 93.3 MB in 2s (62.0 MB/s) +Fetched 93.3 MB in 2s (42.3 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 ... 19711 files and directories currently installed.) @@ -1262,7 +1293,11 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/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-10_source.changes +I: user script /srv/workspace/pbuilder/621303/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/621303/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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-10_source.changes dpkg-buildpackage: info: source package supertransball2 dpkg-buildpackage: info: source version 1.5-10 dpkg-buildpackage: info: source distribution unstable @@ -1272,7 +1307,7 @@ fakeroot debian/rules clean dh clean --sourcedirectory=sources dh_auto_clean -O--sourcedirectory=sources - cd sources && make -j42 clean + cd sources && make -j20 clean make[1]: Entering directory '/build/reproducible-path/supertransball2-1.5/sources' rm -f ../supertransball2 rm -f *.o @@ -1285,7 +1320,7 @@ dh_autoreconf -O--sourcedirectory=sources dh_auto_configure -O--sourcedirectory=sources dh_auto_build -O--sourcedirectory=sources - cd sources && make -j42 "INSTALL=install --strip-program=true" + cd sources && make -j20 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/supertransball2-1.5/sources' g++ -c -g3 -O3 auxiliar.cpp -o auxiliar.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL @@ -1297,6 +1332,26 @@ g++ -c -g3 -O3 maps.cpp -o maps.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/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:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 16 | chdir(datadir); + | ~~~~~^~~~~~~~~ +encoder.cpp:18:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 18 | chdir(confdir); + | ~~~~~^~~~~~~~~ +encoder.cpp:20:7: 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:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 50 | chdir(datadir); + | ~~~~~^~~~~~~~~ +encoder.cpp:52:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 52 | chdir(confdir); + | ~~~~~^~~~~~~~~ +encoder.cpp:54:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 54 | chdir(datadir); + | ~~~~~^~~~~~~~~ g++ -c -g3 -O3 state_chooseship.cpp -o state_chooseship.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL @@ -1304,14 +1359,26 @@ g++ -c -g3 -O3 state_instructions.cpp -o state_instructions.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +configuration.cpp: In function 'bool load_configuration()': +configuration.cpp:32:21: 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:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 21 | chdir(confdir); + | ~~~~~^~~~~~~~~ +configuration.cpp:23:7: 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:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 54 | chdir(confdir); + | ~~~~~^~~~~~~~~ +configuration.cpp:56:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 56 | chdir(datadir); + | ~~~~~^~~~~~~~~ g++ -c -g3 -O3 state_levelfinished.cpp -o state_levelfinished.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/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); @@ -1326,26 +1393,108 @@ replays.cpp:47:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | chdir(datadir); | ~~~~~^~~~~~~~~ -encoder.cpp: In function 'void encode(char*, char*)': -encoder.cpp:16:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 16 | chdir(datadir); - | ~~~~~^~~~~~~~~ -encoder.cpp:18:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 18 | chdir(confdir); - | ~~~~~^~~~~~~~~ -encoder.cpp:20:7: 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:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 50 | chdir(datadir); - | ~~~~~^~~~~~~~~ -encoder.cpp:52:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 52 | chdir(confdir); - | ~~~~~^~~~~~~~~ -encoder.cpp:54:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 54 | chdir(datadir); +g++ -c -g3 -O3 state_logo.cpp -o state_logo.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/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 -fdebug-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +game.cpp: In function 'bool gamecycle(SDL_Surface*, int, int)': +game.cpp:141:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 141 | decode(tmp,"decoding.tmp"); + | ^~~~~~~~~~~~~~ +game.cpp:140:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 140 | chdir(datadir); + | ~~~~~^~~~~~~~~ +game.cpp:143:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 143 | chdir(confdir); + | ~~~~~^~~~~~~~~ +state_game.cpp: In function 'bool state_game_cycle(SDL_Surface*, int, int, unsigned char*)': +state_game.cpp:93:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 93 | font_print(sx/2,sy/2-16,"PAUSE",screen); + | ^~~~~~~ +game.cpp:146:10: 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:11: 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:11: 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:10: 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:11: 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:11: 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:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 176 | chdir(datadir); | ~~~~~^~~~~~~~~ +state_endsequence.cpp: In function 'bool state_endsequence_cycle(SDL_Surface*, int, int, unsigned char*)': +state_endsequence.cpp:70:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 70 | font_print(16,10," CONGRATULATIONS!",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:72:20: 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:20: 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:20: 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:20: 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:20: 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:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 79 | font_print(16,10," CONGRATULATIONS!",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:81:20: 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:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 82 | font_print(16,40,"BUT...",screen); + | ^~~~~~~~ +state_endsequence.cpp:83:20: 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:30: 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:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 82 | font_print(100,60,"SHADOW RUNNER:",screen); + | ^~~~~~~~~~~~~~~~ +state_chooseship.cpp:83:20: 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:20: 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:21: 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:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 87 | font_print(100,110," - MODERATE SPEED.",screen); + | ^~~~~~~~~~~~~~~~~~~~ +state_chooseship.cpp:88:21: 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:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 90 | font_print(100,140,"X-TERMINATOR:",screen); + | ^~~~~~~~~~~~~~~ +state_chooseship.cpp:91:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 91 | font_print(100,150," - LOW SPEED.",screen); + | ^~~~~~~~~~~~~~~ +state_chooseship.cpp:92:21: 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:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | font_print_centered(sx/2,(sy/2)-24,"GAME OVER",screen); @@ -1357,6 +1506,10 @@ state_instructions.cpp:70:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | font_print(16,10," SUPER TRANSBALL 2 V1.5",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_keyredefinition.cpp: In function 'bool state_keyredefinition_cycle(SDL_Surface*, int, int, unsigned char*)': +state_keyredefinition.cpp:80:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 80 | font_print_centered(sx/2,40,"REDEFINE KEYBOARD:",screen); + | ^~~~~~~~~~~~~~~~~~~~ state_instructions.cpp:72:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | font_print(16,30," THE FUTURE, THE SUN DOES NOT SHINE ANYMORE",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1537,37 +1690,73 @@ state_instructions.cpp:149:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | font_print(16,120," SEE README FILE FOR MORE INFO",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -game.cpp: In function 'bool gamecycle(SDL_Surface*, int, int)': -game.cpp:141:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 141 | decode(tmp,"decoding.tmp"); - | ^~~~~~~~~~~~~~ -game.cpp:140:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 140 | chdir(datadir); - | ~~~~~^~~~~~~~~ -game.cpp:143:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 143 | chdir(confdir); - | ~~~~~^~~~~~~~~ -game.cpp:146:10: 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:11: 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:11: 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:10: 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:11: 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:11: 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:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 176 | chdir(datadir); - | ~~~~~^~~~~~~~~ +state_interphase.cpp: In function 'bool state_interphase_cycle(SDL_Surface*, int, int, unsigned char*)': +state_interphase.cpp:96:23: 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); + | ^~~~~~~~~~~ +state_interphase.cpp:96:35: 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); + | ^~~~~~~~ +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); + | ^~~~~~~ +state_keyredefinition.cpp:107:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 107 | font_print(16,60,"PRESS A KEY FOR THRUST:",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +state_keyredefinition.cpp:113:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 113 | font_print(16,70,"PRESS A KEY FOR ANTITHRUST:",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_keyredefinition.cpp:119:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 119 | font_print(16,80,"PRESS A KEY FOR LEFT:",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~ +state_keyredefinition.cpp:125:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 125 | font_print(16,90,"PRESS A KEY FOR RIGHT:",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +state_keyredefinition.cpp:131:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 131 | font_print(16,100,"PRESS A KEY FOR FIRE:",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~ +state_keyredefinition.cpp:137:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 137 | font_print(16,110,"PRESS A KEY FOR ATRACTOR:",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_keyredefinition.cpp:143:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 143 | font_print(16,120,"PRESS A KEY FOR PAUSE:",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +state_keyredefinition.cpp:149:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 149 | font_print(32,140,"PRESS ANY KEY",screen); + | ^~~~~~~~~~~~~~~ +state_interphase.cpp:98:9: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 98 | chdir(confdir); + | ~~~~~^~~~~~~~~ +state_interphase.cpp:100:9: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 100 | chdir(datadir); + | ~~~~~^~~~~~~~~ +state_logo.cpp: In function 'bool state_logo_cycle(SDL_Surface*, int, int, unsigned char*)': +state_logo.cpp:72:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 72 | font_print_centered(sx/2,sy-64,"PRESENTS",screen); + | ^~~~~~~~~~ +g++ -c -g3 -O3 tiles.cpp -o tiles.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/reproducible-path/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:38: 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:37: 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:37: 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_changepack.cpp: In function 'bool state_changepack_cycle(SDL_Surface*, int, int, unsigned char*)': +state_changepack.cpp:131:37: 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:9: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 104 | chdir(datadir); + | ~~~~~^~~~~~~~~ +g++ -c -g3 -O3 transball.cpp -o transball.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/reproducible-path/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:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 85 | font_print_centered(sx/2,40,"ENTER LEVEL CODE:",screen); + | ^~~~~~~~~~~~~~~~~~~ state_replaymanager.cpp: In function 'bool state_replaymanager_cycle(SDL_Surface*, int, int, unsigned char*)': state_replaymanager.cpp:141:52: 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); @@ -1590,6 +1779,9 @@ state_replaymanager.cpp:155:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 155 | char *sname[3]={"SH.RNR.","PNTR.2","X-TRM."}; | ^~~~~~~~ +state_typetext.cpp:89:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 89 | font_print_centered(sx/2,40,"TYPE NEW FILE NAME:",screen); + | ^~~~~~~~~~~~~~~~~~~~~ state_replaymanager.cpp:229:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 229 | game=new TRANSBALL("graphics/","sound/","maps/",fuel,levelname,ship_type); | ^~~~~~~~~~~ @@ -1599,25 +1791,13 @@ state_replaymanager.cpp:229:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 229 | game=new TRANSBALL("graphics/","sound/","maps/",fuel,levelname,ship_type); | ^~~~~~~ -configuration.cpp: In function 'bool load_configuration()': -configuration.cpp:32:21: 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:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 21 | chdir(confdir); - | ~~~~~^~~~~~~~~ -configuration.cpp:23:7: 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:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 54 | chdir(confdir); - | ~~~~~^~~~~~~~~ -configuration.cpp:56:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 56 | chdir(datadir); - | ~~~~~^~~~~~~~~ +state_replay.cpp: In function 'bool state_replay_cycle(SDL_Surface*, int, int, unsigned char*)': +state_replay.cpp:96:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 96 | font_print(sx/2,sy/2-16,"PAUSE",screen); + | ^~~~~~~ +state_replay.cpp:116:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 116 | font_print_centered(sx/2,sy-10,"REPLAY",screen); + | ^~~~~~~~ state_replaymanager.cpp:109:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 109 | chdir(confdir); | ~~~~~^~~~~~~~~ @@ -1636,151 +1816,6 @@ state_replaymanager.cpp:340:10: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 340 | chdir(datadir); | ~~~~~^~~~~~~~~ -state_chooseship.cpp: In function 'bool state_chooseship_cycle(SDL_Surface*, int, int, unsigned char*)': -state_chooseship.cpp:81:30: 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:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 82 | font_print(100,60,"SHADOW RUNNER:",screen); - | ^~~~~~~~~~~~~~~~ -state_chooseship.cpp:83:20: 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:20: 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:21: 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:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 87 | font_print(100,110," - MODERATE SPEED.",screen); - | ^~~~~~~~~~~~~~~~~~~~ -state_chooseship.cpp:88:21: 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:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 90 | font_print(100,140,"X-TERMINATOR:",screen); - | ^~~~~~~~~~~~~~~ -state_chooseship.cpp:91:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 91 | font_print(100,150," - LOW SPEED.",screen); - | ^~~~~~~~~~~~~~~ -state_chooseship.cpp:92:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 92 | font_print(100,160," - HIGH POWERED WEAPONS.",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -state_logo.cpp: In function 'bool state_logo_cycle(SDL_Surface*, int, int, unsigned char*)': -state_logo.cpp:72:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 72 | font_print_centered(sx/2,sy-64,"PRESENTS",screen); - | ^~~~~~~~~~ -state_game.cpp: In function 'bool state_game_cycle(SDL_Surface*, int, int, unsigned char*)': -state_game.cpp:93:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 93 | font_print(sx/2,sy/2-16,"PAUSE",screen); - | ^~~~~~~ -state_levelfinished.cpp: In function 'bool state_levelfinished_cycle(SDL_Surface*, int, int, unsigned char*)': -state_levelfinished.cpp:147:38: 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:37: 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:37: 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_endsequence.cpp: In function 'bool state_endsequence_cycle(SDL_Surface*, int, int, unsigned char*)': -state_endsequence.cpp:70:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 70 | font_print(16,10," CONGRATULATIONS!",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:72:20: 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_keyredefinition.cpp: In function 'bool state_keyredefinition_cycle(SDL_Surface*, int, int, unsigned char*)': -state_keyredefinition.cpp:80:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 80 | font_print_centered(sx/2,40,"REDEFINE KEYBOARD:",screen); - | ^~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:73:20: 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:20: 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:20: 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:20: 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:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 79 | font_print(16,10," CONGRATULATIONS!",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:81:20: 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:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 82 | font_print(16,40,"BUT...",screen); - | ^~~~~~~~ -state_keyredefinition.cpp:107:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 107 | font_print(16,60,"PRESS A KEY FOR THRUST:",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:83:20: 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_keyredefinition.cpp:113:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 113 | font_print(16,70,"PRESS A KEY FOR ANTITHRUST:",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_keyredefinition.cpp:119:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 119 | font_print(16,80,"PRESS A KEY FOR LEFT:",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~ -state_keyredefinition.cpp:125:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 125 | font_print(16,90,"PRESS A KEY FOR RIGHT:",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -state_keyredefinition.cpp:131:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 131 | font_print(16,100,"PRESS A KEY FOR FIRE:",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~ -state_replay.cpp: In function 'bool state_replay_cycle(SDL_Surface*, int, int, unsigned char*)': -state_replay.cpp:96:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 96 | font_print(sx/2,sy/2-16,"PAUSE",screen); - | ^~~~~~~ -state_keyredefinition.cpp:137:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 137 | font_print(16,110,"PRESS A KEY FOR ATRACTOR:",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_replay.cpp:116:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 116 | font_print_centered(sx/2,sy-10,"REPLAY",screen); - | ^~~~~~~~ -state_keyredefinition.cpp:143:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 143 | font_print(16,120,"PRESS A KEY FOR PAUSE:",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -state_keyredefinition.cpp:149:22: 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:31: 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:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 89 | font_print_centered(sx/2,40,"TYPE NEW FILE NAME:",screen); - | ^~~~~~~~~~~~~~~~~~~~~ -state_changepack.cpp: In function 'bool state_changepack_cycle(SDL_Surface*, int, int, unsigned char*)': -state_changepack.cpp:131:37: 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:9: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 104 | chdir(datadir); - | ~~~~~^~~~~~~~~ -state_interphase.cpp: In function 'bool state_interphase_cycle(SDL_Surface*, int, int, unsigned char*)': -state_interphase.cpp:96:23: 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); - | ^~~~~~~~~~~ -state_interphase.cpp:96:35: 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); - | ^~~~~~~~ -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); - | ^~~~~~~ -state_interphase.cpp:98:9: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 98 | chdir(confdir); - | ~~~~~^~~~~~~~~ -state_interphase.cpp:100:9: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 100 | chdir(datadir); - | ~~~~~^~~~~~~~~ state_mainmenu.cpp: In function 'bool state_mainmenu_cycle(SDL_Surface*, int, int, unsigned char*)': state_mainmenu.cpp:129:33: 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); @@ -1825,16 +1860,28 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __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:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 142 | chdir(confdir); +maps.cpp: In constructor 'TRANSBALL_MAP::TRANSBALL_MAP(char*)': +maps.cpp:31:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 31 | chdir(datadir); | ~~~~~^~~~~~~~~ -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:40:8: 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:9: 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:10: 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:9: 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:10: 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:8: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | fscanf(fp,"%i",&background_type); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 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")); @@ -1898,28 +1945,16 @@ /usr/include/SDL/SDL_mixer.h:150:57: note: in definition of macro 'Mix_LoadWAV' 150 | #define Mix_LoadWAV(file) Mix_LoadWAV_RW(SDL_RWFromFile(file, "rb"), 1) | ^~~~ -maps.cpp: In constructor 'TRANSBALL_MAP::TRANSBALL_MAP(char*)': -maps.cpp:31:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 31 | chdir(datadir); +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:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 142 | chdir(confdir); | ~~~~~^~~~~~~~~ -maps.cpp:40:8: 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:9: 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:10: 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:9: 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:10: 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:8: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | fscanf(fp,"%i",&background_type); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +main.cpp:157:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 157 | chdir(datadir); + | ~~~~~^~~~~~~~~ g++ auxiliar.o configuration.o encoder.o enemies.o fonts.o game.o main.o maps.o replays.o state_changepack.o state_chooseship.o state_endsequence.o state_game.o state_gameover.o state_instructions.o state_interphase.o state_keyredefinition.o state_levelfinished.o state_logo.o state_mainmenu.o state_replay.o state_replaymanager.o state_typetext.o tiles.o transball.o -o supertransball2 -Wl,-z,relro -Wl,-z,now `sdl-config --libs` -lSDL_image -lSDL_mixer -lSGE -I/usr/local/include/SDL mv ./supertransball2 .. make[1]: Leaving directory '/build/reproducible-path/supertransball2-1.5/sources' @@ -1975,9 +2010,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-10_all.deb'. dpkg-deb: building package 'supertransball2' in '../supertransball2_1.5-10_amd64.deb'. dpkg-deb: building package 'supertransball2-dbgsym' in '../supertransball2-dbgsym_1.5-10_amd64.deb'. -dpkg-deb: building package 'supertransball2-data' in '../supertransball2-data_1.5-10_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../supertransball2_1.5-10_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1985,12 +2020,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/621303/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/621303/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/2521616 and its subdirectories -I: Current time: Sun Aug 31 11:29:54 -12 2025 -I: pbuilder-time-stamp: 1756682994 +I: removing directory /srv/workspace/pbuilder/621303 and its subdirectories +I: Current time: Tue Jul 30 07:09:36 +14 2024 +I: pbuilder-time-stamp: 1722272976