Diff of the two buildlogs: -- --- b1/build.log 2021-08-21 13:00:45.367155080 +0000 +++ b2/build.log 2021-08-21 13:01:58.320458542 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Aug 21 00:59:20 -12 2021 -I: pbuilder-time-stamp: 1629550760 +I: Current time: Sat Sep 24 09:23:48 +14 2022 +I: pbuilder-time-stamp: 1663961028 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./bloboats_1.0.2+dfsg-3.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.vsEeIX5g/trustedkeys.kbx': General error -gpgv: Signature made Tue Jul 4 20:54:35 2017 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.nd5psc5c/trustedkeys.kbx': General error +gpgv: Signature made Wed Jul 5 22:54:35 2017 +14 gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key @@ -34,135 +34,169 @@ dpkg-source: info: applying cross.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/28250/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/25424/tmp/hooks/D01_modify_environment starting +debug: Running on codethink13-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/25424/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/25424/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='28250' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=25424 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.afv0x1qZld/pbuilderrc_H3sN --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.afv0x1qZld/b1 --logfile b1/build.log bloboats_1.0.2+dfsg-3.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.afv0x1qZld/pbuilderrc_pEzL --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.afv0x1qZld/b2 --logfile b2/build.log bloboats_1.0.2+dfsg-3.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink10-arm64 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 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 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 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 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Jul 28 07: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 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Jul 28 07:09 more - -rwsr-xr-x 1 root root 51360 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 14496 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 20 21:24 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Jul 28 07:09 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 2021 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/28250/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Aug 5 2021 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 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 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 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 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Jul 29 2021 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 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 178400 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 93744 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Jul 29 2021 more + -rwsr-xr-x 1 root root 51360 Jul 29 2021 mount + -rwxr-xr-x 1 root root 14496 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 134808 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 24 09:23 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 24 05:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Jul 29 2021 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 2021 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Jul 29 2021 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/25424/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -374,7 +408,7 @@ Get: 170 http://deb.debian.org/debian bullseye/main arm64 libsdl-image1.2-dev arm64 1.2.12-12 [40.6 kB] Get: 171 http://deb.debian.org/debian bullseye/main arm64 libsdl-net1.2 arm64 1.2.8-6+b1 [15.6 kB] Get: 172 http://deb.debian.org/debian bullseye/main arm64 libsdl-net1.2-dev arm64 1.2.8-6+b1 [26.5 kB] -Fetched 72.9 MB in 2s (48.4 MB/s) +Fetched 72.9 MB in 1s (49.0 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 ... 19646 files and directories currently installed.) @@ -1086,7 +1120,8 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/bloboats-1.0.2+dfsg/ && 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 > ../bloboats_1.0.2+dfsg-3_source.changes +hostname: Temporary failure in name resolution +I: Running cd /build/bloboats-1.0.2+dfsg/ && 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 > ../bloboats_1.0.2+dfsg-3_source.changes dpkg-buildpackage: info: source package bloboats dpkg-buildpackage: info: source version 1.0.2+dfsg-3 dpkg-buildpackage: info: source distribution unstable @@ -1117,16 +1152,16 @@ make[2]: Entering directory '/build/bloboats-1.0.2+dfsg' echo "datadir /usr/share/games/bloboats" >bloboats.dirs g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/main.o src/main.cpp -echo "privatedir ~/.bloboats" >>bloboats.dirs g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/vec.o src/vec.cpp g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/particle.o src/particle.cpp -chmod 644 bloboats.dirs +echo "privatedir ~/.bloboats" >>bloboats.dirs g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/keyboard.o src/keyboard.cpp -echo "#define DEFAULT_CONFIGFILE \"//etc/bloboats.dirs\"" >src/compiling_settings.h g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/window.o src/window.cpp +chmod 644 bloboats.dirs g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/mouse.o src/mouse.cpp -echo "#define SOUND 0" >> src/compiling_settings.h +echo "#define DEFAULT_CONFIGFILE \"//etc/bloboats.dirs\"" >src/compiling_settings.h g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/graphics.o src/graphics.cpp +echo "#define SOUND 0" >> src/compiling_settings.h echo "#define MUSIC 1" >> src/compiling_settings.h echo "#define DEBUG 0" >> src/compiling_settings.h touch config-stamp @@ -1142,20 +1177,6 @@ 54 | #define GL_GLEXT_VERSION 20190805 | In file included from src/window.h:24, - from src/keyboard.h:26, - from src/keyboard.cpp:20: -/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/window.h:24, - from src/keyboard.h:26, - from src/keyboard.cpp:20: -/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/window.h:24, from src/window.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 @@ -1181,16 +1202,17 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/spring.o src/spring.cpp -In file included from src/graphics.h:28, - from src/graphics.cpp:20: +In file included from src/window.h:24, + from src/keyboard.h:26, + from src/keyboard.cpp:20: /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/graphics.h:28, - from src/graphics.cpp:20: + from src/window.h:24, + from src/keyboard.h:26, + from src/keyboard.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | @@ -1206,35 +1228,34 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/model.o src/model.cpp +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/spring.o src/spring.cpp In file included from src/graphics.h:28, - from src/spring.h:23, - from src/spring.cpp:20: + from src/graphics.cpp:20: /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/graphics.h:28, - from src/spring.h:23, - from src/spring.cpp:20: + from src/graphics.cpp:20: /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/graphics.h:28, - from src/model.h:27, - from src/model.cpp:20: + from src/spring.h:23, + from src/spring.cpp:20: /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/graphics.h:28, - from src/model.h:27, - from src/model.cpp:20: + from src/spring.h:23, + from src/spring.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/model.o src/model.cpp g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/font.o src/font.cpp In file included from src/font.h:26, from src/font.cpp:20: @@ -1248,6 +1269,30 @@ /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/graphics.h:28, + from src/model.h:27, + from src/model.cpp:20: +/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/graphics.h:28, + from src/model.h:27, + from src/model.cpp:20: +/usr/include/GL/glext.h:54: note: this is the location of the previous definition + 54 | #define GL_GLEXT_VERSION 20190805 + | +src/main.cpp: In function 'int main(int, char**)': +src/main.cpp:200:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 200 | SDL_Surface *icon = Graphics.LoadPicture( Path->data("images/icon.png") ); + | ^~~~~~~~~~~~~~~~~ +src/main.cpp:224:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 224 | Window.SetTitle("Bloboats", "Bloboats"); + | ^~~~~~~~~~ +src/main.cpp:224:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 224 | Window.SetTitle("Bloboats", "Bloboats"); + | ^~~~~~~~~~ g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/compat.o src/compat.cpp g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/level.o src/level.cpp In file included from src/level.h:24, @@ -1263,6 +1308,15 @@ 54 | #define GL_GLEXT_VERSION 20190805 | g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/model_tex.o src/model_tex.cpp +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/game.o src/game.cpp +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/menu.o src/menu.cpp +src/font.cpp: In member function 'void font::Initialize(int)': +src/font.cpp:49:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 49 | texID = Graphics.maketexture( Path->data("fonts/font.png") ); + | ^~~~~~~~~~~~~~~~ +src/font.cpp:52:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 52 | texID = Graphics.maketexture( Path->data("fonts/font2.png") ); + | ^~~~~~~~~~~~~~~~~ In file included from src/model_tex.h:23, from src/model_tex.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined @@ -1275,24 +1329,7 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | -src/font.cpp: In member function 'void font::Initialize(int)': -src/font.cpp:49:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 49 | texID = Graphics.maketexture( Path->data("fonts/font.png") ); - | ^~~~~~~~~~~~~~~~ -src/font.cpp:52:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 52 | texID = Graphics.maketexture( Path->data("fonts/font2.png") ); - | ^~~~~~~~~~~~~~~~~ -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/game.o src/game.cpp -src/main.cpp: In function 'int main(int, char**)': -src/main.cpp:200:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 200 | SDL_Surface *icon = Graphics.LoadPicture( Path->data("images/icon.png") ); - | ^~~~~~~~~~~~~~~~~ -src/main.cpp:224:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 224 | Window.SetTitle("Bloboats", "Bloboats"); - | ^~~~~~~~~~ -src/main.cpp:224:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 224 | Window.SetTitle("Bloboats", "Bloboats"); - | ^~~~~~~~~~ +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/menutext.o src/menutext.cpp In file included from src/game.h:24, from src/game.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined @@ -1305,9 +1342,6 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/menu.o src/menu.cpp -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/menutext.o src/menutext.cpp -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/config.o src/config.cpp In file included from src/game.h:24, from src/menu.h:24, from src/menu.cpp:20: @@ -1322,26 +1356,13 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/player.o src/player.cpp -src/config.cpp: In member function 'void config::load()': -src/config.cpp:71:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 71 | FILE *fp = fopen( Path->priv("config.dat"), "r"); - | ^~~~~~~~~~~~ -src/config.cpp: In member function 'void config::save()': -src/config.cpp:166:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 166 | FILE *fp = fopen( Path->priv("config.dat"), "w+"); - | ^~~~~~~~~~~~ -src/config.cpp: In member function 'void config::load()': -src/config.cpp:74:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 74 | fscanf(fp, "resolution %d\n", &temp); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/config.o src/config.cpp In file included from src/window.h:24, from src/menutext.h:39, from src/menutext.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/paatti.o src/models/paatti.cpp In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/window.h:24, @@ -1350,6 +1371,20 @@ /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 member function 'void config::load()': +src/config.cpp:71:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 71 | FILE *fp = fopen( Path->priv("config.dat"), "r"); + | ^~~~~~~~~~~~ +src/config.cpp: In member function 'void config::save()': +src/config.cpp:166:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 166 | FILE *fp = fopen( Path->priv("config.dat"), "w+"); + | ^~~~~~~~~~~~ +src/config.cpp: In member function 'void config::load()': +src/config.cpp:74:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 74 | fscanf(fp, "resolution %d\n", &temp); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/player.o src/player.cpp +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/paatti.o src/models/paatti.cpp g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/canvas.o src/models/canvas.cpp g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/sound.o src/sound.cpp In file included from src/models/../graphics.h:28, @@ -1385,72 +1420,6 @@ 54 | #define GL_GLEXT_VERSION 20190805 | g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/media.o src/media.cpp -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/path.o src/path.cpp -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/text.o src/text.cpp -src/media.cpp: In member function 'void media::LoadStuff()': -src/media.cpp:65:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 65 | vroom = sound::LoadWAV( Path->data("sounds/vroom.wav") ); - | ^~~~~~~~~~~~~~~~~~ -src/media.cpp:66:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 66 | finish = sound::LoadWAV( Path->data("sounds/finish.wav") ); - | ^~~~~~~~~~~~~~~~~~~ -src/media.cpp:67:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 67 | splash = sound::LoadWAV( Path->data("sounds/splash.wav") ); - | ^~~~~~~~~~~~~~~~~~~ -src/media.cpp:68:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 68 | menuselect = sound::LoadWAV( Path->data("sounds/menuselect.wav") ); - | ^~~~~~~~~~~~~~~~~~~~~~~ -src/media.cpp:69:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 69 | menuenter = sound::LoadWAV( Path->data("sounds/menuenter.wav") ); - | ^~~~~~~~~~~~~~~~~~~~~~ -src/media.cpp:70:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 70 | clonk = sound::LoadWAV( Path->data("sounds/clonk.wav") ); - | ^~~~~~~~~~~~~~~~~~ -src/media.cpp:71:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 71 | roarr = sound::LoadWAV( Path->data("sounds/roarr.wav") ); - | ^~~~~~~~~~~~~~~~~~ -src/media.cpp:72:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 72 | explosion = sound::LoadWAV( Path->data("sounds/explosion.wav") ); - | ^~~~~~~~~~~~~~~~~~~~~~ -src/media.cpp:73:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 73 | bump = sound::LoadWAV( Path->data("sounds/bump.wav") ); - | ^~~~~~~~~~~~~~~~~ -src/media.cpp:76:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 76 | music[0] = sound::LoadMusic( Path->data("sounds/music0.ogg") ); - | ^~~~~~~~~~~~~~~~~~~ -src/media.cpp:77:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 77 | music[1] = sound::LoadMusic( Path->data("sounds/music1.ogg") ); - | ^~~~~~~~~~~~~~~~~~~ -src/media.cpp:78:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 78 | music[2] = sound::LoadMusic( Path->data("sounds/music2.ogg") ); - | ^~~~~~~~~~~~~~~~~~~ -src/media.cpp:79:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 79 | music[3] = sound::LoadMusic( Path->data("sounds/music3.ogg") ); - | ^~~~~~~~~~~~~~~~~~~ -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/hirvio.o src/models/hirvio.cpp -In file included from src/models/../graphics.h:28, - from src/models/../model.h:27, - from src/models/hirvio.h:23, - from src/models/hirvio.cpp:20: -/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/models/../graphics.h:28, - from src/models/../model.h:27, - from src/models/hirvio.h:23, - from src/models/hirvio.cpp:20: -/usr/include/GL/glext.h:54: note: this is the location of the previous definition - 54 | #define GL_GLEXT_VERSION 20190805 - | -src/models/paatti.cpp: In constructor 'paatti::paatti(double, double, double, double, char*)': -src/models/paatti.cpp:53:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 53 | if (!loadmodel( "models/paatti.mdl" , cx, cy, angle, scale, hardness, -400.0) ) { - | ^~~~~~~~~~~~~~~~~~~ -src/models/paatti.cpp:54:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 54 | fprintf (stderr, "Couldn't interpret \"%s\"! Critical!\n", Path->data("models/paatti.mdl") ); - | ^~~~~~~~~~~~~~~~~~~ src/menu.cpp: In member function 'void menu::mainmenu()': src/menu.cpp:76:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | blobcanvas = new canvas( vec(-10.0, 25.0), 30.0, 30.0*0.43, 15, 15, "images/bloboats.png" ); @@ -1485,7 +1454,6 @@ src/menu.cpp:208:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 208 | menutext("OPTIONS"),menutext("QUIT") }; | ^~~~~~ -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/invader.o src/models/invader.cpp src/menu.cpp: In member function 'void menu::options()': src/menu.cpp:366:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 366 | menutext item[items]={ menutext("*OPTIONS"), menutext("RESOLUTION"), menutext("SHOW GHOST"), @@ -1564,6 +1532,7 @@ src/menu.cpp:1323:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1323 | menutext("BACK") }; | ^~~~~~ +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/path.o src/path.cpp src/menu.cpp: In member function 'void menu::resolution()': src/menu.cpp:1587:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1587 | item.push_back(menutext("*RESOLUTION:")); @@ -1678,13 +1647,53 @@ src/menu.cpp:2751:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2751 | item[levelcount+1].settext("BACK"); | ^~~~~~ +src/media.cpp: In member function 'void media::LoadStuff()': +src/media.cpp:65:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 65 | vroom = sound::LoadWAV( Path->data("sounds/vroom.wav") ); + | ^~~~~~~~~~~~~~~~~~ +src/media.cpp:66:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 66 | finish = sound::LoadWAV( Path->data("sounds/finish.wav") ); + | ^~~~~~~~~~~~~~~~~~~ +src/media.cpp:67:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 67 | splash = sound::LoadWAV( Path->data("sounds/splash.wav") ); + | ^~~~~~~~~~~~~~~~~~~ +src/media.cpp:68:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 68 | menuselect = sound::LoadWAV( Path->data("sounds/menuselect.wav") ); + | ^~~~~~~~~~~~~~~~~~~~~~~ +src/media.cpp:69:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 69 | menuenter = sound::LoadWAV( Path->data("sounds/menuenter.wav") ); + | ^~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp: In member function 'void menu::viewrecordlist()': src/menu.cpp:2935:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2935 | item.push_back( menutext("*SELECT RECORD") ); | ^~~~~~~~~~~~~~~~ +src/media.cpp:70:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 70 | clonk = sound::LoadWAV( Path->data("sounds/clonk.wav") ); + | ^~~~~~~~~~~~~~~~~~ +src/media.cpp:71:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 71 | roarr = sound::LoadWAV( Path->data("sounds/roarr.wav") ); + | ^~~~~~~~~~~~~~~~~~ src/menu.cpp:2939:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2939 | DIR *dir = opendir( Path->priv("records/") ); | ^~~~~~~~~~ +src/media.cpp:72:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 72 | explosion = sound::LoadWAV( Path->data("sounds/explosion.wav") ); + | ^~~~~~~~~~~~~~~~~~~~~~ +src/media.cpp:73:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 73 | bump = sound::LoadWAV( Path->data("sounds/bump.wav") ); + | ^~~~~~~~~~~~~~~~~ +src/media.cpp:76:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 76 | music[0] = sound::LoadMusic( Path->data("sounds/music0.ogg") ); + | ^~~~~~~~~~~~~~~~~~~ +src/media.cpp:77:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 77 | music[1] = sound::LoadMusic( Path->data("sounds/music1.ogg") ); + | ^~~~~~~~~~~~~~~~~~~ +src/media.cpp:78:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 78 | music[2] = sound::LoadMusic( Path->data("sounds/music2.ogg") ); + | ^~~~~~~~~~~~~~~~~~~ +src/media.cpp:79:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 79 | music[3] = sound::LoadMusic( Path->data("sounds/music3.ogg") ); + | ^~~~~~~~~~~~~~~~~~~ src/menu.cpp:2957:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2957 | if (compat::Str_CheckLastChars(p->d_name, ".brc")) { | ^~~~~~ @@ -1791,6 +1800,32 @@ src/menu.cpp:3623:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3623 | menutext item[items]={ menutext("*SOUND OPTIONS:"), menutext(""), menutext(""), menutext("BACK") }; | ^~~~~~ +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/text.o src/text.cpp +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/hirvio.o src/models/hirvio.cpp +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/invader.o src/models/invader.cpp +src/models/paatti.cpp: In constructor 'paatti::paatti(double, double, double, double, char*)': +src/models/paatti.cpp:53:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 53 | if (!loadmodel( "models/paatti.mdl" , cx, cy, angle, scale, hardness, -400.0) ) { + | ^~~~~~~~~~~~~~~~~~~ +src/models/paatti.cpp:54:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 54 | fprintf (stderr, "Couldn't interpret \"%s\"! Critical!\n", Path->data("models/paatti.mdl") ); + | ^~~~~~~~~~~~~~~~~~~ +In file included from src/models/../graphics.h:28, + from src/models/../model.h:27, + from src/models/hirvio.h:23, + from src/models/hirvio.cpp:20: +/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/models/../graphics.h:28, + from src/models/../model.h:27, + from src/models/hirvio.h:23, + from src/models/hirvio.cpp:20: +/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/models/../graphics.h:28, from src/models/../model.h:27, from src/models/invader.h:23, @@ -1807,6 +1842,18 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/water.o src/water.cpp +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/broken.o src/models/broken.cpp +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/boulder.o src/models/boulder.cpp +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/element.o src/element.cpp +src/models/invader.cpp: In constructor 'invader::invader(double, double, double, double, char*)': +src/models/invader.cpp:42:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 42 | if (!loadmodel( "models/invader.mdl" , cx, cy, 0.0, 0.6, hardness, -40.0) ) { + | ^~~~~~~~~~~~~~~~~~~~ +src/models/invader.cpp:43:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 43 | fprintf (stderr, "Couldn't interpret \"%s\"! Critical!\n", Path->data("models/invader.mdl") ); + | ^~~~~~~~~~~~~~~~~~~~ +g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/tux.o src/models/tux.cpp src/models/hirvio.cpp: In constructor 'hirvio::hirvio(double, double, double, double, char*)': src/models/hirvio.cpp:56:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | if (!loadmodel( "models/hirvio.mdl" , cx, cy, angle, scale, hardness, -40.0) ) { @@ -1814,14 +1861,6 @@ src/models/hirvio.cpp:57:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | fprintf (stderr, "Couldn't interpret \"%s\"! Critical!\n", Path->data("models/hirvio.mdl") ); | ^~~~~~~~~~~~~~~~~~~ -src/models/hirvio.cpp: In member function 'double hirvio::gethardness()': -src/models/hirvio.cpp:262:1: warning: no return statement in function returning non-void [-Wreturn-type] - 262 | } - | ^ -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/water.o src/water.cpp -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/broken.o src/models/broken.cpp -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/boulder.o src/models/boulder.cpp -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/element.o src/element.cpp In file included from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/broken.h:23, @@ -1829,6 +1868,10 @@ /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | +src/models/hirvio.cpp: In member function 'double hirvio::gethardness()': +src/models/hirvio.cpp:262:1: warning: no return statement in function returning non-void [-Wreturn-type] + 262 | } + | ^ In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/models/../graphics.h:28, @@ -1838,13 +1881,6 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | -src/models/invader.cpp: In constructor 'invader::invader(double, double, double, double, char*)': -src/models/invader.cpp:42:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 42 | if (!loadmodel( "models/invader.mdl" , cx, cy, 0.0, 0.6, hardness, -40.0) ) { - | ^~~~~~~~~~~~~~~~~~~~ -src/models/invader.cpp:43:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 43 | fprintf (stderr, "Couldn't interpret \"%s\"! Critical!\n", Path->data("models/invader.mdl") ); - | ^~~~~~~~~~~~~~~~~~~~ In file included from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/boulder.h:23, @@ -1861,7 +1897,6 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | -g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/tux.o src/models/tux.cpp g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/connection.o src/connection.cpp In file included from src/models/../graphics.h:28, from src/models/../model.h:27, @@ -1970,12 +2005,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/25424/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/25424/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/28250 and its subdirectories -I: Current time: Sat Aug 21 01:00:44 -12 2021 -I: pbuilder-time-stamp: 1629550844 +I: removing directory /srv/workspace/pbuilder/25424 and its subdirectories +I: Current time: Sat Sep 24 09:24:57 +14 2022 +I: pbuilder-time-stamp: 1663961097