Diff of the two buildlogs: -- --- b1/build.log 2024-10-09 13:28:07.335173849 +0000 +++ b2/build.log 2024-10-09 13:29:04.524741247 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Oct 9 01:27:19 -12 2024 -I: pbuilder-time-stamp: 1728480439 +I: Current time: Wed Nov 12 09:51:10 +14 2025 +I: pbuilder-time-stamp: 1762890670 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,84 @@ dpkg-source: info: applying gcc-6-convert-bool.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3334931/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/991227/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 Nov 11 19:51 /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/991227/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/991227/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='8cad6b349e5e40c1bd03214311aa5631' - 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='3334931' - PS1='# ' - PS2='> ' + INVOCATION_ID=2cde1e56394640979802fb7a2ba71114 + 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=991227 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.kco3ih6B/pbuilderrc_qoI5 --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.kco3ih6B/b1 --logfile b1/build.log supertransball2_1.5-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.kco3ih6B/pbuilderrc_Vp5h --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.kco3ih6B/b2 --logfile b2/build.log supertransball2_1.5-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 codethink02-arm64 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) 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/3334931/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/991227/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -374,7 +406,7 @@ Get: 253 http://deb.debian.org/debian trixie/main arm64 libsdl-mixer1.2-dev arm64 1.2.12-19 [97.8 kB] Get: 254 http://deb.debian.org/debian trixie/main arm64 libsdl-sge arm64 030809dfsg-11+b1 [63.6 kB] Get: 255 http://deb.debian.org/debian trixie/main arm64 libsdl-sge-dev arm64 030809dfsg-11+b1 [160 kB] -Fetched 105 MB in 1s (138 MB/s) +Fetched 105 MB in 1s (188 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 ... 19899 files and directories currently installed.) @@ -1204,8 +1236,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Oct 9 13:27:48 UTC 2024. -Universal Time is now: Wed Oct 9 13:27:48 UTC 2024. +Local time is now: Tue Nov 11 19:51:41 UTC 2025. +Universal Time is now: Tue Nov 11 19:51:41 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:arm64 (1.17.0-2) ... @@ -1434,7 +1466,11 @@ fakeroot is already the newest version (1.36-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/supertransball2-1.5/ && 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 > ../supertransball2_1.5-11_source.changes +I: user script /srv/workspace/pbuilder/991227/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/991227/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/supertransball2-1.5/ && 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 > ../supertransball2_1.5-11_source.changes dpkg-buildpackage: info: source package supertransball2 dpkg-buildpackage: info: source version 1.5-11 dpkg-buildpackage: info: source distribution unstable @@ -1468,11 +1504,6 @@ g++ -c -g3 -O3 main.cpp -o main.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL g++ -c -g3 -O3 maps.cpp -o maps.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL g++ -c -g3 -O3 replays.cpp -o replays.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_changepack.cpp -o state_changepack.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_chooseship.cpp -o state_chooseship.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_endsequence.cpp -o state_endsequence.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL -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++ @@ -1480,23 +1511,34 @@ 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++ +g++ -c -g3 -O3 state_changepack.cpp -o state_changepack.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g3 -O3 state_chooseship.cpp -o state_chooseship.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g3 -O3 state_endsequence.cpp -o state_endsequence.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -replays.cpp: In function 'int replay_parameters(char*, int*, int*, char*)': -replays.cpp:14:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 14 | chdir(confdir); - | ~~~~~^~~~~~~~~ -replays.cpp:16:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] +encoder.cpp: In function 'void encode(char*, char*)': +encoder.cpp:16:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | chdir(datadir); | ~~~~~^~~~~~~~~ -replays.cpp: In function 'void replay_copy(char*, char*)': -replays.cpp:43:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 43 | chdir(confdir); +encoder.cpp:18:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 18 | chdir(confdir); | ~~~~~^~~~~~~~~ -replays.cpp:47:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | chdir(datadir); +encoder.cpp:20:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 20 | chdir(datadir); | ~~~~~^~~~~~~~~ +encoder.cpp: In function 'void decode(char*, char*)': +encoder.cpp:50:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 50 | chdir(datadir); + | ~~~~~^~~~~~~~~ +encoder.cpp:52:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 52 | chdir(confdir); + | ~~~~~^~~~~~~~~ +encoder.cpp:54:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 54 | chdir(datadir); + | ~~~~~^~~~~~~~~ +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++ configuration.cpp: In function 'bool load_configuration()': configuration.cpp:32:28: warning: format '%i' expects argument of type 'int*', but argument 3 has type 'bool*' [-Wformat=] 32 | if (2!=fscanf(fp,"%i %i",&fullscreen,&PIXEL_SIZE)) { @@ -1516,6 +1558,55 @@ configuration.cpp:56:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | chdir(datadir); | ~~~~~^~~~~~~~~ +game.cpp: In function 'bool gamecycle(SDL_Surface*, int, int)': +game.cpp:141:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 141 | decode(tmp,"decoding.tmp"); + | ^~~~~~~~~~~~~~ +game.cpp:140:22: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 140 | chdir(datadir); + | ~~~~~^~~~~~~~~ +game.cpp:143:22: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 143 | chdir(confdir); + | ~~~~~^~~~~~~~~ +game.cpp:146:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 146 | fscanf(fp,"%i",&NLEVELS); + | ~~~~~~^~~~~~~~~~~~~~~~~~ +game.cpp:149:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 149 | fscanf(fp,"%s %s",tmp,tmp); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +game.cpp:154:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 154 | fscanf(fp,"%s ",tmp); + | ~~~~~~^~~~~~~~~~~~~~ +game.cpp:155:38: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 155 | fgets(tmp,128,fp); + | ~~~~~^~~~~~~~~~~~ +game.cpp:160:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 160 | fscanf(fp,"%s %s",tmp,tmp); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +game.cpp:165:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 165 | fscanf(fp,"%s %i",tmp,&initialfuel[i]); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +game.cpp:176:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 176 | chdir(datadir); + | ~~~~~^~~~~~~~~ +replays.cpp: In function 'int replay_parameters(char*, int*, int*, char*)': +replays.cpp:14:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 14 | chdir(confdir); + | ~~~~~^~~~~~~~~ +replays.cpp:16:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 16 | chdir(datadir); + | ~~~~~^~~~~~~~~ +replays.cpp: In function 'void replay_copy(char*, char*)': +replays.cpp:43:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 43 | chdir(confdir); + | ~~~~~^~~~~~~~~ +replays.cpp:47:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | chdir(datadir); + | ~~~~~^~~~~~~~~ +g++ -c -g3 -O3 state_game.cpp -o state_game.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL +g++ -c -g3 -O3 state_gameover.cpp -o state_gameover.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g3 -O3 state_instructions.cpp -o state_instructions.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL state_endsequence.cpp: In function 'bool state_endsequence_cycle(SDL_Surface*, int, int, unsigned char*)': state_endsequence.cpp:70:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | font_print(16,10," CONGRATULATIONS!",screen); @@ -1547,41 +1638,8 @@ state_endsequence.cpp:83:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | font_print(16,50,"HAVE YOU ALREADY FINISHED ALL THE OTHER PACKS?",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_changepack.cpp: In function 'bool state_changepack_cycle(SDL_Surface*, int, int, unsigned char*)': -state_changepack.cpp:131:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 131 | font_print_centered(sx/2,(sy/2)-24,"CHOOSE LEVEL-PACK:",screen); - | ^~~~~~~~~~~~~~~~~~~~ -state_changepack.cpp:104:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 104 | chdir(datadir); - | ~~~~~^~~~~~~~~ -encoder.cpp: In function 'void encode(char*, char*)': -encoder.cpp:16:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 16 | chdir(datadir); - | ~~~~~^~~~~~~~~ -encoder.cpp:18:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 18 | chdir(confdir); - | ~~~~~^~~~~~~~~ -encoder.cpp:20:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 20 | chdir(datadir); - | ~~~~~^~~~~~~~~ -encoder.cpp: In function 'void decode(char*, char*)': -encoder.cpp:50:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 50 | chdir(datadir); - | ~~~~~^~~~~~~~~ -encoder.cpp:52:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 52 | chdir(confdir); - | ~~~~~^~~~~~~~~ -encoder.cpp:54:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 54 | chdir(datadir); - | ~~~~~^~~~~~~~~ -g++ -c -g3 -O3 state_game.cpp -o state_game.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL +g++ -c -g3 -O3 state_interphase.cpp -o state_interphase.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g3 -O3 state_gameover.cpp -o state_gameover.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_instructions.cpp -o state_instructions.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL -game.cpp: In function 'bool gamecycle(SDL_Surface*, int, int)': -game.cpp:141:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 141 | decode(tmp,"decoding.tmp"); - | ^~~~~~~~~~~~~~ state_chooseship.cpp: In function 'bool state_chooseship_cycle(SDL_Surface*, int, int, unsigned char*)': state_chooseship.cpp:81:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | font_print_centered(sx/2,40,"CHOOSE YOUR SHIP:",screen); @@ -1601,6 +1659,7 @@ state_chooseship.cpp:87:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | font_print(100,110," - MODERATE SPEED.",screen); | ^~~~~~~~~~~~~~~~~~~~ +g++ -c -g3 -O3 state_keyredefinition.cpp -o state_keyredefinition.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL state_chooseship.cpp:88:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | font_print(100,120," - MEDIUM POWERED WEAPONS.",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1613,99 +1672,17 @@ state_chooseship.cpp:92:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | font_print(100,160," - HIGH POWERED WEAPONS.",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -game.cpp:140:22: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 140 | chdir(datadir); - | ~~~~~^~~~~~~~~ -game.cpp:143:22: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 143 | chdir(confdir); - | ~~~~~^~~~~~~~~ -game.cpp:146:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 146 | fscanf(fp,"%i",&NLEVELS); - | ~~~~~~^~~~~~~~~~~~~~~~~~ -game.cpp:149:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 149 | fscanf(fp,"%s %s",tmp,tmp); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -game.cpp:154:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 154 | fscanf(fp,"%s ",tmp); - | ~~~~~~^~~~~~~~~~~~~~ -game.cpp:155:38: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 155 | fgets(tmp,128,fp); - | ~~~~~^~~~~~~~~~~~ -game.cpp:160:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 160 | fscanf(fp,"%s %s",tmp,tmp); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -game.cpp:165:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 165 | fscanf(fp,"%s %i",tmp,&initialfuel[i]); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -game.cpp:176:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 176 | chdir(datadir); - | ~~~~~^~~~~~~~~ -g++ -c -g3 -O3 state_interphase.cpp -o state_interphase.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -state_game.cpp: In function 'bool state_game_cycle(SDL_Surface*, int, int, unsigned char*)': -state_game.cpp:93:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 93 | font_print(sx/2,sy/2-16,"PAUSE",screen); - | ^~~~~~~ -g++ -c -g3 -O3 state_keyredefinition.cpp -o state_keyredefinition.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL -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++ +state_changepack.cpp: In function 'bool state_changepack_cycle(SDL_Surface*, int, int, unsigned char*)': +state_changepack.cpp:131:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 131 | font_print_centered(sx/2,(sy/2)-24,"CHOOSE LEVEL-PACK:",screen); + | ^~~~~~~~~~~~~~~~~~~~ +state_changepack.cpp:104:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 104 | chdir(datadir); + | ~~~~~^~~~~~~~~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -c -g3 -O3 state_levelfinished.cpp -o state_levelfinished.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL -state_gameover.cpp: In function 'bool state_gameover_cycle(SDL_Surface*, int, int, unsigned char*)': -state_gameover.cpp:69:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 69 | font_print_centered(sx/2,(sy/2)-24,"GAME OVER",screen); - | ^~~~~~~~~~~ -state_gameover.cpp:70:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 70 | font_print_centered(sx/2,(sy/2)-16,"PRESS R TO VIEW THE REPLAYS",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g3 -O3 state_logo.cpp -o state_logo.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL -state_keyredefinition.cpp: In function 'bool state_keyredefinition_cycle(SDL_Surface*, int, int, unsigned char*)': -state_keyredefinition.cpp:80:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 80 | font_print_centered(sx/2,40,"REDEFINE KEYBOARD:",screen); - | ^~~~~~~~~~~~~~~~~~~~ -state_keyredefinition.cpp:107:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 107 | font_print(16,60,"PRESS A KEY FOR THRUST:",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -state_keyredefinition.cpp:113:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 113 | font_print(16,70,"PRESS A KEY FOR ANTITHRUST:",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_keyredefinition.cpp:119:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 119 | font_print(16,80,"PRESS A KEY FOR LEFT:",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~ -state_keyredefinition.cpp:125:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 125 | font_print(16,90,"PRESS A KEY FOR RIGHT:",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -state_keyredefinition.cpp:131:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 131 | font_print(16,100,"PRESS A KEY FOR FIRE:",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~ -state_keyredefinition.cpp:137:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 137 | font_print(16,110,"PRESS A KEY FOR ATRACTOR:",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_keyredefinition.cpp:143:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 143 | font_print(16,120,"PRESS A KEY FOR PAUSE:",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -state_keyredefinition.cpp:149:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 149 | font_print(32,140,"PRESS ANY KEY",screen); - | ^~~~~~~~~~~~~~~ -g++ -c -g3 -O3 state_mainmenu.cpp -o state_mainmenu.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL -state_interphase.cpp: In function 'bool state_interphase_cycle(SDL_Surface*, int, int, unsigned char*)': -state_interphase.cpp:96:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 96 | game=new TRANSBALL("graphics/","sound/","maps/",initialfuel[level],levelnames[level],ship_type); - | ^~~~~~~~~~~ -state_interphase.cpp:96:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 96 | game=new TRANSBALL("graphics/","sound/","maps/",initialfuel[level],levelnames[level],ship_type); - | ^~~~~~~~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -state_interphase.cpp:96:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 96 | game=new TRANSBALL("graphics/","sound/","maps/",initialfuel[level],levelnames[level],ship_type); - | ^~~~~~~ -state_interphase.cpp:98:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 98 | chdir(confdir); - | ~~~~~^~~~~~~~~ -state_interphase.cpp:100:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 100 | chdir(datadir); - | ~~~~~^~~~~~~~~ state_instructions.cpp: In function 'bool state_instructions_cycle(SDL_Surface*, int, int, unsigned char*)': state_instructions.cpp:70:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | font_print(16,10," SUPER TRANSBALL 2 V1.5",screen); @@ -1830,6 +1807,10 @@ state_instructions.cpp:120:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | font_print(16,150," USING YOUR CANONS, SEVERAL SHOTS ARE NEEDED",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_game.cpp: In function 'bool state_game_cycle(SDL_Surface*, int, int, unsigned char*)': +state_game.cpp:93:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 93 | font_print(sx/2,sy/2-16,"PAUSE",screen); + | ^~~~~~~ state_instructions.cpp:121:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | font_print(16,160," TO KILL THE ENEMIES [DEPENDING ON THE SHIP].",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1890,29 +1871,84 @@ state_instructions.cpp:149:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | font_print(16,120," SEE README FILE FOR MORE INFO",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -c -g3 -O3 state_replay.cpp -o state_replay.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 state_replaymanager.cpp -o state_replaymanager.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL +g++ -c -g3 -O3 state_logo.cpp -o state_logo.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g3 -O3 state_typetext.cpp -o state_typetext.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL +g++ -c -g3 -O3 state_mainmenu.cpp -o state_mainmenu.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g3 -O3 state_replay.cpp -o state_replay.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL +state_gameover.cpp: In function 'bool state_gameover_cycle(SDL_Surface*, int, int, unsigned char*)': +state_gameover.cpp:69:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 69 | font_print_centered(sx/2,(sy/2)-24,"GAME OVER",screen); + | ^~~~~~~~~~~ +state_gameover.cpp:70:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 70 | font_print_centered(sx/2,(sy/2)-16,"PRESS R TO VIEW THE REPLAYS",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -c -g3 -O3 state_replaymanager.cpp -o state_replaymanager.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL +state_keyredefinition.cpp: In function 'bool state_keyredefinition_cycle(SDL_Surface*, int, int, unsigned char*)': +state_keyredefinition.cpp:80:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 80 | font_print_centered(sx/2,40,"REDEFINE KEYBOARD:",screen); + | ^~~~~~~~~~~~~~~~~~~~ +state_keyredefinition.cpp:107:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 107 | font_print(16,60,"PRESS A KEY FOR THRUST:",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +state_keyredefinition.cpp:113:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 113 | font_print(16,70,"PRESS A KEY FOR ANTITHRUST:",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_keyredefinition.cpp:119:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 119 | font_print(16,80,"PRESS A KEY FOR LEFT:",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~ +state_keyredefinition.cpp:125:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 125 | font_print(16,90,"PRESS A KEY FOR RIGHT:",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +state_keyredefinition.cpp:131:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 131 | font_print(16,100,"PRESS A KEY FOR FIRE:",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~ +state_keyredefinition.cpp:137:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 137 | font_print(16,110,"PRESS A KEY FOR ATRACTOR:",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_keyredefinition.cpp:143:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 143 | font_print(16,120,"PRESS A KEY FOR PAUSE:",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +state_keyredefinition.cpp:149:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 149 | font_print(32,140,"PRESS ANY KEY",screen); + | ^~~~~~~~~~~~~~~ +state_interphase.cpp: In function 'bool state_interphase_cycle(SDL_Surface*, int, int, unsigned char*)': +state_interphase.cpp:96:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 96 | game=new TRANSBALL("graphics/","sound/","maps/",initialfuel[level],levelnames[level],ship_type); + | ^~~~~~~~~~~ +state_interphase.cpp:96:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 96 | game=new TRANSBALL("graphics/","sound/","maps/",initialfuel[level],levelnames[level],ship_type); + | ^~~~~~~~ +state_interphase.cpp:96:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 96 | game=new TRANSBALL("graphics/","sound/","maps/",initialfuel[level],levelnames[level],ship_type); + | ^~~~~~~ +state_interphase.cpp:98:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 98 | chdir(confdir); + | ~~~~~^~~~~~~~~ +state_interphase.cpp:100:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 100 | chdir(datadir); + | ~~~~~^~~~~~~~~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ state_logo.cpp: In function 'bool state_logo_cycle(SDL_Surface*, int, int, unsigned char*)': state_logo.cpp:72:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | font_print_centered(sx/2,sy-64,"PRESENTS",screen); | ^~~~~~~~~~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -c -g3 -O3 tiles.cpp -o tiles.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL -g++ -c -g3 -O3 transball.cpp -o transball.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL state_levelfinished.cpp: In function 'bool state_levelfinished_cycle(SDL_Surface*, int, int, unsigned char*)': state_levelfinished.cpp:147:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 147 | font_print_centered(sx/2,(sy/2)-8,"PREVIOUS HIGH: --",screen); | ^~~~~~~~~~~~~~~~~~~ +g++ -c -g3 -O3 state_typetext.cpp -o state_typetext.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL state_levelfinished.cpp:163:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 163 | font_print_centered(sx/2,(sy/2)+40,"SPACE - CONTINUE",screen); | ^~~~~~~~~~~~~~~~~~ state_levelfinished.cpp:164:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 164 | font_print_centered(sx/2,(sy/2)+48,"R - REPEAT LEVEL",screen); | ^~~~~~~~~~~~~~~~~~ +main.cpp:50:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 50 | char *datadir="/usr/share/games/supertransball2/"; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state_mainmenu.cpp: In function 'bool state_mainmenu_cycle(SDL_Surface*, int, int, unsigned char*)': state_mainmenu.cpp:129:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 129 | font_print(SCREEN_X/2-72,sy-72,"FIRE - START GAME",screen); @@ -1944,21 +1980,42 @@ state_mainmenu.cpp:174:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 174 | game=new TRANSBALL("graphics/","sound/","maps/",fuel,levelname,ship_type); | ^~~~~~~ -main.cpp:50:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 50 | char *datadir="/usr/share/games/supertransball2/"; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +maps.cpp: In constructor 'TRANSBALL_MAP::TRANSBALL_MAP(char*)': +maps.cpp:31:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 31 | chdir(datadir); + | ~~~~~^~~~~~~~~ +maps.cpp:40:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 40 | fscanf(fp,"%i %i",&sx,&sy); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +maps.cpp:47:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | fscanf(fp,"%i",&(map[i])); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +maps.cpp:133:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 133 | fscanf(fp,"%i %i",&(d->state),&(d->event)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +maps.cpp:167:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 167 | fscanf(fp,"%i",&ntanks); + | ~~~~~~^~~~~~~~~~~~~~~~~ +maps.cpp:172:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 172 | fscanf(fp,"%i %i %i",&x,&y,&type); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +maps.cpp:191:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | fscanf(fp,"%i",&background_type); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ state_mainmenu.cpp:163:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 163 | chdir(datadir); | ~~~~~^~~~~~~~~ +g++ -c -g3 -O3 tiles.cpp -o tiles.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -state_replay.cpp: In function 'bool state_replay_cycle(SDL_Surface*, int, int, unsigned char*)': -state_replay.cpp:96:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 96 | font_print(sx/2,sy/2-16,"PAUSE",screen); - | ^~~~~~~ +main.cpp: In function 'int main(int, char**)': +main.cpp:142:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 142 | chdir(confdir); + | ~~~~~^~~~~~~~~ +main.cpp:157:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 157 | chdir(datadir); + | ~~~~~^~~~~~~~~ +g++ -c -g3 -O3 transball.cpp -o transball.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/supertransball2-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `sdl-config --cflags` -I/usr/local/include/SDL cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -state_replay.cpp:116:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 116 | font_print_centered(sx/2,sy-10,"REPLAY",screen); - | ^~~~~~~~ state_mainmenu.cpp:140:41: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] 140 | sprintf(tmp,"LEVELPACK: %s",levelpack); | ^~ ~~~~~~~~~ @@ -1973,10 +2030,14 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -state_typetext.cpp: In function 'bool state_typetext_cycle(SDL_Surface*, int, int, unsigned char*)': -state_typetext.cpp:85:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 85 | font_print_centered(sx/2,40,"ENTER LEVEL CODE:",screen); - | ^~~~~~~~~~~~~~~~~~~ +state_replay.cpp: In function 'bool state_replay_cycle(SDL_Surface*, int, int, unsigned char*)': +state_replay.cpp:96:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 96 | font_print(sx/2,sy/2-16,"PAUSE",screen); + | ^~~~~~~ +state_replay.cpp:116:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 116 | font_print_centered(sx/2,sy-10,"REPLAY",screen); + | ^~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ state_replaymanager.cpp: In function 'bool state_replaymanager_cycle(SDL_Surface*, int, int, unsigned char*)': state_replaymanager.cpp:141:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | if (replay_source==0) font_print_centered(sx/2,20,"REPLAY FILES [TAB - CHANGE SOURCE]:",screen); @@ -2008,16 +2069,6 @@ state_replaymanager.cpp:229:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 229 | game=new TRANSBALL("graphics/","sound/","maps/",fuel,levelname,ship_type); | ^~~~~~~ -main.cpp: In function 'int main(int, char**)': -main.cpp:142:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 142 | chdir(confdir); - | ~~~~~^~~~~~~~~ -main.cpp:157:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 157 | chdir(datadir); - | ~~~~~^~~~~~~~~ -state_typetext.cpp:89:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 89 | font_print_centered(sx/2,40,"TYPE NEW FILE NAME:",screen); - | ^~~~~~~~~~~~~~~~~~~~~ state_replaymanager.cpp:109:22: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 109 | chdir(confdir); | ~~~~~^~~~~~~~~ @@ -2036,28 +2087,13 @@ state_replaymanager.cpp:340:38: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 340 | chdir(datadir); | ~~~~~^~~~~~~~~ -maps.cpp: In constructor 'TRANSBALL_MAP::TRANSBALL_MAP(char*)': -maps.cpp:31:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 31 | chdir(datadir); - | ~~~~~^~~~~~~~~ -maps.cpp:40:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 40 | fscanf(fp,"%i %i",&sx,&sy); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -maps.cpp:47:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | fscanf(fp,"%i",&(map[i])); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -maps.cpp:133:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 133 | fscanf(fp,"%i %i",&(d->state),&(d->event)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -maps.cpp:167:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 167 | fscanf(fp,"%i",&ntanks); - | ~~~~~~^~~~~~~~~~~~~~~~~ -maps.cpp:172:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 172 | fscanf(fp,"%i %i %i",&x,&y,&type); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -maps.cpp:191:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | fscanf(fp,"%i",&background_type); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +state_typetext.cpp: In function 'bool state_typetext_cycle(SDL_Surface*, int, int, unsigned char*)': +state_typetext.cpp:85:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 85 | font_print_centered(sx/2,40,"ENTER LEVEL CODE:",screen); + | ^~~~~~~~~~~~~~~~~~~ +state_typetext.cpp:89:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 89 | font_print_centered(sx/2,40,"TYPE NEW FILE NAME:",screen); + | ^~~~~~~~~~~~~~~~~~~~~ transball.cpp: In constructor 'TRANSBALL::TRANSBALL(char*, char*, char*, int, char*, int)': transball.cpp:44:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 44 | tiles_sfc = IMG_Load(g_filename("tiles.pcx")); @@ -2190,12 +2226,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/991227/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/991227/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/3334931 and its subdirectories -I: Current time: Wed Oct 9 01:28:06 -12 2024 -I: pbuilder-time-stamp: 1728480486 +I: removing directory /srv/workspace/pbuilder/991227 and its subdirectories +I: Current time: Wed Nov 12 09:52:03 +14 2025 +I: pbuilder-time-stamp: 1762890723