Can you try starting Sage's Python:

./sage --python

and at Python prompt, run

from sage.all import *

It should lead to a crash, but hopefully it will produce more information.

As well, it might be that the latest updates to macOS, or XCode, or
Homebrew, after 9.8 was released, broke it. Can you try the latest,
10.0.rc0 ?
(you will need to get the source via git, as we only release tarballs for
stable releases)

Last but not the least, it could be that you have things in /usr/local
which clash with libraries/binaries used by Sage.





On Tue, 25 Apr 2023, 05:24 dibyendu...@gmail.com, <
dibyendu.roy1...@gmail.com> wrote:

> Kindly help me. I am getting the following error.
>
> make --no-print-directory sagemath_doc_html-SAGE_DOCS-no-deps
>
> [sagemath_doc_html-none] mkdir -p en/reference/repl
>
> [sagemath_doc_html-none] sage -advanced > en/reference/repl/options.txt
>
> [sagemath_doc_html-none] make doc-inventory--reference-references
>
> [sagemath_doc_html-none] sage --docbuild --no-pdf-links
> reference/references inventory
>
> [sagemath_doc_html-none]
> ------------------------------------------------------------------------
>
> [sagemath_doc_html-none] (no backtrace available)
>
> [sagemath_doc_html-none]
> ------------------------------------------------------------------------
>
> [sagemath_doc_html-none] Unhandled SIGSEGV: A segmentation fault occurred.
>
> [sagemath_doc_html-none] This probably occurred because a *compiled*
> module has a bug
>
> [sagemath_doc_html-none] in it and is not properly wrapped with sig_on(),
> sig_off().
>
> [sagemath_doc_html-none] Python will now terminate.
>
> [sagemath_doc_html-none]
> ------------------------------------------------------------------------
>
> [sagemath_doc_html-none]
> /Users/dibyendu/sage-9.8/local/var/lib/sage/venv-python3.11.1/bin/sage-python:
> line 2: 87940 Segmentation fault: 11  sage -python "$@"
>
> [sagemath_doc_html-none] make[6]: ***
> [doc-inventory--reference-references] Error 139
>
> [sagemath_doc_html-none] make[5]: *** [doc-inventory-reference] Error 2
>
> make[4]: *** [sagemath_doc_html-SAGE_DOCS-no-deps] Error 2
>
> make[3]: ***
> [/Users/dibyendu/sage-9.8/local/var/lib/sage/installed/sagemath_doc_html-none]
> Error 2
>
> make[2]: *** [all-start] Error 2
>
>
> real 1m47.694s
>
> user 0m9.522s
>
> sys 0m3.107s
>
> ***************************************************************
>
> Error building Sage.
>
>
> The following package(s) may have failed to build (not necessarily
>
> during this run of 'make all-start'):
>
>
> It is safe to delete any log files and build directories, but they
>
> contain information that is helpful for debugging build problems.
>
> WARNING: If you now run 'make' again, the build directory of the
>
> same version of the package will, by default, be deleted. Set the
>
> environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
>
>
> make[1]: *** [all-start] Error 1
>
> make: *** [all] Error 2
>
> On Monday, April 24, 2023 at 7:00:20 PM UTC+5:30 dibyendu...@gmail.com
> wrote:
>
>> Please find the attached config.log
>>
>> On Monday, April 24, 2023 at 5:09:46 PM UTC+5:30 Dima Pasechnik wrote:
>>
>>> please post config.log
>>>
>>>
>>> On Mon, Apr 24, 2023 at 12:27 PM dibyendu...@gmail.com
>>> <dibyendu...@gmail.com> wrote:
>>> >
>>> > [sagelib-9.8] error: subprocess-exited-with-error
>>> >
>>> > [sagelib-9.8]
>>> >
>>> > [sagelib-9.8] × python setup.py develop did not run successfully.
>>> >
>>> > [sagelib-9.8] │ exit code: 1
>>> >
>>> > [sagelib-9.8] ╰─> See above for output.
>>> >
>>> > [sagelib-9.8]
>>> >
>>> > [sagelib-9.8] note: This error originates from a subprocess, and is
>>> likely not a problem with pip.
>>> >
>>> > [sagelib-9.8]
>>> ********************************************************************************
>>>
>>> >
>>> > [sagelib-9.8] Error installing
>>> >
>>> > [sagelib-9.8]
>>> ********************************************************************************
>>>
>>> >
>>> > make[4]: *** [sagelib-SAGE_VENV-no-deps] Error 1
>>> >
>>> > make[3]: ***
>>> [/Users/dibyendu/sage-9.8/local/var/lib/sage/venv-python3.11.1/var/lib/sage/installed/sagelib-9.8]
>>> Error 2
>>> >
>>> > make[2]: *** [all-start] Error 2
>>> >
>>> >
>>> > real 24m0.469s
>>> >
>>> > user 25m12.494s
>>> >
>>> > sys 0m49.759s
>>> >
>>> > ***************************************************************
>>> >
>>> > Error building Sage.
>>> >
>>> >
>>> > The following package(s) may have failed to build (not necessarily
>>> >
>>> > during this run of 'make all-start'):
>>> >
>>> >
>>> > * package: sagemath_doc_html-none
>>> >
>>> > last build time: Apr 24 16:31
>>> >
>>> > log file:
>>> /Users/dibyendu/sage-9.8/logs/pkgs/sagemath_doc_html-none.log
>>> >
>>> >
>>> > * package: sagelib-9.8
>>> >
>>> > last build time: Apr 24 16:55
>>> >
>>> > log file: /Users/dibyendu/sage-9.8/logs/pkgs/sagelib-9.8.log
>>> >
>>> >
>>> > It is safe to delete any log files and build directories, but they
>>> >
>>> > contain information that is helpful for debugging build problems.
>>> >
>>> > WARNING: If you now run 'make' again, the build directory of the
>>> >
>>> > same version of the package will, by default, be deleted. Set the
>>> >
>>> > environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
>>> >
>>> >
>>> > make[1]: *** [all-start] Error 1
>>> >
>>> > make: *** [all] Error 2
>>> >
>>> >
>>> > Kindly help.
>>> >
>>> >
>>> > On Monday, April 24, 2023 at 3:55:29 PM UTC+5:30 dibyendu...@gmail.com
>>> wrote:
>>> >>
>>> >> Dear all,
>>> >>
>>> >> I was trying to compile Sage 9.8 from the source in macbook m2 and
>>> getting the following error. Kindly help.
>>> >>
>>> >> [sagelib-9.8] Successfully installed sagemath-standard-9.8
>>> >>
>>> >> [sagelib-9.8]
>>> >>
>>> >> [sagelib-9.8] real 20m6.827s
>>> >>
>>> >> [sagelib-9.8] user 21m31.875s
>>> >>
>>> >> [sagelib-9.8] sys 0m37.380s
>>> >>
>>> >> make --no-print-directory sagemath_doc_html-SAGE_DOCS-no-deps
>>> >>
>>> >> [sagemath_doc_html-none] mkdir -p en/reference/repl
>>> >>
>>> >> [sagemath_doc_html-none] sage -advanced >
>>> en/reference/repl/options.txt
>>> >>
>>> >> [sagemath_doc_html-none] make doc-inventory--reference-references
>>> >>
>>> >> [sagemath_doc_html-none] sage --docbuild --no-pdf-links
>>> reference/references inventory
>>> >>
>>> >> [sagemath_doc_html-none]
>>> ------------------------------------------------------------------------
>>> >>
>>> >> [sagemath_doc_html-none] (no backtrace available)
>>> >>
>>> >> [sagemath_doc_html-none]
>>> ------------------------------------------------------------------------
>>> >>
>>> >> [sagemath_doc_html-none] Unhandled SIGBUS: A bus error occurred.
>>> >>
>>> >> [sagemath_doc_html-none] This probably occurred because a *compiled*
>>> module has a bug
>>> >>
>>> >> [sagemath_doc_html-none] in it and is not properly wrapped with
>>> sig_on(), sig_off().
>>> >>
>>> >> [sagemath_doc_html-none] Python will now terminate.
>>> >>
>>> >> [sagemath_doc_html-none]
>>> ------------------------------------------------------------------------
>>> >>
>>> >> [sagemath_doc_html-none]
>>> /Users/dibyendu/sage-9.8/local/var/lib/sage/venv-python3.11.1/bin/sage-python:
>>> line 2: 73739 Bus error: 10 sage -python "$@"
>>> >>
>>> >> [sagemath_doc_html-none] make[6]: ***
>>> [doc-inventory--reference-references] Error 138
>>> >>
>>> >> [sagemath_doc_html-none] make[5]: *** [doc-inventory-reference] Error
>>> 2
>>> >>
>>> >> make[4]: *** [sagemath_doc_html-SAGE_DOCS-no-deps] Error 2
>>> >>
>>> >> make[3]: ***
>>> [/Users/dibyendu/sage-9.8/local/var/lib/sage/installed/sagemath_doc_html-none]
>>> Error 2
>>> >>
>>> >> make[2]: *** [all-start] Error 2
>>> >>
>>> >>
>>> >> real 21m47.461s
>>> >>
>>> >> user 21m38.313s
>>> >>
>>> >> sys 0m39.371s
>>> >>
>>> >> ***************************************************************
>>> >>
>>> >> Error building Sage.
>>> >>
>>> >>
>>> >> The following package(s) may have failed to build (not necessarily
>>> >>
>>> >> during this run of 'make all-start'):
>>> >>
>>> >>
>>> >> It is safe to delete any log files and build directories, but they
>>> >>
>>> >> contain information that is helpful for debugging build problems.
>>> >>
>>> >> WARNING: If you now run 'make' again, the build directory of the
>>> >>
>>> >> same version of the package will, by default, be deleted. Set the
>>> >>
>>> >> environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
>>> >>
>>> >>
>>> >> make[1]: *** [all-start] Error 1
>>> >>
>>> >> make: *** [all] Error 2
>>> >
>>> > --
>>> > 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 on the web visit
>>> https://groups.google.com/d/msgid/sage-support/79560a20-e7a9-4a16-a219-7c0ea51f0810n%40googlegroups.com.
>>>
>>>
>> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/4fd43847-36e4-4261-9f9b-c75ca9c269c6n%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-support/4fd43847-36e4-4261-9f9b-c75ca9c269c6n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq1vgyhp%3DSMJ%3DLvvY7dY2UDpN96bqm0dbWban2Gp3abrBw%40mail.gmail.com.

Reply via email to