I don't have any insights on how to fix this, but the error doesn't looks particularly specific to the documentation:
Traceback (most recent call last): File "sage/libs/singular/function.pyx", line 1814 ... NameError: Singular kernel function 'freeAlgebra' is not defined On Sunday, July 24, 2022 at 3:32:04 AM UTC-7 [email protected] wrote: > > > On Sun, 24 Jul 2022, 12:24 Lucas Tan, <[email protected]> wrote: > >> Hi Dima, >> >> Thanks. Sage can be started. >> Is there no way to resolve or complete the build? >> > > not sure if it ever reliably worked on Cygwin, cf e.g. > https://trac.sagemath.org/ticket/25089 > > Given that Cygwin isn't really supported by CPython, it's hard to expect > that sphinx (the tool behind doc building) is tested and debugged there. > > That's why I pointed you to WSL as a preferred solution. > > >> Sincerely, >> Lucas >> >> On Sunday, 24 July 2022 at 17:49:08 UTC+8 [email protected] wrote: >> >>> It could be something obscure, Cygwin only. >>> Can you start Sage, can you run tests via >>> ./sage -t <file name>? >>> >>> On Sun, 24 Jul 2022, 11:40 Lucas Tan, <[email protected]> wrote: >>> >>>> >>>> Yes,I tried a few times. Each time I tried, I always run "make >>>> doc-clean doc-uninstall" first. >>>> On Sunday, 24 July 2022 at 15:10:09 UTC+8 [email protected] wrote: >>>> >>>>> Did you try clearing the docs? >>>>> >>>>> make doc-clean >>>>> >>>>> as recommended by the builder, >>>>> >>>>> and re-running make ? >>>>> >>>>> On Sun, 24 Jul 2022, 03:09 Lucas Tan, <[email protected]> wrote: >>>>> >>>>>> Hi Dima and Matthias, >>>>>> >>>>>> The build has failed again. I have attached the relevant logs. >>>>>> Thank you. >>>>>> >>>>>> >>>>>> On Friday, 22 July 2022 at 18:34:44 UTC+8 [email protected] wrote: >>>>>> >>>>>>> yes >>>>>>> >>>>>>> On Fri, 22 Jul 2022, 11:32 Lucas Tan, <[email protected]> wrote: >>>>>>> >>>>>>>> There is both "singular" and "singular-devel", should I uninstall >>>>>>>> both? >>>>>>>> >>>>>>>> Sincerely, >>>>>>>> Lucas >>>>>>>> >>>>>>>> On Friday, 22 July 2022 at 17:53:25 UTC+8 [email protected] wrote: >>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, 22 Jul 2022, 10:46 Lucas Tan, <[email protected]> wrote: >>>>>>>>> >>>>>>>>>> Do I run by "make singular-clean"? >>>>>>>>>> >>>>>>>>> >>>>>>>>> no, no, I am talking about Cygwin package Singular. You'd need to >>>>>>>>> use apt-cyg or whatever the Cygwin package manager is called. >>>>>>>>> >>>>>>>>> >>>>>>>>>> On Friday, 22 July 2022 at 17:19:34 UTC+8 [email protected] wrote: >>>>>>>>>> >>>>>>>>>>> Could you uninstall Cygwin's Singular package (which is too old >>>>>>>>>>> to be used by Sage, but can still conflict with Sage's Singular) >>>>>>>>>>> >>>>>>>>>>> and run >>>>>>>>>>> >>>>>>>>>>> make >>>>>>>>>>> >>>>>>>>>>> again? >>>>>>>>>>> >>>>>>>>>>> On Fri, 22 Jul 2022, 02:11 Lucas Tan, <[email protected]> >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Sure, thanks Dima. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Friday, 22 July 2022 at 09:09:56 UTC+8 [email protected] >>>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> your log appears to show that Singular was not built correctly. >>>>>>>>>>>>> Can you look at logs/pkg/singular*.log, >>>>>>>>>>>>> or just post it here? >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Fri, 22 Jul 2022, 01:39 Lucas Tan, <[email protected]> >>>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hi Matthias, >>>>>>>>>>>>>> >>>>>>>>>>>>>> I restarted the installation from scratch and verified that >>>>>>>>>>>>>> python3 has been accepted. This issue has been resolved, thank >>>>>>>>>>>>>> you. >>>>>>>>>>>>>> After running "make" for 10+ hours, a new error has >>>>>>>>>>>>>> occurred. I apologize for troubling you once more. >>>>>>>>>>>>>> >>>>>>>>>>>>>> The process [sagemath_doc_html-none] could not be completed. >>>>>>>>>>>>>> I have attached the relevant logs files below. >>>>>>>>>>>>>> As recommended by the error message, I ran the command "make >>>>>>>>>>>>>> doc-clean doc-uninstall" before trying "make" again. After 3 >>>>>>>>>>>>>> tries, the >>>>>>>>>>>>>> issue remains persistent. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thank you very, very much for your assistance. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Sincerely, >>>>>>>>>>>>>> Lucas >>>>>>>>>>>>>> On Thursday, 21 July 2022 at 15:45:57 UTC+8 Matthias Koeppe >>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> By reading the configure messages >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Thursday, July 21, 2022 at 12:37:08 AM UTC-7 >>>>>>>>>>>>>>> [email protected] wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> How do I verify that Cygwin python3 is accepted? >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Thursday, 21 July 2022 at 15:12:29 UTC+8 Matthias Koeppe >>>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> No, these system packages need to be installed. Otherwise >>>>>>>>>>>>>>>>> you won't get Cygwin's python package accepted. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> I recommend to start from scratch. Run configure, read >>>>>>>>>>>>>>>>> what it recommends to install via Cygwin, do this >>>>>>>>>>>>>>>>> installation, then run >>>>>>>>>>>>>>>>> configure again. >>>>>>>>>>>>>>>>> Before running "make", verify that it accepts the Cygwin >>>>>>>>>>>>>>>>> python3. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Wednesday, July 20, 2022 at 11:47:41 PM UTC-7 >>>>>>>>>>>>>>>>> [email protected] wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Hi Matthias, >>>>>>>>>>>>>>>>>> Yes, they are. I have just uninstalled them via Cygwin >>>>>>>>>>>>>>>>>> setup. Should I uninstall libffi as well? >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> On Thursday, 21 July 2022 at 13:22:48 UTC+8 Matthias >>>>>>>>>>>>>>>>>> Koeppe wrote: >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Are these cygwin packages installed? bzip2 libbz2-devel >>>>>>>>>>>>>>>>>>> xz liblzma-devel >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> On Wednesday, July 20, 2022 at 10:01:30 PM UTC-7 >>>>>>>>>>>>>>>>>>> [email protected] wrote: >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> Apologies, my log files are here >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> On Thursday, 21 July 2022 at 12:47:16 UTC+8 Lucas Tan >>>>>>>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> Hi Matthias, >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> I ran "make bzip2-clean liblzma-clean libffi-clean >>>>>>>>>>>>>>>>>>>>> xz-clean" twice to ensure that the files are removed. >>>>>>>>>>>>>>>>>>>>> I check for the following message: "No legacy >>>>>>>>>>>>>>>>>>>>> uninstaller found for 'xz'; nothing to do", for all >>>>>>>>>>>>>>>>>>>>> files. >>>>>>>>>>>>>>>>>>>>> I have also ensured that I have python3.9 installed >>>>>>>>>>>>>>>>>>>>> with "python3 --version" >>>>>>>>>>>>>>>>>>>>> After running the above, I run "./configure" once more >>>>>>>>>>>>>>>>>>>>> as suggested by John H Palmieri above. >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> I'm not sure if this is relevant, but I noticed these >>>>>>>>>>>>>>>>>>>>> messages when running "make": >>>>>>>>>>>>>>>>>>>>> *(first line of xz)* >>>>>>>>>>>>>>>>>>>>> [xz-5.2.5] Using cached file >>>>>>>>>>>>>>>>>>>>> /home/Lucas/sage/sage-9.6/upstream/xz-5.2.5.tar.gz >>>>>>>>>>>>>>>>>>>>> [xz-5.2.5] xz-5.2.5 >>>>>>>>>>>>>>>>>>>>> [xz-5.2.5] >>>>>>>>>>>>>>>>>>>>> ==================================================== >>>>>>>>>>>>>>>>>>>>> [xz-5.2.5] Setting up build directory for xz-5.2.5 >>>>>>>>>>>>>>>>>>>>> [xz-5.2.5] Finished extraction >>>>>>>>>>>>>>>>>>>>> *(similarly for libffi, the cached file is used)* >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> *(first line of python3)* >>>>>>>>>>>>>>>>>>>>> [python3-3.10.3] Using cached file >>>>>>>>>>>>>>>>>>>>> /home/Lucas/sage/sage-9.6/upstream/Python-3.10.3.tar.xz >>>>>>>>>>>>>>>>>>>>> [python3-3.10.3] python3-3.10.3 >>>>>>>>>>>>>>>>>>>>> [python3-3.10.3] >>>>>>>>>>>>>>>>>>>>> ==================================================== >>>>>>>>>>>>>>>>>>>>> [python3-3.10.3] Setting up build directory for >>>>>>>>>>>>>>>>>>>>> python3-3.10.3 >>>>>>>>>>>>>>>>>>>>> [python3-3.10.3] Finished extraction >>>>>>>>>>>>>>>>>>>>> *(shortly later...)* >>>>>>>>>>>>>>>>>>>>> [python3-3.10.3] Thread model: posix >>>>>>>>>>>>>>>>>>>>> [python3-3.10.3] Supported LTO compression algorithms: >>>>>>>>>>>>>>>>>>>>> zlib zstd >>>>>>>>>>>>>>>>>>>>> [python3-3.10.3] gcc version 11.3.0 (GCC) >>>>>>>>>>>>>>>>>>>>> [python3-3.10.3] >>>>>>>>>>>>>>>>>>>>> **************************************************** >>>>>>>>>>>>>>>>>>>>> [python3-3.10.3] Package 'python3' is currently not >>>>>>>>>>>>>>>>>>>>> installed >>>>>>>>>>>>>>>>>>>>> [python3-3.10.3] Uninstalling 'python3' with legacy >>>>>>>>>>>>>>>>>>>>> uninstaller >>>>>>>>>>>>>>>>>>>>> [python3-3.10.3] Cleaning out old python / python3 / >>>>>>>>>>>>>>>>>>>>> python3 venv binaries >>>>>>>>>>>>>>>>>>>>> [python3-3.10.3] Configuring python3-3.10.3 >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> On Thursday, 21 July 2022 at 11:11:42 UTC+8 Lucas Tan >>>>>>>>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> Hi Matthias, >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> I would believe so. >>>>>>>>>>>>>>>>>>>>>> ``` >>>>>>>>>>>>>>>>>>>>>> $ apt-cyg install python39 >>>>>>>>>>>>>>>>>>>>>> Package python39 is already installed, skipping >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> $ apt-cyg install python3 >>>>>>>>>>>>>>>>>>>>>> Package python3 is already installed, skipping >>>>>>>>>>>>>>>>>>>>>> ``` >>>>>>>>>>>>>>>>>>>>>> On Thursday, 21 July 2022 at 11:08:50 UTC+8 Matthias >>>>>>>>>>>>>>>>>>>>>> Koeppe wrote: >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> Did you install the cygwin python3.9 packages? >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> On Wednesday, July 20, 2022 at 8:05:47 PM UTC-7 >>>>>>>>>>>>>>>>>>>>>>> [email protected] wrote: >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> Hi Matthias, >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> I keep receiving the error: package: python3-3.10.3 >>>>>>>>>>>>>>>>>>>>>>>> failed to build. >>>>>>>>>>>>>>>>>>>>>>>> How do I restrict "make" to python 3.9? >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> Sincerely, >>>>>>>>>>>>>>>>>>>>>>>> Lucas >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> On Thursday, 21 July 2022 at 10:34:41 UTC+8 >>>>>>>>>>>>>>>>>>>>>>>> Matthias Koeppe wrote: >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> On Wednesday, July 20, 2022 at 7:26:06 PM UTC-7 >>>>>>>>>>>>>>>>>>>>>>>>> [email protected] wrote: >>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>> I could not install several packages using >>>>>>>>>>>>>>>>>>>>>>>>>> "apt-cyg". Some packages could not be found, and >>>>>>>>>>>>>>>>>>>>>>>>>> some packages are not of >>>>>>>>>>>>>>>>>>>>>>>>>> the same build or version (e.g. apt-cyg install >>>>>>>>>>>>>>>>>>>>>>>>>> python3 -> python 3.9, not >>>>>>>>>>>>>>>>>>>>>>>>>> python 3.10 as used by "make"). >>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> That's normal. There's no python 3.10 for Cygwin. >>>>>>>>>>>>>>>>>>>>>>>>> Use Cygwin's python 3.9 package. >>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>>>>>> Google Groups "sage-devel" group. >>>>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from >>>>>>>>>>>>>> it, send an email to [email protected]. >>>>>>>>>>>>>> >>>>>>>>>>>>> To view this discussion on the web visit >>>>>>>>>>>>>> https://groups.google.com/d/msgid/sage-devel/3676403c-6b07-4a1a-a39d-8b561c5eb082n%40googlegroups.com >>>>>>>>>>>>>> >>>>>>>>>>>>>> <https://groups.google.com/d/msgid/sage-devel/3676403c-6b07-4a1a-a39d-8b561c5eb082n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>>>>>>>> . >>>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>>>> Google Groups "sage-devel" group. >>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from >>>>>>>>>>>> it, send an email to [email protected]. >>>>>>>>>>>> >>>>>>>>>>> To view this discussion on the web visit >>>>>>>>>>>> https://groups.google.com/d/msgid/sage-devel/9c1c7739-95e2-41c4-989e-f00de98de2abn%40googlegroups.com >>>>>>>>>>>> >>>>>>>>>>>> <https://groups.google.com/d/msgid/sage-devel/9c1c7739-95e2-41c4-989e-f00de98de2abn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>>>>>> . >>>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>> Google Groups "sage-devel" group. >>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>>>> send an email to [email protected]. >>>>>>>>>> >>>>>>>>> To view this discussion on the web visit >>>>>>>>>> https://groups.google.com/d/msgid/sage-devel/46769b25-d48c-4953-b3c5-12aaa40b444en%40googlegroups.com >>>>>>>>>> >>>>>>>>>> <https://groups.google.com/d/msgid/sage-devel/46769b25-d48c-4953-b3c5-12aaa40b444en%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>>>> . >>>>>>>>>> >>>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "sage-devel" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>> send an email to [email protected]. >>>>>>>> >>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/sage-devel/a9e2b114-4cf1-4646-ad96-eab80cb85f66n%40googlegroups.com >>>>>>>> >>>>>>>> <https://groups.google.com/d/msgid/sage-devel/a9e2b114-4cf1-4646-ad96-eab80cb85f66n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> >>>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "sage-devel" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> >>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/sage-devel/a2f5c3fe-4a81-41a0-a409-23eff1ee69ccn%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/sage-devel/a2f5c3fe-4a81-41a0-a409-23eff1ee69ccn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "sage-devel" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> >>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/sage-devel/fb99b82a-057f-4c45-87c1-c3408ef5e70bn%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/sage-devel/fb99b82a-057f-4c45-87c1-c3408ef5e70bn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "sage-devel" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/740b9dd2-7135-450d-9585-8c905a612653n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/sage-devel/740b9dd2-7135-450d-9585-8c905a612653n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/dcdae79b-9468-425d-a55a-88f731b207aan%40googlegroups.com.
