I ran the same commands from scratch in new folders: $ git clone -c core.symlinks=true --filter blob:none \ --origin upstream --branch develop --tags \ https://github.com/sagemath/sage.git $ cd sage $ make configure $ source ./.homebrew-build-env $ ./configure --with-python=`which pythonX.X` $ make -s V=0 -j1
The results: - python3.9: works (as above) - python3.10: also works - python3.11: Error installing package scipy-1.12.0 (end of log file attached) - python3.12: hangs on installing sagemath_doc_html-none (as above); scipy-1.12.0 installed successfully. On Thursday, January 9, 2025 at 10:27:49 AM UTC-8 dim...@gmail.com wrote: > It would be great if you tried newer Homebrew Pythons, .i.e. 3.10 and > 3.11, too, and reported here the results. > > On Thursday, January 9, 2025 at 10:52:07 AM UTC-6 pgal...@gmail.com wrote: > >> It was installed via homebrew, same as python3.12: >> $ which python3.9 /opt/homebrew/bin/python3.9 >> >> >> On Thursday, January 9, 2025 at 7:59:39 AM UTC-8 dim...@gmail.com wrote: >> >>> Thanks. So, what's the output of >>> >>> which python3.9 >>> in your case? And where does it come from? I suppose the issue lies in >>> multiptocessing/multithreading support in Python, which eveloved a lot >>> since 3.9. >>> >>> More Pythons to try might be from https://www.python.org/downloads/ (it >>> would be good to know which of these 3.9-3.12 work) >>> >>> On Thursday, January 9, 2025 at 2:51:05 AM UTC-6 pgal...@gmail.com >>> wrote: >>> >>>> Huh, the problem got completely solved just by switching to Python 9! >>>> Thanks a lot for the help! >>>> >>>> $ make distclean $ ./configure --with-python=`which python3.9` $ make >>>> -s V=0 -j1 >>>> >>>> ... >>>> >>>> [tzlocal-5.0.1] installing. Log file: >>>> /Users/user/sage/sage/logs/pkgs/tzlocal-5.0.1.log [tzlocal-5.0.1] >>>> successfully installed. Sage build/upgrade complete! real 101m19.420s >>>> user 96m41.546s sys 14m53.704s PG-Mac-2:sage user$ ./sage >>>> ┌────────────────────────────────────────────────────────────────────┐ │ >>>> SageMath version 10.6.beta3, Release Date: 2025-01-04 │ │ Using Python >>>> 3.9.21. Type "help()" for help. │ >>>> └────────────────────────────────────────────────────────────────────┘ >>>> ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ >>>> Warning: this is a prerelease version, and it may be unstable. ┃ >>>> ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ >>>> sage: sin(pi/3) 1/2*sqrt(3) >>>> >>>> >>>> >>>> On Tuesday, January 7, 2025 at 8:52:57 AM UTC-8 Pavel Galashin wrote: >>>> >>>>> That doesn't seem to help: >>>>> >>>>> [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 >>>>> >>>>> >>>>> >>>>> sagemath_doc_html-none.log: >>>>> >>>>> 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] make doc-inventory--reference-references [spkg-install] >>>>> sage >>>>> --docbuild --no-pdf-links reference/references inventory 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] make doc-inventory--reference-references [spkg-install] >>>>> sage >>>>> --docbuild --no-pdf-links reference/references inventory >>>>> >>>>> On Tuesday, January 7, 2025 at 8:13:14 AM UTC-8 dim...@gmail.com >>>>> wrote: >>>>> >>>>>> 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/e3c7396c-c8a5-4c79-ad1f-05e5ae04982fn%40googlegroups.com.
[scipy-1.12.0] installing. Log file: /Users/user/sage3_tmp/sage/logs/pkgs/scipy-1.12.0.log [scipy-1.12.0] error installing, exit status 1. End of log file: [scipy-1.12.0] [spkg-install] [1236/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_dcsrch.py [scipy-1.12.0] [spkg-install] [1237/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_dual_annealing.py [scipy-1.12.0] [spkg-install] [1238/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_hessian_update_strategy.py [scipy-1.12.0] [spkg-install] [1239/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_isotonic.py [scipy-1.12.0] [spkg-install] [1240/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_lbfgsb_py.py [scipy-1.12.0] [spkg-install] [1241/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_linesearch.py [scipy-1.12.0] [spkg-install] [1242/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_linprog.py [scipy-1.12.0] [spkg-install] [1243/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_linprog_doc.py [scipy-1.12.0] [spkg-install] [1244/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_linprog_highs.py [scipy-1.12.0] [spkg-install] [1245/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_linprog_ip.py [scipy-1.12.0] [spkg-install] [1246/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_linprog_rs.py [scipy-1.12.0] [spkg-install] [1247/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_linprog_simplex.py [scipy-1.12.0] [spkg-install] [1248/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_linprog_util.py [scipy-1.12.0] [spkg-install] [1249/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_milp.py [scipy-1.12.0] [spkg-install] [1250/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_minimize.py [scipy-1.12.0] [spkg-install] [1251/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_minpack_py.py [scipy-1.12.0] [spkg-install] [1252/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_nnls.py [scipy-1.12.0] [spkg-install] [1253/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_nonlin.py [scipy-1.12.0] [spkg-install] [1254/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_numdiff.py [scipy-1.12.0] [spkg-install] [1255/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_optimize.py [scipy-1.12.0] [spkg-install] [1256/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_qap.py [scipy-1.12.0] [spkg-install] [1257/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_remove_redundancy.py [scipy-1.12.0] [spkg-install] [1258/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_root.py [scipy-1.12.0] [spkg-install] [1259/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_root_scalar.py [scipy-1.12.0] [spkg-install] [1260/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_shgo.py [scipy-1.12.0] [spkg-install] [1261/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_slsqp_py.py [scipy-1.12.0] [spkg-install] [1262/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_spectral.py [scipy-1.12.0] [spkg-install] [1263/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_tnc.py [scipy-1.12.0] [spkg-install] [1264/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_trustregion.py [scipy-1.12.0] [spkg-install] [1265/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_trustregion_dogleg.py [scipy-1.12.0] [spkg-install] [1266/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_trustregion_exact.py [scipy-1.12.0] [spkg-install] [1267/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_trustregion_krylov.py [scipy-1.12.0] [spkg-install] [1268/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_trustregion_ncg.py [scipy-1.12.0] [spkg-install] [1269/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_tstutils.py [scipy-1.12.0] [spkg-install] [1270/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/_zeros_py.py [scipy-1.12.0] [spkg-install] [1271/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/cobyla.py [scipy-1.12.0] [spkg-install] [1272/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/cython_optimize.pxd [scipy-1.12.0] [spkg-install] [1273/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/lbfgsb.py [scipy-1.12.0] [spkg-install] [1274/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/linesearch.py [scipy-1.12.0] [spkg-install] [1275/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/minpack.py [scipy-1.12.0] [spkg-install] [1276/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/minpack2.py [scipy-1.12.0] [spkg-install] [1277/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/moduleTNC.py [scipy-1.12.0] [spkg-install] [1278/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/nonlin.py [scipy-1.12.0] [spkg-install] [1279/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/optimize.py [scipy-1.12.0] [spkg-install] [1280/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/slsqp.py [scipy-1.12.0] [spkg-install] [1281/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/tnc.py [scipy-1.12.0] [spkg-install] [1282/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/optimize/zeros.py [scipy-1.12.0] [spkg-install] [1283/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/datasets/__init__.py [scipy-1.12.0] [spkg-install] [1284/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/datasets/_fetchers.py [scipy-1.12.0] [spkg-install] [1285/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/datasets/_registry.py [scipy-1.12.0] [spkg-install] [1286/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/datasets/_download_all.py [scipy-1.12.0] [spkg-install] [1287/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/datasets/_utils.py [scipy-1.12.0] [spkg-install] [1288/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/misc/__init__.py [scipy-1.12.0] [spkg-install] [1289/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/misc/_common.py [scipy-1.12.0] [spkg-install] [1290/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/misc/common.py [scipy-1.12.0] [spkg-install] [1291/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/misc/doccer.py [scipy-1.12.0] [spkg-install] [1292/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/misc/ascent.dat [scipy-1.12.0] [spkg-install] [1293/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/misc/ecg.dat [scipy-1.12.0] [spkg-install] [1294/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/misc/face.dat [scipy-1.12.0] [spkg-install] [1295/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/misc/tests/__init__.py [scipy-1.12.0] [spkg-install] [1296/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/misc/tests/test_common.py [scipy-1.12.0] [spkg-install] [1297/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/misc/tests/test_doccer.py [scipy-1.12.0] [spkg-install] [1298/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/scipy/misc/tests/test_config.py [scipy-1.12.0] [spkg-install] [1299/1299] /Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/tmp/sage/build/scipy-1.12.0/src/.mesonpy-cj5d2_rp/scipy/__config__.py [scipy-1.12.0] [spkg-install] Traceback (most recent call last): [scipy-1.12.0] [spkg-install] File "/Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in <module> [scipy-1.12.0] [spkg-install] main() [scipy-1.12.0] [spkg-install] File "/Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 357, in main [scipy-1.12.0] [spkg-install] json_out["return_val"] = hook(**hook_input["kwargs"]) [scipy-1.12.0] [spkg-install] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [scipy-1.12.0] [spkg-install] File "/Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 271, in build_wheel [scipy-1.12.0] [spkg-install] return _build_backend().build_wheel( [scipy-1.12.0] [spkg-install] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [scipy-1.12.0] [spkg-install] File "/Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/mesonpy/__init__.py", line 985, in wrapper [scipy-1.12.0] [spkg-install] return func(*args, **kwargs) [scipy-1.12.0] [spkg-install] ^^^^^^^^^^^^^^^^^^^^^ [scipy-1.12.0] [spkg-install] File "/Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/mesonpy/__init__.py", line 1038, in build_wheel [scipy-1.12.0] [spkg-install] with _project(config_settings) as project: [scipy-1.12.0] [spkg-install] File "/opt/homebrew/Cellar/python@3.11/3.11.11/Frameworks/Python.framework/Versions/3.11/lib/python3.11/contextlib.py", line 144, in __exit__ [scipy-1.12.0] [spkg-install] next(self.gen) [scipy-1.12.0] [spkg-install] File "/Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/mesonpy/__init__.py", line 909, in _project [scipy-1.12.0] [spkg-install] with contextlib.ExitStack() as ctx: [scipy-1.12.0] [spkg-install] File "/opt/homebrew/Cellar/python@3.11/3.11.11/Frameworks/Python.framework/Versions/3.11/lib/python3.11/contextlib.py", line 601, in __exit__ [scipy-1.12.0] [spkg-install] raise exc_details[1] [scipy-1.12.0] [spkg-install] File "/opt/homebrew/Cellar/python@3.11/3.11.11/Frameworks/Python.framework/Versions/3.11/lib/python3.11/contextlib.py", line 586, in __exit__ [scipy-1.12.0] [spkg-install] if cb(*exc_details): [scipy-1.12.0] [spkg-install] ^^^^^^^^^^^^^^^^ [scipy-1.12.0] [spkg-install] File "/opt/homebrew/Cellar/python@3.11/3.11.11/Frameworks/Python.framework/Versions/3.11/lib/python3.11/tempfile.py", line 943, in __exit__ [scipy-1.12.0] [spkg-install] self.cleanup() [scipy-1.12.0] [spkg-install] File "/opt/homebrew/Cellar/python@3.11/3.11.11/Frameworks/Python.framework/Versions/3.11/lib/python3.11/tempfile.py", line 947, in cleanup [scipy-1.12.0] [spkg-install] self._rmtree(self.name, ignore_errors=self._ignore_cleanup_errors) [scipy-1.12.0] [spkg-install] File "/opt/homebrew/Cellar/python@3.11/3.11.11/Frameworks/Python.framework/Versions/3.11/lib/python3.11/tempfile.py", line 929, in _rmtree [scipy-1.12.0] [spkg-install] _shutil.rmtree(name, onerror=onerror) [scipy-1.12.0] [spkg-install] File "/opt/homebrew/Cellar/python@3.11/3.11.11/Frameworks/Python.framework/Versions/3.11/lib/python3.11/shutil.py", line 763, in rmtree [scipy-1.12.0] [spkg-install] onerror(os.rmdir, path, sys.exc_info()) [scipy-1.12.0] [spkg-install] File "/opt/homebrew/Cellar/python@3.11/3.11.11/Frameworks/Python.framework/Versions/3.11/lib/python3.11/shutil.py", line 761, in rmtree [scipy-1.12.0] [spkg-install] os.rmdir(path, dir_fd=dir_fd) [scipy-1.12.0] [spkg-install] OSError: [Errno 66] Directory not empty: './.mesonpy-cj5d2_rp' [scipy-1.12.0] [spkg-install] [scipy-1.12.0] [spkg-install] ERROR Backend subprocess exited when trying to invoke build_wheel [scipy-1.12.0] [spkg-install] ******************************************************************************** [scipy-1.12.0] [spkg-install] Error building a wheel for scipy-1.12.0 [scipy-1.12.0] [spkg-install] ******************************************************************************** [scipy-1.12.0] ************************************************************************ [scipy-1.12.0] Error installing package scipy-1.12.0 [scipy-1.12.0] ************************************************************************ [scipy-1.12.0] Full log file: /Users/user/sage3_tmp/sage/logs/pkgs/scipy-1.12.0.log make[4]: *** [scipy-SAGE_VENV-no-deps] Error 1 make[3]: *** [/Users/user/sage3_tmp/sage/local/var/lib/sage/venv-python3.11/var/lib/sage/installed/scipy-1.12.0] Error 2 make[2]: *** [all-start] Error 2 *************************************************************** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all-start'): * package: scipy-1.12.0 last build time: Jan 11 04:45 log file: /Users/user/sage3_tmp/sage/logs/pkgs/scipy-1.12.0.log