Dear all,

I am having trouble installing SageMath on MacOS 15.0. I get the following 
error message:

....
amax_k_ -DCNAME=samax_k -DCHAR_NAME=\"samax_k_\" -DCHAR_CNAME=\"samax_k\" 
-DNO_AFFINITY -I.. -UDOUBLE  -UCOMPLEX -UCOMPLEX -UDOUBLE  -DUSE_ABS 
-UUSE_MIN ../kernel/arm64/amax.S -o samax_k.o
[openblas-0.3.26] [spkg-install] make[6]: *** No rule to make target 
`../kernel/arm64/amin.S', needed by `samin_k.o'.  Stop.
[openblas-0.3.26] [spkg-install] make[5]: *** [libs] Error 1
[openblas-0.3.26] [spkg-install] 
********************************************************************************
[openblas-0.3.26] [spkg-install] Error building openblas-0.3.26
[openblas-0.3.26] [spkg-install] 
********************************************************************************
[openblas-0.3.26] 
************************************************************************
[openblas-0.3.26] Error installing package openblas-0.3.26
[openblas-0.3.26] 
************************************************************************
[openblas-0.3.26] Please email sage-devel 
(http://groups.google.com/group/sage-devel)
[openblas-0.3.26] explaining the problem and including the log files
[openblas-0.3.26]   /Applications/sage/logs/pkgs/openblas-0.3.26.log
[openblas-0.3.26] and
[openblas-0.3.26]   /Applications/sage/config.log
[openblas-0.3.26] Describe your computer, operating system, etc.
[openblas-0.3.26] If you want to try to fix the problem yourself, *don't* 
just cd to
[openblas-0.3.26] 
/Applications/sage/local/var/tmp/sage/build/openblas-0.3.26 and type 'make' 
or whatever is appropriate.
[openblas-0.3.26] Instead, the following commands setup all environment 
variables
[openblas-0.3.26] correctly and load a subshell for you to debug the error:
[openblas-0.3.26]   (cd 
'/Applications/sage/local/var/tmp/sage/build/openblas-0.3.26' && 
'/Applications/sage/sage' --buildsh)
[openblas-0.3.26] When you are done debugging, you can type "exit" to leave 
the subshell.
[openblas-0.3.26] 
************************************************************************
[openblas-0.3.26] real 11m53.637s user 8m5.845s sys 2m24.718s
make[4]: *** [openblas-SAGE_LOCAL-no-deps] Error 1
make[3]: *** 
[/Applications/sage/local/var/lib/sage/installed/openblas-0.3.26] 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:         ipykernel-6.27.1
  last build time: Sep 23 10:31
  log file:        /Applications/sage/logs/pkgs/ipykernel-6.27.1.log

* package:         openblas-0.3.26
  last build time: Sep 23 10:37
  log file:        /Applications/sage/logs/pkgs/openblas-0.3.26.log
  build directory: 
/Applications/sage/local/var/tmp/sage/build/openblas-0.3.26

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 11m58.056s user 14m42.784s sys 4m9.943s
make[1]: *** [all-start] Error 1
make: *** [all] Error 2

The logs are attached.

Best wishes,

Anne

-- 
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/21f2c768-c732-46d3-aef4-be86d2b42c1cn%40googlegroups.com.
Attempting to download package ipykernel-6.27.1.tar.gz from mirrors
https://github.com/sagemath/sage/releases/download/10.5/ipykernel-6.27.1.tar.gz
[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: 
'//github.com/sagemath/sage/releases/download/10.5/ipykernel-6.27.1.tar.gz'
https://github.com/sagemath/sage/releases/download/10.4/ipykernel-6.27.1.tar.gz
[......................................................................]
Setting up build directory 
/Applications/sage/local/var/lib/sage/venv-python3.9/var/tmp/sage/build/ipykernel-6.27.1
No patch files found in ../patches
Host system: Darwin MacBook-Pro-3.local 24.0.0 Darwin Kernel Version 24.0.0: 
Mon Aug 12 20:51:54 PDT 2024; root:xnu-11215.1.10~2/RELEASE_ARM64_T6000 arm64
C compiler: gcc, Apple clang version 16.0.0 (clang-1600.0.26.3), Target: 
arm64-apple-darwin24.0.0, Thread model: posix, InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
No stamp file for package 'ipykernel' in 
/Applications/sage/local/var/lib/sage/venv-python3.9/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.9/lib/python3.9/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.9/lib/python3.9/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.9/lib/python3.9/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-5_ktzxl1/lib/python3.9/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-5_ktzxl1/lib/python3.9/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.9/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.9/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.9/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-5_ktzxl1/lib/python3.9/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-5_ktzxl1/lib/python3.9/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-5_ktzxl1/lib/python3.9/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-5_ktzxl1/lib/python3.9/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-5_ktzxl1/lib/python3.9/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-5_ktzxl1/lib/python3.9/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-5_ktzxl1/lib/python3.9/site-packages/zmq/backend/select.py",
 line 31, in select_backend
[spkg-install]     mod = import_module(name)
[spkg-install]   File 
"/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/importlib/__init__.py",
 line 127, 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-5_ktzxl1/lib/python3.9/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-5_ktzxl1/lib/python3.9/site-packages/zmq/backend/cython/_device.cpython-39-darwin.so,
 0x0002): symbol not found in flat namespace '_zmq_errno'
[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.9/lib/python3.9/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.9/lib/python3.9/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.9/lib/python3.9/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.9/lib/python3.9/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.9/lib/python3.9/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.9/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.9/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.9/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.9/lib/python3.9/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.9/lib/python3.9/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.9/lib/python3.9/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.9/lib/python3.9/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.9/lib/python3.9/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.9/lib/python3.9/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.9/lib/python3.9/site-packages/zmq/backend/select.py",
 line 31, in select_backend
[spkg-install]     mod = import_module(name)
[spkg-install]   File 
"/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/importlib/__init__.py",
 line 127, in import_module
[spkg-install]     return _bootstrap._gcd_import(name[level:], package, level)
[spkg-install]   File 
"/Applications/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/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.9/lib/python3.9/site-packages/zmq/backend/cython/_device.cpython-39-darwin.so,
 0x0002): symbol not found in flat namespace '_zmq_errno'
[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.9/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.9/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.
************************************************************************

Reply via email to