Diff of the two buildlogs: -- --- b1/build.log 2024-11-21 23:22:25.809763532 +0000 +++ b2/build.log 2024-11-21 23:23:56.193670060 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Nov 21 11:18:56 -12 2024 -I: pbuilder-time-stamp: 1732231136 +I: Current time: Thu Dec 25 19:45:26 +14 2025 +I: pbuilder-time-stamp: 1766641526 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/942403/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1411387/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 25 05:45 /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/1411387/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1411387/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='0e8c1810995c478ea35623af913f23bd' - 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='942403' - PS1='# ' - PS2='> ' + INVOCATION_ID=929ad1dd82ea43078f0ef3d6436dd1e1 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1411387 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.iAJexnqJ/pbuilderrc_3aQH --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.iAJexnqJ/b1 --logfile b1/build.log starvoyager_0.4.4-11.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.iAJexnqJ/pbuilderrc_M58s --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.iAJexnqJ/b2 --logfile b2/build.log starvoyager_0.4.4-11.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/942403/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1411387/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -324,7 +356,7 @@ Get: 205 http://deb.debian.org/debian unstable/main amd64 libsdl2-dev amd64 2.30.9+dfsg-1 [1097 kB] Get: 206 http://deb.debian.org/debian unstable/main amd64 libsdl1.2-dev amd64 1.2.68-2+b1 [64.6 kB] Get: 207 http://deb.debian.org/debian unstable/main amd64 libsdl-net1.2-dev amd64 1.2.8-6+b2 [23.5 kB] -Fetched 98.6 MB in 10s (10.2 MB/s) +Fetched 98.6 MB in 5s (19.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19966 files and directories currently installed.) @@ -1001,8 +1033,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Nov 21 23:21:41 UTC 2024. -Universal Time is now: Thu Nov 21 23:21:41 UTC 2024. +Local time is now: Thu Dec 25 05:46:01 UTC 2025. +Universal Time is now: Thu Dec 25 05:46:01 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:amd64 (1.17.0-2+b1) ... @@ -1185,7 +1217,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/1411387/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1411387/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 @@ -1195,7 +1231,7 @@ debian/rules clean dh clean dh_auto_clean - make -j20 clean + make -j42 clean make[1]: Entering directory '/build/reproducible-path/starvoyager-0.4.4' rm -f *.o rm -f starvoyager @@ -1208,68 +1244,52 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j20 "INSTALL=install --strip-program=true" + make -j42 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/starvoyager-0.4.4' 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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o alliance.o alliance.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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o error.o error.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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o game.o game.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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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++ -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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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++ 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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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++ 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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o sound.o sound.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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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++ -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] - 36 | throw error("Error opening reader"); - | ^~~~~~~~~~~~~~~~~~~~~~ -database.cc:42:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 42 | throw error("File is corrupt, or incompatible with this version"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o client.o client.cc -database.cc: In static member function 'static void database::openwriter(FILE*)': -database.cc:91:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 91 | throw error("Error opening writer"); - | ^~~~~~~~~~~~~~~~~~~~~~ -database.cc: In static member function 'static void database::switchobj(char*)': -database.cc:161:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 161 | throw error("Object not found in database"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o equip.o equip.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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o frag.o frag.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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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++ -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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o server.o server.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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o sockhelper.o sockhelper.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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o os.o os.cc +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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o SDL_rotozoom.o SDL_rotozoom.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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o SDL_gfxPrimitives.o SDL_gfxPrimitives.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++ +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++ +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++ +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++ +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++ +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++ 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++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -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"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -1310,19 +1330,21 @@ equip.cc:69:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | cost=database::getvalue("Cost"); | ^~~~~~ -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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o os.o os.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++ 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); - | ~~~~~~~^~~~~~~~~~~~~~~~~ -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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o SDL_rotozoom.o SDL_rotozoom.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 -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o SDL_gfxPrimitives.o SDL_gfxPrimitives.c +database.cc:36:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 36 | throw error("Error opening reader"); + | ^~~~~~~~~~~~~~~~~~~~~~ +database.cc:42:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 42 | throw error("File is corrupt, or incompatible with this version"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +database.cc: In static member function 'static void database::openwriter(FILE*)': +database.cc:91:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 91 | throw error("Error opening writer"); + | ^~~~~~~~~~~~~~~~~~~~~~ +database.cc: In static member function 'static void database::switchobj(char*)': +database.cc:161:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 161 | throw error("Object not found in database"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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"); @@ -1337,6 +1359,13 @@ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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"); @@ -1344,10 +1373,45 @@ os.cc:71:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | throw error("Cannot open user's file"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ~~~~~~~^~~~~~~~~~~~~~~~~ +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)); + | ^~~~ +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"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~ 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"); @@ -1358,6 +1422,10 @@ 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: 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 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"); @@ -1371,13 +1439,30 @@ 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::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:186:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 186 | server::bulletin("%s entered the game",nam); | ^~~~~~~~~~~~~~~~~~~~~ +server.cc:122:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 122 | throw error("Server caught quit signal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: 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"); | ^~~~~~~~~~~~~~~~~~~~ +server.cc:168:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 168 | connections[i]->printtomesg("%s",txt); + | ^~~~ +server.cc:173:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 173 | connections[i]->log("Received hail \"%s\"",txt); + | ^~~~~~~~~~~~~~~~~~~~~~ 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); @@ -1386,9 +1471,17 @@ player.cc:258:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 258 | database::putvalue("Name",nam); | ^~~~~~ +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); + | ^~~~~~~~~~~~~~~~~ player.cc:259:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 259 | database::putvalue("Password",pass); | ^~~~~~~~~~ +server.cc: In static member function 'static void server::bulletin(char*, ...)': +server.cc:192:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 192 | connections[i]->printtomesg("%s",buf); + | ^~~~ player.cc:260:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 260 | database::putvalue("Op",op); | ^~~~ @@ -1412,71 +1505,152 @@ game.cc:95:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | client::connect("127.0.0.1"); | ^~~~~~~~~~~ -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)); - | ^~~~ -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"); - | ^~~~~~~~~~~~~~~~~~~~~ -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"); +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"); + | ^~~~~~~~~~~~~~~~~~~ +server.cc: In destructor 'server::~server()': +server.cc:294:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 294 | log("Connection terminated"); + | ^~~~~~~~~~~~~~~~~~~~~~~ +server.cc: In member function 'void server::poll()': +server.cc:333:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 333 | throw error("Activity timeout"); + | ^~~~~~~~~~~~~~~~~~ +server.cc:372:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 372 | throw error("Using incorrect protocol"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc: In member function 'void server::action(int, short int)': +server.cc:521:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 521 | log("Bandwidth exploration reports %ld maximum",cbnd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc: In member function 'void server::changecmod(int)': +server.cc:555:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 555 | printtocons("Choose player name\n"); + | ^~~~~~~~~~~~~~~~~~~~~~ +server.cc:560:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 560 | printtocons("Player name currently exists\nPlease input player password"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:602:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 602 | printtocons("No target"); + | ^~~~~~~~~~~ +server.cc:622:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 622 | printtocons("No target"); + | ^~~~~~~~~~~ +server.cc:645:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 645 | printtocons("Chat with target player\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -client.cc:51:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 51 | throw error("Could not connect to server"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~ -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); - | ^~~~~~ -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"); - | ^~~~~~~~~~~~~~~~~~~~~ -alliance.cc:202:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 202 | grp=database::getvalue("Group"); - | ^~~~~~~ -alliance.cc:203:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 203 | nsys=database::getvalue("Systems"); - | ^~~~~~~~~ -alliance.cc:204:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 204 | pinh=database::getvalue("PercentInhabited"); - | ^~~~~~~~~~~~~~~~~~ -alliance.cc:205:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 205 | ripo=database::getvalue("Ripoff"); - | ^~~~~~~~ -alliance.cc:206:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 206 | trad=database::getvalue("Trading"); - | ^~~~~~~~~ -alliance.cc:207:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 207 | spw=ship::libget(database::getvalue("Spawn")); - | ^~~~~~~ -ship.cc:29:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 29 | throw error("Null ship template given"); +server.cc:650:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 650 | printtocons("Chat with team"); + | ^~~~~~~~~~~~~~~~ +server.cc:655:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 655 | printtocons("Chat with all"); + | ^~~~~~~~~~~~~~~ +server.cc:676:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 676 | printtocons("Admin\n\n[1] Set account password\n[2] Kick user\n[3] Delete user\n[4] Shutdown server"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:680:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 680 | printtocons("Admin\n\n[1] Set account password"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:685:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 685 | printtocons("Choose your password"); + | ^~~~~~~~~~~~~~~~~~~~~~ +server.cc:690:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 690 | printtocons("Confirm your password"); + | ^~~~~~~~~~~~~~~~~~~~~~~ +server.cc:695:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 695 | printtocons("Input username to kick"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:700:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 700 | printtocons("Input username to delete"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc: In member function 'void server::cons(int)': +server.cc:725:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 725 | log("Spawned as %s(%s)",ply->in->cls,ply->in->all->nam); + | ^~~~~~~~~~~~~~~~~~~ +server.cc:730:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 730 | printtomesg("No such alliance"); + | ^~~~~~~~~~~~~~~~~~ +server.cc:768:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 768 | printtomesg("Restore position saved"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:771:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 771 | throw error("Cannot save with a different allegiance"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:775:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 775 | throw error("Out of range"); + | ^~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:843:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 843 | log("Server shutdown requested"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +sv.cc:176:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 176 | interface::printtomesg("Initialising game..."); + | ^~~~~~~~~~~~~~~~~~~~~~ +sv.cc:189:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 189 | interface::printtomesg("Game reset"); + | ^~~~~~~~~~~~ +sv.cc:210:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 210 | throw error("User quit"); + | ^~~~~~~~~~~ +server.cc: In member function 'void server::input()': +server.cc:868:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 868 | throw error("Aborted name entry"); + | ^~~~~~~~~~~~~~~~~~~~ +server.cc:874:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 874 | throw error("Name too short"); + | ^~~~~~~~~~~~~~~~ +server.cc:879:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 879 | log("Attempting login"); + | ^~~~~~~~~~~~~~~~~~ +server.cc:883:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 883 | log("Local game login"); + | ^~~~~~~~~~~~~~~~~~ +server.cc:894:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 894 | log("New player created"); + | ^~~~~~~~~~~~~~~~~~~~ +server.cc:911:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 911 | log("Login succeeded"); + | ^~~~~~~~~~~~~~~~~ +server.cc:934:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 934 | printtomesg("Password set successfully"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:935:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 935 | log("Set password"); + | ^~~~~~~~~~~~~~ +server.cc:939:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 939 | printtomesg("Passwords don't match!"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:973:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 973 | log("Attemped kick of %s",inpb); + | ^~~~~~~~~~~~~~~~~~~~~ +server.cc:978:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 978 | bulletin("%s was kicked from the server",inpb); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:987:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 987 | log("Attemped deletion of %s",inpb); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:992:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 992 | bulletin("%s was kicked from the server",inpb); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc: In member function 'void server::kill()': +server.cc:1245:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1245 | printtomesg("You have been destroyed: Game Over"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:1246:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1246 | printtocons("Game over"); + | ^~~~~~~~~~~ +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"); + | ^~~~~~~~~~~~~~~~~~~~~ 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"); @@ -1525,6 +1699,97 @@ planet.cc:431:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 431 | typ=database::getvalue("Type"); | ^~~~~~ +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"); + | ^~~~~~~ +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"); + | ^~~~~~~~~~~~~~~~~~~~~ +ship.cc:29:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 29 | throw error("Null ship template given"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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"); @@ -1726,277 +1991,38 @@ ship.cc:1354:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1354 | throw error("No free ship index available"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); +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"); + | ^~~~~~~ +alliance.cc:203:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 203 | nsys=database::getvalue("Systems"); + | ^~~~~~~~~ +alliance.cc:204:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 204 | pinh=database::getvalue("PercentInhabited"); + | ^~~~~~~~~~~~~~~~~~ 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")); | ^~~~~~~~~~~~~~ +alliance.cc:205:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 205 | ripo=database::getvalue("Ripoff"); + | ^~~~~~~~ +alliance.cc:206:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 206 | trad=database::getvalue("Trading"); + | ^~~~~~~~~ ship.cc:1614:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1614 | enem=get(database::getvalue("EnemyTarget")); | ^~~~~~~~~~~~~ +alliance.cc:207:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 207 | spw=ship::libget(database::getvalue("Spawn")); + | ^~~~~~~ ship.cc:1615:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1615 | plnt=planet::get(database::getvalue("PlanetTarget")); | ^~~~~~~~~~~~~~ -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"); - | ^~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sv.cc:176:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 176 | interface::printtomesg("Initialising game..."); - | ^~~~~~~~~~~~~~~~~~~~~~ -sv.cc:189:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 189 | interface::printtomesg("Game reset"); - | ^~~~~~~~~~~~ -sv.cc:210:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 210 | throw error("User quit"); - | ^~~~~~~~~~~ -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"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:122:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 122 | throw error("Server caught quit signal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -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=""; - | ^~ -server.cc:168:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 168 | connections[i]->printtomesg("%s",txt); - | ^~~~ -server.cc:173:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 173 | connections[i]->log("Received hail \"%s\"",txt); - | ^~~~~~~~~~~~~~~~~~~~~~ -server.cc: In static member function 'static void server::bulletin(char*, ...)': -server.cc:192:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 192 | connections[i]->printtomesg("%s",buf); - | ^~~~ -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"); - | ^~~~~~~~~~~~~~~~~~~ -server.cc: In destructor 'server::~server()': -server.cc:294:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 294 | log("Connection terminated"); - | ^~~~~~~~~~~~~~~~~~~~~~~ -server.cc: In member function 'void server::poll()': -server.cc:333:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 333 | throw error("Activity timeout"); - | ^~~~~~~~~~~~~~~~~~ -server.cc:372:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 372 | throw error("Using incorrect protocol"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc: In member function 'void server::action(int, short int)': -server.cc:521:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 521 | log("Bandwidth exploration reports %ld maximum",cbnd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc: In member function 'void server::changecmod(int)': -server.cc:555:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 555 | printtocons("Choose player name\n"); - | ^~~~~~~~~~~~~~~~~~~~~~ -server.cc:560:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 560 | printtocons("Player name currently exists\nPlease input player password"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:602:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 602 | printtocons("No target"); - | ^~~~~~~~~~~ -server.cc:622:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 622 | printtocons("No target"); - | ^~~~~~~~~~~ -server.cc:645:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 645 | printtocons("Chat with target player\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:650:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 650 | printtocons("Chat with team"); - | ^~~~~~~~~~~~~~~~ -server.cc:655:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 655 | printtocons("Chat with all"); - | ^~~~~~~~~~~~~~~ -server.cc:676:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 676 | printtocons("Admin\n\n[1] Set account password\n[2] Kick user\n[3] Delete user\n[4] Shutdown server"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:680:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 680 | printtocons("Admin\n\n[1] Set account password"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:685:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 685 | printtocons("Choose your password"); - | ^~~~~~~~~~~~~~~~~~~~~~ -server.cc:690:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 690 | printtocons("Confirm your password"); - | ^~~~~~~~~~~~~~~~~~~~~~~ -server.cc:695:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 695 | printtocons("Input username to kick"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:700:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 700 | printtocons("Input username to delete"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc: In member function 'void server::cons(int)': -server.cc:725:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 725 | log("Spawned as %s(%s)",ply->in->cls,ply->in->all->nam); - | ^~~~~~~~~~~~~~~~~~~ -server.cc:730:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 730 | printtomesg("No such alliance"); - | ^~~~~~~~~~~~~~~~~~ -server.cc:768:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 768 | printtomesg("Restore position saved"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:771:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 771 | throw error("Cannot save with a different allegiance"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:775:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 775 | throw error("Out of range"); - | ^~~~~~~~~~~~~~ -server.cc:843:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 843 | log("Server shutdown requested"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc: In member function 'void server::input()': -server.cc:868:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 868 | throw error("Aborted name entry"); - | ^~~~~~~~~~~~~~~~~~~~ -server.cc:874:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 874 | throw error("Name too short"); - | ^~~~~~~~~~~~~~~~ -server.cc:879:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 879 | log("Attempting login"); - | ^~~~~~~~~~~~~~~~~~ -server.cc:883:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 883 | log("Local game login"); - | ^~~~~~~~~~~~~~~~~~ -server.cc:894:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 894 | log("New player created"); - | ^~~~~~~~~~~~~~~~~~~~ -server.cc:911:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 911 | log("Login succeeded"); - | ^~~~~~~~~~~~~~~~~ -server.cc:934:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 934 | printtomesg("Password set successfully"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:935:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 935 | log("Set password"); - | ^~~~~~~~~~~~~~ -server.cc:939:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 939 | printtomesg("Passwords don't match!"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:973:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 973 | log("Attemped kick of %s",inpb); - | ^~~~~~~~~~~~~~~~~~~~~ -server.cc:978:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 978 | bulletin("%s was kicked from the server",inpb); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:987:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 987 | log("Attemped deletion of %s",inpb); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:992:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 992 | bulletin("%s was kicked from the server",inpb); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc: In member function 'void server::kill()': -server.cc:1245:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1245 | printtomesg("You have been destroyed: Game Over"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:1246:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1246 | printtocons("Game over"); - | ^~~~~~~~~~~ -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); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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); @@ -2007,25 +2033,35 @@ 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); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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 create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install - make -j20 install DESTDIR=/build/reproducible-path/starvoyager-0.4.4/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j42 install DESTDIR=/build/reproducible-path/starvoyager-0.4.4/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" 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 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/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 cp starvoyager /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/games/ +cp data/gfx/* /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/games/starvoyager/gfx/ cp README FAQ manual.html /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/doc/starvoyager/ -cp data/*.svd /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/games/starvoyager/ chmod 755 /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/games/starvoyager +cp data/snd/* /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/games/starvoyager/snd/ +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 @@ -2076,8 +2112,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'starvoyager-dbgsym' in '../starvoyager-dbgsym_0.4.4-11_amd64.deb'. dpkg-deb: building package 'starvoyager' in '../starvoyager_0.4.4-11_amd64.deb'. +dpkg-deb: building package 'starvoyager-dbgsym' in '../starvoyager-dbgsym_0.4.4-11_amd64.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_amd64.buildinfo dpkg-genchanges --build=binary -O../starvoyager_0.4.4-11_amd64.changes @@ -2086,12 +2122,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/1411387/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1411387/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/942403 and its subdirectories -I: Current time: Thu Nov 21 11:22:25 -12 2024 -I: pbuilder-time-stamp: 1732231345 +I: removing directory /srv/workspace/pbuilder/1411387 and its subdirectories +I: Current time: Thu Dec 25 19:46:54 +14 2025 +I: pbuilder-time-stamp: 1766641614