Hi Santiago!

On Tue, Jul 14, 2026 at 04:54:07PM +0200, Santiago Vila wrote:
> Package: src:sphinx
> Version: 8.1.3-5
> Severity: serious
> Tags: trixie
> Control: fixed -1 9.1.0-4
> Control: affects -1 src:blender-doc src:cp2k src:flint src:groonga src:kitty 
> src:openmpi src:python3.13
> 
> Dear maintainer:
> 
> During a rebuild of all packages in trixie (after the 13.6 point release),
> several packages using sphinx FTBFS in this way:
> 
> ------------------------------------
> writing output...
> building [html]: targets for 507 source files that are out of date
> updating environment: [new config] 507 added, 0 changed, 0 removed
> 
> Exception occurred:
>   File "/usr/lib/python3.13/multiprocessing/connection.py", line 399, in _recv
>     raise EOFError
> EOFError
> ------------------------------------
> 
> The above example is for python3.13 and a full log is available here:
> 
> https://tests.reproducible-builds.org/debian/rbuild/trixie/amd64/python3.13_3.13.5-2+deb13u3.rbuild.log.gz
> 
> I'm using the affects line for all known affected packages.
> 
> Note: Please keep the bug open until it's fixed in stable (using the
> changelog in an upload for trixie is of course ok). I've marked the bug
> as fixed in forky/sid because I can't reproduce the issue in forky/sid,
> so the bug should not affect sphinx in forky/sid.
> 
> If required I can offer a VM to reproduce.

I created a debian/trixie branch in git and cherry-picked the fix there:
https://salsa.debian.org/python-team/packages/sphinx/-/commits/debian/trixie?ref_type=heads

Some pipeline jobs failed, because python3.13 interpreter segfaults. This is
a different issue, and it looks more like a bug in python3.13, not in sphinx.
It may be the same issue as #1142107 (also python3.13, also segfault, also
Trixie).

I cannot reproduce it in my Trixie chroot (I have just built sphinx without
issues 3 times in a row). If you have this segfault in your VM, maybe you can
obtain a C stack trace with gdb? Pybuild prints the command it runs, so you
just need to replace "python3.13" with "gdb --args python3.13":

I: pybuild base:311: cd /build/package/package/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest --verbose --ignore 
tests/test_writers/test_api_translator.py

My hypothesis is that it broke between python3.13 3.13.5-2+deb13u2 and
3.13.5-2+deb13u3, so if you can test with 3.13.5-2+deb13u2, that would also
help. Or give me access and I will test when I have time, if you like that
option more.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to