Diff of the two buildlogs: -- --- b1/build.log 2023-04-29 03:32:53.927144995 +0000 +++ b2/build.log 2023-04-29 03:33:35.569303229 +0000 @@ -1,6 +1,7 @@ +W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build -I: Current time: Thu May 30 21:55:27 -12 2024 -I: pbuilder-time-stamp: 1717149327 +I: Current time: Sat Apr 29 17:32:55 +14 2023 +I: pbuilder-time-stamp: 1682739175 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -17,7 +18,7 @@ I: copying [./kball_0.0.20041216.orig.tar.gz] I: copying [./kball_0.0.20041216-11.debian.tar.xz] I: Extracting source -gpgv: Signature made Sat May 30 12:48:18 2020 -12 +gpgv: Signature made Sun May 31 14:48:18 2020 +14 gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key @@ -40,137 +41,168 @@ dpkg-source: info: applying hardening.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/17274/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/13488/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 29 17:33 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/13488/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/13488/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=7' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='310d834c26be4b7d904e541bf70ef0e0' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='17274' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=13488 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.c1Mk4i5g/pbuilderrc_Merv --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.c1Mk4i5g/b1 --logfile b1/build.log kball_0.0.20041216-11.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.c1Mk4i5g/pbuilderrc_8QgG --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.c1Mk4i5g/b2 --logfile b2/build.log --extrapackages usrmerge kball_0.0.20041216-11.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos6-i386 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-21-686-pae #1 SMP Debian 5.10.162-1 (2023-01-21) i686 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 2023 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 2023 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 2023 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 2023 more - -rwsr-xr-x 1 root root 58912 Mar 22 2023 mount - -rwxr-xr-x 1 root root 13856 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 2023 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 2023 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 2023 tar - -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 2023 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/17274/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 00:20 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 00:20 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 22:38 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 01:43 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 00:20 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 00:20 more + -rwsr-xr-x 1 root root 58912 Mar 24 00:20 mount + -rwxr-xr-x 1 root root 13856 Mar 24 00:20 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 06:31 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 Apr 29 17:33 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 00:20 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 13860 Nov 3 06:31 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 22:38 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 00:20 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 00:20 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/13488/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -288,7 +320,7 @@ Get: 66 http://deb.debian.org/debian bookworm/main i386 libaldmb1-dev i386 1:0.9.3-6+b3 [5436 B] Get: 67 http://deb.debian.org/debian bookworm/main i386 libxxf86dga-dev i386 2:1.1.5-1 [28.2 kB] Get: 68 http://deb.debian.org/debian bookworm/main i386 sharutils i386 1:4.15.2-9 [262 kB] -Fetched 24.8 MB in 0s (61.1 MB/s) +Fetched 24.8 MB in 1s (24.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19604 files and directories currently installed.) @@ -577,10 +609,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/kball-0.0.20041216/ && 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 > ../kball_0.0.20041216-11_source.changes +I: user script /srv/workspace/pbuilder/13488/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/13488/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/kball-0.0.20041216/ && 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 > ../kball_0.0.20041216-11_source.changes dpkg-buildpackage: info: source package kball dpkg-buildpackage: info: source version 0.0.20041216-11 dpkg-buildpackage: info: source distribution unstable @@ -609,7 +648,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/kball-0.0.20041216' dh_auto_build -- 'GCC=$(CXX)' - make -j16 "INSTALL=install --strip-program=true" GCC=\$\(CXX\) + make -j7 "INSTALL=install --strip-program=true" GCC=\$\(CXX\) make[2]: Entering directory '/build/kball-0.0.20041216' g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/backgbmp.cpp -o obj/linux/backgbmp.o g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/cball.cpp -o obj/linux/cball.o @@ -618,125 +657,153 @@ g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/filehelp.cpp -o obj/linux/filehelp.o g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/gamemenu.cpp -o obj/linux/gamemenu.o g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/gerror.cpp -o obj/linux/gerror.o -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/gkernel.cpp -o obj/linux/gkernel.o -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/intro.cpp -o obj/linux/intro.o -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/main.cpp -o obj/linux/main.o -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/mapedit.cpp -o obj/linux/mapedit.o -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/musiclvl.cpp -o obj/linux/musiclvl.o -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/mytracer.cpp -o obj/linux/mytracer.o -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/particle.cpp -o obj/linux/particle.o -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/partmang.cpp -o obj/linux/partmang.o -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/qmenu.cpp -o obj/linux/qmenu.o In file included from src/cball.cpp:11: include/sphermap.h:16:10: warning: #warning Awful hack in sphermap.h - please remember to check it =) [-Wcpp] 16 | #warning Awful hack in sphermap.h - please remember to check it =) | ^~~~~~~ -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/savescrs.cpp -o obj/linux/savescrs.o -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/sound.cpp -o obj/linux/sound.o -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/sphermap.cpp -o obj/linux/sphermap.o -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/stats.cpp -o obj/linux/stats.o -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/tmap.cpp -o obj/linux/tmap.o -In file included from src/sphermap.cpp:12: -include/sphermap.h:16:10: warning: #warning Awful hack in sphermap.h - please remember to check it =) [-Wcpp] - 16 | #warning Awful hack in sphermap.h - please remember to check it =) - | ^~~~~~~ -src/sphermap.cpp:56:2: warning: #warning Dirty Hack: Using int32_t instead of fixed to avoid a dirty error [-Wcpp] - 56 | #warning Dirty Hack: Using int32_t instead of fixed to avoid a dirty error - | ^~~~~~~ -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/ui_misc.cpp -o obj/linux/ui_misc.o -src/particle.cpp: In member function 'virtual void CTextParticle::render_particle(BITMAP*, int, int)': -src/particle.cpp:43:18: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] - 43 | text_mode(-1); // DEBUG -- TEXT ALWAYS TRANSPARENT :O - | ~~~~~~~~~^~~~ +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/gkernel.cpp -o obj/linux/gkernel.o +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/intro.cpp -o obj/linux/intro.o +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/main.cpp -o obj/linux/main.o +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/mapedit.cpp -o obj/linux/mapedit.o +src/gamemenu.cpp: In function 'void menu_callback_animation(CQMenu&, bool)': +src/gamemenu.cpp:127:26: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] + 127 | text_mode( -1); + | ~~~~~~~~~^~~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, - from src/particle.cpp:11: + from include/gamemenu.h:13, + from src/gamemenu.cpp:16: /usr/include/allegro/alcompat.h:137:1: note: declared here 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); | ^~~~~~~~~~~~~~~~~~ -src/particle.cpp:44:23: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 44 | textout_centre(bmp, font_text, text_to_show.c_str(), (int)x - xd, (int)y - yd, color); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:129:24: warning: 'void textout(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 129 | textout(bmp, font, tbufstr, 0, bmp->h - text_height(font), makecol(128, 0, 255)); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:139:1: note: declared here + 139 | AL_INLINE_DEPRECATED(void, textout, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp: In member function 'void CGameMenu::do_main_menu()': +src/gamemenu.cpp:234:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 234 | menu.control.load_configuration_of_controller("KBALL_CONTROLLER"); + | ^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:265:39: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 265 | textout_centre(screen, (FONT *)menu_datafile.get_resource_dat("MENU_FONT_BIG"), "QUIT GAME? Y/N", SCREEN_W / 2 + 2, SCREEN_H / 2 + 2, makecol(0, 0, 0)); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/allegro/alcompat.h:144:1: note: declared here 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp: In member function 'int CQMenu::do_the_menu(int)': -src/qmenu.cpp:219:84: warning: 'void yield_timeslice()' is deprecated [-Wdeprecated-declarations] - 219 | if (time_counter > BPS_OF_MENU_MANAGER - 5) yield_timeslice(); // we play nice with the OS multitask, when we can (when the timer is about to reach peak) - | ~~~~~~~~~~~~~~~^~ -In file included from /usr/include/allegro/base.h:41, - from /usr/include/allegro.h:25, - from include/qmenu.h:15, - from src/qmenu.cpp:12: -/usr/include/allegro/alcompat.h:193:1: note: declared here - 193 | AL_INLINE_DEPRECATED(void, yield_timeslice, (void), +src/gamemenu.cpp:267:39: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 267 | textout_centre(screen, (FONT *)menu_datafile.get_resource_dat("MENU_FONT_BIG"), "QUIT GAME? Y/N", SCREEN_W / 2, SCREEN_H / 2, makecol(0, 255, 255)); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:144:1: note: declared here + 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:242:42: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] - 242 | text_mode(menu_bg_color_s); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~ +src/gamemenu.cpp: In member function 'void CGameMenu::do_file_level_selector()': +src/gamemenu.cpp:329:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 329 | menu.control.load_configuration_of_controller("KBALL_CONTROLLER"); + | ^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:348:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 348 | menu.add_item_to_menu("Full campaign"); + | ^~~~~~~~~~~~~~~ +src/gamemenu.cpp:349:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 349 | menu.add_item_to_menu("Single level"); + | ^~~~~~~~~~~~~~ +src/gamemenu.cpp:359:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 359 | menu.add_item_to_menu("Personal levels"); + | ^~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:367:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 367 | menu.add_item_to_menu("Personal levels"); + | ^~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:371:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 371 | menu.add_item_to_menu("< Cancel and return >"); + | ^~~~~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:460:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 460 | menu.add_item_to_menu("ERROR: NO FILE AVAILABLE!"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:470:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 470 | menu.add_item_to_menu("< Cancel and return >"); + | ^~~~~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:500:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 500 | game_kernel.player_ball.control.load_configuration_of_controller("KBALL_CONTROLLER"); + | ^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:502:18: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] + 502 | text_mode(makecol(0, 0, 0)); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/allegro/alcompat.h:137:1: note: declared here 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); | ^~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:246:62: warning: 'void textout_right(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 246 | textout_right(dbuf, menu_font_s, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_s); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:149:1: note: declared here - 149 | AL_INLINE_DEPRECATED(void, textout_right, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:249:63: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 249 | textout_centre(dbuf, menu_font_s, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_s); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:144:1: note: declared here - 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:252:64: warning: 'void textout_justify(BITMAP*, const FONT*, const char*, int, int, int, int, int)' is deprecated [-Wdeprecated-declarations] - 252 | textout_justify(dbuf, menu_font_s, menu_item_text[i].c_str(), mx,mx+mw, mdy, mw, menu_fg_color_s); - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:154:1: note: declared here - 154 | AL_INLINE_DEPRECATED(void, textout_justify, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x1, int x2, int y, int diff, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:255:56: warning: 'void textout(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 255 | textout(dbuf, menu_font_s, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_s); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:139:1: note: declared here - 139 | AL_INLINE_DEPRECATED(void, textout, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:262:42: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] - 262 | text_mode(menu_bg_color_ns); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp: In member function 'void CGameMenu::do_about_stuff()': +src/gamemenu.cpp:608:34: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] + 608 | text_mode( -1); + | ~~~~~~~~~^~~~~ /usr/include/allegro/alcompat.h:137:1: note: declared here 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); | ^~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:266:62: warning: 'void textout_right(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 266 | textout_right(dbuf, menu_font_ns, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_ns); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:149:1: note: declared here - 149 | AL_INLINE_DEPRECATED(void, textout_right, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:269:63: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 269 | textout_centre(dbuf, menu_font_ns, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_ns); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:616:39: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 616 | textout_centre(dbuf, font_about, about_txt[i].c_str(), SCREEN_W / 2 + 3, ytext + 3, makecol(0, 0, 0)); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/allegro/alcompat.h:144:1: note: declared here 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:272:64: warning: 'void textout_justify(BITMAP*, const FONT*, const char*, int, int, int, int, int)' is deprecated [-Wdeprecated-declarations] - 272 | textout_justify(dbuf, menu_font_ns, menu_item_text[i].c_str(), mx,mx+mw, mdy, mw, menu_fg_color_ns); - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:154:1: note: declared here - 154 | AL_INLINE_DEPRECATED(void, textout_justify, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x1, int x2, int y, int diff, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:275:56: warning: 'void textout(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 275 | textout(dbuf, menu_font_ns, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_ns); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:139:1: note: declared here - 139 | AL_INLINE_DEPRECATED(void, textout, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), +src/gamemenu.cpp:618:39: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 618 | textout_centre(dbuf, font_about, about_txt[i].c_str(), SCREEN_W / 2, ytext, makecol(255, 255, 255)); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:144:1: note: declared here + 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:289:18: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] - 289 | text_mode(-1); - | ~~~~~~~~~^~~~ -/usr/include/allegro/alcompat.h:137:1: note: declared here - 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); - | ^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp: In member function 'void CGameMenu::do_options_menu()': +src/gamemenu.cpp:659:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 659 | menu.control.load_configuration_of_controller("KBALL_CONTROLLER"); + | ^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:660:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 660 | game_kernel.player_ball.control.load_configuration_of_controller("KBALL_CONTROLLER"); + | ^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:682:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 682 | menu.add_item_to_menu("Keyboard is ON"); + | ^~~~~~~~~~~~~~~~ +src/gamemenu.cpp:684:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 684 | menu.add_item_to_menu("Keyboard is OFF"); + | ^~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:686:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 686 | menu.add_item_to_menu("Configure Keyboard"); + | ^~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:689:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 689 | menu.add_item_to_menu("Mouse is ON"); + | ^~~~~~~~~~~~~ +src/gamemenu.cpp:691:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 691 | menu.add_item_to_menu("Mouse is OFF"); + | ^~~~~~~~~~~~~~ +src/gamemenu.cpp:693:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 693 | menu.add_item_to_menu("Configure Mouse"); + | ^~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:696:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 696 | menu.add_item_to_menu("Joystick is ON"); + | ^~~~~~~~~~~~~~~~ +src/gamemenu.cpp:698:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 698 | menu.add_item_to_menu("Joystick is OFF"); + | ^~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:700:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 700 | menu.add_item_to_menu("Configure Joystick"); + | ^~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:703:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 703 | menu.add_item_to_menu("Sound is ON"); + | ^~~~~~~~~~~~~ +src/gamemenu.cpp:705:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 705 | menu.add_item_to_menu("Sound is OFF"); + | ^~~~~~~~~~~~~~ +src/gamemenu.cpp:712:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 712 | menu.add_item_to_menu("< Return >"); + | ^~~~~~~~~~~~ +src/gamemenu.cpp:727:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 727 | menu.control.load_configuration_of_controller("KBALL_CONTROLLER"); + | ^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:800:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 800 | game_kernel.player_ball.control.save_configuration_of_controller("KBALL_CONTROLLER"); + | ^~~~~~~~~~~~~~~~~~ +src/intro.cpp: In function 'void kball_do_the_exit()': +src/intro.cpp:69:13: warning: unused variable 'c2' [-Wunused-variable] + 69 | int c2 = makecol(0,0,0); + | ^~ src/gkernel.cpp: In member function 'int CGameKernel::game_loop()': src/gkernel.cpp:273:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 273 | save_screenshoot("kball", 0, "bmp"); // save @@ -751,10 +818,8 @@ src/gkernel.cpp:589:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 589 | soundw.music_load(music_loader.get_music("music_l.dat", game_map.music_index)); | ^~~~~~~~~~~~~ -src/intro.cpp: In function 'void kball_do_the_exit()': -src/intro.cpp:69:13: warning: unused variable 'c2' [-Wunused-variable] - 69 | int c2 = makecol(0,0,0); - | ^~ +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/musiclvl.cpp -o obj/linux/musiclvl.o +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/mytracer.cpp -o obj/linux/mytracer.o src/mapedit.cpp: In member function 'void CMapEditor::map_editor_help_message()': src/mapedit.cpp:55:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | kprint("Map Editor - Help"); @@ -1003,147 +1068,121 @@ src/mapedit.cpp:643:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 643 | game_map.save_tile_set_config_to_file("TILE_SET_CFG.TXT"); | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp: In function 'void menu_callback_animation(CQMenu&, bool)': -src/gamemenu.cpp:127:26: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] - 127 | text_mode( -1); - | ~~~~~~~~~^~~~~ +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/particle.cpp -o obj/linux/particle.o +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/partmang.cpp -o obj/linux/partmang.o +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/qmenu.cpp -o obj/linux/qmenu.o +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/savescrs.cpp -o obj/linux/savescrs.o +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/sound.cpp -o obj/linux/sound.o +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/sphermap.cpp -o obj/linux/sphermap.o +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/stats.cpp -o obj/linux/stats.o +src/particle.cpp: In member function 'virtual void CTextParticle::render_particle(BITMAP*, int, int)': +src/particle.cpp:43:18: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] + 43 | text_mode(-1); // DEBUG -- TEXT ALWAYS TRANSPARENT :O + | ~~~~~~~~~^~~~ In file included from /usr/include/allegro/base.h:41, from /usr/include/allegro.h:25, - from include/gamemenu.h:13, - from src/gamemenu.cpp:16: + from src/particle.cpp:11: /usr/include/allegro/alcompat.h:137:1: note: declared here 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:129:24: warning: 'void textout(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 129 | textout(bmp, font, tbufstr, 0, bmp->h - text_height(font), makecol(128, 0, 255)); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:139:1: note: declared here - 139 | AL_INLINE_DEPRECATED(void, textout, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp: In member function 'void CGameMenu::do_main_menu()': -src/gamemenu.cpp:234:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 234 | menu.control.load_configuration_of_controller("KBALL_CONTROLLER"); - | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:265:39: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 265 | textout_centre(screen, (FONT *)menu_datafile.get_resource_dat("MENU_FONT_BIG"), "QUIT GAME? Y/N", SCREEN_W / 2 + 2, SCREEN_H / 2 + 2, makecol(0, 0, 0)); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/particle.cpp:44:23: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 44 | textout_centre(bmp, font_text, text_to_show.c_str(), (int)x - xd, (int)y - yd, color); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/allegro/alcompat.h:144:1: note: declared here 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), | ^~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:267:39: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 267 | textout_centre(screen, (FONT *)menu_datafile.get_resource_dat("MENU_FONT_BIG"), "QUIT GAME? Y/N", SCREEN_W / 2, SCREEN_H / 2, makecol(0, 255, 255)); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:144:1: note: declared here - 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), +In file included from src/sphermap.cpp:12: +include/sphermap.h:16:10: warning: #warning Awful hack in sphermap.h - please remember to check it =) [-Wcpp] + 16 | #warning Awful hack in sphermap.h - please remember to check it =) + | ^~~~~~~ +src/sphermap.cpp:56:2: warning: #warning Dirty Hack: Using int32_t instead of fixed to avoid a dirty error [-Wcpp] + 56 | #warning Dirty Hack: Using int32_t instead of fixed to avoid a dirty error + | ^~~~~~~ +src/qmenu.cpp: In member function 'int CQMenu::do_the_menu(int)': +src/qmenu.cpp:219:84: warning: 'void yield_timeslice()' is deprecated [-Wdeprecated-declarations] + 219 | if (time_counter > BPS_OF_MENU_MANAGER - 5) yield_timeslice(); // we play nice with the OS multitask, when we can (when the timer is about to reach peak) + | ~~~~~~~~~~~~~~~^~ +In file included from /usr/include/allegro/base.h:41, + from /usr/include/allegro.h:25, + from include/qmenu.h:15, + from src/qmenu.cpp:12: +/usr/include/allegro/alcompat.h:193:1: note: declared here + 193 | AL_INLINE_DEPRECATED(void, yield_timeslice, (void), | ^~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp: In member function 'void CGameMenu::do_file_level_selector()': -src/gamemenu.cpp:329:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 329 | menu.control.load_configuration_of_controller("KBALL_CONTROLLER"); - | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:348:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 348 | menu.add_item_to_menu("Full campaign"); - | ^~~~~~~~~~~~~~~ -src/gamemenu.cpp:349:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 349 | menu.add_item_to_menu("Single level"); - | ^~~~~~~~~~~~~~ -src/gamemenu.cpp:359:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 359 | menu.add_item_to_menu("Personal levels"); - | ^~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:367:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 367 | menu.add_item_to_menu("Personal levels"); - | ^~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:371:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 371 | menu.add_item_to_menu("< Cancel and return >"); - | ^~~~~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:460:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 460 | menu.add_item_to_menu("ERROR: NO FILE AVAILABLE!"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:470:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 470 | menu.add_item_to_menu("< Cancel and return >"); - | ^~~~~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:500:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 500 | game_kernel.player_ball.control.load_configuration_of_controller("KBALL_CONTROLLER"); - | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:502:18: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] - 502 | text_mode(makecol(0, 0, 0)); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:242:42: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] + 242 | text_mode(menu_bg_color_s); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/allegro/alcompat.h:137:1: note: declared here 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp: In member function 'void CGameMenu::do_about_stuff()': -src/gamemenu.cpp:608:34: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] - 608 | text_mode( -1); - | ~~~~~~~~~^~~~~ +src/qmenu.cpp:246:62: warning: 'void textout_right(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 246 | textout_right(dbuf, menu_font_s, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_s); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:149:1: note: declared here + 149 | AL_INLINE_DEPRECATED(void, textout_right, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:249:63: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 249 | textout_centre(dbuf, menu_font_s, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_s); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:144:1: note: declared here + 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:252:64: warning: 'void textout_justify(BITMAP*, const FONT*, const char*, int, int, int, int, int)' is deprecated [-Wdeprecated-declarations] + 252 | textout_justify(dbuf, menu_font_s, menu_item_text[i].c_str(), mx,mx+mw, mdy, mw, menu_fg_color_s); + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:154:1: note: declared here + 154 | AL_INLINE_DEPRECATED(void, textout_justify, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x1, int x2, int y, int diff, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:255:56: warning: 'void textout(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 255 | textout(dbuf, menu_font_s, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_s); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:139:1: note: declared here + 139 | AL_INLINE_DEPRECATED(void, textout, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:262:42: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] + 262 | text_mode(menu_bg_color_ns); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/allegro/alcompat.h:137:1: note: declared here 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:616:39: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 616 | textout_centre(dbuf, font_about, about_txt[i].c_str(), SCREEN_W / 2 + 3, ytext + 3, makecol(0, 0, 0)); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:144:1: note: declared here - 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), +src/qmenu.cpp:266:62: warning: 'void textout_right(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 266 | textout_right(dbuf, menu_font_ns, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_ns); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:149:1: note: declared here + 149 | AL_INLINE_DEPRECATED(void, textout_right, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), | ^~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:618:39: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 618 | textout_centre(dbuf, font_about, about_txt[i].c_str(), SCREEN_W / 2, ytext, makecol(255, 255, 255)); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:269:63: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 269 | textout_centre(dbuf, menu_font_ns, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_ns); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/allegro/alcompat.h:144:1: note: declared here 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), | ^~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp: In member function 'void CGameMenu::do_options_menu()': -src/gamemenu.cpp:659:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 659 | menu.control.load_configuration_of_controller("KBALL_CONTROLLER"); - | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:660:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 660 | game_kernel.player_ball.control.load_configuration_of_controller("KBALL_CONTROLLER"); - | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:682:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 682 | menu.add_item_to_menu("Keyboard is ON"); - | ^~~~~~~~~~~~~~~~ -src/gamemenu.cpp:684:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 684 | menu.add_item_to_menu("Keyboard is OFF"); - | ^~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:686:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 686 | menu.add_item_to_menu("Configure Keyboard"); - | ^~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:689:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 689 | menu.add_item_to_menu("Mouse is ON"); - | ^~~~~~~~~~~~~ -src/gamemenu.cpp:691:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 691 | menu.add_item_to_menu("Mouse is OFF"); - | ^~~~~~~~~~~~~~ -src/gamemenu.cpp:693:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 693 | menu.add_item_to_menu("Configure Mouse"); - | ^~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:696:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 696 | menu.add_item_to_menu("Joystick is ON"); - | ^~~~~~~~~~~~~~~~ -src/gamemenu.cpp:698:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 698 | menu.add_item_to_menu("Joystick is OFF"); - | ^~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:700:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 700 | menu.add_item_to_menu("Configure Joystick"); - | ^~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:703:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 703 | menu.add_item_to_menu("Sound is ON"); - | ^~~~~~~~~~~~~ -src/gamemenu.cpp:705:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 705 | menu.add_item_to_menu("Sound is OFF"); - | ^~~~~~~~~~~~~~ -src/gamemenu.cpp:712:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 712 | menu.add_item_to_menu("< Return >"); - | ^~~~~~~~~~~~ -src/gamemenu.cpp:727:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 727 | menu.control.load_configuration_of_controller("KBALL_CONTROLLER"); - | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:800:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 800 | game_kernel.player_ball.control.save_configuration_of_controller("KBALL_CONTROLLER"); - | ^~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:272:64: warning: 'void textout_justify(BITMAP*, const FONT*, const char*, int, int, int, int, int)' is deprecated [-Wdeprecated-declarations] + 272 | textout_justify(dbuf, menu_font_ns, menu_item_text[i].c_str(), mx,mx+mw, mdy, mw, menu_fg_color_ns); + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:154:1: note: declared here + 154 | AL_INLINE_DEPRECATED(void, textout_justify, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x1, int x2, int y, int diff, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:275:56: warning: 'void textout(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 275 | textout(dbuf, menu_font_ns, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_ns); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:139:1: note: declared here + 139 | AL_INLINE_DEPRECATED(void, textout, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:289:18: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] + 289 | text_mode(-1); + | ~~~~~~~~~^~~~ +/usr/include/allegro/alcompat.h:137:1: note: declared here + 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); + | ^~~~~~~~~~~~~~~~~~ +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/tmap.cpp -o obj/linux/tmap.o +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/ui_misc.cpp -o obj/linux/ui_misc.o g++ obj/linux/backgbmp.o obj/linux/cball.o obj/linux/control.o obj/linux/cwdata.o obj/linux/filehelp.o obj/linux/gamemenu.o obj/linux/gerror.o obj/linux/gkernel.o obj/linux/intro.o obj/linux/main.o obj/linux/mapedit.o obj/linux/musiclvl.o obj/linux/mytracer.o obj/linux/particle.o obj/linux/partmang.o obj/linux/qmenu.o obj/linux/savescrs.o obj/linux/sound.o obj/linux/sphermap.o obj/linux/stats.o obj/linux/tmap.o obj/linux/ui_misc.o -o bin/kball_linux.bin -laldmb -ldumb `allegro-config --libs` -Wl,-z,relro The bin/kball_linux.bin is ready! make[2]: Leaving directory '/build/kball-0.0.20041216' make[1]: Leaving directory '/build/kball-0.0.20041216' dh_auto_test - make -j16 test + make -j7 test make[1]: Entering directory '/build/kball-0.0.20041216' g++ test.cpp -o test_linux.bin -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -laldmb -ldumb `allegro-config --libs` -Wl,-z,relro make[1]: Leaving directory '/build/kball-0.0.20041216' @@ -1153,7 +1192,7 @@ dh_testroot dh_prep dh_auto_install - make -j16 install DESTDIR=/build/kball-0.0.20041216/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j7 install DESTDIR=/build/kball-0.0.20041216/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/kball-0.0.20041216' Sorry, the install feature is not done yet. make[1]: Leaving directory '/build/kball-0.0.20041216' @@ -1209,12 +1248,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/13488/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/13488/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/17274 and its subdirectories -I: Current time: Thu May 30 21:55:53 -12 2024 -I: pbuilder-time-stamp: 1717149353 +I: removing directory /srv/workspace/pbuilder/13488 and its subdirectories +I: Current time: Sat Apr 29 17:33:35 +14 2023 +I: pbuilder-time-stamp: 1682739215