Error buildign sage

64 views
Skip to first unread message

brett stevens

unread,
Dec 17, 2024, 8:52:17 AM12/17/24
to sage-support
I am trying to build sagemath on a Lenovo Thinkpad X1 tablet running Ubuntu 2024.10 from a git clone of the sagemath repository.  Yesterday Dima helped me solve one problem.  Today I am having an error building sagemath_doc_html-none.  As suggested I did run ```make doc-clean doc-uninstall``` and try again but ended again with an error.
config.log
sagemath_doc_html-none.log

dim...@gmail.com

unread,
Dec 17, 2024, 5:54:42 PM12/17/24
to sage-s...@googlegroups.com
On Tue, Dec 17, 2024 at 05:51:29AM -0800, brett stevens wrote:
> I am trying to build sagemath on a Lenovo Thinkpad X1 tablet running Ubuntu
> 2024.10 from a git clone of the sagemath repository. Yesterday Dima helped
> me solve one problem
> <https://groups.google.com/g/sage-support/c/HWqsXBW0r08>. Today I am
> having an error building sagemath_doc_html-none. As suggested I did run
> ```make doc-clean doc-uninstall``` and try again but ended again with an
> error.
from your log:

...
[spkg-install] [reference] modfrm_hecketriangle:
[spkg-install] [reference] WARNING: Unable to fetch /home/brett/Projects/SAGE/sage/local/share/doc/sage/html/en/reference/modfrm_hecketriangle/searchindex.js
[spkg-install] [reference] modmisc:
[spkg-install] [reference] WARNING: Unable to fetch /home/brett/Projects/SAGE/sage/local/share/doc/sage/html/en/reference/modmisc/searchindex.js
[...]
[spkg-install] [reference] WARNING: Unable to fetch /home/brett/Projects/SAGE/sage/local/share/doc/sage/html/en/reference/quasimodfrm/searchindex.js
...

I don't know what it could be. Probably a race condition, yet again, in
our vintage docbuilder.

Try to run make as "make -j1" after "make doc-clean doc-uninstall"

Dima
signature.asc

Seth Chaiken

unread,
Dec 19, 2024, 9:11:52 AM12/19/24
to sage-support
I had errors building docs.  I found that changing to single threaded make (replacing export MAKE='make -j10' with export MAKE='make')
eventually got it to work...symptom of a race condition in the builder.

Dima Pasechnik

unread,
Dec 19, 2024, 9:58:39 AM12/19/24
to sage-s...@googlegroups.com
We should really drop our old docbuild system in favour of a more
direct use of Sphinx, so that only changed files are rebuilt, etc.
But it's quite a bit of work, and we are short of hands in this area.

Volunteers?

Dima
> --
> You received this message because you are subscribed to the Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/sage-support/8613051e-29c9-4a21-a34e-2b85a9539863n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages