Bug#1027815: adonthell: FTBFS with Python 3.11 as default version

Graham Inggs ginggs at debian.org
Tue Jan 3 17:28:49 GMT 2023


Source: adonthell
Version: 0.3.8-2
Severity: serious
Tags: ftbfs
User: debian-python at lists.debian.org
Usertags: python3.11

Hi Maintainer

adonthell fails to build from source with Python 3.11 as the default
version.  I've copied what I hope is the relevant part of the log
below.

Regards
Graham


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 -Wformat
-Werror=format-security  -DDATA_DIR="\"/usr/share/games/adonthell\""
-DPY_DEBUG  -c -o animation.o animation.cc
In file included from py_object.h:33,
                 from audio.h:24,
                 from main.cc:30:
python_class.h:38:10: fatal error: eval.h: No such file or directory
   38 | #include "eval.h"
      |          ^~~~~~~~
compilation terminated.
make[4]: *** [Makefile:762: main.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from py_object.h:33,
                 from event.h:31,
                 from event_list.h:33,
                 from mapcharacter.h:43,
                 from character.h:33,
                 from gamedata.h:34,
                 from achievements.cc:28:
python_class.h:38:10: fatal error: eval.h: No such file or directory
   38 | #include "eval.h"
      |          ^~~~~~~~
compilation terminated.
make[4]: *** [Makefile:762: achievements.o] Error 1
In file included from py_object.h:33,
                 from event.h:31,
                 from event_list.h:33,
                 from mapcharacter.h:43,
                 from landmap.h:32,
                 from mapview.h:34,
                 from win_mapview.h:24,
                 from adonthell.h:30,
                 from adonthell.cc:31:
python_class.h:38:10: fatal error: eval.h: No such file or directory
   38 | #include "eval.h"
      |          ^~~~~~~~
compilation terminated.



More information about the Pkg-games-devel mailing list