Package: src:sabctools Version: 9.4.0-1 User: [email protected] Usertags: python3.15
Hi!
While rebuilding packages against python 3.15 we found that sabctools
produces some errors. A part of the log with error is:
x86_64-linux-gnu-g++ -g -O2
-ffile-prefix-map=/build/reproducible-path/sabctools-9.4.0=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/include/python3.15 -c src/unlocked_ssl.cc -o build/src/unlocked_ssl.o
-Wall -Wextra -Wno-unused-function -fomit-frame-pointer -fno-rtti
-fno-exceptions -O3 -fPIC -fwrapv -std=c++20 -Wno-unused-parameter
-Wno-missing-field-initializers
src/unlocked_ssl.cc: In function ‘PyObject*
unlocked_ssl_recv_into_impl(PySSLSocket*, Py_ssize_t, Py_buffer*)’:
src/unlocked_ssl.cc:79:18: error: ‘PyWeakref_GetObject’ was not declared in
this scope; did you mean ‘PyWeakref_GetRef’?
79 | (PyObject *) PyWeakref_GetObject((obj)->Socket) : NULL)
| ^~~~~~~~~~~~~~~~~~~
src/unlocked_ssl.cc:167:22: note: in expansion of macro ‘GET_SOCKET’
167 | PyObject *sock = GET_SOCKET(self);
| ^~~~~~~~~~
error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1
TIP pass --env-dir and --sdist-extract-dir to keep the build environment and
sources, then see
https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build
for help debugging a failed build
ERROR Backend subprocess exited when trying to invoke build_wheel
You can see the complete log here [0]
As I can test it, new upstream release (9.6.3) build successfully with Python
3.15
[0] https://debusine.debian.net/debian/r-python-python3.15/artifact/4294953/
--
cheers,
Emmanuel Arias
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ [email protected]
⢿⡄⠘⠷⠚⠋⠀ OpenPGP: 13796755BBC72BB8ABE2AEB5 FA9DEC5DE11C63F1
⠈⠳⣄
signature.asc
Description: PGP signature

