Source: python-yappi
Version: 1.4.0-3
Severity: normal
User: debian-pyt...@lists.debian.org
Usertags: python3.13
Forwarded: https://github.com/sumerc/yappi/pull/173

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

running build_ext
building '_yappi' extension
creating build/temp.linux-aarch64-cpython-313
creating build/temp.linux-aarch64-cpython-313/yappi
aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall 
-g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security 
-mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-DLIB_RT_AVAILABLE=1 -I/usr/include/python3.13 -c yappi/_yappi.c -o 
build/temp.linux-aarch64-cpython-313/yappi/_yappi.o
yappi/_yappi.c: In function ‘_eval_setprofile’:
yappi/_yappi.c:1309:5: error: implicit declaration of function 
‘_PyEval_SetProfile’; did you mean ‘PyEval_SetProfile’? 
[-Wimplicit-function-declaration]
 1309 |     _PyEval_SetProfile(ts, _yapp_callback, NULL);
      |     ^~~~~~~~~~~~~~~~~~
      |     PyEval_SetProfile
error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
make[1]: *** [debian/rules:16: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-18T12:34:34Z


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/776077/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano

Reply via email to