Diff of the two buildlogs: -- --- b1/build.log 2021-07-09 06:45:48.297162702 +0000 +++ b2/build.log 2021-07-09 06:51:18.052833995 +0000 @@ -1,6 +1,8 @@ -I: pbuilder: network access will be disabled during build -I: Current time: Thu Aug 11 01:08:11 -12 2022 -I: pbuilder-time-stamp: 1660223291 +unshare: unshare failed: Cannot allocate memory +W: pbuilder: unshare CLONE_NEWNET not available +I: pbuilder: network access is available during build! +I: Current time: Fri Jul 9 20:45:53 +14 2021 +I: pbuilder-time-stamp: 1625813153 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +19,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.0lqXvRqA/trustedkeys.kbx': General error -gpgv: Signature made Fri Dec 25 23:12:43 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.nDXKmDQi/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,137 +34,171 @@ 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/27024/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/13809/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/13809/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/13809/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=18' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=10' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='58cb24fb601f4cbcbcad988b19d4d7a6' - 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='27024' - PS1='# ' - PS2='> ' + INVOCATION_ID=b776283babbb4b1cbcc100f66a52d67a + 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=13809 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.SAsKGUcWJW/pbuilderrc_nrjC --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.SAsKGUcWJW/b1 --logfile b1/build.log supertransball2_1.5-10.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/tmp.SAsKGUcWJW/pbuilderrc_3Cge --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.SAsKGUcWJW/b2 --logfile b2/build.log --extrapackages usrmerge supertransball2_1.5-10.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 ionos6-i386 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-686-pae #1 SMP Debian 4.19.194-2 (2021-06-21) i686 GNU/Linux I: ls -l /bin - total 5776 - -rwxr-xr-x 1 root root 1367848 Jun 21 2021 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 2021 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 2021 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 2021 more - -rwsr-xr-x 1 root root 50720 Feb 7 2021 mount - -rwxr-xr-x 1 root root 13856 Feb 7 2021 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 2021 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 9 03:47 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 2021 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 2021 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 2021 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/27024/tmp/hooks/D02_print_environment finished + total 5784 + -rwxr-xr-x 1 root root 1367848 Jun 22 16:25 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 04:38 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 04:38 more + -rwsr-xr-x 1 root root 50720 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 13856 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 16:25 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 9 20:47 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 8 23:25 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 04:38 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/13809/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -412,7 +448,7 @@ Get: 204 http://deb.debian.org/debian bullseye/main i386 libsdl-mixer1.2-dev i386 1.2.12-16+b1 [115 kB] Get: 205 http://deb.debian.org/debian bullseye/main i386 libsdl-sge i386 030809dfsg-9+b1 [78.9 kB] Get: 206 http://deb.debian.org/debian bullseye/main i386 libsdl-sge-dev i386 030809dfsg-9+b1 [162 kB] -Fetched 95.3 MB in 3s (29.6 MB/s) +Fetched 95.3 MB in 16s (5905 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19675 files and directories currently installed.) @@ -1262,9 +1298,41 @@ Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). -0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (497 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 27200 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/supertransball2-1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +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 dpkg-buildpackage: info: source package supertransball2 dpkg-buildpackage: info: source version 1.5-10 dpkg-buildpackage: info: source distribution unstable @@ -1274,7 +1342,7 @@ fakeroot debian/rules clean dh clean --sourcedirectory=sources dh_auto_clean -O--sourcedirectory=sources - cd sources && make -j18 clean + cd sources && make -j10 clean make[1]: Entering directory '/build/supertransball2-1.5/sources' rm -f ../supertransball2 rm -f *.o @@ -1287,7 +1355,7 @@ dh_autoreconf -O--sourcedirectory=sources dh_auto_configure -O--sourcedirectory=sources dh_auto_build -O--sourcedirectory=sources - cd sources && make -j18 "INSTALL=install --strip-program=true" + cd sources && make -j10 "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 -fdebug-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 -fdebug-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL @@ -1299,14 +1367,6 @@ g++ -c -g3 -O3 maps.cpp -o maps.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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); @@ -1314,13 +1374,6 @@ 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); - | ~~~~~^~~~~~~~~ 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); @@ -1331,6 +1384,13 @@ encoder.cpp:20:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | 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); + | ~~~~~^~~~~~~~~ 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); @@ -1341,6 +1401,144 @@ encoder.cpp:54:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | chdir(datadir); | ~~~~~^~~~~~~~~ +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_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); + | ^~~~~~~~~~~~~~~~~~~~ +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_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 state_chooseship.cpp -o state_chooseship.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -c -g3 -O3 state_interphase.cpp -o state_interphase.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -fdebug-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +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); + | ^~~~~~~~~~~ +state_gameover.cpp:70:37: 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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~ +g++ -c -g3 -O3 state_levelfinished.cpp -o state_levelfinished.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL state_instructions.cpp: In function 'bool state_instructions_cycle(SDL_Surface*, int, int, unsigned char*)': 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); @@ -1525,48 +1723,7 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~ -state_gameover.cpp:70:37: 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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~ +g++ -c -g3 -O3 state_logo.cpp -o state_logo.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL 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); @@ -1583,10 +1740,6 @@ 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_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_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); | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -1596,101 +1749,11 @@ 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_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_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_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); - | ^~~~~~~~~~~~~~~~~~ -g++ -c -g3 -O3 state_logo.cpp -o state_logo.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~^~~~~~~~~ -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_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); - | ^~~~~~~~~~~~~~~~~~~~ +g++ -c -g3 -O3 state_mainmenu.cpp -o state_mainmenu.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -fdebug-prefix-map=/build/supertransball2-1.5=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL 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); @@ -1707,19 +1770,24 @@ 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_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 state_mainmenu.cpp -o state_mainmenu.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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:33: 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: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); + | ^~~~~~~~~~~~~~~~~~ +g++ -c -g3 -O3 state_replaymanager.cpp -o state_replaymanager.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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_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); @@ -1754,13 +1822,7 @@ state_mainmenu.cpp:163:9: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 163 | 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); - | ^~~~~~~~ +g++ -c -g3 -O3 state_typetext.cpp -o state_typetext.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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:27: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] 140 | sprintf(tmp,"LEVELPACK: %s",levelpack); | ^~ ~~~~~~~~~ @@ -1771,13 +1833,44 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~ +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); + | ~~~~~^~~~~~~~~ +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++ -c -g3 -O3 tiles.cpp -o tiles.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -fdebug-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:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 31 | 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); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +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: 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); @@ -1827,38 +1920,13 @@ 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); | ~~~~~^~~~~~~~~ -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); - | ~~~~~^~~~~~~~~ -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:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 31 | 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); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~ 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")); @@ -1977,21 +2045,22 @@ dh_gencontrol -O--sourcedirectory=sources dh_md5sums -O--sourcedirectory=sources dh_builddeb -O--sourcedirectory=sources -dpkg-deb: building package 'supertransball2' in '../supertransball2_1.5-10_i386.deb'. dpkg-deb: building package 'supertransball2-dbgsym' in '../supertransball2-dbgsym_1.5-10_i386.deb'. dpkg-deb: building package 'supertransball2-data' in '../supertransball2-data_1.5-10_all.deb'. +dpkg-deb: building package 'supertransball2' in '../supertransball2_1.5-10_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../supertransball2_1.5-10_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -I: copying local configuration +I: user script /srv/workspace/pbuilder/13809/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/13809/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/27024 and its subdirectories -I: Current time: Thu Aug 11 01:08:47 -12 2022 -I: pbuilder-time-stamp: 1660223327 +I: removing directory /srv/workspace/pbuilder/13809 and its subdirectories +I: Current time: Fri Jul 9 20:51:17 +14 2021 +I: pbuilder-time-stamp: 1625813477