sagemath_doc_html does not build

92 views
Skip to first unread message

enriqu...@gmail.com

unread,
Dec 19, 2025, 12:23:30 PM (14 days ago) 12/19/25
to sage-devel
In fedora 43 and some machines, this package does not build. I attach the log, it must be something local to it but I am not able to see what. Best, Enrique.
sagemath_doc_html-none.log

Antonio Rojas

unread,
Dec 19, 2025, 12:36:19 PM (14 days ago) 12/19/25
to sage-devel
El viernes, 19 de diciembre de 2025 a las 18:23:30 UTC+1, enriqu...@gmail.com escribió:
In fedora 43 and some machines, this package does not build. I attach the log, it must be something local to it but I am not able to see what. Best, Enrique.

This happens if you build using a non-english locale. These warnings are whitelisted in https://github.com/sagemath/sage/blob/10.8/src/sage_docbuild/sphinxbuild.py#L104-105, but only in their English version, not the localized one. I guess sage_docbuild should set LANG=C before running sphinx (this is done in https://github.com/sagemath/sage/blob/10.8/src/bin/sage#L986 for the doc build via the sage bash script, but that doesn't affect meson).

enriqu...@gmail.com

unread,
Dec 19, 2025, 1:00:08 PM (14 days ago) 12/19/25
to sage-devel
Gracias/thanks, Antonio. I do not see a difference with other machine where it works. Doing LANG=C make doc does not help.

Dima Pasechnik

unread,
Dec 19, 2025, 1:23:05 PM (14 days ago) 12/19/25
to sage-...@googlegroups.com, enriqu...@gmail.com


On December 19, 2025 12:00:07 PM CST, "enriqu...@gmail.com" <enriqu...@gmail.com> wrote:
>Gracias/thanks, Antonio. I do not see a difference with other machine where
>it works. Doing LANG=C make doc does not help.
>

perhaps it should be

LC_ALL=C

enriqu...@gmail.com

unread,
Dec 20, 2025, 7:45:14 AM (13 days ago) 12/20/25
to sage-devel
It does not work either. It must be something I changed in this particular laptop. Having documentation is useful, also because when incremental builds it detects wrong system libraries being used. I will try to check with meson build instead make. Thanks any way, Enrique.

enriqu...@gmail.com

unread,
Dec 22, 2025, 1:57:59 PM (11 days ago) 12/22/25
to sage-devel
Thanks for the tips. Passing LC_ALL=C (and any other like LANG or LANGUAGE) in the terminal where I built sage was OK but only after a make maintainer-clean. Would it be possible with a less radical clean?

enriqu...@gmail.com

unread,
Dec 23, 2025, 10:53:19 AM (10 days ago) 12/23/25
to sage-devel
make sage-distro-clean and then make doc is enough
Reply all
Reply to author
Forward
0 new messages