#1144249 sabctools: errors when built against python 3.15

Package:
src:sabctools
Source:
src:sabctools
Submitter:
Emmanuel Arias
Date:
2026-08-22 11:49:01 UTC
Severity:
normal
Tags:
#1144249#5
Date:
2026-08-13 02:36:48 UTC
From:
To:
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/

#1144249#10
Date:
2026-08-13 04:31:53 UTC
From:
To:
Control: tags -1 confirmed

This will be fixed when sabnzbdplus gets updated to 5.1.x. Version
5.0.4 of the same, currently in unstable, requires sabctools 9.4.x.
ETA less than a week.

#1144249#17
Date:
2026-08-18 17:34:36 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
sabctools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1144249@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeroen Ploemen <jcfp@debian.org> (supplier of updated sabctools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 18 Aug 2026 16:30:49 +0000
Source: sabctools
Built-For-Profiles: noudeb
Architecture: source
Version: 9.6.3-1
Distribution: unstable
Urgency: medium
Maintainer: Jeroen Ploemen <jcfp@debian.org>
Changed-By: Jeroen Ploemen <jcfp@debian.org>
Closes: 1144249
Changes:
 sabctools (9.6.3-1) unstable; urgency=medium
 .
   * CI: refresh config
   * New upstream version 9.6.3 (Closes: #1144249)
Checksums-Sha1:
 b50335af14c6d6748ca0bb7587a822537fff914a 2041 sabctools_9.6.3-1.dsc
 4ec0d163df9bd85cf7a6306c7717fd7b4e12e85b 9737914 sabctools_9.6.3.orig.tar.gz
 52baf0f0655788b53ca5c6a511ac99697cc7905d 5108 sabctools_9.6.3-1.debian.tar.xz
 d1265b245d20ad2e083239c5d69a05646c5d06ee 8571 sabctools_9.6.3-1_source.buildinfo
Checksums-Sha256:
 797a4f4a1db92947b74e5043419a3243bf02334ec7bce9ab284c681c3fc5ddfa 2041 sabctools_9.6.3-1.dsc
 572063ce46daff7be07051d6f7f35964ad1355b9e180ef2aa7d7b3d97d512671 9737914 sabctools_9.6.3.orig.tar.gz
 f3e84c4876f1f92919b814fee401cafc583789a310291c1ae0bb3869e56bd914 5108 sabctools_9.6.3-1.debian.tar.xz
 f9dc70876a2526f1137e250505debeb1ae71d7dd0b39290e6f3d17ad494a09be 8571 sabctools_9.6.3-1_source.buildinfo
Files:
 0038408ab4e71e94497faf2f3f219c93 2041 python - sabctools_9.6.3-1.dsc
 8548bd086aa13cdbcaf15515c9bcf813 9737914 python - sabctools_9.6.3.orig.tar.gz
 8a8cced403a8bac646d43579444e269f 5108 python - sabctools_9.6.3-1.debian.tar.xz
 c7f89bc12e9e7870f4a87eef1f396535 8571 python - sabctools_9.6.3-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmqEiMYACgkQQoMEoXSN
zHrURg//aqyHD1yVwE2pMEBeEja3nBKspCw7TYggkMh2wu4jjhFqwDKsWnv2OFvu
pJi/5T4CBKYZw+1I/licdpkXzkxFvWk1kXwNoTfWswWRmGAOv8Lgj+TEFO5Pvv+a
8doudkdQxKCYgvizdJu7/Xta+SC6P+saLdAr/JKqdbFJcYJ1UeyVkIX4jheAStXl
EsbmqmCE3+aDDCZ0VGP0rJKXWFgZuToMjfQpP9ABn4Jr3H/fQCxoakud7qzRRH3Y
qtL1vn27vS+0Cf/FKsLLCWN1J5HUTG5kRz3kdriFYgr7U+gUa0yJDOrmI2ofOvCg
JGAVDfVj/wwjVGajNMOfijhxrc7D9JwgAlzT7mbjDiaFV+iLn6bJaxniUyMM0qzM
ea7J2myvVGJchALnRGUVUoRlHgX2KAWHsJw0Rcyd1Rm/9FquN5/HwRYmRIT8CCZC
4JjHGAapuspyaS0EyveEsSdee6VNKX4pSRQZWr/DpLTWNCsBOBZsPF16nUgoCpA7
BT0IZLaRUQWEnbypDsLOckvMQ6gdBYsJrmF0fxPoAXqqJT17kVNCdSv8/Ve7v+3d
YzlkbQU8NvQ39gZtA5tOxjI20rev6A3FFPbeX5PjXXIEwP+0Uzpu01Ae3phttzzk
vp5eFoNlRF4nbKN4fxVpSjGGKXczD83ITq/ujXf8/cb6+qcw7LA=
=mEyI
-----END PGP SIGNATURE-----