Source: mod-wsgi Version: 4.9.0-1.1 Severity: important Tags: ftbfs User: debian-pyt...@lists.debian.org Usertags: python3.11
Hi Maintainer mod-wsgi will FTBFS once Python 3.11 is added as a supported version. I've copied what I hope is the relevant part of the log below. You can verify this by installing python3.11 from testing or unstable and adding the following line to debian/rules: export DEBPYTHON3_SUPPORTED=3.10,3.11 Regards Graham make[2]: Entering directory '/<<PKGBUILDDIR>>/build-3.11' /usr/bin/apxs2 -c -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/python3.11 -DNDEBUG -Wc,-g -Wc,-O2 -Wc,-ffile-prefix-map=/home/gi>/usr/share/apr-1.0/build/libtool --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protect>libtool: compile: x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTI>src/server/mod_wsgi.c: In function ‘wsgi_log_stack_traces’: src/server/mod_wsgi.c:9524:32: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’} 9524 | if (current->f_trace) { | ^~ src/server/mod_wsgi.c:9525:41: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’} 9525 | lineno = current->f_lineno; | ^~ src/server/mod_wsgi.c:9528:58: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’} 9528 | lineno = PyCode_Addr2Line(current->f_code, | ^~ src/server/mod_wsgi.c:9529:58: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’} 9529 | current->f_lasti); | ^~ src/server/mod_wsgi.c:9533:56: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’} 9533 | filename = PyUnicode_AsUTF8(current->f_code->co_filename); | ^~ src/server/mod_wsgi.c:9534:52: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’} 9534 | name = PyUnicode_AsUTF8(current->f_code->co_name); | ^~ src/server/mod_wsgi.c:9547:36: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’} 9547 | if (current->f_back) { | ^~ src/server/mod_wsgi.c:9561:38: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’} 9561 | current = current->f_back; | ^~ apxs:Error: Command failed with rc=65536 . make[2]: *** [Makefile:31: src/server/mod_wsgi.la] Error 1