sabctools: errors when built against python 3.15

Emmanuel Arias <[email protected]>
Newsgroups gmane.linux.debian.devel.python
Message-ID <[email protected]>
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 (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEE3lnVbvHK7ir4q61+p3sXeEcY/EFAmp9LbsACgkQ+p3sXeEc
Y/F2eBAAgiusyJEAQw76x4c5wxCk/J4GYIWlMUnOFW+VXoBF2Ch2m7qgXmRvb7yA
apzagSIsRn7jBPgJkKelk4QmWaFskG9oECbbnN54r1c50yLsMMhQO6F1Xl2G1exS
knW6cbZ0wcc4rXkZlCrs1qzgBSJy4xjF3AedZrFz+c2AudrzGxXogYEDQKSFQxJq
qPrCR+mO03Ln4O0I7EtG3oYDrPkRLck5QNVGst/nZ0G4mCHFM77u1m8RqqKtWQ3G
3pDBMB41l7/XaJUK3YZtW3MdZ9mQhkpVj0Ey2v/j5HgQX2w+VK34ainDjTWxaJ5m
NoX/zG82KZ8OBR7lr+w24ytvb4XY5O/KeuIKEoPelfg5AuQQ0Ic6sK5S1Ett7k+q
CJCnArPj5aI1UqZiFDfXQTGGDZD7aV1GQ2aP4+M0szzfdn5CeC5s5uSMg228prjW
+Fg20ZSfSA//kgHG2g2KKEWkTTobGTxkJCdJXDRPu6DshraKI5R/A+Q86oCAef3x
gw8pPAABjlr1C5DbQbheTpwKPrfG3POJSzyeSiKcQQaCIukPQTE+XztOc3gFFcZl
A5nSfKpwdIBSBqQVKlcW4eOWSxLiVFTpuE7w7oFhi5vdsxcKqrjQMxAOJPebBRoP
dWZBUMiFqSG7OikqNN7UjdUcZfX2iq2r/4Fok5iS2HUIOqOYOxM=
=G5Rp
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.