Diff of the two buildlogs: -- --- b1/build.log 2024-11-18 06:51:30.885097290 +0000 +++ b2/build.log 2024-11-18 06:52:30.814395628 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Nov 17 18:50:32 -12 2024 -I: pbuilder-time-stamp: 1731912632 +I: Current time: Mon Dec 22 03:14:32 +14 2025 +I: pbuilder-time-stamp: 1766322872 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -32,52 +32,84 @@ dpkg-source: info: applying 06-hardening.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/996217/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2768831/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 21 13:14 /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/2768831/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2768831/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + 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 parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='fd944dc01c344bae9efa52ea4c578a6b' - 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='996217' - PS1='# ' - PS2='> ' + INVOCATION_ID=b2bf5d6eabc4402daf5c93861ecc0594 + 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=2768831 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.EmXMckhL/pbuilderrc_NpwY --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.EmXMckhL/b1 --logfile b1/build.log starvoyager_0.4.4-11.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.EmXMckhL/pbuilderrc_u1Or --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.EmXMckhL/b2 --logfile b2/build.log starvoyager_0.4.4-11.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-27-cloud-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-27-cloud-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/996217/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2768831/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -326,7 +358,7 @@ Get: 207 http://deb.debian.org/debian trixie/main arm64 libsdl2-dev arm64 2.30.9+dfsg-1 [1054 kB] Get: 208 http://deb.debian.org/debian trixie/main arm64 libsdl1.2-dev arm64 1.2.68-2+b1 [64.6 kB] Get: 209 http://deb.debian.org/debian trixie/main arm64 libsdl-net1.2-dev arm64 1.2.8-6+b2 [23.7 kB] -Fetched 91.8 MB in 1s (121 MB/s) +Fetched 91.8 MB in 1s (111 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:arm64. (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 ... 20088 files and directories currently installed.) @@ -1009,8 +1041,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Nov 18 06:51:11 UTC 2024. -Universal Time is now: Mon Nov 18 06:51:11 UTC 2024. +Local time is now: Sun Dec 21 13:15:06 UTC 2025. +Universal Time is now: Sun Dec 21 13:15:06 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:arm64 (1.17.0-2+b1) ... @@ -1195,7 +1227,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/starvoyager-0.4.4/ && 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 > ../starvoyager_0.4.4-11_source.changes +I: user script /srv/workspace/pbuilder/2768831/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2768831/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/starvoyager-0.4.4/ && 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 > ../starvoyager_0.4.4-11_source.changes dpkg-buildpackage: info: source package starvoyager dpkg-buildpackage: info: source version 0.4.4-11 dpkg-buildpackage: info: source distribution unstable @@ -1224,15 +1260,16 @@ c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o camera.o camera.cc c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o database.o database.cc c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o error.o error.cc -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o game.o game.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o game.o game.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o interface.o interface.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o presence.o presence.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o ship.o ship.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o sound.o sound.cc database.cc: In static member function 'static void database::openreader(FILE*)': database.cc:36:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -1249,18 +1286,25 @@ database.cc:161:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 161 | throw error("Object not found in database"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o ticker.o ticker.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o calc.o calc.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o client.o client.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o equip.o equip.cc +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o client.o client.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o equip.o equip.cc +sound.cc: In member function 'void sound::load()': +sound.cc:136:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 136 | throw error("Can't load wave file"); + | ^~~~~~~~~~~~~~~~~~~~~~ +sound.cc:140:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 140 | throw error("Couldn't build the audio conversion structure"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o frag.o frag.cc equip.cc: In member function 'void equip::load()': equip.cc:57:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | database::getvalue("Name",nam); @@ -1289,6 +1333,10 @@ equip.cc:65:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | cap=database::getvalue("Capacity"); | ^~~~~~~~~~ +alliance.cc: In member function 'void alliance::load()': +alliance.cc:201:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 201 | database::getvalue("Name",nam); + | ^~~~~~ equip.cc:66:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | rng=database::getvalue("Range"); | ^~~~~~~ @@ -1298,46 +1346,12 @@ equip.cc:68:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | acov=database::getvalue("Coverage"); | ^~~~~~~~~~ -equip.cc:69:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 69 | cost=database::getvalue("Cost"); - | ^~~~~~ -sound.cc: In member function 'void sound::load()': -sound.cc:136:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 136 | throw error("Can't load wave file"); - | ^~~~~~~~~~~~~~~~~~~~~~ -sound.cc:140:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 140 | throw error("Couldn't build the audio conversion structure"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o frag.o frag.cc -database.cc: In static member function 'static void database::openreader(FILE*)': -database.cc:68:47: warning: '%s' directive writing up to 2047 bytes into a region of size 65 [-Wformat-overflow=] - 68 | sprintf(onam,"%s",tmp+1); - | ~~~~~~~~~~~~~~^~~~~~~~~~ -database.cc:68:40: note: 'sprintf' output between 1 and 2048 bytes into a destination of size 65 - 68 | sprintf(onam,"%s",tmp+1); - | ~~~~~~~^~~~~~~~~~~~~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o graphic.o graphic.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -presence.cc: In static member function 'static void presence::controls()': -presence.cc:207:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 207 | throw error("User requested quit"); - | ^~~~~~~~~~~~~~~~~~~~~ -interface.cc: In static member function 'static void interface::poll()': -interface.cc:101:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 101 | throw error("User requested quit"); - | ^~~~~~~~~~~~~~~~~~~~~ -interface.cc: In static member function 'static void interface::printtomesg(char*, ...)': -interface.cc:148:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 148 | printtomesg("%s",txt+(mesgb.w/6)); - | ^~~~ -alliance.cc: In member function 'void alliance::load()': -alliance.cc:201:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 201 | database::getvalue("Name",nam); - | ^~~~~~ alliance.cc:202:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 202 | grp=database::getvalue("Group"); | ^~~~~~~ +equip.cc:69:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 69 | cost=database::getvalue("Cost"); + | ^~~~~~ alliance.cc:203:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 203 | nsys=database::getvalue("Systems"); | ^~~~~~~~~ @@ -1353,98 +1367,37 @@ alliance.cc:207:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 207 | spw=ship::libget(database::getvalue("Spawn")); | ^~~~~~~ -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o planet.o planet.cc -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o server.o server.cc +database.cc: In static member function 'static void database::openreader(FILE*)': +database.cc:68:47: warning: '%s' directive writing up to 2047 bytes into a region of size 65 [-Wformat-overflow=] + 68 | sprintf(onam,"%s",tmp+1); + | ~~~~~~~~~~~~~~^~~~~~~~~~ +database.cc:68:40: note: 'sprintf' output between 1 and 2048 bytes into a destination of size 65 + 68 | sprintf(onam,"%s",tmp+1); + | ~~~~~~~^~~~~~~~~~~~~~~~~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o graphic.o graphic.cc +alliance.cc: In member function 'void alliance::maketerritory(cord)': +alliance.cc:181:58: warning: '%hd' directive writing between 1 and 6 bytes into a region of size between 0 and 64 [-Wformat-overflow=] + 181 | sprintf(pnam,"%s %hd",snam,j); + | ^~~ +alliance.cc:181:54: note: using the range [-32768, 32767] for directive argument + 181 | sprintf(pnam,"%s %hd",snam,j); + | ^~~~~~~~ +alliance.cc:181:48: note: 'sprintf' output between 3 and 72 bytes into a destination of size 65 + 181 | sprintf(pnam,"%s %hd",snam,j); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o planet.o planet.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -frag.cc: In constructor 'frag::frag(cord, int, short int, short int, ship*, ship*, vect, short int, short int, short int, short int)': -frag.cc:32:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 32 | throw error("No free slots for frag"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -frag.cc: In member function 'void frag::save()': -frag.cc:230:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 230 | database::putvalue("Type",typ); - | ^~~~~~ -frag.cc:231:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 231 | database::putvalue("Sprite",spr); - | ^~~~~~~~ -frag.cc:232:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 232 | database::putvalue("Colour",col); - | ^~~~~~~~ -frag.cc:234:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 234 | database::putvalue("Target",trg->self); - | ^~~~~~~~ -frag.cc:236:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 236 | database::putvalue("Owner",own->self); - | ^~~~~~~ -frag.cc:237:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 237 | database::putvalue("XLoc",loc.x); - | ^~~~~~ -frag.cc:238:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 238 | database::putvalue("YLoc",loc.y); - | ^~~~~~ -frag.cc:239:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 239 | database::putvalue("XVect",mov.xx); - | ^~~~~~~ -frag.cc:240:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 240 | database::putvalue("YVect",mov.yy); - | ^~~~~~~ -frag.cc:241:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 241 | database::putvalue("Rotation",rot); - | ^~~~~~~~~~ -frag.cc:242:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 242 | database::putvalue("Power",pow); - | ^~~~~~~ -frag.cc:243:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 243 | database::putvalue("Tracking",trck); - | ^~~~~~~~~~ -frag.cc:244:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 244 | database::putvalue("Range",rng); - | ^~~~~~~ -frag.cc: In member function 'void frag::load()': -frag.cc:249:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 249 | typ=database::getvalue("Type"); - | ^~~~~~ -frag.cc:250:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 250 | spr=database::getvalue("Sprite"); - | ^~~~~~~~ -frag.cc:251:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 251 | col=database::getvalue("Colour"); - | ^~~~~~~~ -frag.cc:252:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 252 | trg=ship::get(database::getvalue("Target")); - | ^~~~~~~~ -frag.cc:253:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 253 | own=ship::get(database::getvalue("Owner")); - | ^~~~~~~ -frag.cc:254:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 254 | loc.x=database::getvalue("XLoc"); - | ^~~~~~ -frag.cc:255:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 255 | loc.y=database::getvalue("YLoc"); - | ^~~~~~ -frag.cc:256:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 256 | mov.xx=database::getvalue("XVect"); - | ^~~~~~~ -frag.cc:257:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 257 | mov.yy=database::getvalue("YVect"); - | ^~~~~~~ -frag.cc:258:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 258 | rot=database::getvalue("Rotation"); - | ^~~~~~~~~~ -frag.cc:259:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 259 | pow=database::getvalue("Power"); - | ^~~~~~~ -frag.cc:260:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 260 | trck=database::getvalue("Tracking"); - | ^~~~~~~~~~ -frag.cc:261:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 261 | rng=database::getvalue("Range"); - | ^~~~~~~ game.cc: In static member function 'static void game::runlocal()': game.cc:95:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | client::connect("127.0.0.1"); | ^~~~~~~~~~~ +presence.cc: In static member function 'static void presence::controls()': +presence.cc:207:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 207 | throw error("User requested quit"); + | ^~~~~~~~~~~~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o server.o server.cc ship.cc: In constructor 'ship::ship(cord, ship*, alliance*, int)': ship.cc:27:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 27 | throw error("Null alliance given"); @@ -1452,6 +1405,25 @@ ship.cc:29:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 29 | throw error("Null ship template given"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +camera.cc: In static member function 'static void camera::renderradar()': +camera.cc:379:28: warning: '%ld' directive writing between 1 and 18 bytes into a region of size between 12 and 29 [-Wformat-overflow=] + 379 | sprintf(txt,"%ld , %ld",(long)pov.x/100,(long)pov.y/100); + | ^~~ +camera.cc:379:21: note: directive argument in the range [-92233720368547758, 92233720368547758] + 379 | sprintf(txt,"%ld , %ld",(long)pov.x/100,(long)pov.y/100); + | ^~~~~~~~~~~ +camera.cc:379:16: note: 'sprintf' output between 6 and 40 bytes into a destination of size 33 + 379 | sprintf(txt,"%ld , %ld",(long)pov.x/100,(long)pov.y/100); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +interface.cc: In static member function 'static void interface::poll()': +interface.cc:101:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 101 | throw error("User requested quit"); + | ^~~~~~~~~~~~~~~~~~~~~ +interface.cc: In static member function 'static void interface::printtomesg(char*, ...)': +interface.cc:148:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 148 | printtomesg("%s",txt+(mesgb.w/6)); + | ^~~~ +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o sockhelper.o sockhelper.cc ship.cc: In member function 'void ship::hit(int, cord, vect, ship*)': ship.cc:1019:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1019 | server::hail(NULL,src->ply,"Target destroyed; bounty paid"); @@ -1462,6 +1434,7 @@ ship.cc:1031:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1031 | server::hail(NULL,src->ply,"Target crippled"); | ^~~~~~~~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ ship.cc: In member function 'void ship::transport(planet*)': ship.cc:1133:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1133 | throw error("Cannot transport with shields up"); @@ -1619,7 +1592,6 @@ ship.cc:1287:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1287 | vel.rad=database::getvalue("Speed"); | ^~~~~~~ -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o sockhelper.o sockhelper.cc ship.cc:1288:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1288 | trn=database::getvalue("TurnRate"); | ^~~~~~~~~~ @@ -1650,10 +1622,30 @@ ship.cc:1298:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1298 | crip=database::getvalue("Crippled"); | ^~~~~~~~~~ +client.cc: In static member function 'static void client::connect(char*)': +client.cc:48:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 48 | throw error("Couldn't resolve hostname"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +client.cc:51:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 51 | throw error("Could not connect to server"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ship.cc: In member function 'void ship::insert()': ship.cc:1354:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1354 | throw error("No free ship index available"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +client.cc: In static member function 'static void client::poll()': +client.cc:203:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 203 | throw error("Overflow from server in SERV_CONS"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +client.cc:209:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 209 | interface::printtocons("%s\n",txt); + | ^~~~~~ +client.cc:240:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 240 | throw error("Overflow from server in SERV_MESG"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +client.cc:246:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 246 | interface::printtomesg("%s",txt); + | ^~~~ ship.cc: In member function 'void ship::loadlink()': ship.cc:1613:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1613 | frnd=get(database::getvalue("FriendTarget")); @@ -1664,11 +1656,8 @@ ship.cc:1615:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1615 | plnt=planet::get(database::getvalue("PlanetTarget")); | ^~~~~~~~~~~~~~ -graphic.cc: In member function 'void graphic::draw(int, short int, short int, short int, short int, bool)': -graphic.cc:239:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 239 | string("Graphic missing",x,y,true); - | ^~~~~~~~~~~~~~~~~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o sv.o sv.cc sockhelper.cc: In constructor 'sockhelper::sockhelper(TCPsocket)': sockhelper.cc:19:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 19 | throw error("Error creating a socket set"); @@ -1683,120 +1672,153 @@ sockhelper.cc:61:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | throw error("Socket blocked: probably a laggy/hung/cracked client"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -alliance.cc: In member function 'void alliance::maketerritory(cord)': -alliance.cc:181:58: warning: '%hd' directive writing between 1 and 6 bytes into a region of size between 0 and 64 [-Wformat-overflow=] - 181 | sprintf(pnam,"%s %hd",snam,j); - | ^~~ -alliance.cc:181:54: note: using the range [-32768, 32767] for directive argument - 181 | sprintf(pnam,"%s %hd",snam,j); - | ^~~~~~~~ -alliance.cc:181:48: note: 'sprintf' output between 3 and 72 bytes into a destination of size 65 - 181 | sprintf(pnam,"%s %hd",snam,j); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o sv.o sv.cc -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o player.o player.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +frag.cc: In constructor 'frag::frag(cord, int, short int, short int, ship*, ship*, vect, short int, short int, short int, short int)': +frag.cc:32:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 32 | throw error("No free slots for frag"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -client.cc: In static member function 'static void client::connect(char*)': -client.cc:48:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 48 | throw error("Couldn't resolve hostname"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -client.cc:51:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 51 | throw error("Could not connect to server"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -camera.cc: In static member function 'static void camera::renderradar()': -camera.cc:379:28: warning: '%ld' directive writing between 1 and 18 bytes into a region of size between 12 and 29 [-Wformat-overflow=] - 379 | sprintf(txt,"%ld , %ld",(long)pov.x/100,(long)pov.y/100); - | ^~~ -camera.cc:379:21: note: directive argument in the range [-92233720368547758, 92233720368547758] - 379 | sprintf(txt,"%ld , %ld",(long)pov.x/100,(long)pov.y/100); - | ^~~~~~~~~~~ -camera.cc:379:16: note: 'sprintf' output between 6 and 40 bytes into a destination of size 33 - 379 | sprintf(txt,"%ld , %ld",(long)pov.x/100,(long)pov.y/100); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -client.cc: In static member function 'static void client::poll()': -client.cc:203:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 203 | throw error("Overflow from server in SERV_CONS"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -client.cc:209:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 209 | interface::printtocons("%s\n",txt); - | ^~~~~~ -client.cc:240:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 240 | throw error("Overflow from server in SERV_MESG"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -client.cc:246:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 246 | interface::printtomesg("%s",txt); - | ^~~~ -planet.cc: In constructor 'planet::planet(char*, cord, int, alliance*)': -planet.cc:33:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 33 | throw error("No free slots for planet"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -planet.cc: In constructor 'planet::planet(int)': -planet.cc:390:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 390 | throw error("This planet slot already taken"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -planet.cc: In member function 'void planet::save()': -planet.cc:402:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 402 | database::putvalue("Name",nam); +frag.cc: In member function 'void frag::save()': +frag.cc:230:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 230 | database::putvalue("Type",typ); | ^~~~~~ -planet.cc:404:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 404 | database::putvalue("Sprite",spr); +frag.cc:231:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 231 | database::putvalue("Sprite",spr); + | ^~~~~~~~ +frag.cc:232:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 232 | database::putvalue("Colour",col); + | ^~~~~~~~ +frag.cc:234:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 234 | database::putvalue("Target",trg->self); | ^~~~~~~~ -planet.cc:405:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 405 | database::putvalue("SpriteRot",rot); - | ^~~~~~~~~~~ -planet.cc:407:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 407 | database::putvalue("Team",all->self); - | ^~~~~~ -planet.cc:408:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 408 | database::putvalue("XLoc",loc.x); - | ^~~~~~ -planet.cc:409:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 409 | database::putvalue("YLoc",loc.y); - | ^~~~~~ -planet.cc:410:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 410 | database::putvalue("Type",typ); +frag.cc:236:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 236 | database::putvalue("Owner",own->self); + | ^~~~~~~ +frag.cc:237:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 237 | database::putvalue("XLoc",loc.x); | ^~~~~~ -planet.cc: In member function 'void planet::load()': -planet.cc:425:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 425 | database::getvalue("Name",nam); +frag.cc:238:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 238 | database::putvalue("YLoc",loc.y); | ^~~~~~ -planet.cc:426:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 426 | spr=database::getvalue("Sprite"); +frag.cc:239:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 239 | database::putvalue("XVect",mov.xx); + | ^~~~~~~ +frag.cc:240:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 240 | database::putvalue("YVect",mov.yy); + | ^~~~~~~ +frag.cc:241:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 241 | database::putvalue("Rotation",rot); + | ^~~~~~~~~~ +frag.cc:242:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 242 | database::putvalue("Power",pow); + | ^~~~~~~ +frag.cc:243:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 243 | database::putvalue("Tracking",trck); + | ^~~~~~~~~~ +frag.cc:244:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 244 | database::putvalue("Range",rng); + | ^~~~~~~ +frag.cc: In member function 'void frag::load()': +frag.cc:249:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 249 | typ=database::getvalue("Type"); + | ^~~~~~ +frag.cc:250:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 250 | spr=database::getvalue("Sprite"); | ^~~~~~~~ -planet.cc:427:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 427 | rot=database::getvalue("SpriteRot"); - | ^~~~~~~~~~~ -planet.cc:428:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 428 | all=alliance::get(database::getvalue("Team")); - | ^~~~~~ -planet.cc:429:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 429 | loc.x=database::getvalue("XLoc"); +frag.cc:251:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 251 | col=database::getvalue("Colour"); + | ^~~~~~~~ +frag.cc:252:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 252 | trg=ship::get(database::getvalue("Target")); + | ^~~~~~~~ +frag.cc:253:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 253 | own=ship::get(database::getvalue("Owner")); + | ^~~~~~~ +frag.cc:254:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 254 | loc.x=database::getvalue("XLoc"); | ^~~~~~ -planet.cc:430:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 430 | loc.y=database::getvalue("YLoc"); +frag.cc:255:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 255 | loc.y=database::getvalue("YLoc"); | ^~~~~~ -planet.cc:431:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 431 | typ=database::getvalue("Type"); - | ^~~~~~ +frag.cc:256:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 256 | mov.xx=database::getvalue("XVect"); + | ^~~~~~~ +frag.cc:257:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 257 | mov.yy=database::getvalue("YVect"); + | ^~~~~~~ +frag.cc:258:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 258 | rot=database::getvalue("Rotation"); + | ^~~~~~~~~~ +frag.cc:259:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 259 | pow=database::getvalue("Power"); + | ^~~~~~~ +frag.cc:260:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 260 | trck=database::getvalue("Tracking"); + | ^~~~~~~~~~ +frag.cc:261:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 261 | rng=database::getvalue("Range"); + | ^~~~~~~ +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o player.o player.cc c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o os.o os.cc +graphic.cc: In member function 'void graphic::draw(int, short int, short int, short int, short int, bool)': +graphic.cc:239:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 239 | string("Graphic missing",x,y,true); + | ^~~~~~~~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o SDL_rotozoom.o SDL_rotozoom.c +os.cc: In static member function 'static FILE* os::openpersonal(const char*, const char*)': +os.cc:52:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 52 | throw error("getpwuid failed: cannot find user's home directory"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +os.cc:71:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 71 | throw error("Cannot open user's file"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +cc `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o SDL_gfxPrimitives.o SDL_gfxPrimitives.c server.cc: In static member function 'static void server::start(bool)': server.cc:59:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 59 | throw error("Can't open listening socket"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +player.cc: In constructor 'player::player(char*)': +player.cc:37:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 37 | throw error("No more space for new accounts"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +player.cc: In member function 'void player::spawn(alliance*)': +player.cc:137:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 137 | throw error("Cannot play for this alliance"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +player.cc:153:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 153 | server::bulletin("%s entered the game",nam); + | ^~~~~~~~~~~~~~~~~~~~~ server.cc: In static member function 'static void server::cycle()': server.cc:116:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 116 | connections[i]->log("Dropped from the game: %s",it.str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +player.cc:162:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 162 | throw error("Can't find a suitable body to spawn at"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.cc:122:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | throw error("Server caught quit signal"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +player.cc: In member function 'void player::login(char*)': +player.cc:168:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 168 | throw error("Already logged in"); + | ^~~~~~~~~~~~~~~~~~~ +player.cc:170:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 170 | throw error("No ship associated with this user"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +player.cc:175:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 175 | throw error("Invalid password"); + | ^~~~~~~~~~~~~~~~~~ +player.cc:178:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 178 | throw error("Invalid password"); + | ^~~~~~~~~~~~~~~~~~ server.cc: In static member function 'static void server::hail(player*, player*, char*)': server.cc:156:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 156 | frnm=""; | ^~ +player.cc:186:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 186 | server::bulletin("%s entered the game",nam); + | ^~~~~~~~~~~~~~~~~~~~~ server.cc:168:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 168 | connections[i]->printtomesg("%s",txt); | ^~~~ @@ -1807,6 +1829,40 @@ server.cc:192:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 192 | connections[i]->printtomesg("%s",buf); | ^~~~ +player.cc: In member function 'void player::debit(long int)': +player.cc:230:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 230 | throw error("Not enough credits"); + | ^~~~~~~~~~~~~~~~~~~~ +player.cc: In member function 'void player::logout()': +player.cc:251:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 251 | server::bulletin("%s left the game",nam); + | ^~~~~~~~~~~~~~~~~~ +player.cc: In member function 'void player::save()': +player.cc:258:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 258 | database::putvalue("Name",nam); + | ^~~~~~ +player.cc:259:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 259 | database::putvalue("Password",pass); + | ^~~~~~~~~~ +player.cc:260:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 260 | database::putvalue("Op",op); + | ^~~~ +player.cc:261:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 261 | database::putvalue("Cash",cash); + | ^~~~~~ +player.cc: In member function 'void player::load()': +player.cc:268:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 268 | database::getvalue("Name",nam); + | ^~~~~~ +player.cc:269:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 269 | database::getvalue("Password",pass); + | ^~~~~~~~~~ +player.cc:270:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 270 | op=database::getvalue("Op"); + | ^~~~ +player.cc:271:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 271 | cash=database::getvalue("Cash"); + | ^~~~~~ server.cc: In constructor 'server::server(int, TCPsocket)': server.cc:278:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 278 | log("Connection opened"); @@ -1932,78 +1988,6 @@ server.cc:1246:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1246 | printtocons("Game over"); | ^~~~~~~~~~~ -os.cc: In static member function 'static FILE* os::openpersonal(const char*, const char*)': -os.cc:52:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 52 | throw error("getpwuid failed: cannot find user's home directory"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -os.cc:71:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 71 | throw error("Cannot open user's file"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -cc `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o SDL_gfxPrimitives.o SDL_gfxPrimitives.c -player.cc: In constructor 'player::player(char*)': -player.cc:37:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 37 | throw error("No more space for new accounts"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -player.cc: In member function 'void player::spawn(alliance*)': -player.cc:137:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 137 | throw error("Cannot play for this alliance"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -player.cc:153:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 153 | server::bulletin("%s entered the game",nam); - | ^~~~~~~~~~~~~~~~~~~~~ -player.cc:162:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 162 | throw error("Can't find a suitable body to spawn at"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -player.cc: In member function 'void player::login(char*)': -player.cc:168:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 168 | throw error("Already logged in"); - | ^~~~~~~~~~~~~~~~~~~ -player.cc:170:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 170 | throw error("No ship associated with this user"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -player.cc:175:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 175 | throw error("Invalid password"); - | ^~~~~~~~~~~~~~~~~~ -player.cc:178:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 178 | throw error("Invalid password"); - | ^~~~~~~~~~~~~~~~~~ -player.cc:186:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 186 | server::bulletin("%s entered the game",nam); - | ^~~~~~~~~~~~~~~~~~~~~ -player.cc: In member function 'void player::debit(long int)': -player.cc:230:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 230 | throw error("Not enough credits"); - | ^~~~~~~~~~~~~~~~~~~~ -player.cc: In member function 'void player::logout()': -player.cc:251:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 251 | server::bulletin("%s left the game",nam); - | ^~~~~~~~~~~~~~~~~~ -player.cc: In member function 'void player::save()': -player.cc:258:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 258 | database::putvalue("Name",nam); - | ^~~~~~ -player.cc:259:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 259 | database::putvalue("Password",pass); - | ^~~~~~~~~~ -player.cc:260:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 260 | database::putvalue("Op",op); - | ^~~~ -player.cc:261:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 261 | database::putvalue("Cash",cash); - | ^~~~~~ -player.cc: In member function 'void player::load()': -player.cc:268:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 268 | database::getvalue("Name",nam); - | ^~~~~~ -player.cc:269:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 269 | database::getvalue("Password",pass); - | ^~~~~~~~~~ -player.cc:270:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 270 | op=database::getvalue("Op"); - | ^~~~ -player.cc:271:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 271 | cash=database::getvalue("Cash"); - | ^~~~~~ sv.cc: In function 'void splashscreen()': sv.cc:167:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 167 | interface::printtocons("Star Voyager %s\n\n[1] Run local game\n[2] Reset game\n[3] Connect to a server\n[4] Quit\n",VERSION); @@ -2017,6 +2001,58 @@ sv.cc:210:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 210 | throw error("User quit"); | ^~~~~~~~~~~ +planet.cc: In constructor 'planet::planet(char*, cord, int, alliance*)': +planet.cc:33:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 33 | throw error("No free slots for planet"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +planet.cc: In constructor 'planet::planet(int)': +planet.cc:390:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 390 | throw error("This planet slot already taken"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +planet.cc: In member function 'void planet::save()': +planet.cc:402:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 402 | database::putvalue("Name",nam); + | ^~~~~~ +planet.cc:404:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 404 | database::putvalue("Sprite",spr); + | ^~~~~~~~ +planet.cc:405:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 405 | database::putvalue("SpriteRot",rot); + | ^~~~~~~~~~~ +planet.cc:407:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 407 | database::putvalue("Team",all->self); + | ^~~~~~ +planet.cc:408:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 408 | database::putvalue("XLoc",loc.x); + | ^~~~~~ +planet.cc:409:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 409 | database::putvalue("YLoc",loc.y); + | ^~~~~~ +planet.cc:410:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 410 | database::putvalue("Type",typ); + | ^~~~~~ +planet.cc: In member function 'void planet::load()': +planet.cc:425:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 425 | database::getvalue("Name",nam); + | ^~~~~~ +planet.cc:426:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 426 | spr=database::getvalue("Sprite"); + | ^~~~~~~~ +planet.cc:427:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 427 | rot=database::getvalue("SpriteRot"); + | ^~~~~~~~~~~ +planet.cc:428:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 428 | all=alliance::get(database::getvalue("Team")); + | ^~~~~~ +planet.cc:429:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 429 | loc.x=database::getvalue("XLoc"); + | ^~~~~~ +planet.cc:430:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 430 | loc.y=database::getvalue("YLoc"); + | ^~~~~~ +planet.cc:431:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 431 | typ=database::getvalue("Type"); + | ^~~~~~ cc -o starvoyager alliance.o camera.o database.o error.o game.o interface.o presence.o ship.o sound.o ticker.o calc.o client.o equip.o frag.o graphic.o planet.o server.o sockhelper.o sv.o player.o os.o SDL_rotozoom.o SDL_gfxPrimitives.o `sdl-config --libs` -lSDL_net -lstdc++ -lm -Wl,-z,relro make[1]: Leaving directory '/build/reproducible-path/starvoyager-0.4.4' dh_auto_test @@ -2027,15 +2063,15 @@ make[1]: Entering directory '/build/reproducible-path/starvoyager-0.4.4' rm /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/games/starvoyager -rf rm /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/doc/starvoyager -rf -mkdir -p /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/doc/starvoyager /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/games/starvoyager/gfx /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/games/starvoyager/snd -cp data/gfx/* /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/games/starvoyager/gfx/ rm /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/doc/starvoyager -rf -cp data/snd/* /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/games/starvoyager/snd/ +mkdir -p /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/doc/starvoyager /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/games/starvoyager/gfx /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/games/starvoyager/snd mkdir -p /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/games /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/doc/starvoyager +cp data/gfx/* /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/games/starvoyager/gfx/ cp starvoyager /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/games/ -cp data/*.svd /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/games/starvoyager/ cp README FAQ manual.html /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/doc/starvoyager/ +cp data/snd/* /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/games/starvoyager/snd/ chmod 755 /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/games/starvoyager +cp data/*.svd /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/games/starvoyager/ make[1]: Leaving directory '/build/reproducible-path/starvoyager-0.4.4' dh_install dh_installdocs @@ -2090,8 +2126,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'starvoyager-dbgsym' in '../starvoyager-dbgsym_0.4.4-11_arm64.deb'. dpkg-deb: building package 'starvoyager' in '../starvoyager_0.4.4-11_arm64.deb'. +dpkg-deb: building package 'starvoyager-dbgsym' in '../starvoyager-dbgsym_0.4.4-11_arm64.deb'. dpkg-deb: building package 'starvoyager-data' in '../starvoyager-data_0.4.4-11_all.deb'. dpkg-genbuildinfo --build=binary -O../starvoyager_0.4.4-11_arm64.buildinfo dpkg-genchanges --build=binary -O../starvoyager_0.4.4-11_arm64.changes @@ -2100,12 +2136,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/2768831/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2768831/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/996217 and its subdirectories -I: Current time: Sun Nov 17 18:51:29 -12 2024 -I: pbuilder-time-stamp: 1731912689 +I: removing directory /srv/workspace/pbuilder/2768831 and its subdirectories +I: Current time: Mon Dec 22 03:15:28 +14 2025 +I: pbuilder-time-stamp: 1766322928