Our docbuilder isn't great, it uses some custom outdated tricks for parallel building. Switching to a more standard sphinx setup is overdue...
Try cleaning docs by make doc-clean and then run make -j1 On Tuesday, January 7, 2025 at 2:56:47 AM UTC-6 pgal...@gmail.com wrote: > Thank you for the advice! I used python3.12 and the warning about urllib3 > disappeared, but make still hangs (for > 12 hours) on the same package > ``sagemath_doc_html-none``. > > [sagemath_doc_html-none] Setting up build directory > /Users/user/sage/sage/local/var/tmp/sage/build/sagemath_doc_html-none > [sagemath_doc_html-none] Host system: Darwin PG-Mac-2.local 24.2.0 Darwin > Kernel Version 24.2.0: Fri Dec 6 19:03:40 PST 2024; > root:xnu-11215.61.5~2/RELEASE_ARM64_T6041 > arm64 [sagemath_doc_html-none] C compiler: gcc, Apple clang version 16.0.0 > (clang-1600.0.26.6), Target: arm64-apple-darwin24.2.0, Thread model: > posix, InstalledDir: /Library/Developer/CommandLineTools/usr/bin > [sagemath_doc_html-none] No stamp file for package 'sagemath_doc_html' in > /Users/user/sage/sage/local/var/lib/sage/installed [sagemath_doc_html-none] > No spkg-legacy-uninstall script; nothing to do [sagemath_doc_html-none] > [spkg-install] mkdir -p en/reference/repl [sagemath_doc_html-none] > [spkg-install] sage -advanced > en/reference/repl/options.txt > [sagemath_doc_html-none] [spkg-install] make > doc-inventory--reference-references [sagemath_doc_html-none] [spkg-install] > sage --docbuild --no-pdf-links reference/references inventory ^Z [6]+ > Stopped make > > > > > On Friday, January 3, 2025 at 10:01:34 AM UTC-8 John H Palmieri wrote: > >> To expand on Dima's answer: Homebrew's Python 3.13 is too new to build >> Sage, so Sage will reject it. The built-in Python 3.9 is, as Dima says, no >> good for use with Sage. So install Homebrew's python 3.12, do "make >> distclean", and then use >> >> ./configure --with-python=" fill in path to python3.12 " >> >> or you can do precisely this: >> >> ./configure --with-python=`which python3.12` >> >> This should use Homebrew's Python 3.12 (assuming you've installed it) >> even if you've also installed newer versions with Homebrew. You can tell >> which version of Python is being used by the symlink "venv" in the >> top-level Sage directory: >> >> % ls -l venv >> lrwxr-xr-x 1 palmieri staff 34 Dec 30 15:41 venv -> >> local/var/lib/sage/venv-python3.12 >> >> and also by the name of the directory starting "venv" in >> local/var/lib/sage/: >> >> % ls local/var/lib/sage/ >> installed scripts venv-python3.12 >> >> >> On Thursday, January 2, 2025 at 10:02:22 PM UTC-8 dim...@gmail.com wrote: >> >>> /usr/bin/python3 you end up using is no good for using with Sage (and >>> unfortunately our >>> ./configure doesn't see it), that's why. >>> >>> I suggested to install python3.12 in Homebrew and use it instead. >>> (because building Sage's python is broken on your macOS version, too, >>> there aren't many other >>> easy options) >>> >>> Dima >>> >>> >>> On Thursday, January 2, 2025 at 10:27:48 PM UTC-6 pgal...@gmail.com >>> wrote: >>> >>>> Hi, >>>> >>>> I am running into the following problem when building Sage from source. >>>> It hangs while installing the package ``sagemath_doc_html-none``. It shows >>>> a warning about urllib3 incompatibility with OpenSSL 1.1.1+. >>>> >>>> I am on an M4 Macbook Pro (2024), Mac OS Sequoia 15.2, using Homebrew >>>> Python 3.13.1. >>>> >>>> Below is what appears in the log file, but the terminal actually hangs >>>> on the line >>>> >>>> [spkg-install] warnings.warn( >>>> >>>> [spkg-install] >>>> /Users/user/sage/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/urllib3/__init__.py:34: >>>> NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the >>>> 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: >>>> https://github.com/urllib3/urllib3/issues/3020 >>>> [spkg-install] warnings.warn( >>>> Setting up build directory >>>> /Users/user/sage/sage/local/var/tmp/sage/build/sagemath_doc_html-none >>>> Host system: Darwin PG-Mac-2.local 24.2.0 Darwin Kernel Version 24.2.0: >>>> Fri Dec 6 19:03:40 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6041 >>>> arm64 >>>> C compiler: gcc, Apple clang version 16.0.0 (clang-1600.0.26.6), Target: >>>> arm64-apple-darwin24.2.0, Thread model: posix, InstalledDir: >>>> /Library/Developer/CommandLineTools/usr/bin >>>> No stamp file for package 'sagemath_doc_html' in >>>> /Users/user/sage/sage/local/var/lib/sage/installed >>>> No spkg-legacy-uninstall script; nothing to do >>>> [spkg-install] mkdir -p en/reference/repl >>>> [spkg-install] sage -advanced > en/reference/repl/options.txt >>>> [spkg-install] >>>> /Users/user/sage/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/urllib3/__init__.py:34: >>>> NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the >>>> 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: >>>> https://github.com/urllib3/urllib3/issues/3020 >>>> [spkg-install] warnings.warn( >>>> [spkg-install] make doc-inventory--reference-references >>>> [spkg-install] sage --docbuild --no-pdf-links reference/references >>>> inventory >>>> [spkg-install] >>>> /Users/user/sage/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/urllib3/__init__.py:34: >>>> NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the >>>> 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: >>>> https://github.com/urllib3/urllib3/issues/3020 >>>> [spkg-install] warnings.warn( >>>> [spkg-install] [reference] Interrupting Mathematica... >>>> [spkg-install] [reference] Interrupted! >>>> [spkg-install] make[5]: *** [doc-inventory-reference] Interrupt: 2 >>>> ************************************************************************ >>>> Error installing package sagemath_doc_html-none >>>> ************************************************************************ >>>> Please email sage-devel (http://groups.google.com/group/sage-devel) >>>> explaining the problem and including the log files >>>> /Users/user/sage/sage/logs/pkgs/sagemath_doc_html-none.log >>>> and >>>> /Users/user/sage/sage/config.log >>>> Describe your computer, operating system, etc. >>>> If you want to try to fix the problem yourself, *don't* just cd to >>>> /Users/user/sage/sage/local/var/tmp/sage/build/sagemath_doc_html-none and >>>> type 'make' or whatever is appropriate. >>>> Instead, the following commands setup all environment variables >>>> correctly and load a subshell for you to debug the error: >>>> (cd >>>> '/Users/user/sage/sage/local/var/tmp/sage/build/sagemath_doc_html-none' && >>>> '/Users/user/sage/sage/sage' --buildsh) >>>> When you are done debugging, you can type "exit" to leave the subshell. >>>> >>>> >>>> -- >>>> Best, >>>> Pasha >>>> >>> -- 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 visit https://groups.google.com/d/msgid/sage-support/ef0d0895-328e-4712-8d50-cf25188b24a0n%40googlegroups.com.