adonthell: FTBFS: mv: cannot stat './adonthell.py': No such file or directory

Bug #2059154 reported by Nick Rosbrook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
adonthell (Debian)
Fix Released
Unknown
adonthell (Ubuntu)
Fix Released
Undecided
Nick Rosbrook

Bug Description

Imported from Debian bug http://bugs.debian.org/1064675:

Source: adonthell
Version: 0.3.8-2.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: <email address hidden>
Usertags: ftbfs-20240224 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src'
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o main.o main.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o achievements.o achievements.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o adonthell.o adonthell.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o animation.o animation.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o audio.o audio.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o character_base.o character_base.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o character.o character.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o data_screen.o data_screen.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o dialog.o dialog.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o dialog_screen.o dialog_screen.cc
> main.cc: In function ‘bool init_python(const char*)’:
> main.cc:78:34: warning: ‘void Py_SetProgramName(const wchar_t*)’ is deprecated [-Wdeprecated-declarations]
> 78 | Py_SetProgramName(program);
> | ~~~~~~~~~~~~~~~~~^~~~~~~~~
> In file included from /usr/include/python3.11/Python.h:94,
> from py_callback.h:33,
> from achievements.h:29,
> from main.cc:29:
> /usr/include/python3.11/pylifecycle.h:37:38: note: declared here
> 37 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
> | ^~~~~~~~~~~~~~~~~
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o drawable.o drawable.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o drawing_area.o drawing_area.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o event.o event.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o event_handler.o event_handler.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o event_list.o event_list.cc
> data_screen.cc: In member function ‘void data_screen::init()’:
> data_screen.cc:167:43: warning: ‘%02i’ directive writing between 2 and 5 bytes into a region of size between 2 and 9 [-Wformat-overflow=]
> 167 | sprintf (gametime, "Day %i - %02i:%02i", gamedate::day (),
> | ^~~~
> data_screen.cc:167:28: note: directive argument in the range [0, 65535]
> 167 | sprintf (gametime, "Day %i - %02i:%02i", gamedate::day (),
> | ^~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/stdio.h:906,
> from /usr/include/SDL2/SDL_stdinc.h:37,
> from /usr/include/SDL2/SDL_main.h:25,
> from /usr/include/SDL2/SDL.h:32,
> from types.h:29,
> from pnm.h:29,
> from data_screen.cc:32:
> In function ‘int sprintf(char*, const char*, ...)’,
> inlined from ‘void data_screen::init()’ at data_screen.cc:167:17:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 14 and 24 bytes into a destination of size 20
> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
> | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 31 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 32 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o fileops.o fileops.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o game.o game.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o gamedata.o gamedata.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o gamedate.o gamedate.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o gametime.o gametime.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o image.o image.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o input.o input.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o label.o label.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o label_input.o label_input.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o landmap.o landmap.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o lex.prefs.o lex.prefs.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o map_event.o map_event.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o map_event_handler.o map_event_handler.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o mapsquare_walkable.o mapsquare_walkable.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o mapcharacter.o mapcharacter.cc
> lex.prefs.cc: In function ‘int parse_adonthellrc(int&, std::string&)’:
> lex.prefs.cc:753:32: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 753 | register yy_state_type yy_current_state;
> | ^~~~~~~~~~~~~~~~
> lex.prefs.cc:754:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 754 | register char *yy_cp, *yy_bp;
> | ^~~~~
> lex.prefs.cc:754:32: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 754 | register char *yy_cp, *yy_bp;
> | ^~~~~
> lex.prefs.cc:755:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 755 | register int yy_act;
> | ^~~~~~
> lex.prefs.cc:804:42: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 804 | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
> | ^~~~
> lex.prefs.cc: In function ‘int yy_get_next_buffer()’:
> lex.prefs.cc:1076:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1076 | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
> | ^~~~
> lex.prefs.cc:1077:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1077 | register char *source = (yytext_ptr);
> | ^~~~~~
> lex.prefs.cc:1078:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1078 | register int number_to_move, i;
> | ^~~~~~~~~~~~~~
> lex.prefs.cc:1078:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1078 | register int number_to_move, i;
> | ^
> lex.prefs.cc: In function ‘yy_state_type yy_get_previous_state()’:
> lex.prefs.cc:1210:32: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1210 | register yy_state_type yy_current_state;
> | ^~~~~~~~~~~~~~~~
> lex.prefs.cc:1211:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1211 | register char *yy_cp;
> | ^~~~~
> lex.prefs.cc:1217:34: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1217 | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
> | ^~~~
> lex.prefs.cc: In function ‘yy_state_type yy_try_NUL_trans(yy_state_type)’:
> lex.prefs.cc:1242:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1242 | register int yy_is_jam;
> | ^~~~~~~~~
> lex.prefs.cc:1243:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1243 | register char *yy_cp = (yy_c_buf_p);
> | ^~~~~
> lex.prefs.cc:1245:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1245 | register YY_CHAR yy_c = 1;
> | ^~~~
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o mapsquare.o mapsquare.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o mapobject.o mapobject.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o mapview.o mapview.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o nls.o nls.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o path.o path.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o pnm.o pnm.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o prefs.o prefs.cc
> g++ -DHAVE_CONFIG_H -I. -I.. -DOGG_MUSIC -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/python3.11 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DDATA_DIR="\"/usr/share/games/adonthell\"" -DPY_DEBUG -c -o python_class.o python_class.cc
> /usr/bin/swig -python -modern -shadow -I/usr/include/SDL2 -D_REENTRANT -I. -I.. -c++ -makedefault -o ./py_adonthell_wrap.cc ./py_adonthell.i
> Deprecated command line option: -modern. Ignored, this option is now always on.
> swig error : Unrecognized option -makedefault
> Use 'swig -help' for available options.
> mv: cannot stat './adonthell.py': No such file or directory
> make[4]: *** [Makefile:1180: py_adonthell_wrap.cc] Error 1

The full build log is available from:
http://qa-logs.debian.net/2024/02/24/adonthell_0.3.8-2.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240224;<email address hidden>
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240224&<email address hidden>&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Nick Rosbrook (enr0n)
Changed in adonthell (Ubuntu):
assignee: nobody → Nick Rosbrook (enr0n)
tags: added: update-excuse
Revision history for this message
Nick Rosbrook (enr0n) wrote :

This is caused by passing -makedefault to swig, which was dropped upstream: https://github.com/swig/swig/blob/v4.2.1/CHANGES#L579. Simply dropping use of this old flag fixes the build.

Changed in adonthell (Ubuntu):
status: New → Fix Committed
Changed in adonthell (Debian):
importance: Undecided → Unknown
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package adonthell - 0.3.8-2.1ubuntu1

---------------
adonthell (0.3.8-2.1ubuntu1) noble; urgency=medium

  * d/p/drop-deprecated-swig-flags.patch: fix FTBFS caused by dropped
    swig flag (LP: #2059154)

 -- Nick Rosbrook <email address hidden> Tue, 26 Mar 2024 14:42:56 -0400

Changed in adonthell (Ubuntu):
status: Fix Committed → Fix Released
Changed in adonthell (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.