Package: src:tomatoes Version: 1.55-10 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202511/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:tomatoes, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean dh_auto_clean make -j2 clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -f obj/bomb.o obj/bonus.o obj/comments.o obj/config.o obj/effects.o obj/enemy.o obj/font.o obj/game.o obj/helpers.o obj/hiscore.o obj/init.o obj/levels.o obj/main.o obj/menu.o obj/mpak.o obj/mymath.o obj/particle.o obj/pathfinder.o obj/player.o obj/screenshot.o obj/select_special.o obj/soundmusic.o obj/special_power.o obj/teleport.o obj/texture.o obj/tilemap.o obj/timer.o obj/trap.o ./tomatoes make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_build -- 'CC=$(CXX)' make -j2 INSTALL="install --strip-program=true" CC=\$\(CXX\) make[2]: Entering directory '/<<PKGBUILDDIR>>' g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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/bomb.cpp -o obj/bomb.o g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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/bonus.cpp -o obj/bonus.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/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); | ^~~~~~~~~~~ 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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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/comments.cpp -o obj/comments.o cc1plus: warning: â-Werror=â argument â-Werror=implicit-function-declarationâ is not valid for C++ g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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/config.cpp -o obj/config.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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp: In function âvoid save_config(std::string, CONFIG*)â: 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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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/effects.cpp -o obj/effects.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: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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:110:15: warning: ignoring return value of âint fscanf(FILE*, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] 110 | fscanf(f, "video_mode_color_depth = %d\n", &(conf->vid_color_depth)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:111:15: warning: ignoring return value of âint fscanf(FILE*, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] 111 | fscanf(f, "video_mode_fullscreen = %d\n", &(conf->fullscreen)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:112:15: warning: ignoring return value of âint fscanf(FILE*, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] 112 | fscanf(f, "sound_enabled = %d\n", &(conf->sound)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:113:15: warning: ignoring return value of âint fscanf(FILE*, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] 113 | fscanf(f, "sound_freq = %d\n", &(conf->sound_freq)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:114:15: warning: ignoring return value of âint fscanf(FILE*, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] 114 | fscanf(f, "sound_volume = %d\n", &(conf->sound_vol)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:115:15: warning: ignoring return value of âint fscanf(FILE*, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] 115 | fscanf(f, "music_volume = %d\n", &(conf->music_vol)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:116:15: warning: ignoring return value of âint fscanf(FILE*, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] 116 | fscanf(f, "show_fps = %d\n", &(conf->show_fps)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:117:15: warning: ignoring return value of âint fscanf(FILE*, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] 117 | fscanf(f, "key_left = %d %d\n", &(conf->key_left[0]), &(conf->key_left[1])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:118:15: warning: ignoring return value of âint fscanf(FILE*, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] 118 | fscanf(f, "key_right = %d %d\n", &(conf->key_right[0]), &(conf->key_right[1])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:119:15: warning: ignoring return value of âint fscanf(FILE*, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] 119 | fscanf(f, "key_up = %d %d\n", &(conf->key_up[0]), &(conf->key_up[1])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:120:15: warning: ignoring return value of âint fscanf(FILE*, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] 120 | fscanf(f, "key_down = %d %d\n", &(conf->key_down[0]), &(conf->key_down[1])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:121:15: warning: ignoring return value of âint fscanf(FILE*, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] 121 | fscanf(f, "key_shoot = %d %d\n", &(conf->key_shoot[0]), &(conf->key_shoot[1])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:122:15: warning: ignoring return value of âint fscanf(FILE*, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] 122 | fscanf(f, "key_special = %d %d\n", &(conf->key_special[0]), &(conf->key_special[1])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/config.cpp:123:15: warning: ignoring return value of âint fscanf(FILE*, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] 123 | fscanf(f, "perspective = %d\n", &(conf->perspective_mode)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=/<<PKGBUILDDIR>>=. -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/enemy.cpp -o obj/enemy.o cc1plus: warning: â-Werror=â argument â-Werror=implicit-function-declarationâ is not valid for C++ g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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/font.cpp -o obj/font.o 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=/<<PKGBUILDDIR>>=. -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/game.cpp -o obj/game.o cc1plus: warning: â-Werror=â argument â-Werror=implicit-function-declarationâ is not valid for C++ src/game.cpp: In function âvoid draw()â: src/game.cpp:130:17: error: âgluPerspectiveâ was not declared in this scope 130 | gluPerspective(30.0f, 1.333333f, 1, 100); | ^~~~~~~~~~~~~~ In file included from src/game.cpp:42: ./include/font.h:56:57: error: âgluPerspectiveâ was not declared in this scope 56 | gluPerspective(45.0f, 1.333333f, 1, 100); \ | ^~~~~~~~~~~~~~ src/game.cpp:218:9: note: in expansion of macro âbegin_fontsâ 218 | begin_fonts(); | ^~~~~~~~~~~ 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); | ^~~~~~ make[2]: *** [makefile:81: obj/game.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j2 INSTALL="install --strip-program=true" CC=\$\(CXX\) returned exit code 2 make[1]: *** [debian/rules:13: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:10: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

