Diff of the two buildlogs: -- --- b1/build.log 2024-11-30 14:10:49.420294143 +0000 +++ b2/build.log 2024-11-30 14:11:53.233402533 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Jan 2 08:33:08 -12 2026 -I: pbuilder-time-stamp: 1767385988 +I: Current time: Sun Dec 1 04:10:51 +14 2024 +I: pbuilder-time-stamp: 1732975851 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -31,54 +31,86 @@ dpkg-source: info: applying gcc-6-convert-bool.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/111043/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/42992/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 30 14:11 /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/42992/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/42992/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='f2642570f02f4d4c8ce04742abb591b9' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='111043' - PS1='# ' - PS2='> ' + INVOCATION_ID=9ac9492711ce40f3aa892da30fc9655a + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=42992 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.7moBqqgK/pbuilderrc_Bz2L --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.7moBqqgK/b1 --logfile b1/build.log supertransball2_1.5-12.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.7moBqqgK/pbuilderrc_pOts --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.7moBqqgK/b2 --logfile b2/build.log supertransball2_1.5-12.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos6-i386 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/111043/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/42992/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -375,7 +407,7 @@ Get: 251 http://deb.debian.org/debian unstable/main i386 libsdl-mixer1.2-dev i386 1.2.12-19 [104 kB] Get: 252 http://deb.debian.org/debian unstable/main i386 libsdl-sge i386 030809dfsg-11+b2 [76.6 kB] Get: 253 http://deb.debian.org/debian unstable/main i386 libsdl-sge-dev i386 030809dfsg-11+b2 [160 kB] -Fetched 121 MB in 1s (85.6 MB/s) +Fetched 121 MB in 3s (41.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:i386. (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 ... 19956 files and directories currently installed.) @@ -1199,8 +1231,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Jan 2 20:33:35 UTC 2026. -Universal Time is now: Fri Jan 2 20:33:35 UTC 2026. +Local time is now: Sat Nov 30 14:11:31 UTC 2024. +Universal Time is now: Sat Nov 30 14:11:31 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:i386 (1.17.0-2+b1) ... @@ -1422,7 +1454,11 @@ Building tag database... -> Finished parsing the build-deps 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-12_source.changes +I: user script /srv/workspace/pbuilder/42992/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/42992/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-12_source.changes dpkg-buildpackage: info: source package supertransball2 dpkg-buildpackage: info: source version 1.5-12 dpkg-buildpackage: info: source distribution unstable @@ -1432,7 +1468,7 @@ debian/rules clean dh clean --sourcedirectory=sources dh_auto_clean -O--sourcedirectory=sources - cd sources && make -j22 clean + cd sources && make -j10 clean make[1]: Entering directory '/build/reproducible-path/supertransball2-1.5/sources' rm -f ../supertransball2 rm -f *.o @@ -1445,7 +1481,7 @@ dh_autoreconf -O--sourcedirectory=sources dh_auto_configure -O--sourcedirectory=sources dh_auto_build -O--sourcedirectory=sources - cd sources && make -j22 "INSTALL=install --strip-program=true" + cd sources && make -j10 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/supertransball2-1.5/sources' g++ -c -g3 -O3 auxiliar.cpp -o auxiliar.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 -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL g++ -c -g3 -O3 configuration.cpp -o configuration.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 -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL @@ -1457,30 +1493,6 @@ 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 -Wformat -Werror=format-security `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 -Wformat -Werror=format-security `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 -Wformat -Werror=format-security `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 -Wformat -Werror=format-security `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 -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -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 -Wformat -Werror=format-security `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 -Wformat -Werror=format-security `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 -Wformat -Werror=format-security `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_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 -Wformat -Werror=format-security `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 -Wformat -Werror=format-security `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 -Wformat -Werror=format-security `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_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 -Wformat -Werror=format-security `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_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 -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -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 -Wformat -Werror=format-security `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_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 -Wformat -Werror=format-security `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++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ @@ -1525,13 +1537,71 @@ 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_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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ~~~~~^~~~~~~~~ +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 -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +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_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); + | ^~~~~~~~~~~~~~~~~~~~ +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 -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +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); + | ~~~~~^~~~~~~~~ +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_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 -Wformat -Werror=format-security `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 -Wformat -Werror=format-security `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_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); @@ -1594,112 +1664,58 @@ 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: 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); - | ~~~~~^~~~~~~~~ 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_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 -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -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 -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL -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); - | ^~~~~~~~ +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 -Wformat -Werror=format-security `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_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 -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -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_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_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_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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 -Wformat -Werror=format-security `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 -Wformat -Werror=format-security `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_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 -Wformat -Werror=format-security `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_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 -Wformat -Werror=format-security `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 -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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_instructions.cpp:72:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | font_print(16,30," THE FUTURE, THE SUN DOES NOT SHINE ANYMORE",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state_instructions.cpp:73:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | font_print(16,40,"AND THE ONLY ENERGY SOURCE ARE \"THE SPHERES\".",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_instructions.cpp:74:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | font_print(16,50,"THE SPHERES CONTAIN ENOUGH ENERGY FOR A PLANET",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state_instructions.cpp:75:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | font_print(16,60,"TO SURVIVE. THEY ARE CHARGED WITH THE ENERGY",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_instructions.cpp:76:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | font_print(16,70,"OF OTHER STARS.",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_instructions.cpp:77:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | font_print(16,90," AS THE HUMANS ARE HIGHLY DEPENDENT ON THE",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state_instructions.cpp:78:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | font_print(16,100,"SPHERES, AN OPORTUNIST CIVILIZATION HAS STOLEN",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_instructions.cpp:79:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | font_print(16,110,"ALL THE CHARGED SPHERES FROM THE EARTH EXPECTING",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_instructions.cpp:80:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | font_print(16,120,"TO COLONIZE THE PLANET. AS A LAST CHANCE, THE",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1751,6 +1767,7 @@ state_instructions.cpp:101:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | font_print(16,160," THE SHADOW RUNNER: HIGH SPEED, FEW WEAPONS",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ state_instructions.cpp:102:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 102 | font_print(16,170," THE V-PANTHER 2 : MEDIUM SPEED, MEDIUM WEAPONS",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1790,7 +1807,6 @@ state_instructions.cpp:118:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 118 | font_print(16,130," TO THE UPPER PART.",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 -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL state_instructions.cpp:119:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 119 | font_print(16,140," - YOU CAN KILL THE MANY ENEMIES YOU WILL FIND",screen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1857,11 +1873,71 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ~~~~~^~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~ 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++ +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); + | ^~~~~~~~ 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); @@ -1893,57 +1969,70 @@ 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_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); - | ^~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~ 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); | ~~~~~^~~~~~~~~ -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_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); - | ^~~~~~~~~~~~~~~~~~~~ -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); +main.cpp:50:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 50 | char *datadir="/usr/share/games/supertransball2/"; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 -Wformat -Werror=format-security `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 -Wformat -Werror=format-security `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_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); + | ^~ ~~~~~~~~~ +In file included from /usr/include/stdio.h:970, + from state_mainmenu.cpp:10: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'bool state_mainmenu_cycle(SDL_Surface*, int, int, unsigned char*)' at state_mainmenu.cpp:140:10: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +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 -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +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); | ~~~~~^~~~~~~~~ -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); - | ~~~~~^~~~~~~~~ +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); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +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 -Wformat -Werror=format-security `sdl-config --cflags` -I/usr/local/include/SDL +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); + | ~~~~~^~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +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_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); @@ -1993,59 +2082,6 @@ 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); | ~~~~~^~~~~~~~~ -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); - | ^~ ~~~~~~~~~ -In file included from /usr/include/stdio.h:970, - from state_mainmenu.cpp:10: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'bool state_mainmenu_cycle(SDL_Surface*, int, int, unsigned char*)' at state_mainmenu.cpp:140:10: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 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); - | ^~~~~~~~~~~~~~~~~~~~~ -main.cpp:50:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 50 | char *datadir="/usr/share/games/supertransball2/"; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~^~~~~~~~~ -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); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 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")); @@ -2172,12 +2208,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/42992/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/42992/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/111043 and its subdirectories -I: Current time: Fri Jan 2 08:33:47 -12 2026 -I: pbuilder-time-stamp: 1767386027 +I: removing directory /srv/workspace/pbuilder/42992 and its subdirectories +I: Current time: Sun Dec 1 04:11:52 +14 2024 +I: pbuilder-time-stamp: 1732975912