Package: src:python-yappi
Version: 1.4.0-2
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12
python-yappi ftbfs with Python 3.12:
[...]
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
set -e ; for pyvers in 3.12 3.11; do \
python$pyvers setup.py build ; \
done
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-312
copying yappi/yappi.py -> build/lib.linux-x86_64-cpython-312
running build_ext
building '_yappi' extension
creating build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/yappi
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2
-Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -g -fwrapv -O2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/python-yappi-1.4.0-2build1
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DLIB_RT_AVAILABLE=1
-I/usr/include/python3.12 -c yappi/_yappi.c -o
build/temp.linux-x86_64-cpython-312/yappi/_yappi.o
yappi/_yappi.c: In function ‘IS_SUSPENDED’:
yappi/_yappi.c:240:18: error: invalid use of incomplete typedef
‘PyFrameObject’ {aka ‘struct _frame’}
240 | return (frame->f_stacktop != NULL);
| ^~
yappi/_yappi.c: In function ‘_code2pit’:
yappi/_yappi.c:697:29: error: ‘PyCodeObject’ has no member named
‘co_varnames’; did you mean ‘co_names’?
697 | co_varnames = cobj->co_varnames;
| ^~~~~~~~~~~
| co_names
yappi/_yappi.c: In function ‘IS_SUSPENDED’:
yappi/_yappi.c:242:1: warning: control reaches end of non-void function
[-Wreturn-type]
242 | }
| ^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
make[1]: *** [debian/rules:16: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'