Hi Dima, Here is the log for MacOS 10.15.7.
Thank you for your help! Anne On Tuesday, September 24, 2024 at 8:38:02 AM UTC-7 dim...@gmail.com wrote: > Hi Anne, > > Please post the log file for this: > > package: ipykernel-6.27.1 > last build time: Sep 23 23:48 > log file: /Users/anne/sage/sage/logs/pkgs/ipykernel-6.27.1.log > > On Tue, Sep 24, 2024 at 8:10 AM Anne Schilling > <anne1.s...@gmail.com> wrote: > > > > > > Dear All, > > > > To add further confusion to this issue, I now tried to install sage from > source on an older MacOS 10.15.7 and got this error message. I followed all > the instructions in README.md: > > > > ... > > [cypari-2.1.5] [spkg-pipinst] Looking in links: > /Users/anne/sage/sage/local/var/lib/sage/venv-python3.10/var/lib/sage/wheels > > [cypari-2.1.5] [spkg-pipinst] Processing > /Users/anne/sage/sage/local/var/lib/sage/venv-python3.10/var/lib/sage/wheels/cypari2-2.1.5-cp310-cp310-macosx_10_15_x86_64.whl > > (from -r > /Users/anne/sage/sage/local/var/lib/sage/venv-python3.10/var/lib/sage/scripts/cypari/spkg-requirements.txt > > (line 1)) > > [cypari-2.1.5] [spkg-pipinst] Requirement already satisfied: > cysignals>=1.7 in > /Users/anne/sage/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages > > (from cypari2@ > file:///Users/anne/sage/sage/local/var/lib/sage/venv-python3.10/var/lib/sage/wheels/cypari2-2.1.5-cp310-cp310-macosx_10_15_x86_64.whl->-r > > /Users/anne/sage/sage/local/var/lib/sage/venv-python3.10/var/lib/sage/scripts/cypari/spkg-requirements.txt > > (line 1)) (1.11.4) > > [cypari-2.1.5] [spkg-pipinst] Installing collected packages: cypari2 > > [cypari-2.1.5] [spkg-pipinst] Successfully installed cypari2-2.1.5 > > [cypari-2.1.5] Deleting build directory > /Users/anne/sage/sage/local/var/lib/sage/venv-python3.10/var/tmp/sage/build/cypari-2.1.5 > > [cypari-2.1.5] Finished installing cypari-2.1.5 > > [cypari-2.1.5] real 12m29.794s user 10m52.117s sys 0m16.185s > > 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: ipykernel-6.27.1 > > last build time: Sep 23 23:48 > > log file: /Users/anne/sage/sage/logs/pkgs/ipykernel-6.27.1.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. > > > > real 44m57.426s user 209m54.674s sys 32m35.642s > > make[1]: *** [all-start] Error 1 > > make: *** [all] Error 2 > > > > Best wishes, > > > > Anne > > On Monday, September 23, 2024 at 9:10:12 PM UTC-7 Anne Schilling wrote: > >> > >> Hi Kwankyu, > >> > >> I tried the simplified installation instructions in 38659. Now I get > the following error message (after doing make distclean as well): > >> > >> [cypari-2.2.0] [spkg-pipinst] Requirement already satisfied: > cysignals>=1.11.3 in > /Applications/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages > > (from cypari2@ > file:///Applications/sage/local/var/lib/sage/venv-python3.9/var/lib/sage/wheels/cypari2-2.2.0-cp39-cp39-macosx_11_0_universal2.whl->-r > > /Applications/sage/local/var/lib/sage/venv-python3.9/var/lib/sage/scripts/cypari/spkg-requirements.txt > > (line 1)) (1.11.4) > >> [cypari-2.2.0] [spkg-pipinst] Installing collected packages: cypari2 > >> [cypari-2.2.0] [spkg-pipinst] Successfully installed cypari2-2.2.0 > >> [cypari-2.2.0] Deleting build directory > /Applications/sage/local/var/lib/sage/venv-python3.9/var/tmp/sage/build/cypari-2.2.0 > >> [cypari-2.2.0] Finished installing cypari-2.2.0 > >> [cypari-2.2.0] real 1m44.371s user 1m31.273s sys 0m7.499s > >> > >> 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: ipykernel-6.27.1 > >> last build time: Sep 23 20:59 > >> log file: /Applications/sage/logs/pkgs/ipykernel-6.27.1.log > >> > >> * package: scipy-1.12.0 > >> last build time: Sep 23 20:59 > >> log file: /Applications/sage/logs/pkgs/scipy-1.12.0.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. > >> > >> real 33m20.291s user 80m26.058s sys 15m16.308s > >> > >> make[1]: *** [all-start] Error 1 > >> make: *** [all] Error 2 > >> > >> Best wishes, > >> > >> Anne > >> > >> On Monday, September 23, 2024 at 5:59:17 PM UTC-7 Kwankyu Lee wrote: > >>> > >>> Hi Anne, > >>> > >>> The PR https://github.com/sagemath/sage/pull/38659 aims to simplify > the installation instructions in README. > >>> > >>> As you seem to have a new macOS, would you try the guide in the new > README on your platform? > >>> > >>> I have no idea about the cause of your troubles though. > >>> > >>> Kwankyu > > > > -- > > 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 sage-devel+...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/a53e3416-59c2-4364-9a2d-b5e031d99916n%40googlegroups.com > . > -- 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 sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/a32bf782-ac78-4fec-90d2-a1254653e30bn%40googlegroups.com.
Using cached file /Applications/sage/upstream/ipykernel-6.27.1.tar.gz Setting up build directory /Applications/sage/local/var/lib/sage/venv-python3.10/var/tmp/sage/build/ipykernel-6.27.1 No patch files found in ../patches Host system: Darwin lolita.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jun 21 21:18:39 PDT 2022; root:xnu-6153.141.66~1/RELEASE_X86_64 x86_64 C compiler: gcc, Configured with: --prefix=/Applications/Xcode-11.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode-11.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1, Apple clang version 11.0.3 (clang-1103.0.32.62), Target: x86_64-apple-darwin19.6.0, Thread model: posix, InstalledDir: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin No stamp file for package 'ipykernel' in /Applications/sage/local/var/lib/sage/venv-python3.10/var/lib/sage/installed No spkg-legacy-uninstall script; nothing to do [spkg-install] Installing ipykernel-6.27.1 [spkg-install] * Creating isolated environment: venv+pip... [spkg-install] * Installing packages in isolated environment: [spkg-install] - hatchling>=1.4 [spkg-install] - jupyter_client>=6 [spkg-install] * Getting build dependencies for wheel... [spkg-install] * Building wheel... [spkg-install] Traceback (most recent call last): [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in <module> [spkg-install] main() [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 357, in main [spkg-install] json_out["return_val"] = hook(**hook_input["kwargs"]) [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 271, in build_wheel [spkg-install] return _build_backend().build_wheel( [spkg-install] File "/private/var/folders/w7/5f55cjjn4s5g04gb_0bzld280000gn/T/build-env-5go8huwk/lib/python3.10/site-packages/hatchling/build.py", line 58, in build_wheel [spkg-install] return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard']))) [spkg-install] File "/private/var/folders/w7/5f55cjjn4s5g04gb_0bzld280000gn/T/build-env-5go8huwk/lib/python3.10/site-packages/hatchling/builders/plugin/interface.py", line 147, in build [spkg-install] build_hook.initialize(version, build_data) [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/var/tmp/sage/build/ipykernel-6.27.1/src/hatch_build.py", line 17, in initialize [spkg-install] from ipykernel.kernelspec import make_ipkernel_cmd, write_kernel_spec [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/var/tmp/sage/build/ipykernel-6.27.1/src/ipykernel/__init__.py", line 7, in <module> [spkg-install] from .connect import * [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/var/tmp/sage/build/ipykernel-6.27.1/src/ipykernel/connect.py", line 12, in <module> [spkg-install] import jupyter_client [spkg-install] File "/private/var/folders/w7/5f55cjjn4s5g04gb_0bzld280000gn/T/build-env-5go8huwk/lib/python3.10/site-packages/jupyter_client/__init__.py", line 3, in <module> [spkg-install] from .asynchronous import AsyncKernelClient [spkg-install] File "/private/var/folders/w7/5f55cjjn4s5g04gb_0bzld280000gn/T/build-env-5go8huwk/lib/python3.10/site-packages/jupyter_client/asynchronous/__init__.py", line 1, in <module> [spkg-install] from .client import AsyncKernelClient # noqa [spkg-install] File "/private/var/folders/w7/5f55cjjn4s5g04gb_0bzld280000gn/T/build-env-5go8huwk/lib/python3.10/site-packages/jupyter_client/asynchronous/client.py", line 5, in <module> [spkg-install] import zmq.asyncio [spkg-install] File "/private/var/folders/w7/5f55cjjn4s5g04gb_0bzld280000gn/T/build-env-5go8huwk/lib/python3.10/site-packages/zmq/__init__.py", line 103, in <module> [spkg-install] from zmq import backend [spkg-install] File "/private/var/folders/w7/5f55cjjn4s5g04gb_0bzld280000gn/T/build-env-5go8huwk/lib/python3.10/site-packages/zmq/backend/__init__.py", line 31, in <module> [spkg-install] raise original_error from None [spkg-install] File "/private/var/folders/w7/5f55cjjn4s5g04gb_0bzld280000gn/T/build-env-5go8huwk/lib/python3.10/site-packages/zmq/backend/__init__.py", line 26, in <module> [spkg-install] _ns = select_backend(first) [spkg-install] File "/private/var/folders/w7/5f55cjjn4s5g04gb_0bzld280000gn/T/build-env-5go8huwk/lib/python3.10/site-packages/zmq/backend/select.py", line 31, in select_backend [spkg-install] mod = import_module(name) [spkg-install] File "/usr/local/Cellar/python@3.10/3.10.6_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py", line 126, in import_module [spkg-install] return _bootstrap._gcd_import(name[level:], package, level) [spkg-install] File "/private/var/folders/w7/5f55cjjn4s5g04gb_0bzld280000gn/T/build-env-5go8huwk/lib/python3.10/site-packages/zmq/backend/cython/__init__.py", line 6, in <module> [spkg-install] from . import ( [spkg-install] ImportError: dlopen(/private/var/folders/w7/5f55cjjn4s5g04gb_0bzld280000gn/T/build-env-5go8huwk/lib/python3.10/site-packages/zmq/backend/cython/_device.cpython-310-darwin.so, 2): Library not loaded: /usr/local/opt/libsodium/lib/libsodium.23.dylib [spkg-install] Referenced from: /usr/local/opt/zeromq/lib/libzmq.5.dylib [spkg-install] Reason: image not found [spkg-install] [spkg-install] ERROR Backend subprocess exited when trying to invoke build_wheel [spkg-install] Warning: building with "python3 -m build --wheel --outdir=dist ." failed. [spkg-install] Retrying with "python3 -m build --wheel --outdir=dist --no-isolation --skip-dependency-check .". [spkg-install] * Building wheel... [spkg-install] Traceback (most recent call last): [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in <module> [spkg-install] main() [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 357, in main [spkg-install] json_out["return_val"] = hook(**hook_input["kwargs"]) [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 271, in build_wheel [spkg-install] return _build_backend().build_wheel( [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/hatchling/build.py", line 58, in build_wheel [spkg-install] return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard']))) [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/hatchling/builders/plugin/interface.py", line 147, in build [spkg-install] build_hook.initialize(version, build_data) [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/var/tmp/sage/build/ipykernel-6.27.1/src/hatch_build.py", line 17, in initialize [spkg-install] from ipykernel.kernelspec import make_ipkernel_cmd, write_kernel_spec [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/var/tmp/sage/build/ipykernel-6.27.1/src/ipykernel/__init__.py", line 7, in <module> [spkg-install] from .connect import * [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/var/tmp/sage/build/ipykernel-6.27.1/src/ipykernel/connect.py", line 12, in <module> [spkg-install] import jupyter_client [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/jupyter_client/__init__.py", line 3, in <module> [spkg-install] from .asynchronous import AsyncKernelClient [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/jupyter_client/asynchronous/__init__.py", line 1, in <module> [spkg-install] from .client import AsyncKernelClient # noqa [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/jupyter_client/asynchronous/client.py", line 5, in <module> [spkg-install] import zmq.asyncio [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/zmq/__init__.py", line 103, in <module> [spkg-install] from zmq import backend [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/zmq/backend/__init__.py", line 31, in <module> [spkg-install] raise original_error from None [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/zmq/backend/__init__.py", line 26, in <module> [spkg-install] _ns = select_backend(first) [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/zmq/backend/select.py", line 31, in select_backend [spkg-install] mod = import_module(name) [spkg-install] File "/usr/local/Cellar/python@3.10/3.10.6_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py", line 126, in import_module [spkg-install] return _bootstrap._gcd_import(name[level:], package, level) [spkg-install] File "/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/zmq/backend/cython/__init__.py", line 6, in <module> [spkg-install] from . import ( [spkg-install] ImportError: dlopen(/Applications/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/zmq/backend/cython/_device.cpython-310-darwin.so, 2): Library not loaded: /usr/local/opt/libsodium/lib/libsodium.23.dylib [spkg-install] Referenced from: /usr/local/opt/zeromq/lib/libzmq.5.dylib [spkg-install] Reason: image not found [spkg-install] [spkg-install] ERROR Backend subprocess exited when trying to invoke build_wheel [spkg-install] ******************************************************************************** [spkg-install] Error building a wheel for ipykernel-6.27.1 [spkg-install] ******************************************************************************** ************************************************************************ Error installing package ipykernel-6.27.1 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log files /Applications/sage/logs/pkgs/ipykernel-6.27.1.log and /Applications/sage/config.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Applications/sage/local/var/lib/sage/venv-python3.10/var/tmp/sage/build/ipykernel-6.27.1 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 '/Applications/sage/local/var/lib/sage/venv-python3.10/var/tmp/sage/build/ipykernel-6.27.1' && '/Applications/sage/sage' --buildsh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************