Diff of the two buildlogs: -- --- b1/build.log 2023-04-20 09:32:31.579237476 +0000 +++ b2/build.log 2023-04-20 09:33:52.391653031 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 22 03:54:15 -12 2024 -I: pbuilder-time-stamp: 1716393255 +I: Current time: Thu Apr 20 23:32:37 +14 2023 +I: pbuilder-time-stamp: 1681983157 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./tomatoes_1.55.orig.tar.gz] I: copying [./tomatoes_1.55-10.debian.tar.xz] I: Extracting source -gpgv: Signature made Fri Jan 29 07:45:11 2021 -12 +gpgv: Signature made Sat Jan 30 09:45:11 2021 +14 gpgv: using RSA key 05DB6A837E105F4B1D02C55FBBA9FAADCCFB4707 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./tomatoes_1.55-10.dsc: no acceptable signature found @@ -35,52 +35,84 @@ 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/23784/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/6890/tmp/hooks/D01_modify_environment starting +debug: Running on codethink14-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 20 23:32 /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/6890/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/6890/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='23784' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=6890 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.LnzfUOuC/pbuilderrc_exQ2 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.LnzfUOuC/b1 --logfile b1/build.log tomatoes_1.55-10.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.LnzfUOuC/pbuilderrc_Rkqv --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.LnzfUOuC/b2 --logfile b2/build.log --extrapackages usrmerge tomatoes_1.55-10.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink13-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 19 04:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/23784/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 20 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/6890/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -312,7 +344,7 @@ Get: 188 http://deb.debian.org/debian bookworm/main arm64 libsdl-mixer1.2 arm64 1.2.12-17+b3 [78.6 kB] Get: 189 http://deb.debian.org/debian bookworm/main arm64 libvorbis-dev arm64 1.3.7-1 [321 kB] Get: 190 http://deb.debian.org/debian bookworm/main arm64 libsdl-mixer1.2-dev arm64 1.2.12-17+b3 [95.4 kB] -Fetched 90.4 MB in 2s (55.6 MB/s) +Fetched 90.4 MB in 3s (29.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19616 files and directories currently installed.) @@ -1093,8 +1125,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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/6890/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/6890/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/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 @@ -1127,7 +1168,11 @@ g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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/enemy.cpp -o obj/enemy.o g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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/font.cpp -o obj/font.o g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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/game.cpp -o obj/game.o -In file included from src/bomb.cpp:32: +In file included from src/bonus.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | +In file included from src/enemy.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | @@ -1135,6 +1180,22 @@ /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | +In file included from src/bomb.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | +In file included from src/game.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | +In file included from src/comments.cpp:34: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | +In file included from src/font.cpp:35: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46: /usr/include/GL/glext.h:35: note: this is the location of the previous definition @@ -1145,51 +1206,32 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -In file included from src/game.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46: /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -In file included from src/comments.cpp:34: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46: /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -In file included from src/font.cpp:35: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46: /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -In file included from src/bonus.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46: /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -In file included from src/enemy.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46: /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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/helpers.cpp -o obj/helpers.o 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()); @@ -1198,7 +1240,15 @@ 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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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/helpers.cpp -o obj/helpers.o +In file included from src/helpers.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | +In file included from /usr/include/GL/gl.h:2050, + from /usr/include/SDL/SDL_opengl.h:46: +/usr/include/GL/glext.h:35: note: this is the location of the previous definition + 35 | #define GL_GLEXT_VERSION 20220530 + | 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)); @@ -1248,16 +1298,8 @@ 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])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from src/helpers.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | -In file included from /usr/include/GL/gl.h:2050, - from /usr/include/SDL/SDL_opengl.h:46: -/usr/include/GL/glext.h:35: note: this is the location of the previous definition - 35 | #define GL_GLEXT_VERSION 20220530 - | g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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/hiscore.cpp -o obj/hiscore.o +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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/init.cpp -o obj/init.o In file included from src/hiscore.cpp:34: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 @@ -1267,15 +1309,6 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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/init.cpp -o obj/init.o -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/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); @@ -1286,10 +1319,6 @@ 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/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); @@ -1300,6 +1329,10 @@ 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); | ^~~~~~~~~~~~ +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); + | ^~~~~~ In file included from src/init.cpp:39: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 @@ -1316,7 +1349,33 @@ 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); | ^~~~~~~~~~~~~~~~ +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!"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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/levels.cpp -o obj/levels.o +In file included from src/levels.cpp:33: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | +In file included from /usr/include/GL/gl.h:2050, + from /usr/include/SDL/SDL_opengl.h:46: +/usr/include/GL/glext.h:35: note: this is the location of the previous definition + 35 | #define GL_GLEXT_VERSION 20220530 + | +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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/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); + | ^~~~~~~~~~~~~~~ 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"); @@ -1334,7 +1393,12 @@ src/hiscore.cpp:380:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 380 | glprintf(font1, 0, 3.4f, ypos, -13, "%03d", list[f].score); | ^~~~~~ -In file included from src/levels.cpp:33: +src/hiscore.cpp: In member function 'void HISCORE_LIST::save(std::string)': +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()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 +In file included from src/main.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | @@ -1343,18 +1407,6 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -src/hiscore.cpp: In member function 'void HISCORE_LIST::save(std::string)': -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()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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/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"); @@ -1385,25 +1437,6 @@ 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/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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 -In file included from src/main.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | -In file included from /usr/include/GL/gl.h:2050, - from /usr/include/SDL/SDL_opengl.h:46: -/usr/include/GL/glext.h:35: note: this is the location of the previous definition - 35 | #define GL_GLEXT_VERSION 20220530 - | -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 In file included from src/menu.cpp:34: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 @@ -1413,6 +1446,15 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | +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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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/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); @@ -1433,27 +1475,7 @@ 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 -In file included from src/particle.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | -In file included from /usr/include/GL/gl.h:2050, - from /usr/include/SDL/SDL_opengl.h:46: -/usr/include/GL/glext.h:35: note: this is the location of the previous definition - 35 | #define GL_GLEXT_VERSION 20220530 - | -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 -In file included from src/pathfinder.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | -In file included from /usr/include/GL/gl.h:2050, - from /usr/include/SDL/SDL_opengl.h:46: -/usr/include/GL/glext.h:35: note: this is the location of the previous definition - 35 | #define GL_GLEXT_VERSION 20220530 - | 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"; @@ -1504,23 +1526,11 @@ src/menu.cpp:170:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 170 | glprintf_center(font1, 0, 0, vpos-VPOS_WHO, -13, "SAMUEL HENRIQUE O. P."); | ^~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~ -src/levels.cpp: In function 'void init_levels()': -src/levels.cpp:209:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 209 | add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp: In function 'void draw_menu(int, int, int, float, HISCORE_LIST*)': : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/menu.cpp:253:47: note: in expansion of macro 'VERSION' 253 | glprintf(font1, 0, -7.0f, -5.3f, -13, VERSION); | ^~~~~~~ -src/levels.cpp: In function 'bool change_level()': -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/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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1566,17 +1576,7 @@ src/menu.cpp:497:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 497 | glprintf(font1, 0, -5.0f, -3.0f, -13, "Perspective mode: %s", (config.perspective_mode) ? "ON" : "OFF"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 src/menu.cpp: In function 'void load_menus()': 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); @@ -1587,8 +1587,8 @@ 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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 -In file included from src/player.cpp:32: +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 +In file included from src/particle.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | @@ -1597,8 +1597,7 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 -In file included from src/screenshot.cpp:34: +In file included from src/pathfinder.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | @@ -1607,7 +1606,17 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -In file included from src/select_special.cpp:32: +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 +In file included from src/player.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | +In file included from /usr/include/GL/gl.h:2050, + from /usr/include/SDL/SDL_opengl.h:46: +/usr/include/GL/glext.h:35: note: this is the location of the previous definition + 35 | #define GL_GLEXT_VERSION 20220530 + | +In file included from src/screenshot.cpp:34: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | @@ -1616,6 +1625,29 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | +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); + | ^~~~~ +src/levels.cpp: In function 'void init_levels()': +src/levels.cpp:209:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 209 | add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/levels.cpp: In function 'bool change_level()': +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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 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); @@ -1627,11 +1659,34 @@ src/main.cpp:116:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 116 | font1 = load_png("fonts.png", true, false, true); | ^~~~~~~~~~~ +In file included from src/select_special.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | 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); | ^~~~~~~~~~~~~~~ +In file included from /usr/include/GL/gl.h:2050, + from /usr/include/SDL/SDL_opengl.h:46: +/usr/include/GL/glext.h:35: note: this is the location of the previous definition + 35 | #define GL_GLEXT_VERSION 20220530 + | g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 +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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 +In file included from src/special_power.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | +In file included from /usr/include/GL/gl.h:2050, + from /usr/include/SDL/SDL_opengl.h:46: +/usr/include/GL/glext.h:35: note: this is the location of the previous definition + 35 | #define GL_GLEXT_VERSION 20220530 + | 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); @@ -1654,11 +1709,8 @@ 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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from src/special_power.cpp:32: +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 +In file included from src/teleport.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | @@ -1667,10 +1719,8 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `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 -In file included from src/teleport.cpp:32: +In file included from src/texture.cpp:35: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | @@ -1689,56 +1739,6 @@ src/player.cpp:105:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | p_icons = load_png("picons.png", true, false, false); | ^~~~~~~~~~~~ -src/player.cpp: In member function 'void PLAYER::die()': -src/player.cpp:772:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 772 | add_comment(COL_DEFAULT, "Respawning soon..."); - | ^~~~~~~~~~~~~~~~~~~~ -src/player.cpp: In member function 'void PLAYER::pick_bonus(BONUS*)': -src/player.cpp:796:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 796 | add_comment(COL_RED, "You have received a Trap."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/player.cpp:798:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 798 | add_comment(COL_RED, "You have received a Wild Fire."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/player.cpp:800:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 800 | add_comment(COL_RED, "You have received a Napalm Strike."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/player.cpp:802:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 802 | add_comment(COL_GREEN, "You have received a Will O' The Wisp."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/player.cpp:804:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 804 | add_comment(COL_GREEN, "You have received a Potato Man."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/player.cpp:806:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 806 | add_comment(COL_GREEN, "You have received a Flower Power."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/player.cpp:808:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 808 | add_comment(COL_BLUE, "You have received a Teleport."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from src/texture.cpp:35: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | -In file included from /usr/include/GL/gl.h:2050, - from /usr/include/SDL/SDL_opengl.h:46: -/usr/include/GL/glext.h:35: note: this is the location of the previous definition - 35 | #define GL_GLEXT_VERSION 20220530 - | -In file included from src/tilemap.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - 116 | #define GL_GLEXT_VERSION 29 - | -In file included from /usr/include/GL/gl.h:2050, - from /usr/include/SDL/SDL_opengl.h:46: -/usr/include/GL/glext.h:35: note: this is the location of the previous definition - 35 | #define GL_GLEXT_VERSION 20220530 - | src/soundmusic.cpp: In function 'void load_sound(char*)': src/soundmusic.cpp:173:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 173 | error_msg("load_sounds():\nTrying to load too many sounds!\nNUM_SOUNDS is defined as %d.\n", NUM_SOUNDS); @@ -1838,6 +1838,47 @@ 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); | ^~~~~~~~~~~~~~~~~~~ +In file included from src/tilemap.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + 116 | #define GL_GLEXT_VERSION 29 + | +In file included from /usr/include/GL/gl.h:2050, + from /usr/include/SDL/SDL_opengl.h:46: +/usr/include/GL/glext.h:35: note: this is the location of the previous definition + 35 | #define GL_GLEXT_VERSION 20220530 + | +src/player.cpp: In member function 'void PLAYER::die()': +src/player.cpp:772:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 772 | add_comment(COL_DEFAULT, "Respawning soon..."); + | ^~~~~~~~~~~~~~~~~~~~ +src/player.cpp: In member function 'void PLAYER::pick_bonus(BONUS*)': +src/player.cpp:796:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 796 | add_comment(COL_RED, "You have received a Trap."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/player.cpp:798:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 798 | add_comment(COL_RED, "You have received a Wild Fire."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/player.cpp:800:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 800 | add_comment(COL_RED, "You have received a Napalm Strike."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/player.cpp:802:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 802 | add_comment(COL_GREEN, "You have received a Will O' The Wisp."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/player.cpp:804:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 804 | add_comment(COL_GREEN, "You have received a Potato Man."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/player.cpp:806:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 806 | add_comment(COL_GREEN, "You have received a Flower Power."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/player.cpp:808:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 808 | add_comment(COL_BLUE, "You have received a Teleport."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]); @@ -1964,12 +2005,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/6890/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/6890/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/23784 and its subdirectories -I: Current time: Wed May 22 03:55:30 -12 2024 -I: pbuilder-time-stamp: 1716393330 +I: removing directory /srv/workspace/pbuilder/6890 and its subdirectories +I: Current time: Thu Apr 20 23:33:51 +14 2023 +I: pbuilder-time-stamp: 1681983231