Bug#1027812: renpy: FTBFS with Python 3.11 as default version

Graham Inggs ginggs at debian.org
Tue Jan 3 17:11:30 GMT 2023


Source: renpy
Version: 8.0.2+dfsg-1
Severity: serious
Tags: ftbfs
User: debian-python at lists.debian.org
Usertags: python3.11

Hi Maintainer

renpy 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


gen3/renpy.compat.dictviews.c: In function
‘__pyx_f_5renpy_6compat_9dictviews_use_view’:
gen3/renpy.compat.dictviews.c:1959:36: error: ‘PyThreadState’ {aka
‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’?
 1959 |   __pyx_r = ((PyThreadState_Get()->frame->f_code->co_flags &
(CO_FUTURE_DIVISION | CO_FUTURE_WITH_STATEMENT)) ==
(CO_FUTURE_DIVISION | CO_FUTURE_WITH_STATEMENT));
      |                                    ^~~~~
      |                                    cframe
...

error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
make[1]: *** [debian/rules:30: override_dh_auto_build] Error 1



More information about the Pkg-games-devel mailing list