Diff of the two buildlogs: -- --- b1/build.log 2024-07-29 17:26:57.175575114 +0000 +++ b2/build.log 2024-07-29 17:27:54.021159201 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jul 29 05:25:10 -12 2024 -I: pbuilder-time-stamp: 1722273910 +I: Current time: Mon Sep 1 13:49:59 +14 2025 +I: pbuilder-time-stamp: 1756684199 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 [./tomatoes_1.55-10.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.S7EpwSgh/trustedkeys.kbx': General error -gpgv: Signature made Fri Jan 29 07:45:11 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.HqRuN4Pe/trustedkeys.kbx': General error +gpgv: Signature made Sat Jan 30 09:45:11 2021 +14 gpgv: using RSA key 05DB6A837E105F4B1D02C55FBBA9FAADCCFB4707 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./tomatoes_1.55-10.dsc @@ -37,135 +37,166 @@ dpkg-source: info: applying 09_sort_source_files.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2496267/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/727368/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 Sep 1 13:50 /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/727368/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/727368/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=20 ' - 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=42 ' + 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='bea4592e5644492caa7e906eff085fbf' - 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='2496267' - PS1='# ' - PS2='> ' + INVOCATION_ID=33df630ce0d24c65a44497b6bb6af257 + 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=727368 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.HuMxG90C/pbuilderrc_LfxU --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.HuMxG90C/b1 --logfile b1/build.log tomatoes_1.55-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://46.16.76.132: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.HuMxG90C/pbuilderrc_YGed --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.HuMxG90C/b2 --logfile b2/build.log tomatoes_1.55-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://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.9.7+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.9.7-1~bpo12+1 (2024-07-03) 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 22:09 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 22:09 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 22:09 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 22:09 more - -rwsr-xr-x 1 root root 55528 Mar 27 22:09 mount - -rwxr-xr-x 1 root root 18664 Mar 27 22:09 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 Jul 6 21:26 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 22:09 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 22:09 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 22:09 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/2496267/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 2024 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 2024 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 2024 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 2024 more + -rwsr-xr-x 1 root root 55528 Mar 29 2024 mount + -rwxr-xr-x 1 root root 18664 Mar 29 2024 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 Sep 1 13:50 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 2024 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 2024 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 2024 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/727368/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -409,7 +440,7 @@ Get: 200 http://deb.debian.org/debian bullseye/main amd64 libsdl-mixer1.2 amd64 1.2.12-16+b1 [86.6 kB] Get: 201 http://deb.debian.org/debian bullseye/main amd64 libvorbis-dev amd64 1.3.7-1 [327 kB] Get: 202 http://deb.debian.org/debian bullseye/main amd64 libsdl-mixer1.2-dev amd64 1.2.12-16+b1 [107 kB] -Fetched 92.4 MB in 3s (30.7 MB/s) +Fetched 92.4 MB in 6s (15.8 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.) @@ -1240,7 +1271,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/tomatoes-1.55/ && 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 > ../tomatoes_1.55-10_source.changes +I: user script /srv/workspace/pbuilder/727368/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/727368/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/tomatoes-1.55/ && 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 > ../tomatoes_1.55-10_source.changes dpkg-buildpackage: info: source package tomatoes dpkg-buildpackage: info: source version 1.55-10 dpkg-buildpackage: info: source distribution unstable @@ -1250,7 +1285,7 @@ debian/rules clean dh clean dh_auto_clean - make -j20 clean + make -j42 clean make[1]: Entering directory '/build/reproducible-path/tomatoes-1.55' rm -f obj/bomb.o obj/bonus.o obj/comments.o obj/config.o obj/effects.o obj/enemy.o obj/font.o obj/game.o obj/helpers.o obj/hiscore.o obj/init.o obj/levels.o obj/main.o obj/menu.o obj/mpak.o obj/mymath.o obj/particle.o obj/pathfinder.o obj/player.o obj/screenshot.o obj/select_special.o obj/soundmusic.o obj/special_power.o obj/teleport.o obj/texture.o obj/tilemap.o obj/timer.o obj/trap.o ./tomatoes make[1]: Leaving directory '/build/reproducible-path/tomatoes-1.55' @@ -1263,7 +1298,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/tomatoes-1.55' dh_auto_build -- 'CC=$(CXX)' - make -j20 "INSTALL=install --strip-program=true" CC=\$\(CXX\) + make -j42 "INSTALL=install --strip-program=true" CC=\$\(CXX\) make[2]: Entering directory '/build/reproducible-path/tomatoes-1.55' g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/bomb.cpp -o obj/bomb.o g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/bonus.cpp -o obj/bonus.o @@ -1285,16 +1320,14 @@ g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/pathfinder.cpp -o obj/pathfinder.o g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/player.cpp -o obj/player.o g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/screenshot.cpp -o obj/screenshot.o -In file included from src/font.cpp:35: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | -In file included from /usr/include/GL/gl.h:2050, - from /usr/include/SDL/SDL_opengl.h:46, - from src/font.cpp:35: -/usr/include/GL/glext.h:54: note: this is the location of the previous definition - 54 | #define GL_GLEXT_VERSION 20190805 - | +g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/select_special.cpp -o obj/select_special.o +g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/soundmusic.cpp -o obj/soundmusic.o +g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/special_power.cpp -o obj/special_power.o +g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/teleport.cpp -o obj/teleport.o +g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/texture.cpp -o obj/texture.o +g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/tilemap.cpp -o obj/tilemap.o +g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/timer.cpp -o obj/timer.o +g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/trap.cpp -o obj/trap.o src/mpak.cpp: In member function 'int MPAK_FILE::open_mpk(int, char*, char*)': src/mpak.cpp:277:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 277 | fread(&crc_checksum, sizeof(crc_checksum), 1, fpointer); @@ -1315,46 +1348,90 @@ src/mpak.cpp:536:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 536 | fread(buffer, 1, bytes_left, fin); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from src/helpers.cpp:32: +In file included from src/comments.cpp:34: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | -In file included from src/game.cpp:32: +In file included from /usr/include/GL/gl.h:2050, + from /usr/include/SDL/SDL_opengl.h:46, + from src/comments.cpp:34: +/usr/include/GL/glext.h:54: note: this is the location of the previous definition + 54 | #define GL_GLEXT_VERSION 20190805 + | +In file included from src/effects.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | -In file included from src/screenshot.cpp:34: +In file included from /usr/include/GL/gl.h:2050, + from /usr/include/SDL/SDL_opengl.h:46, + from src/effects.cpp:32: +/usr/include/GL/glext.h:54: note: this is the location of the previous definition + 54 | #define GL_GLEXT_VERSION 20190805 + | +In file included from src/select_special.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | -In file included from src/enemy.cpp:32: +In file included from /usr/include/GL/gl.h:2050, + from /usr/include/SDL/SDL_opengl.h:46, + from src/select_special.cpp:32: +/usr/include/GL/glext.h:54: note: this is the location of the previous definition + 54 | #define GL_GLEXT_VERSION 20190805 + | +In file included from src/levels.cpp:33: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, - from src/game.cpp:32: + from src/levels.cpp:33: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | +In file included from src/font.cpp:35: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | +In file included from src/bomb.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, - from src/helpers.cpp:32: + from src/font.cpp:35: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, - from src/screenshot.cpp:34: + from src/bomb.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | +In file included from src/menu.cpp:34: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | +In file included from src/enemy.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | In file included from src/bonus.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, + from src/menu.cpp:34: +/usr/include/GL/glext.h:54: note: this is the location of the previous definition + 54 | #define GL_GLEXT_VERSION 20190805 + | +In file included from src/helpers.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | +In file included from /usr/include/GL/gl.h:2050, + from /usr/include/SDL/SDL_opengl.h:46, from src/enemy.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 @@ -1365,11 +1442,27 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | +In file included from /usr/include/GL/gl.h:2050, + from /usr/include/SDL/SDL_opengl.h:46, + from src/helpers.cpp:32: +/usr/include/GL/glext.h:54: note: this is the location of the previous definition + 54 | #define GL_GLEXT_VERSION 20190805 + | +In file included from src/hiscore.cpp:34: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | In file included from src/main.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | -In file included from src/menu.cpp:34: +In file included from /usr/include/GL/gl.h:2050, + from /usr/include/SDL/SDL_opengl.h:46, + from src/hiscore.cpp:34: +/usr/include/GL/glext.h:54: note: this is the location of the previous definition + 54 | #define GL_GLEXT_VERSION 20190805 + | +In file included from src/init.cpp:39: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | @@ -1379,13 +1472,21 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | +In file included from src/game.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, - from src/menu.cpp:34: + from src/init.cpp:39: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | -In file included from src/comments.cpp:34: +In file included from src/tilemap.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | +In file included from src/pathfinder.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | @@ -1393,94 +1494,90 @@ /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | -In file included from /usr/include/GL/gl.h:2050, - from /usr/include/SDL/SDL_opengl.h:46, - from src/comments.cpp:34: -/usr/include/GL/glext.h:54: note: this is the location of the previous definition - 54 | #define GL_GLEXT_VERSION 20190805 +In file included from src/screenshot.cpp:34: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | +In file included from src/particle.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | +In file included from src/texture.cpp:35: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, - from src/player.cpp:32: + from src/game.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | -In file included from src/particle.cpp:32: +In file included from src/special_power.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, - from src/particle.cpp:32: + from src/tilemap.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | -In file included from src/init.cpp:39: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | -In file included from src/effects.cpp:32: +In file included from src/teleport.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, - from src/init.cpp:39: + from src/pathfinder.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | -In file included from src/bomb.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, - from src/effects.cpp:32: + from src/player.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, - from src/bomb.cpp:32: + from src/texture.cpp:35: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | -In file included from src/hiscore.cpp:34: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 +In file included from /usr/include/GL/gl.h:2050, + from /usr/include/SDL/SDL_opengl.h:46, + from src/particle.cpp:32: +/usr/include/GL/glext.h:54: note: this is the location of the previous definition + 54 | #define GL_GLEXT_VERSION 20190805 | -In file included from src/pathfinder.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 +In file included from /usr/include/GL/gl.h:2050, + from /usr/include/SDL/SDL_opengl.h:46, + from src/screenshot.cpp:34: +/usr/include/GL/glext.h:54: note: this is the location of the previous definition + 54 | #define GL_GLEXT_VERSION 20190805 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, - from src/hiscore.cpp:34: + from src/special_power.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, - from src/pathfinder.cpp:32: + from src/teleport.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | -g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/select_special.cpp -o obj/select_special.o -In file included from src/levels.cpp:33: +In file included from src/trap.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, - from src/levels.cpp:33: + from src/trap.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | -g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/soundmusic.cpp -o obj/soundmusic.o -src/screenshot.cpp: In function 'void save_tga(char*, short int, short int, unsigned char*)': -src/screenshot.cpp:123:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 123 | error_msg("Unable to save a screenshot to \"%s\"!\n", filename); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp: In function 'void load_config(std::string, CONFIG*)': src/config.cpp:107:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 107 | error_msg("Unable to load config file: %s!", file.c_str()); @@ -1489,16 +1586,6 @@ src/config.cpp:134:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 134 | error_msg("Unable to save config file: %s!", file.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from src/select_special.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | -In file included from /usr/include/GL/gl.h:2050, - from /usr/include/SDL/SDL_opengl.h:46, - from src/select_special.cpp:32: -/usr/include/GL/glext.h:54: note: this is the location of the previous definition - 54 | #define GL_GLEXT_VERSION 20190805 - | src/config.cpp: In function 'void load_config(std::string, CONFIG*)': src/config.cpp:109:8: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 109 | fscanf(f, "video_mode = %d x %d\n", &(conf->vid_w), &(conf->vid_h)); @@ -1521,7 +1608,6 @@ src/config.cpp:115:8: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 115 | fscanf(f, "music_volume = %d\n", &(conf->music_vol)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/special_power.cpp -o obj/special_power.o src/config.cpp:116:8: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 116 | fscanf(f, "show_fps = %d\n", &(conf->show_fps)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1549,6 +1635,148 @@ src/config.cpp:124:8: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | fscanf(f, "moving_style = %d %d\n", &(conf->moving_style[0]), &(conf->moving_style[1])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/timer.cpp: In function 'void start_timer(int)': +src/timer.cpp:59:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 59 | error_msg("Error setting timer!\n%s", SDL_GetError()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +src/soundmusic.cpp: In function 'void load_sound(char*)': +src/soundmusic.cpp:173:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 173 | error_msg("load_sounds():\nTrying to load too many sounds!\nNUM_SOUNDS is defined as %d.\n", NUM_SOUNDS); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/soundmusic.cpp:196:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 196 | error_msg("load_sound():\nUnable to load a sound from %s!\nError: %s\n",file,Mix_GetError()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/soundmusic.cpp: In function 'void init_mixer()': +src/soundmusic.cpp:215:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 215 | load_sound("snd_appear.wav"); + | ^~~~~~~~~~~~~~~~ +src/soundmusic.cpp:216:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 216 | load_sound("snd_bomb.wav"); + | ^~~~~~~~~~~~~~ +src/soundmusic.cpp:217:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 217 | load_sound("snd_explo.wav"); + | ^~~~~~~~~~~~~~~ +src/soundmusic.cpp:218:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 218 | load_sound("snd_bonus1.wav"); + | ^~~~~~~~~~~~~~~~ +src/soundmusic.cpp:219:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 219 | load_sound("snd_bonus2.wav"); + | ^~~~~~~~~~~~~~~~ +src/soundmusic.cpp:220:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 220 | load_sound("snd_bonus3.wav"); + | ^~~~~~~~~~~~~~~~ +src/soundmusic.cpp:221:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 221 | load_sound("snd_die1.wav"); + | ^~~~~~~~~~~~~~ +src/soundmusic.cpp:222:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 222 | load_sound("snd_die2.wav"); + | ^~~~~~~~~~~~~~ +src/soundmusic.cpp:223:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 223 | load_sound("snd_die3.wav"); + | ^~~~~~~~~~~~~~ +src/soundmusic.cpp:224:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 224 | load_sound("snd_die4.wav"); + | ^~~~~~~~~~~~~~ +src/soundmusic.cpp:225:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 225 | load_sound("snd_die5.wav"); + | ^~~~~~~~~~~~~~ +src/soundmusic.cpp:226:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 226 | load_sound("snd_die6.wav"); + | ^~~~~~~~~~~~~~ +src/soundmusic.cpp:227:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 227 | load_sound("snd_levelteleport.wav"); + | ^~~~~~~~~~~~~~~~~~~~~~~ +src/soundmusic.cpp:228:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 228 | load_sound("snd_wildfire.wav"); + | ^~~~~~~~~~~~~~~~~~ +src/soundmusic.cpp:229:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 229 | load_sound("snd_teleport.wav"); + | ^~~~~~~~~~~~~~~~~~ +src/soundmusic.cpp:230:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 230 | load_sound("snd_trap.wav"); + | ^~~~~~~~~~~~~~ +src/soundmusic.cpp:231:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 231 | load_sound("snd_lightning.wav"); + | ^~~~~~~~~~~~~~~~~~~ +src/soundmusic.cpp:232:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 232 | load_sound("snd_wisp.wav"); + | ^~~~~~~~~~~~~~ +src/soundmusic.cpp:233:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 233 | load_sound("snd_jump.wav"); + | ^~~~~~~~~~~~~~ +src/soundmusic.cpp:234:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 234 | load_sound("snd_potatoman.wav"); + | ^~~~~~~~~~~~~~~~~~~ +src/soundmusic.cpp:235:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 235 | load_sound("snd_potatoman2.wav"); + | ^~~~~~~~~~~~~~~~~~~~ +src/soundmusic.cpp:236:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 236 | load_sound("snd_turn.wav"); + | ^~~~~~~~~~~~~~ +src/soundmusic.cpp:237:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 237 | load_sound("snd_flowerpower.wav"); + | ^~~~~~~~~~~~~~~~~~~~~ +src/soundmusic.cpp:238:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 238 | load_sound("snd_kick.wav"); + | ^~~~~~~~~~~~~~ +src/soundmusic.cpp:239:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 239 | load_sound("snd_killed5.wav"); + | ^~~~~~~~~~~~~~~~~ +src/soundmusic.cpp:240:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 240 | load_sound("snd_menu1.wav"); + | ^~~~~~~~~~~~~~~ +src/soundmusic.cpp:241:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 241 | load_sound("snd_menu2.wav"); + | ^~~~~~~~~~~~~~~ +src/soundmusic.cpp:242:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 242 | load_sound("snd_finish.wav"); + | ^~~~~~~~~~~~~~~~ +src/soundmusic.cpp: In function 'void play_music(char*)': +src/soundmusic.cpp:278:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 278 | error_msg("play_music():\nUnable to play music from '%s'!\nError: %s\n", file, Mix_GetError()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/soundmusic.cpp:284:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 284 | add_comment(COL_DEFAULT, "Playing \"%s\"...", file); + | ^~~~~~~~~~~~~~~~~~~ +src/select_special.cpp: In function 'void do_special_selection()': +src/select_special.cpp:308:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 308 | add_comment(COL_YELLOW, "%s chosen.", (char*)icon_names[power]); + | ^~~~~~~~~~~~ +src/select_special.cpp: In function 'void load_icons()': +src/select_special.cpp:347:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 347 | special_icons[0] = load_png("icons1.png", true, false, false); + | ^~~~~~~~~~~~ +src/select_special.cpp:348:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 348 | special_icons[1] = load_png("icons2.png", true, false, false); + | ^~~~~~~~~~~~ +src/select_special.cpp:349:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 349 | special_icons[2] = load_png("icons3.png", true, false, false); + | ^~~~~~~~~~~~ +src/select_special.cpp:350:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 350 | icon_bg = load_png("iconbg.png", true, false, false); + | ^~~~~~~~~~~~ +src/levels.cpp: In function 'void load_bg_number(int)': +src/levels.cpp:181:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 181 | load_texture_into(cur_bground, str, "JPG", false, false, true); + | ^~~~~ +src/levels.cpp: In function 'void init_levels()': +src/levels.cpp:209:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 209 | add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/levels.cpp: In function 'bool change_level()': +src/levels.cpp:256:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 256 | add_comment(COL_DEFAULT, "Ten seconds left."); + | ^~~~~~~~~~~~~~~~~~~ +src/levels.cpp:318:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 318 | add_comment(COL_DEFAULT, "Level finished."); + | ^~~~~~~~~~~~~~~~~ +src/levels.cpp:320:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 320 | add_comment(COL_DEFAULT, "GAME OVER"); + | ^~~~~~~~~~~ +src/levels.cpp: In function 'void next_level()': +src/levels.cpp:378:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 378 | add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp: In function 'char* key_name(int)': src/menu.cpp:111:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | return "LEFT ARROW"; @@ -1649,36 +1877,6 @@ src/menu.cpp:497:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 497 | glprintf(font1, 0, -5.0f, -3.0f, -13, "Perspective mode: %s", (config.perspective_mode) ? "ON" : "OFF"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -src/init.cpp: In function 'void init_sdl_and_gl()': -src/init.cpp:94:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 94 | error_msg("Sorry, 8-bit color depth is not supported!\nYou must use 15, 16, 24 or 32-bit mode.\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/init.cpp:98:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 98 | error_msg("Unable to init SDL: %s", SDL_GetError()); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -src/init.cpp:108:34: note: in expansion of macro 'MPK_DIR' - 108 | if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) - | ^~~~~~~ -: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -src/init.cpp:108:58: note: in expansion of macro 'OVERRIDE_DIR' - 108 | if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) - | ^~~~~~~~~~~~ -src/init.cpp:109:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 109 | error_msg("Unable to open 'tomatoes.mpk'.\nThe file either doesn't exist or is corrupted."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/init.cpp:113:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 113 | FILE *fin = pakfile.open_file("icon.bmp"); - | ^~~~~~~~~~ -src/init.cpp:115:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 115 | error_msg("Unable to load the icon!\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/init.cpp:118:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 118 | error_msg("Unable to load the icon!\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/init.cpp:135:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 135 | error_msg("Unable to set the OpenGL video mode %d x %d (%d bit)!\n%s", config.vid_w, config.vid_h, config.vid_color_depth, SDL_GetError()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp: In function 'void load_menus()': src/menu.cpp:929:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 929 | button_tex = load_png("menubut.png", true, false, true); @@ -1689,43 +1887,70 @@ src/menu.cpp:931:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 931 | menu_bg = load_jpg("menubg.jpg", false, true, true); | ^~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/teleport.cpp -o obj/teleport.o -src/particle.cpp: In function 'void load_particles()': -src/particle.cpp:69:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 69 | part_spark = load_jpg("spark.jpg", false, false, true); - | ^~~~~~~~~~~ -src/particle.cpp:70:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 70 | part_explo = load_jpg("explo.jpg", false, false, true); - | ^~~~~~~~~~~ -src/particle.cpp:71:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 71 | part_star = load_jpg("star.jpg", false, false, true); - | ^~~~~~~~~~ -src/particle.cpp:72:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 72 | part_glow = load_jpg("glow.jpg", false, false, true); - | ^~~~~~~~~~ -src/particle.cpp:73:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 73 | part_smoke = load_png("smoke.png", true, false, true); - | ^~~~~~~~~~~ -src/particle.cpp:74:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 74 | part_fire = load_jpg("fire.jpg", false, false, true); - | ^~~~~~~~~~ -src/particle.cpp:75:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 75 | part_flower = load_png("flower.png", true, false, true); - | ^~~~~~~~~~~~ -src/game.cpp: In function 'void draw()': -src/game.cpp:223:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 223 | glprintf_center(font1, 0, 0, 9, -25, "FPS: %02.1f", fps); - | ^~~~~~~~~~~~~ -src/game.cpp:260:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 260 | glprintf_center(font1, 0, 0, 2.0f, -13, "ARE YOU SURE YOU WANT TO EXIT?"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/game.cpp:261:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 261 | glprintf_center(font1, 0, 0, 1.1f, -13, "Press ESC to exit, or ENTER to resume."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/game.cpp: In function 'void start_game(bool)': -src/game.cpp:526:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 526 | int place = list.add_name("null", kill_count); - | ^~~~~~ +src/texture.cpp: In function 'GLuint load_png(char*, bool, bool, bool)': +src/texture.cpp:71:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 71 | return load_texture(file, "PNG", alpha, repeat, mipmaps); + | ^~~~~ +src/texture.cpp: In function 'GLuint load_jpg(char*, bool, bool, bool)': +src/texture.cpp:77:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 77 | return load_texture(file, "JPG", alpha, repeat, mipmaps); + | ^~~~~ +src/texture.cpp: In function 'GLuint load_texture(char*, char*, bool, bool, bool)': +src/texture.cpp:97:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 97 | error_msg("Unable to load texture from %s!\nSomething is wrong with the pakfile.", file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/texture.cpp:103:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 103 | error_msg("Unable to load texture from %s!\n%s", file, IMG_GetError()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/texture.cpp:113:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 113 | error_msg("Unable to flip surface %s:\nOut of memory!\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/texture.cpp: In function 'void load_texture_into(GLuint, char*, char*, bool, bool, bool)': +src/texture.cpp:196:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 196 | error_msg("Unable to load texture from %s!\nSomething is wrong with the pakfile.", file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/texture.cpp:202:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 202 | error_msg("Unable to load texture from %s!\n%s", file, IMG_GetError()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/texture.cpp:212:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 212 | error_msg("Unable to flip surface %s:\nOut of memory!\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/texture.cpp: In function 'GLuint create_empty_texture(int, int, int)': +src/texture.cpp:269:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 269 | error_msg("Unable to create an empty texture!"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/tilemap.cpp: In function 'void load_map(char*)': +src/tilemap.cpp:474:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 474 | error_msg("Unable to load the level %s from the pakfile!\n", file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/tilemap.cpp:488:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 488 | error_msg("'%s' is not a level file for this game!\n", file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/hiscore.cpp: In member function 'void HISCORE_LIST::input_name(int)': +src/hiscore.cpp:333:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 333 | glprintf_center(font1, 0, 0, -4.5f, -13, "CONGRATULATIONS"); + | ^~~~~~~~~~~~~~~~~ +src/hiscore.cpp: In member function 'void HISCORE_LIST::draw(int, float)': +src/hiscore.cpp:353:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 353 | glprintf_center(font1, 0, 0, 3.05f, -13, "%s", ((this == &hiscore_1) ? "SINGLE PLAYER HIGH SCORES" : "TWO PLAYERS HIGH SCORES")); + | ^~~~ +src/hiscore.cpp:366:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 366 | glprintf(font1, 0, -5.0f, ypos, -13, "%2d.", f+1); + | ^~~~~~ +src/hiscore.cpp:373:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 373 | glprintf(font1, 0, -3.7f, ypos, -13, "%s", list[f].name); + | ^~~~ +src/hiscore.cpp:380:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 380 | glprintf(font1, 0, 3.4f, ypos, -13, "%03d", list[f].score); + | ^~~~~~ +src/screenshot.cpp: In function 'void save_tga(char*, short int, short int, unsigned char*)': +src/screenshot.cpp:123:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 123 | error_msg("Unable to save a screenshot to \"%s\"!\n", filename); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/hiscore.cpp: In member function 'void HISCORE_LIST::save(std::string)': +src/hiscore.cpp:408:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 408 | error_msg("Unable to save the hiscore list to %s!\n", file.c_str()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/player.cpp: In function 'void load_players()': src/player.cpp:99:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | player1_anim = load_png("player1.png", true, false, false); @@ -1736,17 +1961,6 @@ src/player.cpp:105:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | p_icons = load_png("picons.png", true, false, false); | ^~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/texture.cpp -o obj/texture.o -In file included from src/special_power.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | -In file included from /usr/include/GL/gl.h:2050, - from /usr/include/SDL/SDL_opengl.h:46, - from src/special_power.cpp:32: -/usr/include/GL/glext.h:54: note: this is the location of the previous definition - 54 | #define GL_GLEXT_VERSION 20190805 - | src/player.cpp: In member function 'void PLAYER::die()': src/player.cpp:772:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 772 | add_comment(COL_DEFAULT, "Respawning soon..."); @@ -1770,6 +1984,10 @@ src/player.cpp:806:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 806 | add_comment(COL_GREEN, "You have received a Flower Power."); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/init.cpp: In function 'void init_sdl_and_gl()': +src/init.cpp:94:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 94 | error_msg("Sorry, 8-bit color depth is not supported!\nYou must use 15, 16, 24 or 32-bit mode.\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/player.cpp:808:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 808 | add_comment(COL_BLUE, "You have received a Teleport."); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1779,6 +1997,83 @@ src/player.cpp:812:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 812 | add_comment(COL_BLUE, "You have received a Lightning Bolt."); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/init.cpp:98:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 98 | error_msg("Unable to init SDL: %s", SDL_GetError()); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] +src/init.cpp:108:34: note: in expansion of macro 'MPK_DIR' + 108 | if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) + | ^~~~~~~ +: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] +src/init.cpp:108:58: note: in expansion of macro 'OVERRIDE_DIR' + 108 | if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) + | ^~~~~~~~~~~~ +src/init.cpp:109:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 109 | error_msg("Unable to open 'tomatoes.mpk'.\nThe file either doesn't exist or is corrupted."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/init.cpp:113:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 113 | FILE *fin = pakfile.open_file("icon.bmp"); + | ^~~~~~~~~~ +src/init.cpp:115:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 115 | error_msg("Unable to load the icon!\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/init.cpp:118:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 118 | error_msg("Unable to load the icon!\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/init.cpp:135:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 135 | error_msg("Unable to set the OpenGL video mode %d x %d (%d bit)!\n%s", config.vid_w, config.vid_h, config.vid_color_depth, SDL_GetError()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/helpers.cpp: In function 'void load_wisps()': +src/helpers.cpp:85:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 85 | wisp_tex = load_jpg("wisp.jpg", false, false, true); + | ^~~~~~~~~~ +src/hiscore.cpp: In member function 'void HISCORE_LIST::load(std::string)': +src/hiscore.cpp:436:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 436 | fread(&list[f].score, sizeof(int), 1, fin); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/hiscore.cpp:440:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 440 | fread(list[f].name, NAME_LEN, 1, fin); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/helpers.cpp: In function 'void load_potatoman()': +src/helpers.cpp:300:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 300 | potatoman_tex = load_png("potatoman.png", true, false, false); + | ^~~~~~~~~~~~~~~ +src/teleport.cpp: In function 'void load_teleports()': +src/teleport.cpp:121:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 121 | teleport_tex = load_png("teleport1.png", true, false, false); + | ^~~~~~~~~~~~~~~ +src/teleport.cpp:122:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 122 | part_teleport = load_jpg("teleport2.jpg", false, false, true); + | ^~~~~~~~~~~~~~~ +src/particle.cpp: In function 'void load_particles()': +src/particle.cpp:69:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 69 | part_spark = load_jpg("spark.jpg", false, false, true); + | ^~~~~~~~~~~ +src/particle.cpp:70:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 70 | part_explo = load_jpg("explo.jpg", false, false, true); + | ^~~~~~~~~~~ +src/particle.cpp:71:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 71 | part_star = load_jpg("star.jpg", false, false, true); + | ^~~~~~~~~~ +src/particle.cpp:72:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 72 | part_glow = load_jpg("glow.jpg", false, false, true); + | ^~~~~~~~~~ +src/particle.cpp:73:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 73 | part_smoke = load_png("smoke.png", true, false, true); + | ^~~~~~~~~~~ +src/particle.cpp:74:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 74 | part_fire = load_jpg("fire.jpg", false, false, true); + | ^~~~~~~~~~ +src/particle.cpp:75:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 75 | part_flower = load_png("flower.png", true, false, true); + | ^~~~~~~~~~~~ +src/trap.cpp: In function 'void load_traps()': +src/trap.cpp:58:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 58 | trap_texture = load_png("trap.png", true, false, false); + | ^~~~~~~~~~ +src/trap.cpp:59:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 59 | part_trap = load_jpg("part_trap.jpg", false, false, true); + | ^~~~~~~~~~~~~~~ src/main.cpp: In function 'void loading_screen()': src/main.cpp:61:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | logo_tex = load_png("logotex.png", true, false, true); @@ -1793,6 +2088,10 @@ src/main.cpp:125:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 125 | font_num = load_png("fonts_num.png", true, false, true); | ^~~~~~~~~~~~~~~ +src/bomb.cpp: In function 'void load_bombs()': +src/bomb.cpp:80:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 80 | bomb_tex[0] = load_png("bomb1.png", true, false, false); + | ^~~~~~~~~~~ src/enemy.cpp: In function 'void load_enemies()': src/enemy.cpp:80:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | enemy_anim[0] = load_png("enemy1.png", true, false, false); @@ -1810,288 +2109,24 @@ src/bonus.cpp:98:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 98 | bonus_particle = load_jpg("bonus_part.jpg", false, false, true); | ^~~~~~~~~~~~~~~~ -In file included from src/teleport.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | -In file included from /usr/include/GL/gl.h:2050, - from /usr/include/SDL/SDL_opengl.h:46, - from src/teleport.cpp:32: -/usr/include/GL/glext.h:54: note: this is the location of the previous definition - 54 | #define GL_GLEXT_VERSION 20190805 - | -g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/tilemap.cpp -o obj/tilemap.o -g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/timer.cpp -o obj/timer.o -src/hiscore.cpp: In member function 'void HISCORE_LIST::input_name(int)': -src/hiscore.cpp:333:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 333 | glprintf_center(font1, 0, 0, -4.5f, -13, "CONGRATULATIONS"); - | ^~~~~~~~~~~~~~~~~ -src/hiscore.cpp: In member function 'void HISCORE_LIST::draw(int, float)': -src/hiscore.cpp:353:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 353 | glprintf_center(font1, 0, 0, 3.05f, -13, "%s", ((this == &hiscore_1) ? "SINGLE PLAYER HIGH SCORES" : "TWO PLAYERS HIGH SCORES")); - | ^~~~ -src/hiscore.cpp:366:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 366 | glprintf(font1, 0, -5.0f, ypos, -13, "%2d.", f+1); - | ^~~~~~ -src/hiscore.cpp:373:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 373 | glprintf(font1, 0, -3.7f, ypos, -13, "%s", list[f].name); - | ^~~~ -src/hiscore.cpp:380:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 380 | glprintf(font1, 0, 3.4f, ypos, -13, "%03d", list[f].score); - | ^~~~~~ -src/hiscore.cpp: In member function 'void HISCORE_LIST::save(std::string)': -src/hiscore.cpp:408:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 408 | error_msg("Unable to save the hiscore list to %s!\n", file.c_str()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/select_special.cpp: In function 'void do_special_selection()': -src/select_special.cpp:308:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 308 | add_comment(COL_YELLOW, "%s chosen.", (char*)icon_names[power]); - | ^~~~~~~~~~~~ -src/select_special.cpp: In function 'void load_icons()': -src/select_special.cpp:347:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 347 | special_icons[0] = load_png("icons1.png", true, false, false); - | ^~~~~~~~~~~~ -src/select_special.cpp:348:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 348 | special_icons[1] = load_png("icons2.png", true, false, false); - | ^~~~~~~~~~~~ -src/select_special.cpp:349:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 349 | special_icons[2] = load_png("icons3.png", true, false, false); - | ^~~~~~~~~~~~ -src/select_special.cpp:350:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 350 | icon_bg = load_png("iconbg.png", true, false, false); - | ^~~~~~~~~~~~ -In file included from src/texture.cpp:35: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | -In file included from /usr/include/GL/gl.h:2050, - from /usr/include/SDL/SDL_opengl.h:46, - from src/texture.cpp:35: -/usr/include/GL/glext.h:54: note: this is the location of the previous definition - 54 | #define GL_GLEXT_VERSION 20190805 - | -src/bomb.cpp: In function 'void load_bombs()': -src/bomb.cpp:80:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 80 | bomb_tex[0] = load_png("bomb1.png", true, false, false); - | ^~~~~~~~~~~ -In file included from src/tilemap.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | src/bomb.cpp: In member function 'void BOMB::move()': src/bomb.cpp:456:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 456 | add_comment(COL_DEFAULT, "Five enemies with one bomb!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/GL/gl.h:2050, - from /usr/include/SDL/SDL_opengl.h:46, - from src/tilemap.cpp:32: -/usr/include/GL/glext.h:54: note: this is the location of the previous definition - 54 | #define GL_GLEXT_VERSION 20190805 - | -src/hiscore.cpp: In member function 'void HISCORE_LIST::load(std::string)': -src/hiscore.cpp:436:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 436 | fread(&list[f].score, sizeof(int), 1, fin); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/hiscore.cpp:440:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 440 | fread(list[f].name, NAME_LEN, 1, fin); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/trap.cpp -o obj/trap.o -src/levels.cpp: In function 'void load_bg_number(int)': -src/levels.cpp:181:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 181 | load_texture_into(cur_bground, str, "JPG", false, false, true); - | ^~~~~ -src/levels.cpp: In function 'void init_levels()': -src/levels.cpp:209:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 209 | add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/levels.cpp: In function 'bool change_level()': -src/levels.cpp:256:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 256 | add_comment(COL_DEFAULT, "Ten seconds left."); - | ^~~~~~~~~~~~~~~~~~~ -src/levels.cpp:318:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 318 | add_comment(COL_DEFAULT, "Level finished."); - | ^~~~~~~~~~~~~~~~~ -src/levels.cpp:320:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 320 | add_comment(COL_DEFAULT, "GAME OVER"); - | ^~~~~~~~~~~ -src/levels.cpp: In function 'void next_level()': -src/levels.cpp:378:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 378 | add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/helpers.cpp: In function 'void load_wisps()': -src/helpers.cpp:85:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 85 | wisp_tex = load_jpg("wisp.jpg", false, false, true); - | ^~~~~~~~~~ -src/soundmusic.cpp: In function 'void load_sound(char*)': -src/soundmusic.cpp:173:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 173 | error_msg("load_sounds():\nTrying to load too many sounds!\nNUM_SOUNDS is defined as %d.\n", NUM_SOUNDS); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/soundmusic.cpp:196:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 196 | error_msg("load_sound():\nUnable to load a sound from %s!\nError: %s\n",file,Mix_GetError()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/soundmusic.cpp: In function 'void init_mixer()': -src/soundmusic.cpp:215:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 215 | load_sound("snd_appear.wav"); - | ^~~~~~~~~~~~~~~~ -src/soundmusic.cpp:216:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 216 | load_sound("snd_bomb.wav"); - | ^~~~~~~~~~~~~~ -src/soundmusic.cpp:217:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 217 | load_sound("snd_explo.wav"); - | ^~~~~~~~~~~~~~~ -src/soundmusic.cpp:218:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 218 | load_sound("snd_bonus1.wav"); - | ^~~~~~~~~~~~~~~~ -src/soundmusic.cpp:219:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 219 | load_sound("snd_bonus2.wav"); - | ^~~~~~~~~~~~~~~~ -src/soundmusic.cpp:220:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 220 | load_sound("snd_bonus3.wav"); - | ^~~~~~~~~~~~~~~~ -src/soundmusic.cpp:221:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 221 | load_sound("snd_die1.wav"); - | ^~~~~~~~~~~~~~ -src/soundmusic.cpp:222:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 222 | load_sound("snd_die2.wav"); - | ^~~~~~~~~~~~~~ -src/soundmusic.cpp:223:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 223 | load_sound("snd_die3.wav"); - | ^~~~~~~~~~~~~~ -src/soundmusic.cpp:224:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 224 | load_sound("snd_die4.wav"); - | ^~~~~~~~~~~~~~ -src/soundmusic.cpp:225:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 225 | load_sound("snd_die5.wav"); - | ^~~~~~~~~~~~~~ -src/soundmusic.cpp:226:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 226 | load_sound("snd_die6.wav"); - | ^~~~~~~~~~~~~~ -src/soundmusic.cpp:227:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 227 | load_sound("snd_levelteleport.wav"); - | ^~~~~~~~~~~~~~~~~~~~~~~ -src/soundmusic.cpp:228:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 228 | load_sound("snd_wildfire.wav"); - | ^~~~~~~~~~~~~~~~~~ -src/soundmusic.cpp:229:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 229 | load_sound("snd_teleport.wav"); - | ^~~~~~~~~~~~~~~~~~ -src/soundmusic.cpp:230:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 230 | load_sound("snd_trap.wav"); - | ^~~~~~~~~~~~~~ -src/soundmusic.cpp:231:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 231 | load_sound("snd_lightning.wav"); - | ^~~~~~~~~~~~~~~~~~~ -src/soundmusic.cpp:232:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 232 | load_sound("snd_wisp.wav"); - | ^~~~~~~~~~~~~~ -src/soundmusic.cpp:233:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 233 | load_sound("snd_jump.wav"); - | ^~~~~~~~~~~~~~ -src/soundmusic.cpp:234:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 234 | load_sound("snd_potatoman.wav"); - | ^~~~~~~~~~~~~~~~~~~ -src/soundmusic.cpp:235:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 235 | load_sound("snd_potatoman2.wav"); - | ^~~~~~~~~~~~~~~~~~~~ -src/soundmusic.cpp:236:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 236 | load_sound("snd_turn.wav"); - | ^~~~~~~~~~~~~~ -src/soundmusic.cpp:237:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 237 | load_sound("snd_flowerpower.wav"); - | ^~~~~~~~~~~~~~~~~~~~~ -src/soundmusic.cpp:238:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 238 | load_sound("snd_kick.wav"); - | ^~~~~~~~~~~~~~ -src/soundmusic.cpp:239:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 239 | load_sound("snd_killed5.wav"); - | ^~~~~~~~~~~~~~~~~ -src/soundmusic.cpp:240:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 240 | load_sound("snd_menu1.wav"); - | ^~~~~~~~~~~~~~~ -src/soundmusic.cpp:241:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 241 | load_sound("snd_menu2.wav"); - | ^~~~~~~~~~~~~~~ -src/soundmusic.cpp:242:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 242 | load_sound("snd_finish.wav"); - | ^~~~~~~~~~~~~~~~ -src/soundmusic.cpp: In function 'void play_music(char*)': -src/soundmusic.cpp:278:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 278 | error_msg("play_music():\nUnable to play music from '%s'!\nError: %s\n", file, Mix_GetError()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/soundmusic.cpp:284:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 284 | add_comment(COL_DEFAULT, "Playing \"%s\"...", file); - | ^~~~~~~~~~~~~~~~~~~ -src/helpers.cpp: In function 'void load_potatoman()': -src/helpers.cpp:300:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 300 | potatoman_tex = load_png("potatoman.png", true, false, false); - | ^~~~~~~~~~~~~~~ -In file included from src/trap.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | -In file included from /usr/include/GL/gl.h:2050, - from /usr/include/SDL/SDL_opengl.h:46, - from src/trap.cpp:32: -/usr/include/GL/glext.h:54: note: this is the location of the previous definition - 54 | #define GL_GLEXT_VERSION 20190805 - | -src/timer.cpp: In function 'void start_timer(int)': -src/timer.cpp:59:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 59 | error_msg("Error setting timer!\n%s", SDL_GetError()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -src/texture.cpp: In function 'GLuint load_png(char*, bool, bool, bool)': -src/texture.cpp:71:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 71 | return load_texture(file, "PNG", alpha, repeat, mipmaps); - | ^~~~~ -src/texture.cpp: In function 'GLuint load_jpg(char*, bool, bool, bool)': -src/texture.cpp:77:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 77 | return load_texture(file, "JPG", alpha, repeat, mipmaps); - | ^~~~~ -src/texture.cpp: In function 'GLuint load_texture(char*, char*, bool, bool, bool)': -src/texture.cpp:97:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 97 | error_msg("Unable to load texture from %s!\nSomething is wrong with the pakfile.", file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/texture.cpp:103:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 103 | error_msg("Unable to load texture from %s!\n%s", file, IMG_GetError()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/texture.cpp:113:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 113 | error_msg("Unable to flip surface %s:\nOut of memory!\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/texture.cpp: In function 'void load_texture_into(GLuint, char*, char*, bool, bool, bool)': -src/texture.cpp:196:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 196 | error_msg("Unable to load texture from %s!\nSomething is wrong with the pakfile.", file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/texture.cpp:202:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 202 | error_msg("Unable to load texture from %s!\n%s", file, IMG_GetError()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/texture.cpp:212:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 212 | error_msg("Unable to flip surface %s:\nOut of memory!\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/texture.cpp: In function 'GLuint create_empty_texture(int, int, int)': -src/texture.cpp:269:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 269 | error_msg("Unable to create an empty texture!"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/teleport.cpp: In function 'void load_teleports()': -src/teleport.cpp:121:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 121 | teleport_tex = load_png("teleport1.png", true, false, false); - | ^~~~~~~~~~~~~~~ -src/teleport.cpp:122:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 122 | part_teleport = load_jpg("teleport2.jpg", false, false, true); - | ^~~~~~~~~~~~~~~ -src/tilemap.cpp: In function 'void load_map(char*)': -src/tilemap.cpp:474:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 474 | error_msg("Unable to load the level %s from the pakfile!\n", file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/tilemap.cpp:488:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 488 | error_msg("'%s' is not a level file for this game!\n", file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/trap.cpp: In function 'void load_traps()': -src/trap.cpp:58:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 58 | trap_texture = load_png("trap.png", true, false, false); - | ^~~~~~~~~~ -src/trap.cpp:59:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 59 | part_trap = load_jpg("part_trap.jpg", false, false, true); - | ^~~~~~~~~~~~~~~ +src/game.cpp: In function 'void draw()': +src/game.cpp:223:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 223 | glprintf_center(font1, 0, 0, 9, -25, "FPS: %02.1f", fps); + | ^~~~~~~~~~~~~ +src/game.cpp:260:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 260 | glprintf_center(font1, 0, 0, 2.0f, -13, "ARE YOU SURE YOU WANT TO EXIT?"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/game.cpp:261:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 261 | glprintf_center(font1, 0, 0, 1.1f, -13, "Press ESC to exit, or ENTER to resume."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/game.cpp: In function 'void start_game(bool)': +src/game.cpp:526:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 526 | int place = list.add_name("null", kill_count); + | ^~~~~~ g++ -o ./tomatoes obj/bomb.o obj/bonus.o obj/comments.o obj/config.o obj/effects.o obj/enemy.o obj/font.o obj/game.o obj/helpers.o obj/hiscore.o obj/init.o obj/levels.o obj/main.o obj/menu.o obj/mpak.o obj/mymath.o obj/particle.o obj/pathfinder.o obj/player.o obj/screenshot.o obj/select_special.o obj/soundmusic.o obj/special_power.o obj/teleport.o obj/texture.o obj/tilemap.o obj/timer.o obj/trap.o -Wl,-z,relro -Wl,-z,now `sdl-config --libs` -lSDL_image -lSDL_mixer -lGL -lGLU make[2]: Leaving directory '/build/reproducible-path/tomatoes-1.55' make[1]: Leaving directory '/build/reproducible-path/tomatoes-1.55' @@ -2133,12 +2168,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/727368/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/727368/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/2496267 and its subdirectories -I: Current time: Mon Jul 29 05:26:56 -12 2024 -I: pbuilder-time-stamp: 1722274016 +I: removing directory /srv/workspace/pbuilder/727368 and its subdirectories +I: Current time: Mon Sep 1 13:50:53 +14 2025 +I: pbuilder-time-stamp: 1756684253