Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/t/tomatoes/tomatoes_1.55-10_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/tomatoes-1.55-10ggj5i8ee/tomatoes_1.55-10_amd64.buildinfo Get source package info: tomatoes=1.55-10 Source URL: http://snapshot.notset.fr/mr/package/tomatoes/1.55-10/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-3 autotools-dev=20180224.1+nmu1 base-files=11 base-passwd=3.5.48 bash=5.1-2 binutils=2.35.1-7 binutils-common=2.35.1-7 binutils-x86-64-linux-gnu=2.35.1-7 bsdextrautils=2.36.1-6 bsdutils=1:2.36.1-6 build-essential=12.9 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20200708+dd9ef66-5 debconf=1.5.74 debhelper=13.3.1 debianutils=4.11.2 dh-autoreconf=19 dh-strip-nondeterminism=1.10.0-1 diffutils=1:3.7-5 dpkg=1.20.7.1 dpkg-dev=1.20.7.1 dwz=0.13+20210126-1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-3 gettext-base=0.21-3 grep=3.6-1 groff-base=1.22.4-6 gzip=1.10-2 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-9 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libasound2=1.2.4-1.1 libasound2-data=1.2.4-1.1 libasound2-dev=1.2.4-1.1 libasyncns0=0.8-6+b2 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.1-7 libblkid-dev=2.36.1-6 libblkid1=2.36.1-6 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-4 libc-bin=2.31-9 libc-dev-bin=2.31-9 libc6=2.31-9 libc6-dev=2.31-9 libcaca-dev=0.99.beta19-2.1 libcaca0=0.99.beta19-2.1 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-6 libcom-err2=1.45.6-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-7 libctf0=2.35.1-7 libdb5.3=5.3.28+dfsg1-0.6 libdbus-1-3=1.12.20-1 libdebconfclient0=0.256 libdebhelper-perl=13.3.1 libdeflate-dev=1.7-1 libdeflate0=1.7-1 libdpkg-perl=1.20.7.1 libdrm-amdgpu1=2.4.104-1 libdrm-common=2.4.104-1 libdrm-intel1=2.4.104-1 libdrm-nouveau2=2.4.104-1 libdrm-radeon1=2.4.104-1 libdrm2=2.4.104-1 libedit2=3.1-20191231-2+b1 libegl-dev=1.3.2-1 libegl-mesa0=20.3.3-1 libegl1=1.3.2-1 libelf1=0.182-3 libexpat1=2.2.10-1 libffi-dev=3.3-5 libffi7=3.3-5 libfile-stripnondeterminism-perl=1.10.0-1 libflac-dev=1.3.3-2 libflac8=1.3.3-2 libfluidsynth2=2.1.6-1 libgbm1=20.3.3-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-2 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libgl-dev=1.3.2-1 libgl1=1.3.2-1 libgl1-mesa-dev=20.3.3-1 libgl1-mesa-dri=20.3.3-1 libglapi-mesa=20.3.3-1 libgles-dev=1.3.2-1 libgles1=1.3.2-1 libgles2=1.3.2-1 libglib2.0-0=2.66.4-3 libglib2.0-bin=2.66.4-3 libglib2.0-data=2.66.4-3 libglib2.0-dev=2.66.4-3 libglib2.0-dev-bin=2.66.4-3 libglu1-mesa=9.0.1-1 libglu1-mesa-dev=9.0.1-1 libglvnd-dev=1.3.2-1 libglvnd0=1.3.2-1 libglx-dev=1.3.2-1 libglx-mesa0=20.3.3-1 libglx0=1.3.2-1 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libicu67=67.1-6 libinstpatch-1.0-2=1.1.6-1 libisl23=0.23-1 libitm1=10.2.1-6 libjack-jackd2-0=1.9.17~dfsg-1 libjbig-dev=2.1-3.1+b2 libjbig0=2.1-3.1+b2 libjpeg-dev=1:2.0.5-2 libjpeg62-turbo=1:2.0.5-2 libjpeg62-turbo-dev=1:2.0.5-2 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 libllvm11=1:11.0.1-2 liblsan0=10.2.1-6 liblz4-1=1.9.3-1 liblzma-dev=5.2.5-1.0 liblzma5=5.2.5-1.0 libmad0=0.15.1b-10 libmad0-dev=0.15.1b-10 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmikmod-dev=3.3.11.1-6 libmikmod3=3.3.11.1-6 libmount-dev=2.36.1-6 libmount1=2.36.1-6 libmpc3=1.2.0-1 libmpdec3=2.5.1-1 libmpfr6=4.1.0-3 libncursesw6=6.2+20201114-2 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libogg-dev=1.3.4-0.1 libogg0=1.3.4-0.1 libopenal-data=1:1.19.1-2 libopenal1=1:1.19.1-2 libopengl-dev=1.3.2-1 libopengl0=1.3.2-1 libopus0=1.3.1-0.1 libpam-modules=1.4.0-2 libpam-modules-bin=1.4.0-2 libpam-runtime=1.4.0-2 libpam0g=1.4.0-2 libpciaccess0=0.16-1 libpcre16-3=2:8.39-13 libpcre2-16-0=10.36-2 libpcre2-32-0=10.36-2 libpcre2-8-0=10.36-2 libpcre2-dev=10.36-2 libpcre2-posix2=10.36-2 libpcre3=2:8.39-13 libpcre3-dev=2:8.39-13 libpcre32-3=2:8.39-13 libpcrecpp0v5=2:8.39-13 libperl5.32=5.32.0-6 libpipeline1=1.5.3-1 libpng-dev=1.6.37-3 libpng16-16=1.6.37-3 libpthread-stubs0-dev=0.4-1 libpulse-dev=14.2-1 libpulse-mainloop-glib0=14.2-1 libpulse0=14.2-1 libpython3-stdlib=3.9.1-1 libpython3.9-minimal=3.9.1-3 libpython3.9-stdlib=3.9.1-3 libquadmath0=10.2.1-6 libreadline8=8.1-1 libsamplerate0=0.2.1+ds0-1 libsdl-image1.2=1.2.12-12 libsdl-image1.2-dev=1.2.12-12 libsdl-mixer1.2=1.2.12-16+b1 libsdl-mixer1.2-dev=1.2.12-16+b1 libsdl1.2-dev=1.2.15+dfsg2-5 libsdl1.2debian=1.2.15+dfsg2-5 libsdl2-2.0-0=2.0.14+dfsg2-3 libseccomp2=2.5.1-1 libselinux1=3.1-2+b2 libselinux1-dev=3.1-2+b2 libsensors-config=1:3.6.0-6 libsensors5=1:3.6.0-6 libsepol1=3.1-1 libsepol1-dev=3.1-1 libsigsegv2=2.12-3 libslang2=2.3.2-5 libslang2-dev=2.3.2-5 libsmartcols1=2.36.1-6 libsndfile1=1.0.30-1 libsndio7.0=1.5.0-3 libsqlite3-0=3.34.1-1 libssl1.1=1.1.1i-2 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.2-5 libtiff-dev=4.2.0-1 libtiff5=4.2.0-1 libtiffxx5=4.2.0-1 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.2-5 libunistring2=0.9.10-4 libuuid1=2.36.1-6 libvorbis-dev=1.3.7-1 libvorbis0a=1.3.7-1 libvorbisenc2=1.3.7-1 libvorbisfile3=1.3.7-1 libvulkan1=1.2.162.0-1 libwayland-client0=1.18.0-2~exp1.1 libwayland-cursor0=1.18.0-2~exp1.1 libwayland-egl1=1.18.0-2~exp1.1 libwayland-server0=1.18.0-2~exp1.1 libwebp-dev=0.6.1-2+b1 libwebp6=0.6.1-2+b1 libwebpdemux2=0.6.1-2+b1 libwebpmux3=0.6.1-2+b1 libwrap0=7.6.q-31 libx11-6=2:1.7.0-2 libx11-data=2:1.7.0-2 libx11-dev=2:1.7.0-2 libx11-xcb1=2:1.7.0-2 libxau-dev=1:1.0.9-1 libxau6=1:1.0.9-1 libxcb-dri2-0=1.14-2.1 libxcb-dri3-0=1.14-2.1 libxcb-glx0=1.14-2.1 libxcb-present0=1.14-2.1 libxcb-shm0=1.14-2.1 libxcb-sync1=1.14-2.1 libxcb-xfixes0=1.14-2.1 libxcb1=1.14-2.1 libxcb1-dev=1.14-2.1 libxcursor1=1:1.2.0-2 libxdamage1=1:1.1.5-2 libxdmcp-dev=1:1.1.2-3 libxdmcp6=1:1.1.2-3 libxext-dev=2:1.3.3-1.1 libxext6=2:1.3.3-1.1 libxfixes3=1:5.0.3-2 libxi6=2:1.7.10-1 libxinerama1=2:1.1.4-2 libxkbcommon0=1.0.3-2 libxml2=2.9.10+dfsg-6.3+b1 libxrandr2=2:1.5.1-1 libxrender1=1:0.9.10-1 libxshmfence1=1.3-1 libxss1=1:1.2.3-1 libxxf86vm1=1:1.1.4-1+b2 libz3-4=4.8.10-1 libzstd1=1.4.8+dfsg-1 linux-libc-dev=5.10.9-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 mailcap=3.68 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 media-types=4.0.0 mime-support=3.66 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 patch=2.7.6-7 perl=5.32.0-6 perl-base=5.32.0-6 perl-modules-5.32=5.32.0-6 pkg-config=0.29.2-1 po-debconf=1.0.21+nmu1 python3=3.9.1-1 python3-distutils=3.9.1-2 python3-lib2to3=3.9.1-2 python3-minimal=3.9.1-1 python3.9=3.9.1-3 python3.9-minimal=3.9.1-3 readline-common=8.1-1 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-5 tar=1.32+dfsg-1 timgm6mb-soundfont=1.3-4 tzdata=2021a-1 util-linux=2.36.1-6 uuid-dev=2.36.1-6 x11-common=1:7.7+21 x11proto-dev=2020.1-1 x11proto-xext-dev=2020.1-1 xkb-data=2.29-2 xorg-sgml-doctools=1:1.11-1.1 xtrans-dev=1.4.0-1 xz-utils=5.2.5-1.0 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210206T122928Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210129T031654Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d tomatoes=1.55-10 && mkdir -p /build/tomatoes-OWF7Rm && dpkg-source --no-check -x /*.dsc /build/tomatoes-OWF7Rm/tomatoes-1.55 && chown -R builduser:builduser /build/tomatoes-OWF7Rm" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/tomatoes-OWF7Rm/tomatoes-1.55 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1611949408" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/tomatoes-OWF7Rm /tmp/tomatoes-1.55-10ggj5i8ee bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210129T031654Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.wecqgXRVn1 as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.wecqgXRVn1 Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-6). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210129T031654Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210129T031654Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (888 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4661 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-9) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210206T122928Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210129T031654Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.wecqgXRVn1 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210206T122928Z unstable InRelease [153 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20210129T031654Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20210206T122928Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210206T122928Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210206T122928Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20210206T122928Z unstable/main amd64 Packages [11.7 MB] Fetched 34.4 MB in 29s (1191 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.wecqgXRVn1 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d tomatoes=1.55-10 && mkdir -p /build/tomatoes-OWF7Rm && dpkg-source --no-check -x /*.dsc /build/tomatoes-OWF7Rm/tomatoes-1.55 && chown -R builduser:builduser /build/tomatoes-OWF7Rm"' exec /tmp/mmdebstrap.wecqgXRVn1 Reading package lists... NOTICE: 'tomatoes' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/tomatoes.git Please use: git clone https://salsa.debian.org/debian/tomatoes.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 9253 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main tomatoes 1.55-10 (dsc) [1947 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main tomatoes 1.55-10 (tar) [9241 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main tomatoes 1.55-10 (diff) [10.2 kB] Fetched 9253 kB in 7s (1251 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'tomatoes_1.55-10.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting tomatoes in /build/tomatoes-OWF7Rm/tomatoes-1.55 dpkg-source: info: unpacking tomatoes_1.55.orig.tar.gz dpkg-source: info: unpacking tomatoes_1.55-10.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 01_dirs.diff dpkg-source: info: applying 02_version.diff dpkg-source: info: applying 03_fading.diff dpkg-source: info: applying 04_credits.diff dpkg-source: info: applying 05_files.diff dpkg-source: info: applying 06_SDLK_KP_ENTER.diff dpkg-source: info: applying 07_nosound.diff dpkg-source: info: applying 08_flags.diff dpkg-source: info: applying 09_sort_source_files.diff I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/tomatoes-OWF7Rm/tomatoes-1.55 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1611949408" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.wecqgXRVn1 dpkg-buildpackage: info: source package tomatoes dpkg-buildpackage: info: source version 1.55-10 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Samuel Henrique dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j4 clean make[1]: Entering directory '/build/tomatoes-OWF7Rm/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/tomatoes-OWF7Rm/tomatoes-1.55' dh_clean debian/rules binary-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a dh_auto_configure -a debian/rules override_dh_auto_build make[1]: Entering directory '/build/tomatoes-OWF7Rm/tomatoes-1.55' dh_auto_build -- 'CC=$(CXX)' make -j4 "INSTALL=install --strip-program=true" CC=\$\(CXX\) make[2]: Entering directory '/build/tomatoes-OWF7Rm/tomatoes-1.55' g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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 g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/comments.cpp -o obj/comments.o g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/config.cpp -o obj/config.o 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 /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/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/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/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/bonus.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: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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp: In function ‘void save_config(std::string, CONFIG*)’: 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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:110:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 110 | fscanf(f, "video_mode_color_depth = %d\n", &(conf->vid_color_depth)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:111:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 111 | fscanf(f, "video_mode_fullscreen = %d\n", &(conf->fullscreen)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:112:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 112 | fscanf(f, "sound_enabled = %d\n", &(conf->sound)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:113:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 113 | fscanf(f, "sound_freq = %d\n", &(conf->sound_freq)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:114:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 114 | fscanf(f, "sound_volume = %d\n", &(conf->sound_vol)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:117:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 117 | fscanf(f, "key_left = %d %d\n", &(conf->key_left[0]), &(conf->key_left[1])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:118:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 118 | fscanf(f, "key_right = %d %d\n", &(conf->key_right[0]), &(conf->key_right[1])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:119:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 119 | fscanf(f, "key_up = %d %d\n", &(conf->key_up[0]), &(conf->key_up[1])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:120:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 120 | fscanf(f, "key_down = %d %d\n", &(conf->key_down[0]), &(conf->key_down[1])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:121:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 121 | fscanf(f, "key_shoot = %d %d\n", &(conf->key_shoot[0]), &(conf->key_shoot[1])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:122:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 122 | fscanf(f, "key_special = %d %d\n", &(conf->key_special[0]), &(conf->key_special[1])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:123:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 123 | fscanf(f, "perspective = %d\n", &(conf->perspective_mode)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/effects.cpp -o obj/effects.o g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/enemy.cpp -o obj/enemy.o 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/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!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/bonus.cpp: In function ‘void load_bonus()’: src/bonus.cpp:97:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 97 | bonus_tex = load_png("bonus.png", true, false, false); | ^~~~~~~~~~~ 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/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 /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/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 /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 | g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/font.cpp -o obj/font.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 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/game.cpp -o obj/game.o 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/game.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | 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); | ^~~~~~~~~~~~ src/enemy.cpp:81:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 81 | enemy_anim[1] = load_png("enemy2.png", true, false, false); | ^~~~~~~~~~~~ src/enemy.cpp:82:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 82 | enemy_anim[2] = load_png("enemy3.png", true, false, false); | ^~~~~~~~~~~~ g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/helpers.cpp -o obj/helpers.o g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/hiscore.cpp -o obj/hiscore.o 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/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/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/helpers.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::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/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/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_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/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); | ^~~~~~~~~~~~~~~ g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/init.cpp -o obj/init.o g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/levels.cpp -o obj/levels.o 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 /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, 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 | g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/main.cpp -o obj/main.o 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/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/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 /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/main.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | 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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/menu.cpp -o obj/menu.o 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 /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 | g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/mpak.cpp -o obj/mpak.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/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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mpak.cpp:291:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 291 | fread(&filetable_offset, sizeof(filetable_offset), 1, fpointer); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mpak.cpp:298:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 298 | fread(&num_files, sizeof(num_files), 1, fpointer); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mpak.cpp:308:9: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 308 | fread(files[f], 1, len, fpointer); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mpak.cpp:310:9: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 310 | fread(&offsets[f], sizeof(offsets[f]), 1, fpointer); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mpak.cpp: In member function ‘int MPAK_FILE::extract_file(char*, char*)’: 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~ src/main.cpp:95:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 95 | glprintf_center(font1, 0, 0, -1, -20, "...LOADING..."); | ^~~~~~~~~~~~~~~ src/main.cpp: In function ‘int main(int, char**)’: src/main.cpp:116:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 116 | font1 = load_png("fonts.png", true, false, true); | ^~~~~~~~~~~ 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/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]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/mymath.cpp -o obj/mymath.o g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/particle.cpp -o obj/particle.o 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"; | ^~~~~~~~~~~~ src/menu.cpp:113:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 113 | return "RIGHT ARROW"; | ^~~~~~~~~~~~~ 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 | src/menu.cpp:115:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 115 | return "UP ARROW"; | ^~~~~~~~~~ src/menu.cpp:117:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 117 | return "DOWN ARROW"; | ^~~~~~~~~~~~ src/menu.cpp:127:10: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 127 | return "PRESS A KEY"; // This is displayed when we're setting | ^~~~~~~~~~~~~ src/menu.cpp: In function ‘void draw_credits(float)’: src/menu.cpp:136:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 136 | glprintf_center(font1, 0, 0, 3.05f, -13, "CREDITS"); | ^~~~~~~~~ src/menu.cpp:144:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 144 | glprintf_center(font1, 0, 0, vpos, -13, "GAME DESIGN"); | ^~~~~~~~~~~~~ src/menu.cpp:146:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 146 | glprintf_center(font1, 0, 0, vpos-VPOS_WHO, -13, "TEEMU RUOKOLAINEN"); | ^~~~~~~~~~~~~~~~~~~ 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 | src/menu.cpp:150:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 150 | glprintf_center(font1, 0, 0, vpos, -13, "PROGRAMMING"); | ^~~~~~~~~~~~~ src/menu.cpp:152:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 152 | glprintf_center(font1, 0, 0, vpos-VPOS_WHO, -13, "MIKA HALTTUNEN"); | ^~~~~~~~~~~~~~~~ src/menu.cpp:156:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 156 | glprintf_center(font1, 0, 0, vpos, -13, "SOUND AND MUSIC"); | ^~~~~~~~~~~~~~~~~ src/menu.cpp:158:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 158 | glprintf_center(font1, 0, 0, vpos-VPOS_WHO, -13, "TEEMU RUOKOLAINEN"); | ^~~~~~~~~~~~~~~~~~~ src/menu.cpp:162:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 162 | glprintf_center(font1, 0, 0, vpos, -13, "ARTWORK"); | ^~~~~~~~~ src/menu.cpp:164:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 164 | glprintf_center(font1, 0, 0, vpos-VPOS_WHO, -13, "MIKA HALTTUNEN"); | ^~~~~~~~~~~~~~~~ src/menu.cpp:168:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 168 | glprintf_center(font1, 0, 0, vpos, -13, "DEBIAN PACKAGING"); | ^~~~~~~~~~~~~~~~~~ src/menu.cpp:170:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 170 | glprintf_center(font1, 0, 0, vpos-VPOS_WHO, -13, "SAMUEL HENRIQUE O. P."); | ^~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp: In function ‘void draw_menu(int, int, int, float, HISCORE_LIST*)’: : warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] src/menu.cpp:253:40: note: in expansion of macro ‘VERSION’ 253 | glprintf(font1, 0, -7.0f, -5.3f, -13, VERSION); | ^~~~~~~ src/menu.cpp:370:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 370 | glprintf(font1, 0, -5.0f, 3.0f, -13, "Settings for: %s", (whose_keys == 0) ? "PLAYER ONE" : "PLAYER TWO"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp:377:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 377 | glprintf(font1, 0, -5.0f, 2.5f, -13, "Moving style: %s", (config.moving_style[who] == 1) ? "RELATIVE" : "ABSOLUTE"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp:385:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 385 | glprintf(font1, 0, -5.0f, 2.0f, -13, "Move forward: %s", key_name(config.key_up[who])); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp:387:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 387 | glprintf(font1, 0, -5.0f, 2.0f, -13, "Move up: %s", key_name(config.key_up[who])); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp:395:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 395 | glprintf(font1, 0, -5.0f, 1.5f, -13, "Turn around: %s", key_name(config.key_down[who])); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp:397:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 397 | glprintf(font1, 0, -5.0f, 1.5f, -13, "Move down: %s", key_name(config.key_down[who])); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp:405:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 405 | glprintf(font1, 0, -5.0f, 1.0f, -13, "Turn left: %s", key_name(config.key_left[who])); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp:407:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 407 | glprintf(font1, 0, -5.0f, 1.0f, -13, "Move left: %s", key_name(config.key_left[who])); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp:415:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 415 | glprintf(font1, 0, -5.0f, 0.5f, -13, "Turn right: %s", key_name(config.key_right[who])); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp:417:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 417 | glprintf(font1, 0, -5.0f, 0.5f, -13, "Move right: %s", key_name(config.key_right[who])); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp:424:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 424 | glprintf(font1, 0, -5.0f, 0.0f, -13, "Throw a bomb: %s", key_name(config.key_shoot[who])); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp:431:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 431 | glprintf(font1, 0, -5.0f, -0.5f, -13, "Use a special: %s", key_name(config.key_special[who])); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp:438:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 438 | glprintf(font1, 0, -5.0f, -1.5f, -13, "Sound volume:"); | ^~~~~~~~~~~~~~~ src/menu.cpp:468:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 468 | glprintf(font1, 0, -5.0f, -2.0f, -13, "Music volume:"); | ^~~~~~~~~~~~~~~ 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/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); | ^~~~~~~~~~~~~ src/menu.cpp:930:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 930 | button_tex2 = load_png("menubut2.png", true, false, true); | ^~~~~~~~~~~~~~ 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 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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 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/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/player.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/player.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | 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); | ^~~~~~~~~~~~ g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/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 /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 | 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); | ^~~~~~~~~~~~~ src/player.cpp:102:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 102 | sprite_shadow = load_png("shadow.png", true, false, true); | ^~~~~~~~~~~~ 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); | ^~~~~~~~~~~~ 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..."); | ^~~~~~~~~~~~~~~~~~~~ src/player.cpp: In member function ‘void PLAYER::pick_bonus(BONUS*)’: src/player.cpp:796:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 796 | add_comment(COL_RED, "You have received a Trap."); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/player.cpp:798:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 798 | add_comment(COL_RED, "You have received a Wild Fire."); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/player.cpp:800:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 800 | add_comment(COL_RED, "You have received a Napalm Strike."); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/player.cpp:802:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 802 | add_comment(COL_GREEN, "You have received a Will O' The Wisp."); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/player.cpp:804:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 804 | add_comment(COL_GREEN, "You have received a Potato Man."); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/player.cpp:810:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 810 | add_comment(COL_BLUE, "You have received a Turn."); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/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 | g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/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); | ^~~~~~~~~~~~~~~~~~~ g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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 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/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/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 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/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 | g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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 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 /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/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/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!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -g -O2 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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 -ffile-prefix-map=/build/tomatoes-OWF7Rm/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/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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); | ^~~~~~~~~~~~~~~ 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/tomatoes-OWF7Rm/tomatoes-1.55' make[1]: Leaving directory '/build/tomatoes-OWF7Rm/tomatoes-1.55' dh_auto_test -a create-stamp debian/debhelper-build-stamp dh_prep -a dh_auto_install -a dh_install -a dh_installdocs -a debian/rules override_dh_installchangelogs make[1]: Entering directory '/build/tomatoes-OWF7Rm/tomatoes-1.55' sed -n -e '/VERSION HISTORY/,/The first public version/p' README \ > debian/upstream.changes dh_installchangelogs debian/upstream.changes make[1]: Leaving directory '/build/tomatoes-OWF7Rm/tomatoes-1.55' dh_installman -a dh_lintian -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_dwz -a -a dh_strip -a -a dh_makeshlibs -a -a dh_shlibdeps -a -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'tomatoes-dbgsym' in '../tomatoes-dbgsym_1.55-10_amd64.deb'. dpkg-deb: building package 'tomatoes' in '../tomatoes_1.55-10_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../tomatoes_1.55-10_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/tomatoes-OWF7Rm /tmp/tomatoes-1.55-10ggj5i8ee I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.wecqgXRVn1... I: success in 521.2990 seconds md5: tomatoes-dbgsym_1.55-10_amd64.deb: OK md5: tomatoes_1.55-10_amd64.deb: OK sha1: tomatoes-dbgsym_1.55-10_amd64.deb: OK sha1: tomatoes_1.55-10_amd64.deb: OK sha256: tomatoes-dbgsym_1.55-10_amd64.deb: OK sha256: tomatoes_1.55-10_amd64.deb: OK Checksums: OK