Your message dated Mon, 28 Sep 2026 16:20:05 +0000
with message-id <[email protected]>
and subject line Bug#1042683: fixed in sagemath 10.9-1
has caused the Debian Bug report #1042683,
regarding sagemath: FTBFS with Sphinx 7.1, docutils 0.20: [reference]
RuntimeError: This function shouldn't be called in "inventory" builder
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1042683: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042683
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: sagemath
Version: 9.5-6
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: sphinx7.1
Hi,
sagemath fails to build with Sphinx 7.1 and docutils 0.20, both of which
are currently available in experimental.
Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> cd sage && SAGE_ROOT=/<<PKGBUILDDIR>>/sage
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/<<PKGBUILDDIR>>/sage/build/bin
> src/doc/bootstrap
> mv sage/src/sage sage/src/sage.bak # Use the installed sage, not the one from
> the source tree
> cd sage/src && \
> export
> PYTHONPATH=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3.11/dist-packages \
> SAGE_SRC=/<<PKGBUILDDIR>>/sage/src \
> SAGE_DOC_SRC=/<<PKGBUILDDIR>>/sage/src/doc \
> SAGE_DOC=/<<PKGBUILDDIR>>/sage/src/doc \
> MATHJAX_DIR=/usr/share/javascript/mathjax \
> LANG=C && \
> python3 -m sage_docbuild --no-pdf-links --mathjax all html
> /<<PKGBUILDDIR>>/sage/src/sage_docbuild/__init__.py:1728: DeprecationWarning:
> avoid using "sage --docbuild all html" and "sage --docbuild all pdf"; use
> "make doc" and "make doc-pdf" instead, if available.
> See https://trac.sagemath.org/31948 for details.
> builder = getattr(get_builder(name), typ)
>
> Building reference manual, first pass.
>
> [reference] writing output...
> [reference] building [inventory]: targets for 1 source files that are out of
> date
> [reference] updating environment: [new config] 1 added, 0 changed, 0 removed
> [reference] [2Kreading sources... [100%] index
> [reference] copying assets... failed
> [reference] Exception occurred:
> [reference] File
> "/<<PKGBUILDDIR>>/sage/src/sage_docbuild/ext/inventory_builder.py", line 80,
> in removed_method_error
> [reference] raise RuntimeError("This function shouldn't be called in
> \"%s\" builder"%(self.name))
> [reference] RuntimeError: This function shouldn't be called in "inventory"
> builder
> [reference] The full traceback has been saved in
> /tmp/sphinx-err-n_6kvmbs.log, if you want to report the issue to the
> developers.
> [reference] Please also report this if it was a user error, so that a better
> error message can be provided next time.
> [reference] A bug report can be filed in the tracker at
> <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> Error building the documentation.
> Traceback (most recent call last):
> File "<frozen runpy>", line 198, in _run_module_as_main
> File "<frozen runpy>", line 88, in _run_code
> File "/<<PKGBUILDDIR>>/sage/src/sage_docbuild/__main__.py", line 2, in
> <module>
> main()
> File "/<<PKGBUILDDIR>>/sage/src/sage_docbuild/__init__.py", line 1729, in
> main
> builder()
> File "/<<PKGBUILDDIR>>/sage/src/sage_docbuild/__init__.py", line 348, in
> _wrapper
> getattr(get_builder(document), 'inventory')(*args, **kwds)
> File "/<<PKGBUILDDIR>>/sage/src/sage_docbuild/__init__.py", line 535, in
> _wrapper
> self._build_bibliography(format, *args, **kwds)
> File "/<<PKGBUILDDIR>>/sage/src/sage_docbuild/__init__.py", line 510, in
> _build_bibliography
> build_many(build_ref_doc, references)
> File "/<<PKGBUILDDIR>>/sage/src/sage_docbuild/__init__.py", line 299, in
> build_many
> _build_many(target, args, processes=processes)
> File "/<<PKGBUILDDIR>>/sage/src/sage_docbuild/utils.py", line 289, in
> build_many
> raise worker_exc.original_exception
> OSError: Exception occurred:
>
> Note: incremental documentation builds sometimes cause spurious
> error messages. To be certain that these are real errors, run
> "make doc-clean doc-uninstall" first and try again.
> make[3]: *** [debian/rules:84: override_dh_auto_build-indep] Error 1
The full build log is available from:
http://qa-logs.debian.net/2023/07/30/exp/sagemath_9.5-6_unstable_sphinx-exp.log
Please see [1] for Sphinx changelog and [2] for Docutils changelog.
Also see [3] for the list of deprecated/removed APIs in Sphinx and possible
alternatives to them.
Some notable changes in Sphinx 6 and Sphinx 7:
- Sphinx no longer includes jquery.js and underscore.js by default.
Please use python3-sphinxcontrib.jquery package if you are using a custom
template and it still needs jquery.
- The setup.py build_sphinx command was removed. Please instead call
sphinx-build or "python3 -m sphinx" directly.
- For packages using the extlinks extension, the caption should contain
exactly one "%s" placeholder (if caption is not None).
In case you have questions, please Cc [email protected] on reply.
[1]: https://www.sphinx-doc.org/en/master/changes.html
[2]:
https://repo.or.cz/docutils.git/blob/refs/tags/docutils-0.20.1:/RELEASE-NOTES.txt
[3]:
https://www.sphinx-doc.org/en/master/extdev/deprecated.html#dev-deprecated-apis
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=sphinx7.1;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=sphinx7.1&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
--- End Message ---
--- Begin Message ---
Source: sagemath
Source-Version: 10.9-1
Done: Maximiliano Curia <[email protected]>
We believe that the bug you reported is fixed in the latest version of
sagemath, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Maximiliano Curia <[email protected]> (supplier of updated sagemath 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 28 Sep 2026 18:03:12 +0200
Source: sagemath
Architecture: source
Version: 10.9-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Math Team <[email protected]>
Changed-By: Maximiliano Curia <[email protected]>
Closes: 1010735 1042683 1042935 1050182 1051153 1052051 1056885 1057328 1063302
1065953 1075836 1076651 1084585 1104216
Changes:
sagemath (10.9-1) unstable; urgency=medium
.
* Team upload.
* New upstream release 10.9 (Closes: #1010735).
* Update watch file to format version 5.
* Build system and dependency updates:
- Switch build system to mesonpy with meson, ninja-build, and patchelf.
- Export PYBUILD_DESTDIR = debian/tmp and use debian/stamp-build-install.
- Enable hardening=+all and remove obsolete get-orig-source target.
- Strip non-standard RUNPATH from compiled extension modules with chrpath.
- Add native Cython 3 compatibility (Closes: #1056885).
- Add support for Python 3.12/3.13 and drop removed stdlib modules
(Closes: #1084585, #1051153, #1057328).
- Build-Depend on python3-numpy-dev instead of python3-numpy.
- Replace obsolete pkg-config dependency with pkgconf.
- Drop obsolete distutils dependencies (Closes: #1065953).
- Drop obsolete yasm runtime dependency (Closes: #1104216).
- Drop obsolete pcre3 dependencies (Closes: #1050182).
- Add furo, python3-sphinx-copybutton, and python3-sphinx-inline-tabs to
Build-Depends; fix FTBFS with Sphinx >= 7.1 (Closes: #1042683).
- Rebuild and update dependencies for Singular 4.3/4.4, FLINT 3,
libec-dev (>= 20260707), libplanarity-dev (>= 5.0.0.0), and GAP 4.13+
(Closes: #1052051, #1063302, #1075836, #1076651).
- Add python3-lrcalc to Recommends of python3-sage.
- Bump Standards-Version to 4.7.4.
* Patches:
- Add d0-meson-debian-fixes.patch for Meson build fixes and Python 3.15.
- Add d0-pari-cxx-signal.patch to fix PARI C++ signal namespace clash.
- Add d1-doc-privacy-breach.patch to eliminate remote badges in
developer doc.
- Add u2-eclib-int-scalar.patch to support eclib with INT scalar class.
- Add u2-planarity-header.patch to adapt to planarity >= 5.0 API.
- Add u2-cli-lazy-imports.patch to defer heavy imports in sage.cli.
- Add u2-lrcalc-lazy-import.patch and u2-doc-mock-imports.patch for
optional
packages.
- Add u2-gap-autoload-packages.patch to autoload standard GAP packages.
- Add u2-braid-libbraiding-fallback.patch to handle missing libbraiding.
- Forward-port d0-cygdb3.patch, d1-doc-docs.patch,
u2-fix-sympow-cachedir.patch, dt-ignore-deprecation-warnings.patch.
- Drop patches applied upstream or no longer needed (all u0-*,
dt-version-ipywidgets-6-*, d0-mathjax.patch, d0-rubiks.patch,
u1-ipywidgets-repr.patch).
* Documentation & Packaging metadata:
- Update python3-sage.install for dist-info metadata.
- Update debian/clean and debian/depcheck.py for upstream root layout.
- Update debian/copyright with 10.9 paths, BSL-1.0 and LGPL-2.1+ licenses,
and current FSF license URL (verified with decopy).
- Deduplicate documentation using relative symlinks after dh_sphinxdoc.
- Add Keywords entry to debian/sagemath.desktop.
- Override unknown-architecture for unofficial kfreebsd-* ports.
- Clean up and update Lintian overrides for current source and tag formats.
* Test suite & autopkgtest:
- Use python3 -m sage.doctest and python3-pytest instead of sage -t.
- Add python3-pytest and make to autopkgtest Depends.
- Limit OPENBLAS_NUM_THREADS and OMP_NUM_THREADS to 1 during test suite
execution.
- Update debian/tests/control environment variables and failure threshold
for doctest execution.
- Remove deprecated skip-not-installable restriction.
- Fix autopkgtest failures on i386 (Closes: #1042935).
Checksums-Sha1:
1561736b6473508ffc91ca86ff2ba048402b41fd 5583 sagemath_10.9-1.dsc
d52f7c01e352b751af55d848614ff0a24f44dc73 31159553 sagemath_10.9.orig.tar.gz
a4ba4ef07ffce1cff6a68841c876c1a7186ebfc2 50964 sagemath_10.9-1.debian.tar.xz
3ce20373721eb5f2a657e6790abd7e511f0a2532 40969 sagemath_10.9-1_source.buildinfo
Checksums-Sha256:
704b03179d095f7a684ef725cef5db917b44e54cc88169d7275d432ddb95196d 5583
sagemath_10.9-1.dsc
4ca791fbbe7950d0aa4fe2945a9de719509cd455e7111684ec623ef4027e322f 31159553
sagemath_10.9.orig.tar.gz
02023d066621912e386a1b1eb51071540d24080ae0a24f838f4c71792d0c2ba7 50964
sagemath_10.9-1.debian.tar.xz
358bc88347e83fb61fc5c970e57b899b300acd558708f77ea94ba451163c006b 40969
sagemath_10.9-1_source.buildinfo
Files:
830cfdbe7c3400d2bf6eecf9acee4bf5 5583 math optional sagemath_10.9-1.dsc
c71b0977345a31c70ecf94ba228c44e5 31159553 math optional
sagemath_10.9.orig.tar.gz
025b3ab18f63d23cd42024e6fcb7678b 50964 math optional
sagemath_10.9-1.debian.tar.xz
932a8f8ffe70a96a2388c030469a2668 40969 math optional
sagemath_10.9-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAmq6kM0ACgkQxxl2mbKb
Iyp7FA//f9TMSoqbODPObFo/iHS8bJzGuZVB9RCVfKEbXvABwk7YgZOKUxG07aBj
R+I6bXRidHGTDIoTfbaA2LjZaNkCvbUINwyevATQFmGe40PQwDKuCsfSbELCtnDu
+P9wOehAH53ZHrbDR62CmiEjcIU2PZYy6Sld6x+/hukyoASMfpgTJH3xZZ7R4MwN
KCycYLyWiuPBMj5nvFZdC8a4bfhtHJDM7xKgkVXYqiPIPVko20fW6RHgDDr+lYwt
MVskLZ36um9NYt5e9BhcgsM3BtF8Q+mFKthsgq9FUT8x4cqPD/V0uzBxYZznFrMQ
d5GMnWXUm80ziFMEAqC11hQt5V3h+lwlqNkM6N2SnMZidvC/U4qRghjIoZh/ahzq
RT6JuW59g8P31kSGKmg5UA8hQ8LdRpcYlyAV2M7avWp+VpiPqqjVoI6SQhoBeMRW
gTrx+KmaaCTYrA9iQD6uYv4H4ENulpBO3qd5XZ4z7tXYkVPe7hCiQAVT7fm8QljI
ms0r/KcGmAJQhp4LmIApefw2hoeD4mgOyVj/ecWCHoGFBQXsVy3t21Gika9zIrUC
dvdP77BVvL/e8wHiWfNrSnZ3DMbOIiJxtK6l2T5Z2Q9+Ndb1L52GSK2Kivj7ccGO
vqBWkfSzLZjiisbbpzOOrlasxWU/MUeWOsRXGIRDfiSsqwDnOf4=
=DBBM
-----END PGP SIGNATURE-----
pgpZcahaviV6d.pgp
Description: PGP signature
--- End Message ---