Diff of the two buildlogs: -- --- b1/build.log 2024-12-11 01:46:59.342160277 +0000 +++ b2/build.log 2024-12-11 01:48:18.394571796 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jan 12 20:06:59 -12 2026 -I: pbuilder-time-stamp: 1768291619 +I: Current time: Wed Dec 11 15:47:01 +14 2024 +I: pbuilder-time-stamp: 1733881621 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -35,51 +35,83 @@ dpkg-source: info: applying 09_sort_source_files.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2754010/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/785273/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 11 01:47 /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/785273/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/785273/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' + 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]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='aee51774c4304cf29b9eb6439c619b21' - 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='2754010' - PS1='# ' - PS2='> ' + INVOCATION_ID=afc60041f6624bb4a96eaa0c25e64c76 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=785273 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.IzsrAAMI/pbuilderrc_VA1M --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.IzsrAAMI/b1 --logfile b1/build.log tomatoes_1.55-10.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' + 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.IzsrAAMI/pbuilderrc_UEmp --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.IzsrAAMI/b2 --logfile b2/build.log tomatoes_1.55-10.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' I: uname -a - Linux infom02-amd64 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-cloud-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/2754010/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/785273/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -371,7 +403,7 @@ Get: 248 http://deb.debian.org/debian trixie/main amd64 libsdl-mixer1.2 amd64 1.2.12-19 [81.1 kB] Get: 249 http://deb.debian.org/debian trixie/main amd64 libvorbis-dev amd64 1.3.7-2+b1 [326 kB] Get: 250 http://deb.debian.org/debian trixie/main amd64 libsdl-mixer1.2-dev amd64 1.2.12-19 [97.6 kB] -Fetched 114 MB in 1s (105 MB/s) +Fetched 114 MB in 4s (32.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19965 files and directories currently installed.) @@ -1185,8 +1217,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Jan 13 08:08:38 UTC 2026. -Universal Time is now: Tue Jan 13 08:08:38 UTC 2026. +Local time is now: Wed Dec 11 01:47:55 UTC 2024. +Universal Time is now: Wed Dec 11 01:47:55 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:amd64 (1.17.0-2+b1) ... @@ -1406,7 +1438,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/tomatoes-1.55/ && 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 > ../tomatoes_1.55-10_source.changes +I: user script /srv/workspace/pbuilder/785273/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/785273/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/tomatoes-1.55/ && 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 > ../tomatoes_1.55-10_source.changes dpkg-buildpackage: info: source package tomatoes dpkg-buildpackage: info: source version 1.55-10 dpkg-buildpackage: info: source distribution unstable @@ -1455,6 +1491,8 @@ 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++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/main.cpp -o obj/main.o +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ src/config.cpp: In function 'void load_config(std::string, CONFIG*)': src/config.cpp:107:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 107 | error_msg("Unable to load config file: %s!", file.c_str()); @@ -1463,36 +1501,6 @@ src/config.cpp:134:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 134 | error_msg("Unable to save config file: %s!", file.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/init.cpp: In function 'void init_sdl_and_gl()': -src/init.cpp:94:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 94 | error_msg("Sorry, 8-bit color depth is not supported!\nYou must use 15, 16, 24 or 32-bit mode.\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/init.cpp:98:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 98 | error_msg("Unable to init SDL: %s", SDL_GetError()); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -src/init.cpp:108:41: note: in expansion of macro 'MPK_DIR' - 108 | if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) - | ^~~~~~~ -: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -src/init.cpp:108:65: note: in expansion of macro 'OVERRIDE_DIR' - 108 | if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) - | ^~~~~~~~~~~~ -src/init.cpp:109:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 109 | error_msg("Unable to open 'tomatoes.mpk'.\nThe file either doesn't exist or is corrupted."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/init.cpp:113:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 113 | FILE *fin = pakfile.open_file("icon.bmp"); - | ^~~~~~~~~~ -src/init.cpp:115:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 115 | error_msg("Unable to load the icon!\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/init.cpp:118:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 118 | error_msg("Unable to load the icon!\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/init.cpp:135:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 135 | error_msg("Unable to set the OpenGL video mode %d x %d (%d bit)!\n%s", config.vid_w, config.vid_h, config.vid_color_depth, SDL_GetError()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp: In function 'void load_config(std::string, CONFIG*)': src/config.cpp:109:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 109 | fscanf(f, "video_mode = %d x %d\n", &(conf->vid_w), &(conf->vid_h)); @@ -1542,21 +1550,36 @@ src/config.cpp:124:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | fscanf(f, "moving_style = %d %d\n", &(conf->moving_style[0]), &(conf->moving_style[1])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/main.cpp -o obj/main.o -src/game.cpp: In function 'void draw()': -src/game.cpp:223:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 223 | glprintf_center(font1, 0, 0, 9, -25, "FPS: %02.1f", fps); - | ^~~~~~~~~~~~~ -src/game.cpp:260:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 260 | glprintf_center(font1, 0, 0, 2.0f, -13, "ARE YOU SURE YOU WANT TO EXIT?"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/game.cpp:261:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 261 | glprintf_center(font1, 0, 0, 1.1f, -13, "Press ESC to exit, or ENTER to resume."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/game.cpp: In function 'void start_game(bool)': -src/game.cpp:526:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 526 | int place = list.add_name("null", kill_count); - | ^~~~~~ +src/init.cpp: In function 'void init_sdl_and_gl()': +src/init.cpp:94:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 94 | error_msg("Sorry, 8-bit color depth is not supported!\nYou must use 15, 16, 24 or 32-bit mode.\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/init.cpp:98:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 98 | error_msg("Unable to init SDL: %s", SDL_GetError()); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] +src/init.cpp:108:41: note: in expansion of macro 'MPK_DIR' + 108 | if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) + | ^~~~~~~ +: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] +src/init.cpp:108:65: note: in expansion of macro 'OVERRIDE_DIR' + 108 | if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) + | ^~~~~~~~~~~~ +src/init.cpp:109:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 109 | error_msg("Unable to open 'tomatoes.mpk'.\nThe file either doesn't exist or is corrupted."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/init.cpp:113:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 113 | FILE *fin = pakfile.open_file("icon.bmp"); + | ^~~~~~~~~~ +src/init.cpp:115:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 115 | error_msg("Unable to load the icon!\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/init.cpp:118:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 118 | error_msg("Unable to load the icon!\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/init.cpp:135:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 135 | error_msg("Unable to set the OpenGL video mode %d x %d (%d bit)!\n%s", config.vid_w, config.vid_h, config.vid_color_depth, SDL_GetError()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/hiscore.cpp: In member function 'void HISCORE_LIST::input_name(int)': src/hiscore.cpp:333:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 333 | glprintf_center(font1, 0, 0, -4.5f, -13, "CONGRATULATIONS"); @@ -1578,7 +1601,6 @@ src/hiscore.cpp:408:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 408 | error_msg("Unable to save the hiscore list to %s!\n", file.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ src/hiscore.cpp: In member function 'void HISCORE_LIST::load(std::string)': src/hiscore.cpp:436:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 436 | fread(&list[f].score, sizeof(int), 1, fin); @@ -1586,6 +1608,52 @@ src/hiscore.cpp:440:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 440 | fread(list[f].name, NAME_LEN, 1, fin); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/menu.cpp -o obj/menu.o +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/mpak.cpp -o obj/mpak.o +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/mymath.cpp -o obj/mymath.o +src/enemy.cpp: In function 'void load_enemies()': +src/enemy.cpp:80:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 80 | enemy_anim[0] = load_png("enemy1.png", true, false, false); + | ^~~~~~~~~~~~ +src/enemy.cpp:81:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 81 | enemy_anim[1] = load_png("enemy2.png", true, false, false); + | ^~~~~~~~~~~~ +src/enemy.cpp:82:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 82 | enemy_anim[2] = load_png("enemy3.png", true, false, false); + | ^~~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +src/game.cpp: In function 'void draw()': +src/game.cpp:223:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 223 | glprintf_center(font1, 0, 0, 9, -25, "FPS: %02.1f", fps); + | ^~~~~~~~~~~~~ +src/game.cpp:260:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 260 | glprintf_center(font1, 0, 0, 2.0f, -13, "ARE YOU SURE YOU WANT TO EXIT?"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/game.cpp:261:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 261 | glprintf_center(font1, 0, 0, 1.1f, -13, "Press ESC to exit, or ENTER to resume."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/game.cpp: In function 'void start_game(bool)': +src/game.cpp:526:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 526 | int place = list.add_name("null", kill_count); + | ^~~~~~ +src/bomb.cpp: In function 'void load_bombs()': +src/bomb.cpp:80:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 80 | bomb_tex[0] = load_png("bomb1.png", true, false, false); + | ^~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +src/helpers.cpp: In function 'void load_wisps()': +src/helpers.cpp:85:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 85 | wisp_tex = load_jpg("wisp.jpg", false, false, true); + | ^~~~~~~~~~ +src/bomb.cpp: In member function 'void BOMB::move()': +src/bomb.cpp:456:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 456 | add_comment(COL_DEFAULT, "Five enemies with one bomb!"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/helpers.cpp: In function 'void load_potatoman()': +src/helpers.cpp:300:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 300 | potatoman_tex = load_png("potatoman.png", true, false, false); + | ^~~~~~~~~~~~~~~ src/levels.cpp: In function 'void load_bg_number(int)': src/levels.cpp:181:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 181 | load_texture_into(cur_bground, str, "JPG", false, false, true); @@ -1598,17 +1666,6 @@ src/levels.cpp:256:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 256 | add_comment(COL_DEFAULT, "Ten seconds left."); | ^~~~~~~~~~~~~~~~~~~ -src/levels.cpp:318:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 318 | add_comment(COL_DEFAULT, "Level finished."); - | ^~~~~~~~~~~~~~~~~ -src/levels.cpp:320:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 320 | add_comment(COL_DEFAULT, "GAME OVER"); - | ^~~~~~~~~~~ -src/levels.cpp: In function 'void next_level()': -src/levels.cpp:378:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 378 | add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/menu.cpp -o obj/menu.o src/bonus.cpp: In function 'void load_bonus()': src/bonus.cpp:97:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 97 | bonus_tex = load_png("bonus.png", true, false, false); @@ -1616,19 +1673,6 @@ src/bonus.cpp:98:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 98 | bonus_particle = load_jpg("bonus_part.jpg", false, false, true); | ^~~~~~~~~~~~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -src/enemy.cpp: In function 'void load_enemies()': -src/enemy.cpp:80:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 80 | enemy_anim[0] = load_png("enemy1.png", true, false, false); - | ^~~~~~~~~~~~ -src/enemy.cpp:81:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 81 | enemy_anim[1] = load_png("enemy2.png", true, false, false); - | ^~~~~~~~~~~~ -src/enemy.cpp:82:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 82 | enemy_anim[2] = load_png("enemy3.png", true, false, false); - | ^~~~~~~~~~~~ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/mpak.cpp -o obj/mpak.o -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ src/mpak.cpp: In member function 'int MPAK_FILE::open_mpk(int, char*, char*)': src/mpak.cpp:277:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 277 | fread(&crc_checksum, sizeof(crc_checksum), 1, fpointer); @@ -1649,28 +1693,19 @@ src/mpak.cpp:536:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 536 | fread(buffer, 1, bytes_left, fin); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/bomb.cpp: In function 'void load_bombs()': -src/bomb.cpp:80:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 80 | bomb_tex[0] = load_png("bomb1.png", true, false, false); - | ^~~~~~~~~~~ -src/bomb.cpp: In member function 'void BOMB::move()': -src/bomb.cpp:456:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 456 | add_comment(COL_DEFAULT, "Five enemies with one bomb!"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/helpers.cpp: In function 'void load_wisps()': -src/helpers.cpp:85:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 85 | wisp_tex = load_jpg("wisp.jpg", false, false, true); - | ^~~~~~~~~~ -src/helpers.cpp: In function 'void load_potatoman()': -src/helpers.cpp:300:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 300 | potatoman_tex = load_png("potatoman.png", true, false, false); - | ^~~~~~~~~~~~~~~ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/mymath.cpp -o obj/mymath.o +src/levels.cpp:318:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 318 | add_comment(COL_DEFAULT, "Level finished."); + | ^~~~~~~~~~~~~~~~~ +src/levels.cpp:320:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 320 | add_comment(COL_DEFAULT, "GAME OVER"); + | ^~~~~~~~~~~ +src/levels.cpp: In function 'void next_level()': +src/levels.cpp:378:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 378 | add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/particle.cpp -o obj/particle.o cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/pathfinder.cpp -o obj/pathfinder.o -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++ src/menu.cpp: In function 'char* key_name(int)': src/menu.cpp:111:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | return "LEFT ARROW"; @@ -1681,6 +1716,7 @@ src/menu.cpp:115:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 115 | return "UP ARROW"; | ^~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ src/menu.cpp:117:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 117 | return "DOWN ARROW"; | ^~~~~~~~~~~~ @@ -1726,6 +1762,7 @@ src/menu.cpp:253:47: note: in expansion of macro 'VERSION' 253 | glprintf(font1, 0, -7.0f, -5.3f, -13, VERSION); | ^~~~~~~ +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/player.cpp -o obj/player.o src/menu.cpp:370:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 370 | glprintf(font1, 0, -5.0f, 3.0f, -13, "Settings for: %s", (whose_keys == 0) ? "PLAYER ONE" : "PLAYER TWO"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1775,22 +1812,19 @@ src/menu.cpp:929:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 929 | button_tex = load_png("menubut.png", true, false, true); | ^~~~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ src/menu.cpp:930:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 930 | button_tex2 = load_png("menubut2.png", true, false, true); | ^~~~~~~~~~~~~~ src/menu.cpp:931:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 931 | menu_bg = load_jpg("menubg.jpg", false, true, true); | ^~~~~~~~~~~~ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/player.cpp -o obj/player.o g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/screenshot.cpp -o obj/screenshot.o -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++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/select_special.cpp -o obj/select_special.o -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ src/main.cpp: In function 'void loading_screen()': src/main.cpp:61:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | logo_tex = load_png("logotex.png", true, false, true); | ^~~~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ src/main.cpp:95:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | glprintf_center(font1, 0, 0, -1, -20, "...LOADING..."); | ^~~~~~~~~~~~~~~ @@ -1801,39 +1835,15 @@ src/main.cpp:125:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 125 | font_num = load_png("fonts_num.png", true, false, true); | ^~~~~~~~~~~~~~~ +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/select_special.cpp -o obj/select_special.o +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/soundmusic.cpp -o obj/soundmusic.o cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/special_power.cpp -o obj/special_power.o +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/teleport.cpp -o obj/teleport.o -src/particle.cpp: In function 'void load_particles()': -src/particle.cpp:69:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 69 | part_spark = load_jpg("spark.jpg", false, false, true); - | ^~~~~~~~~~~ -src/particle.cpp:70:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 70 | part_explo = load_jpg("explo.jpg", false, false, true); - | ^~~~~~~~~~~ -src/particle.cpp:71:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 71 | part_star = load_jpg("star.jpg", false, false, true); - | ^~~~~~~~~~ -src/particle.cpp:72:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 72 | part_glow = load_jpg("glow.jpg", false, false, true); - | ^~~~~~~~~~ -src/particle.cpp:73:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 73 | part_smoke = load_png("smoke.png", true, false, true); - | ^~~~~~~~~~~ -src/particle.cpp:74:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 74 | part_fire = load_jpg("fire.jpg", false, false, true); - | ^~~~~~~~~~ -src/particle.cpp:75:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 75 | part_flower = load_png("flower.png", true, false, true); - | ^~~~~~~~~~~~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/texture.cpp -o obj/texture.o -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -src/screenshot.cpp: In function 'void save_tga(char*, short int, short int, unsigned char*)': -src/screenshot.cpp:123:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 123 | error_msg("Unable to save a screenshot to \"%s\"!\n", filename); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/tilemap.cpp -o obj/tilemap.o 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++ @@ -1936,6 +1946,36 @@ src/soundmusic.cpp:284:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 284 | add_comment(COL_DEFAULT, "Playing \"%s\"...", file); | ^~~~~~~~~~~~~~~~~~~ +src/particle.cpp: In function 'void load_particles()': +src/particle.cpp:69:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 69 | part_spark = load_jpg("spark.jpg", false, false, true); + | ^~~~~~~~~~~ +src/particle.cpp:70:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 70 | part_explo = load_jpg("explo.jpg", false, false, true); + | ^~~~~~~~~~~ +src/particle.cpp:71:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 71 | part_star = load_jpg("star.jpg", false, false, true); + | ^~~~~~~~~~ +src/particle.cpp:72:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 72 | part_glow = load_jpg("glow.jpg", false, false, true); + | ^~~~~~~~~~ +src/particle.cpp:73:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 73 | part_smoke = load_png("smoke.png", true, false, true); + | ^~~~~~~~~~~ +src/particle.cpp:74:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 74 | part_fire = load_jpg("fire.jpg", false, false, true); + | ^~~~~~~~~~ +src/particle.cpp:75:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 75 | part_flower = load_png("flower.png", true, false, true); + | ^~~~~~~~~~~~ +src/screenshot.cpp: In function 'void save_tga(char*, short int, short int, unsigned char*)': +src/screenshot.cpp:123:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 123 | error_msg("Unable to save a screenshot to \"%s\"!\n", filename); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/timer.cpp -o obj/timer.o +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/trap.cpp -o obj/trap.o +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ src/player.cpp: In function 'void load_players()': src/player.cpp:99:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | player1_anim = load_png("player1.png", true, false, false); @@ -1975,34 +2015,13 @@ src/player.cpp:810:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 810 | add_comment(COL_BLUE, "You have received a Turn."); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/player.cpp:812:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 812 | add_comment(COL_BLUE, "You have received a Lightning Bolt."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/timer.cpp -o obj/timer.o -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/trap.cpp -o obj/trap.o -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++ -src/select_special.cpp: In function 'void do_special_selection()': -src/select_special.cpp:308:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 308 | add_comment(COL_YELLOW, "%s chosen.", (char*)icon_names[power]); - | ^~~~~~~~~~~~ -src/select_special.cpp: In function 'void load_icons()': -src/select_special.cpp:347:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 347 | special_icons[0] = load_png("icons1.png", true, false, false); - | ^~~~~~~~~~~~ -src/select_special.cpp:348:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 348 | special_icons[1] = load_png("icons2.png", true, false, false); - | ^~~~~~~~~~~~ -src/select_special.cpp:349:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 349 | special_icons[2] = load_png("icons3.png", true, false, false); - | ^~~~~~~~~~~~ -src/select_special.cpp:350:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 350 | icon_bg = load_png("iconbg.png", true, false, false); - | ^~~~~~~~~~~~ src/texture.cpp: In function 'GLuint load_png(char*, bool, bool, bool)': src/texture.cpp:71:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | return load_texture(file, "PNG", alpha, repeat, mipmaps); | ^~~~~ +src/player.cpp:812:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 812 | add_comment(COL_BLUE, "You have received a Lightning Bolt."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/texture.cpp: In function 'GLuint load_jpg(char*, bool, bool, bool)': src/texture.cpp:77:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | return load_texture(file, "JPG", alpha, repeat, mipmaps); @@ -2031,6 +2050,23 @@ src/texture.cpp:269:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 269 | error_msg("Unable to create an empty texture!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/select_special.cpp: In function 'void do_special_selection()': +src/select_special.cpp:308:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 308 | add_comment(COL_YELLOW, "%s chosen.", (char*)icon_names[power]); + | ^~~~~~~~~~~~ +src/select_special.cpp: In function 'void load_icons()': +src/select_special.cpp:347:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 347 | special_icons[0] = load_png("icons1.png", true, false, false); + | ^~~~~~~~~~~~ +src/select_special.cpp:348:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 348 | special_icons[1] = load_png("icons2.png", true, false, false); + | ^~~~~~~~~~~~ +src/select_special.cpp:349:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 349 | special_icons[2] = load_png("icons3.png", true, false, false); + | ^~~~~~~~~~~~ +src/select_special.cpp:350:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 350 | icon_bg = load_png("iconbg.png", true, false, false); + | ^~~~~~~~~~~~ src/teleport.cpp: In function 'void load_teleports()': src/teleport.cpp:121:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | teleport_tex = load_png("teleport1.png", true, false, false); @@ -2038,10 +2074,6 @@ src/teleport.cpp:122:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | part_teleport = load_jpg("teleport2.jpg", false, false, true); | ^~~~~~~~~~~~~~~ -src/timer.cpp: In function 'void start_timer(int)': -src/timer.cpp:59:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 59 | error_msg("Error setting timer!\n%s", SDL_GetError()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/tilemap.cpp: In function 'void load_map(char*)': src/tilemap.cpp:474:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 474 | error_msg("Unable to load the level %s from the pakfile!\n", file); @@ -2049,6 +2081,10 @@ src/tilemap.cpp:488:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 488 | error_msg("'%s' is not a level file for this game!\n", file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/timer.cpp: In function 'void start_timer(int)': +src/timer.cpp:59:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 59 | error_msg("Error setting timer!\n%s", SDL_GetError()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/trap.cpp: In function 'void load_traps()': src/trap.cpp:58:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 58 | trap_texture = load_png("trap.png", true, false, false); @@ -2097,12 +2133,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/785273/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/785273/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/2754010 and its subdirectories -I: Current time: Mon Jan 12 20:09:58 -12 2026 -I: pbuilder-time-stamp: 1768291798 +I: removing directory /srv/workspace/pbuilder/785273 and its subdirectories +I: Current time: Wed Dec 11 15:48:17 +14 2024 +I: pbuilder-time-stamp: 1733881697