Diff of the two buildlogs: -- --- b1/build.log 2024-05-13 15:52:21.610354435 +0000 +++ b2/build.log 2024-05-13 15:53:16.967999381 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon May 13 03:51:22 -12 2024 -I: pbuilder-time-stamp: 1715615482 +I: Current time: Mon Jun 16 12:15:24 +14 2025 +I: pbuilder-time-stamp: 1750025724 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/263754/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2163952/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 Jun 15 22:15 /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/2163952/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2163952/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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(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='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='44ae7186a7d642b488ffdc2e2a86280e' - 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='263754' - PS1='# ' - PS2='> ' + INVOCATION_ID=eb42af6ff2804629a7b92d90486cdd78 + 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=2163952 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.uVIezngp/pbuilderrc_Qz9U --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.uVIezngp/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.uVIezngp/pbuilderrc_nR5t --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.uVIezngp/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 codethink04-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 13 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/263754/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 15 14:06 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2163952/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -363,7 +395,7 @@ Get: 242 http://deb.debian.org/debian unstable/main arm64 libsdl-mixer1.2-dev arm64 1.2.12-18 [96.8 kB] Get: 243 http://deb.debian.org/debian unstable/main arm64 libsdl-sge arm64 030809dfsg-11+b1 [63.6 kB] Get: 244 http://deb.debian.org/debian unstable/main arm64 libsdl-sge-dev arm64 030809dfsg-11+b1 [160 kB] -Fetched 97.9 MB in 1s (125 MB/s) +Fetched 97.9 MB in 0s (206 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-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 ... 19744 files and directories currently installed.) @@ -1148,8 +1180,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon May 13 15:52:02 UTC 2024. -Universal Time is now: Mon May 13 15:52:02 UTC 2024. +Local time is now: Sun Jun 15 22:15:53 UTC 2025. +Universal Time is now: Sun Jun 15 22:15:53 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libsysprof-capture-4-dev:arm64 (46.0-1) ... @@ -1377,7 +1409,11 @@ fakeroot is already the newest version (1.34-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/2163952/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2163952/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 @@ -1411,20 +1447,35 @@ 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++ 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++ 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++ +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); + | ~~~~~^~~~~~~~~ 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); @@ -1439,31 +1490,73 @@ encoder.cpp:50:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | chdir(datadir); | ~~~~~^~~~~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ 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); | ~~~~~^~~~~~~~~ -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); - | ~~~~~^~~~~~~~~ +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); + | ~~~~~^~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:72:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 72 | font_print(16,30,"YOU HAVE RECOVERED ALL THE STOLEN SPHERES!!",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:73:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 73 | font_print(16,40,"YOU HAVE GIVEN THE HUMAN KIND ANOTHER CHANCE",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:74:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 74 | font_print(16,50,"TO SURVIVE. BUT THIS IS NOT THE END, A WAR HAS",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:75:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 75 | font_print(16,60,"STARTED BETWEEN THE HUMANS AND THE ALIEN RACE...",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:77:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 77 | font_print(16,80,"MORE CHALLENGES AWAIT YOU IN TRANSBALL 3...",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:79:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 79 | font_print(16,10," CONGRATULATIONS!",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:81:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 81 | font_print(16,30,"YOU HAVE FINISHED THIS LEVEL-PACK!!",screen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +state_endsequence.cpp:82:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 82 | font_print(16,40,"BUT...",screen); + | ^~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~ +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)) { + | ~^ ~~~~~~~~~~~ + | | | + | int* bool* +configuration.cpp:21:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 21 | chdir(confdir); + | ~~~~~^~~~~~~~~ +configuration.cpp:23:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 23 | chdir(datadir); + | ~~~~~^~~~~~~~~ +configuration.cpp: In function 'void save_configuration()': +configuration.cpp:54:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 54 | chdir(confdir); + | ~~~~~^~~~~~~~~ +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:140:22: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | chdir(datadir); | ~~~~~^~~~~~~~~ @@ -1491,6 +1584,8 @@ 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_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 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); @@ -1522,82 +1617,32 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -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); - | ^~~~~~~~~~~~~~~~~~~~ -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)) { - | ~^ ~~~~~~~~~~~ - | | | - | int* bool* -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:72:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 72 | font_print(16,30,"YOU HAVE RECOVERED ALL THE STOLEN SPHERES!!",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:73:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 73 | font_print(16,40,"YOU HAVE GIVEN THE HUMAN KIND ANOTHER CHANCE",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:74:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 74 | font_print(16,50,"TO SURVIVE. BUT THIS IS NOT THE END, A WAR HAS",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); - | ~~~~~^~~~~~~~~ -state_endsequence.cpp:75:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 75 | font_print(16,60,"STARTED BETWEEN THE HUMANS AND THE ALIEN RACE...",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:77:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 77 | font_print(16,80,"MORE CHALLENGES AWAIT YOU IN TRANSBALL 3...",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:79:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 79 | font_print(16,10," CONGRATULATIONS!",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:81:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 81 | font_print(16,30,"YOU HAVE FINISHED THIS LEVEL-PACK!!",screen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -state_endsequence.cpp:82:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 82 | font_print(16,40,"BUT...",screen); - | ^~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -configuration.cpp:21:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 21 | chdir(confdir); - | ~~~~~^~~~~~~~~ -configuration.cpp:23:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 23 | chdir(datadir); - | ~~~~~^~~~~~~~~ -configuration.cpp: In function 'void save_configuration()': -configuration.cpp:54:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 54 | chdir(confdir); - | ~~~~~^~~~~~~~~ -configuration.cpp:56:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 56 | chdir(datadir); - | ~~~~~^~~~~~~~~ +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 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_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 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 -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++ -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 +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++ +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 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 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++ +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++ 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_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 +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_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); @@ -1656,7 +1701,6 @@ state_instructions.cpp:93:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 93 | font_print(16,70," O - TURN LEFT",screen); | ^~~~~~~~~~~~~~~~~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ state_instructions.cpp:94:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 94 | font_print(16,80," P - TURN RIGHT",screen); | ^~~~~~~~~~~~~~~~~~~~~~ @@ -1783,6 +1827,7 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ 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); @@ -1802,13 +1847,6 @@ 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_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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1818,6 +1856,7 @@ 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_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_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); @@ -1834,18 +1873,6 @@ 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); | ~~~~~^~~~~~~~~ -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 -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 -main.cpp:50:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 50 | char *datadir="/usr/share/games/supertransball2/"; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~ -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 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); @@ -1856,16 +1883,9 @@ 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); | ^~~~~~~~~~~~~~~~~~ -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 +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 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++ -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_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); @@ -1873,6 +1893,24 @@ 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); | ^~~~~~~~ +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 +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_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); + | ^~~~~~~~~~ +main.cpp:50:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 50 | char *datadir="/usr/share/games/supertransball2/"; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~ 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); @@ -1898,17 +1936,12 @@ state_mainmenu.cpp:174:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 174 | game=new TRANSBALL("graphics/","sound/","maps/",fuel,levelname,ship_type); | ^~~~~~~~~~~ -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_mainmenu.cpp:174:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 174 | game=new TRANSBALL("graphics/","sound/","maps/",fuel,levelname,ship_type); | ^~~~~~~~ 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); | ^~~~~~~ -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); - | ~~~~~^~~~~~~~~ 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); @@ -1931,6 +1964,9 @@ state_replaymanager.cpp:155:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 155 | char *sname[3]={"SH.RNR.","PNTR.2","X-TRM."}; | ^~~~~~~~ +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); + | ~~~~~^~~~~~~~~ state_replaymanager.cpp:229:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 229 | game=new TRANSBALL("graphics/","sound/","maps/",fuel,levelname,ship_type); | ^~~~~~~~~~~ @@ -1958,6 +1994,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); | ~~~~~^~~~~~~~~ +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_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); | ^~ ~~~~~~~~~ @@ -1972,13 +2015,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_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); - | ^~~~~~~~~~~~~~~~~~~~~ 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); @@ -2129,12 +2165,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/2163952/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2163952/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/263754 and its subdirectories -I: Current time: Mon May 13 03:52:20 -12 2024 -I: pbuilder-time-stamp: 1715615540 +I: removing directory /srv/workspace/pbuilder/2163952 and its subdirectories +I: Current time: Mon Jun 16 12:16:15 +14 2025 +I: pbuilder-time-stamp: 1750025775