mkdir -p "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.9/var/lib/sage/installed"
[pip-24.2] Setting up build directory /Users/dcoudert/sage/local/var/lib/sage/venv-python3.9/var/tmp/sage/build/pip-24.2
xxxx:sage dcoudert$ which python3
/opt/homebrew/bin/python3
xxxx:sage dcoudert$ python3 --version
Python 3.13.2
xxxx:sage dcoudert$ env
CVXOPT_SUITESPARSE_INC_DIR=/opt/homebrew/include/suitesparse
TERM_PROGRAM=Apple_Terminal
TERM=xterm-256color
SHELL=/bin/bash
HOMEBREW_REPOSITORY=/opt/homebrew
TMPDIR=/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/
LIBRARY_PATH=/opt/homebrew/opt/primesieve/lib:/opt/homebrew/opt/bdw-gc/lib:/opt/homebrew/opt/libpng/lib:/opt/homebrew/opt/polymake/lib:/opt/homebrew/opt/ntl/lib:/opt/homebrew/opt/readline/lib:/opt/homebrew/lib
CPLEX_HOME=/Users/dcoudert/Applications/CPLEX_Studio2211
TERM_PROGRAM_VERSION=453
TERM_SESSION_ID=92898994-6AC4-4FA8-93BF-B57B39DD8AFA
DOT_SAGE=/Users/dcoudert/.sage
USER=dcoudert
CPATH=/opt/homebrew/opt/primesieve/include:/opt/homebrew/opt/bdw-gc/include:/opt/homebrew/opt/libpng/include:/opt/homebrew/opt/polymake/include:/opt/homebrew/opt/ntl/include:/opt/homebrew/opt/readline/include:/opt/homebrew/include
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.w3NBoWA5DE/Listeners
CVXOPT_SUITESPARSE_LIB_DIR=/opt/homebrew/lib
PATH=/opt/homebrew/opt/polymake/bin:/opt/homebrew/opt/texinfo/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Library/TeX/texbin
MOSEKLM_LICENSE_FILE=/Users/dcoudert/Applications/mosek/mosek.lic
LaunchInstanceID=C5B54F28-5164-4FA8-8154-8D94AF74F0E4
__CFBundleIdentifier=com.apple.Terminal
PWD=/Users/dcoudert/sage
LANG=fr_FR.UTF-8
SAGE_ROOT=/Users/dcoudert/sage
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
HOME=/Users/dcoudert
SHLVL=1
HOMEBREW_PREFIX=/opt/homebrew
LOGNAME=dcoudert
PKG_CONFIG_PATH=/opt/homebrew/opt/sqlite/lib/pkgconfig:/opt/homebrew/opt/readline/lib/pkgconfig:/opt/homebrew/opt/openssl/lib/pkgconfig:/opt/homebrew/opt/openblas/lib/pkgconfig:/opt/homebrew/lib/pkgconfig:
INFOPATH=/opt/homebrew/share/info:
HOMEBREW_CELLAR=/opt/homebrew/Cellar
SECURITYSESSIONID=186b3
_=/usr/bin/env
[sage_setup-10.6.beta7] [spkg-install] Successfully built sage-setup
[sage_setup-10.6.beta7] [spkg-install] Installing collected packages: sage-setup
[sage_setup-10.6.beta7] [spkg-install] Successfully installed sage-setup-10.6b7
[sage_setup-10.6.beta7] Moving package files from temporary location /Users/dcoudert/sage/local/var/lib/sage/venv-python3.9/var/tmp/sage/build/sage_setup-10.6.beta7/inst to /Users/dcoudert/sage/local/var/lib/sage/venv-python3.9
[sage_setup-10.6.beta7] Deleting build directory /Users/dcoudert/sage/local/var/lib/sage/venv-python3.9/var/tmp/sage/build/sage_setup-10.6.beta7
[sage_setup-10.6.beta7] Finished installing sage_setup-10.6.beta7
make --no-print-directory sagelib-SAGE_VENV-no-deps
[sagelib-10.6.beta7] Setting up build directory /Users/dcoudert/sage/local/var/lib/sage/venv-python3.9/var/tmp/sage/build/sagelib-10.6.beta7
[sagelib-10.6.beta7] Host system: Darwin MAC-04017247 23.6.0 Darwin Kernel Version 23.6.0: Thu Dec 19 20:44:10 PST 2024; root:xnu-10063.141.1.703.2~1/RELEASE_ARM64_T6000 arm64
[sagelib-10.6.beta7] C compiler: gcc, Apple clang version 16.0.0 (clang-1600.0.26.6), Target: arm64-apple-darwin23.6.0, Thread model: posix, InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
[sagelib-10.6.beta7] No stamp file for package 'sagelib' in /Users/dcoudert/sage/local/var/lib/sage/venv-python3.9/var/lib/sage/installed
[sagelib-10.6.beta7] No spkg-legacy-uninstall script; nothing to do
[sagelib-10.6.beta7] [spkg-install] Installing sagelib-10.6.beta7 (editable mode)
[sagelib-10.6.beta7] [spkg-install] Using pip 24.2 from /Users/dcoudert/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/pip (python 3.9)
[sagelib-10.6.beta7] [spkg-install] Obtaining file:///Users/dcoudert/sage/src
[sagelib-10.6.beta7] [spkg-install] Checking if build backend supports build_editable: started
[sagelib-10.6.beta7] [spkg-install] Running command Checking if build backend supports build_editable
[sagelib-10.6.beta7] [spkg-install] Checking if build backend supports build_editable: finished with status 'done'
[sagelib-10.6.beta7] [spkg-install] Preparing metadata (pyproject.toml): started
[sagelib-10.6.beta7] [spkg-install] Running command Preparing metadata (pyproject.toml)
[sagelib-10.6.beta7] [spkg-install] running dist_info
[sagelib-10.6.beta7] [spkg-install] creating /private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/pip-modern-metadata-p69w9b75/sagemath_standard.egg-info
[sagelib-10.6.beta7] [spkg-install] writing /private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/pip-modern-metadata-p69w9b75/sagemath_standard.egg-info/PKG-INFO
[sagelib-10.6.beta7] [spkg-install] writing dependency_links to /private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/pip-modern-metadata-p69w9b75/sagemath_standard.egg-info/dependency_links.txt
[sagelib-10.6.beta7] [spkg-install] writing requirements to /private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/pip-modern-metadata-p69w9b75/sagemath_standard.egg-info/requires.txt
[sagelib-10.6.beta7] [spkg-install] writing top-level names to /private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/pip-modern-metadata-p69w9b75/sagemath_standard.egg-info/top_level.txt
[sagelib-10.6.beta7] [spkg-install] writing manifest file '/private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/pip-modern-metadata-p69w9b75/sagemath_standard.egg-info/SOURCES.txt'
[sagelib-10.6.beta7] [spkg-install] reading manifest template 'MANIFEST.in'
[sagelib-10.6.beta7] [spkg-install] warning: no previously-included files matching '__pycache__' found anywhere in distribution
[sagelib-10.6.beta7] [spkg-install] warning: no previously-included files matching '*.py[co]' found anywhere in distribution
[sagelib-10.6.beta7] [spkg-install] warning: no previously-included files matching '*.bak' found anywhere in distribution
[sagelib-10.6.beta7] [spkg-install] warning: no previously-included files matching '*.so' found anywhere in distribution
[sagelib-10.6.beta7] [spkg-install] warning: no previously-included files matching '*~' found anywhere in distribution
[sagelib-10.6.beta7] [spkg-install] no previously-included directories found matching '.tox'
[sagelib-10.6.beta7] [spkg-install] no previously-included directories found matching 'build'
[sagelib-10.6.beta7] [spkg-install] no previously-included directories found matching 'dist'
[sagelib-10.6.beta7] [spkg-install] adding license file 'LICENSE.txt'
[sagelib-10.6.beta7] [spkg-install] writing manifest file '/private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/pip-modern-metadata-p69w9b75/sagemath_standard.egg-info/SOURCES.txt'
[sagelib-10.6.beta7] [spkg-install] creating '/private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/pip-modern-metadata-p69w9b75/sagemath_standard-10.6b7.dist-info'
[sagelib-10.6.beta7] [spkg-install] Preparing metadata (pyproject.toml): finished with status 'done'
[sagelib-10.6.beta7] [spkg-install] INFO: pip is looking at multiple versions of sagemath-standard to determine which version is compatible with other requirements. This could take a while.
[sagelib-10.6.beta7] [spkg-install] ERROR: Package 'sagemath-standard' requires a different Python: 3.9.6 not in '<3.14,>=3.11'
[sagelib-10.6.beta7] [spkg-install] ********************************************************************************
[sagelib-10.6.beta7] [spkg-install] Error installing sagelib-10.6.beta7
[sagelib-10.6.beta7] [spkg-install] ********************************************************************************
[sagelib-10.6.beta7] ************************************************************************
[sagelib-10.6.beta7] Error installing package sagelib-10.6.beta7
[sagelib-10.6.beta7] ************************************************************************
[sagelib-10.6.beta7] Please email sage-devel (http://groups.google.com/group/sage-devel)
[sagelib-10.6.beta7] explaining the problem and including the log files
[sagelib-10.6.beta7] /Users/dcoudert/sage/logs/pkgs/sagelib-10.6.beta7.log
[sagelib-10.6.beta7] and
[sagelib-10.6.beta7] /Users/dcoudert/sage/config.log
[sagelib-10.6.beta7] Describe your computer, operating system, etc.
[sagelib-10.6.beta7] If you want to try to fix the problem yourself, *don't* just cd to
[sagelib-10.6.beta7] /Users/dcoudert/sage/local/var/lib/sage/venv-python3.9/var/tmp/sage/build/sagelib-10.6.beta7 and type 'make' or whatever is appropriate.
[sagelib-10.6.beta7] Instead, the following commands setup all environment variables
[sagelib-10.6.beta7] correctly and load a subshell for you to debug the error:
[sagelib-10.6.beta7] (cd '/Users/dcoudert/sage/local/var/lib/sage/venv-python3.9/var/tmp/sage/build/sagelib-10.6.beta7' && '/Users/dcoudert/sage/sage' --buildsh)
[sagelib-10.6.beta7] When you are done debugging, you can type "exit" to leave the subshell.
[sagelib-10.6.beta7] ************************************************************************
make[4]: *** [sagelib-SAGE_VENV-no-deps] Error 1
make[3]: *** [/Users/dcoudert/sage/local/var/lib/sage/venv-python3.9/var/lib/sage/installed/sagelib-10.6.beta7] Error 2
make[2]: *** [all-build] Error 2
***************************************************************
Error building Sage.
--
You received this message because you are subscribed to the Google Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/6d596461-07e7-4cc4-91ee-1cddec4537d9n%40googlegroups.com.
venv -> local/var/lib/sage/venv-python3.13
[pycparser-2.22] [spkg-pipinst] Successfully installed pycparser-2.22
[pycparser-2.22] Deleting build directory /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/pycparser-2.22
[pycparser-2.22] Finished installing pycparser-2.22
make --no-print-directory cffi-SAGE_VENV-no-deps
[cffi-1.15.1] Attempting to download package cffi-1.15.1.tar.gz from mirrors
[cffi-1.15.1] https://github.com/sagemath/sage/releases/download/10.6/cffi-1.15.1.tar.gz
[cffi-1.15.1] [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
[cffi-1.15.1] ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: '//github.com/sagemath/sage/releases/download/10.6/cffi-1.15.1.tar.gz'
[cffi-1.15.1] Exception ignored in: <http.client.HTTPResponse object at 0x102d55990>
[cffi-1.15.1] Traceback (most recent call last):
[cffi-1.15.1] File "/opt/homebrew/Cellar/pyt...@3.13/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/http/client.py", line 432, in close
[cffi-1.15.1] super().close() # set "closed" flag
[cffi-1.15.1] File "/opt/homebrew/Cellar/pyt...@3.13/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/http/client.py", line 445, in flush
[cffi-1.15.1] self.fp.flush()
[cffi-1.15.1] ValueError: I/O operation on closed file.
[cffi-1.15.1] https://github.com/sagemath/sage/releases/download/10.5/cffi-1.15.1.tar.gz
[cffi-1.15.1] [Exception ignored in: <http.client.HTTPResponse object at 0x102c036a0>
[cffi-1.15.1] Traceback (most recent call last):
[cffi-1.15.1] File "/opt/homebrew/Cellar/pyt...@3.13/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/http/client.py", line 432, in close
[cffi-1.15.1] super().close() # set "closed" flag
[cffi-1.15.1] File "/opt/homebrew/Cellar/pyt...@3.13/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/http/client.py", line 445, in flush
[cffi-1.15.1] self.fp.flush()
[cffi-1.15.1] ValueError: I/O operation on closed file.
[cffi-1.15.1] ......................................................................]
[cffi-1.15.1] Setting up build directory /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cffi-1.15.1
[cffi-1.15.1] No patch files found in ../patches
[cffi-1.15.1] Host system: Darwin MAC-04017247 23.6.0 Darwin Kernel Version 23.6.0: Thu Dec 19 20:44:10 PST 2024; root:xnu-10063.141.1.703.2~1/RELEASE_ARM64_T6000 arm64
[cffi-1.15.1] C compiler: gcc, Apple clang version 16.0.0 (clang-1600.0.26.6), Target: arm64-apple-darwin23.6.0, Thread model: posix, InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
[cffi-1.15.1] No stamp file for package 'cffi' in /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/lib/sage/installed
[cffi-1.15.1] No spkg-legacy-uninstall script; nothing to do
[cffi-1.15.1] [spkg-install] Installing cffi-1.15.1
[cffi-1.15.1] [spkg-install] * Creating isolated environment: venv+pip...
[cffi-1.15.1] [spkg-install] * Installing packages in isolated environment:
[cffi-1.15.1] [spkg-install] - setuptools >= 40.8.0
[cffi-1.15.1] [spkg-install] * Getting build dependencies for wheel...
[cffi-1.15.1] [spkg-install] running egg_info
[cffi-1.15.1] [spkg-install] writing cffi.egg-info/PKG-INFO
[cffi-1.15.1] [spkg-install] writing dependency_links to cffi.egg-info/dependency_links.txt
[cffi-1.15.1] [spkg-install] writing entry points to cffi.egg-info/entry_points.txt
[cffi-1.15.1] [spkg-install] writing requirements to cffi.egg-info/requires.txt
[cffi-1.15.1] [spkg-install] writing top-level names to cffi.egg-info/top_level.txt
[cffi-1.15.1] [spkg-install] reading manifest file 'cffi.egg-info/SOURCES.txt'
[cffi-1.15.1] [spkg-install] reading manifest template 'MANIFEST.in'
[cffi-1.15.1] [spkg-install] adding license file 'LICENSE'
[cffi-1.15.1] [spkg-install] writing manifest file 'cffi.egg-info/SOURCES.txt'
[cffi-1.15.1] [spkg-install] * Building wheel...
[cffi-1.15.1] [spkg-install] running bdist_wheel
[cffi-1.15.1] [spkg-install] running build
[cffi-1.15.1] [spkg-install] running build_py
[cffi-1.15.1] [spkg-install] creating build
[cffi-1.15.1] [spkg-install] creating build/lib.macosx-14.0-arm64-cpython-313
[cffi-1.15.1] [spkg-install] creating build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/backend_ctypes.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/error.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/setuptools_ext.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/__init__.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/cffi_opcode.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/vengine_gen.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/pkgconfig.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/model.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/ffiplatform.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/api.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/vengine_cpy.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/commontypes.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/lock.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/recompiler.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/cparser.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/verifier.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/_cffi_include.h -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/parse_c_type.h -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/_embedding.h -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/_cffi_errors.h -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] running build_ext
[cffi-1.15.1] [spkg-install] building '_cffi_backend' extension
[cffi-1.15.1] [spkg-install] creating build/temp.macosx-14.0-arm64-cpython-313
[cffi-1.15.1] [spkg-install] creating build/temp.macosx-14.0-arm64-cpython-313/c
[cffi-1.15.1] [spkg-install] gcc -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -g -O2 -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ffi -I/private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-env-d96qddt8/include -I/opt/homebrew/opt/pyt...@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c c/_cffi_backend.c -o build/temp.macosx-14.0-arm64-cpython-313/c/_cffi_backend.o -iwithsysroot/usr/include/ffi
[cffi-1.15.1] [spkg-install] c/_cffi_backend.c:4523:22: warning: 'Py_FileSystemDefaultEncoding' is deprecated [-Wdeprecated-declarations]
[cffi-1.15.1] [spkg-install] 4523 | Py_FileSystemDefaultEncoding, &filename_or_null, &flags))
[cffi-1.15.1] [spkg-install] | ^
[cffi-1.15.1] [spkg-install] /opt/homebrew/opt/pyt...@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13/fileobject.h:22:1: note: 'Py_FileSystemDefaultEncoding' has been explicitly marked deprecated here
[cffi-1.15.1] [spkg-install] 22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
[cffi-1.15.1] [spkg-install] | ^
[cffi-1.15.1] [spkg-install] /opt/homebrew/opt/pyt...@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
[cffi-1.15.1] [spkg-install] 251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
[cffi-1.15.1] [spkg-install] | ^
[cffi-1.15.1] [spkg-install] c/_cffi_backend.c:6112:9: error: call to undeclared function '_PyErr_WriteUnraisableMsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
[cffi-1.15.1] [spkg-install] 6112 | _PyErr_WriteUnraisableMsg(PyText_AS_UTF8(s), NULL);
[cffi-1.15.1] [spkg-install] | ^
[cffi-1.15.1] [spkg-install] c/_cffi_backend.c:6112:9: note: did you mean 'PyErr_WriteUnraisable'?
[cffi-1.15.1] [spkg-install] /opt/homebrew/opt/pyt...@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyerrors.h:233:18: note: 'PyErr_WriteUnraisable' declared here
[cffi-1.15.1] [spkg-install] 233 | PyAPI_FUNC(void) PyErr_WriteUnraisable(PyObject *);
[cffi-1.15.1] [spkg-install] | ^
[cffi-1.15.1] [spkg-install] 1 warning and 1 error generated.
[cffi-1.15.1] [spkg-install] error: command '/usr/bin/gcc' failed with exit code 1
[cffi-1.15.1] [spkg-install]
[cffi-1.15.1] [spkg-install] ERROR Backend subprocess exited when trying to invoke build_wheel
[cffi-1.15.1] [spkg-install] Warning: building with "python3 -m build --wheel --outdir=dist ." failed.
[cffi-1.15.1] [spkg-install] Retrying with "python3 -m build --wheel --outdir=dist --no-isolation --skip-dependency-check .".
[cffi-1.15.1] [spkg-install] * Building wheel...
[cffi-1.15.1] [spkg-install] running bdist_wheel
[cffi-1.15.1] [spkg-install] running build
[cffi-1.15.1] [spkg-install] running build_py
[cffi-1.15.1] [spkg-install] copying cffi/backend_ctypes.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/error.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/setuptools_ext.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/__init__.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/cffi_opcode.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/vengine_gen.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/pkgconfig.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/model.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/ffiplatform.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/api.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/vengine_cpy.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/commontypes.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/lock.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/recompiler.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/cparser.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/verifier.py -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/_cffi_include.h -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/parse_c_type.h -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/_embedding.h -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] copying cffi/_cffi_errors.h -> build/lib.macosx-14.0-arm64-cpython-313/cffi
[cffi-1.15.1] [spkg-install] running build_ext
[cffi-1.15.1] [spkg-install] building '_cffi_backend' extension
[cffi-1.15.1] [spkg-install] gcc -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -g -O2 -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ffi -I/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/include -I/opt/homebrew/opt/pyt...@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c c/_cffi_backend.c -o build/temp.macosx-14.0-arm64-cpython-313/c/_cffi_backend.o -iwithsysroot/usr/include/ffi
[cffi-1.15.1] [spkg-install] c/_cffi_backend.c:4523:22: warning: 'Py_FileSystemDefaultEncoding' is deprecated [-Wdeprecated-declarations]
[cffi-1.15.1] [spkg-install] 4523 | Py_FileSystemDefaultEncoding, &filename_or_null, &flags))
[cffi-1.15.1] [spkg-install] | ^
[cffi-1.15.1] [spkg-install] /opt/homebrew/opt/pyt...@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13/fileobject.h:22:1: note: 'Py_FileSystemDefaultEncoding' has been explicitly marked deprecated here
[cffi-1.15.1] [spkg-install] 22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
[cffi-1.15.1] [spkg-install] | ^
[cffi-1.15.1] [spkg-install] /opt/homebrew/opt/pyt...@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
[cffi-1.15.1] [spkg-install] 251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
[cffi-1.15.1] [spkg-install] | ^
[cffi-1.15.1] [spkg-install] c/_cffi_backend.c:6112:9: error: call to undeclared function '_PyErr_WriteUnraisableMsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
[cffi-1.15.1] [spkg-install] 6112 | _PyErr_WriteUnraisableMsg(PyText_AS_UTF8(s), NULL);
[cffi-1.15.1] [spkg-install] | ^
[cffi-1.15.1] [spkg-install] c/_cffi_backend.c:6112:9: note: did you mean 'PyErr_WriteUnraisable'?
[cffi-1.15.1] [spkg-install] /opt/homebrew/opt/pyt...@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyerrors.h:233:18: note: 'PyErr_WriteUnraisable' declared here
[cffi-1.15.1] [spkg-install] 233 | PyAPI_FUNC(void) PyErr_WriteUnraisable(PyObject *);
[cffi-1.15.1] [spkg-install] | ^
[cffi-1.15.1] [spkg-install] 1 warning and 1 error generated.
[cffi-1.15.1] [spkg-install] error: command '/usr/bin/gcc' failed with exit code 1
[cffi-1.15.1] [spkg-install]
[cffi-1.15.1] [spkg-install] ERROR Backend subprocess exited when trying to invoke build_wheel
[cffi-1.15.1] [spkg-install] ********************************************************************************
[cffi-1.15.1] [spkg-install] Error building a wheel for cffi-1.15.1
[cffi-1.15.1] [spkg-install] ********************************************************************************
[cffi-1.15.1] ************************************************************************
[cffi-1.15.1] Error installing package cffi-1.15.1
[cffi-1.15.1] ************************************************************************
[cffi-1.15.1] Please email sage-devel (http://groups.google.com/group/sage-devel)
[cffi-1.15.1] explaining the problem and including the log files
[cffi-1.15.1] /Users/dcoudert/sage/logs/pkgs/cffi-1.15.1.log
[cffi-1.15.1] and
[cffi-1.15.1] /Users/dcoudert/sage/config.log
[cffi-1.15.1] Describe your computer, operating system, etc.
[cffi-1.15.1] If you want to try to fix the problem yourself, *don't* just cd to
[cffi-1.15.1] /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cffi-1.15.1 and type 'make' or whatever is appropriate.
[cffi-1.15.1] Instead, the following commands setup all environment variables
[cffi-1.15.1] correctly and load a subshell for you to debug the error:
[cffi-1.15.1] (cd '/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cffi-1.15.1' && '/Users/dcoudert/sage/sage' --buildsh)
[cffi-1.15.1] When you are done debugging, you can type "exit" to leave the subshell.
[cffi-1.15.1] ************************************************************************
make[4]: *** [cffi-SAGE_VENV-no-deps] Error 1
make[3]: *** [/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/lib/sage/installed/cffi-1.15.1] Error 2
make[2]: *** [all-build] Error 2
***************************************************************
Error building Sage.
The following package(s) may have failed to build (not necessarily
during this run of 'make all-build'):
* package: cffi-1.15.1
last build time: 23 fév 00:00
log file: /Users/dcoudert/sage/logs/pkgs/cffi-1.15.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 195m53.735s user 32m39.535s sys 12m43.597s
make[1]: *** [all-build] Error 1
make: *** [build] Error 2
On Debian testing running on core i7 + 16 GB RAM, I have the same problem while trying to upgrade froom 10.6.beta7 to beta7 :
charpent@zen-book-flip:/usr/local/sage-10$ grep "error:" logs/pkgs/cffi-1.15.1.log [spkg-install] c/_cffi_backend.c:6112:9: error: implicit declaration of function '_PyErr_WriteUnraisableMsg'; did you mean 'PyErr_WriteUnraisable'? [-Wimplicit-function-declaration] [spkg-install] error: command '/usr/bin/gcc' failed with exit code 1 [spkg-install] c/_cffi_backend.c:6112:9: error: implicit declaration of function '_PyErr_WriteUnraisableMsg'; did you mean 'PyErr_WriteUnraisable'? [-Wimplicit-function-declaration] [spkg-install] error: command '/usr/bin/gcc' failed with exit code 1 correctly and load a subshell for you to debug the error:Ideas ? Workarounds ?
BTW :
charpent@zen-book-flip:/usr/local/sage-10$ dpkg -l "*cffi*" | cat Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder | État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements |/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais) ||/ Nom Version Architecture Description +++-=============================-=============-============-================================================================ un cl-cffi <aucune> <aucune> (aucune description n'est disponible) un python-cairocffi-doc <aucune> <aucune> (aucune description n'est disponible) ii python3-brotlicffi 1.1.0.0+ds1-1 amd64 Python CFFI bindings for the reference Brotli encoder/decoder ii python3-cairocffi 1.7.1-3 all cffi-based cairo bindings for Python (Python3) ii python3-cffi 1.17.1-2 all Foreign Function Interface for Python 3 calling C code ii python3-cffi-backend:amd64 1.17.1-2+b1 amd64 Foreign Function Interface for Python 3 calling C code - runtime un python3-cffi-backend-api-9729 <aucune> <aucune> (aucune description n'est disponible) un python3-cffi-backend-api-max <aucune> <aucune> (aucune description n'est disponible) un python3-cffi-backend-api-min <aucune> <aucune> (aucune description n'est disponible) un python3-types-cffi <aucune> <aucune> (aucune description n'est disponible) ii python3-xcffib 1.5.0-1 all CFFI-based Python binding for X--
You received this message because you are subscribed to the Google Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/4d33d176-0691-4e41-ac98-4af0261101d1n%40googlegroups.com.
With debian trixie I have the same problem (with ubuntu too) I am
changing of distro because I can't use any more sagemath ! I use
now manjaro but I regret not being able to get ubuntu working, no
more deb, no more binary, and can't anymore get sage working it's
shade !
To view this discussion visit https://groups.google.com/d/msgid/sage-release/492d644e-b67c-4db0-ac15-2286d2841642n%40googlegroups.com.
On Debian testing, upgrading 10.6.beta5 to 10.6.beta7 required the upgrade of cffi (see this subthread above).
sage -t --long --warn-long 30.0 --random-seed=215742786508874860161153501192718559436 src/sage/libs/gap/element.pyx # Killed due to segmentation faultReproducible, crashes Sage
sage -t --long --warn-long 30.0 --random-seed=215742786508874860161153501192718559436 src/sage/doctest/test.py # 23 doctests failedPasses when ran standalone
sage -t --long --warn-long 30.0 --random-seed=215742786508874860161153501192718559436 src/sage/rings/integer.pyx # 1 doctest failedReproducible : unexpected stack trace.
sage -t --long --warn-long 30.0 --random-seed=215742786508874860161153501192718559436 src/sage/tests/cmdline.py # 7 doctests failedPasses when ran standalone.
sage -t --long --warn-long 30.0 --random-seed=215742786508874860161153501192718559436 src/sage/coding/linear_code.py # 4 doctests failedReproducible. Common cause : FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/sage-10/local/lib/gap/pkg/guava//bin/wtdist', already reported.
sage -t --long --warn-long 30.0 --random-seed=215742786508874860161153501192718559436 src/sage/repl/ipython_extension.py # 1 doctest failedReproducible. The failing test expects a generic error message, my system emits a detailed one. Cosmetic ?
sage -t --long --warn-long 30.0 --random-seed=215742786508874860161153501192718559436 src/sage/interfaces/expect.py # 1 doctest failedReproducible. Again, the failed test expects an error message different from the one received.
sage -t --long --warn-long 30.0 --random-seed=215742786508874860161153501192718559436 src/sage/doctest/forker.py # 5 doctests failedPasses when ran standalone.
sage -t --long --warn-long 30.0 --random-seed=215742786508874860161153501192718559436 src/sage/interfaces/tests.py # 1 doctest failedReproducible. Failed test :
********************************************************************** File "src/sage/interfaces/tests.py", line 38, in sage.interfaces.tests Failed example: subprocess.call("echo syntax error | ipython", **kwds) in (0, 1, 120) Expected: True Got: False ********************************************************************** sage -t --long --warn-long 30.0 --random-seed=215742786508874860161153501192718559436 src/sage/rings/real_mpfr.pyx # 1 doctest failedReproducible. (arch-multi-)) reported already.
sage -t --long --warn-long 30.0 --random-seed=215742786508874860161153501192718559436 src/sage/doctest/control.py # 7 doctests failedPasses when ran standalone.
I can send (by separate mail) whatever logs you may wish.
HTH,
[ipykernel-6.27.1] Using cached file /Users/dcoudert/sage/upstream/ipykernel-6.27.1.tar.gz
[ipykernel-6.27.1] Setting up build directory /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/ipykernel-6.27.1
[ipykernel-6.27.1] No patch files found in ../patches
[ipykernel-6.27.1] Host system: Darwin MAC-04017247 23.6.0 Darwin Kernel Version 23.6.0: Thu Dec 19 20:44:10 PST 2024; root:xnu-10063.141.1.703.2~1/RELEASE_ARM64_T6000 arm64
[ipykernel-6.27.1] C compiler: gcc, Apple clang version 16.0.0 (clang-1600.0.26.6), Target: arm64-apple-darwin23.6.0, Thread model: posix, InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
[ipykernel-6.27.1] No stamp file for package 'ipykernel' in /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/lib/sage/installed
[ipykernel-6.27.1] No spkg-legacy-uninstall script; nothing to do
[ipykernel-6.27.1] [spkg-install] Installing ipykernel-6.27.1
[ipykernel-6.27.1] [spkg-install] * Creating isolated environment: venv+pip...
[ipykernel-6.27.1] [spkg-install] * Installing packages in isolated environment:
[ipykernel-6.27.1] [spkg-install] - hatchling>=1.4
[ipykernel-6.27.1] [spkg-install] - jupyter_client>=6
[ipykernel-6.27.1] [spkg-install] > /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/bin/python3 -m pip
[ipykernel-6.27.1] [spkg-install] --python /private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-env-
[ipykernel-6.27.1] [spkg-install] hc_ngemn/bin/python install --use-pep517 --no-warn-script-location --no-
[ipykernel-6.27.1] [spkg-install] compile -r /var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-reqs-
[ipykernel-6.27.1] [spkg-install] u_3shpob.txt
[ipykernel-6.27.1] [spkg-install] < Looking in links: /Users/dcoudert/sage/local/var/lib/sage/venv-
[ipykernel-6.27.1] [spkg-install] python3.13/var/lib/sage/wheels
[ipykernel-6.27.1] [spkg-install] < Processing /Users/dcoudert/sage/local/var/lib/sage/venv-
[ipykernel-6.27.1] [spkg-install] python3.13/var/lib/sage/wheels/jupyter_client-8.3.1-py3-none-any.whl (from
[ipykernel-6.27.1] [spkg-install] -r /var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-reqs-u_3shpob.txt
[ipykernel-6.27.1] [spkg-install] (line 1))
[ipykernel-6.27.1] [spkg-install] < Processing /Users/dcoudert/sage/local/var/lib/sage/venv-
[ipykernel-6.27.1] [spkg-install] python3.13/var/lib/sage/wheels/hatchling-1.25.0-py3-none-any.whl (from -r
[ipykernel-6.27.1] [spkg-install] /var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-reqs-u_3shpob.txt
[ipykernel-6.27.1] [spkg-install] (line 2))
[ipykernel-6.27.1] [spkg-install] < INFO: pip is looking at multiple versions of jupyter-client to determine
[ipykernel-6.27.1] [spkg-install] which version is compatible with other requirements. This could take a
[ipykernel-6.27.1] [spkg-install] while.
[ipykernel-6.27.1] [spkg-install] < ERROR: Could not find a version that satisfies the requirement jupyter-
[ipykernel-6.27.1] [spkg-install] core!=5.0.*,>=4.12 (from jupyter-client) (from versions: none)
[ipykernel-6.27.1] [spkg-install] < ERROR: No matching distribution found for jupyter-core!=5.0.*,>=4.12
[ipykernel-6.27.1] [spkg-install]
[ipykernel-6.27.1] [spkg-install] Traceback (most recent call last):
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/__main__.py", line 178, in _handle_build_error
[ipykernel-6.27.1] [spkg-install] yield
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/__main__.py", line 429, in main
[ipykernel-6.27.1] [spkg-install] built = build_call(
[ipykernel-6.27.1] [spkg-install] args.srcdir,
[ipykernel-6.27.1] [spkg-install] ...<5 lines>...
[ipykernel-6.27.1] [spkg-install] args.installer,
[ipykernel-6.27.1] [spkg-install] )
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/__main__.py", line 238, in build_package
[ipykernel-6.27.1] [spkg-install] out = _build(isolation, srcdir, outdir, distribution, config_settings, skip_dependency_check, installer)
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/__main__.py", line 170, in _build
[ipykernel-6.27.1] [spkg-install] return _build_in_isolated_env(srcdir, outdir, distribution, config_settings, installer)
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/__main__.py", line 135, in _build_in_isolated_env
[ipykernel-6.27.1] [spkg-install] env.install(builder.build_system_requires)
[ipykernel-6.27.1] [spkg-install] ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/env.py", line 136, in install
[ipykernel-6.27.1] [spkg-install] self._env_backend.install_requirements(requirements)
[ipykernel-6.27.1] [spkg-install] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/env.py", line 265, in install_requirements
[ipykernel-6.27.1] [spkg-install] run_subprocess(cmd)
[ipykernel-6.27.1] [spkg-install] ~~~~~~~~~~~~~~^^^^^
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/_ctx.py", line 71, in run_subprocess
[ipykernel-6.27.1] [spkg-install] subprocess.run(cmd, capture_output=True, check=True, env=env)
[ipykernel-6.27.1] [spkg-install] ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ipykernel-6.27.1] [spkg-install] File "/opt/homebrew/Cellar/pyt...@3.13/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 579, in run
[ipykernel-6.27.1] [spkg-install] raise CalledProcessError(retcode, process.args,
[ipykernel-6.27.1] [spkg-install] output=stdout, stderr=stderr)
[ipykernel-6.27.1] [spkg-install] subprocess.CalledProcessError: Command '['/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/bin/python3', '-m', 'pip', '--python', '/private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-env-hc_ngemn/bin/python', 'install', '--use-pep517', '--no-warn-script-location', '--no-compile', '-r', '/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-reqs-u_3shpob.txt']' returned non-zero exit status 1.
[ipykernel-6.27.1] [spkg-install]
[ipykernel-6.27.1] [spkg-install] ERROR Command '['/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/bin/python3', '-m', 'pip', '--python', '/private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-env-hc_ngemn/bin/python', 'install', '--use-pep517', '--no-warn-script-location', '--no-compile', '-r', '/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-reqs-u_3shpob.txt']' returned non-zero exit status 1.
[ipykernel-6.27.1] [spkg-install] Warning: building with "python3 -m build --wheel --outdir=dist ." failed.
[ipykernel-6.27.1] [spkg-install] Retrying with "python3 -m build --wheel --outdir=dist --no-isolation --skip-dependency-check .".
[ipykernel-6.27.1] [spkg-install] * Building wheel...
[ipykernel-6.27.1] [spkg-install] Traceback (most recent call last):
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in <module>
[ipykernel-6.27.1] [spkg-install] main()
[ipykernel-6.27.1] [spkg-install] ~~~~^^
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 357, in main
[ipykernel-6.27.1] [spkg-install] json_out["return_val"] = hook(**hook_input["kwargs"])
[ipykernel-6.27.1] [spkg-install] ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 271, in build_wheel
[ipykernel-6.27.1] [spkg-install] return _build_backend().build_wheel(
[ipykernel-6.27.1] [spkg-install] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
[ipykernel-6.27.1] [spkg-install] wheel_directory, config_settings, metadata_directory
[ipykernel-6.27.1] [spkg-install] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ipykernel-6.27.1] [spkg-install] )
[ipykernel-6.27.1] [spkg-install] ^
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/hatchling/build.py", line 58, in build_wheel
[ipykernel-6.27.1] [spkg-install] return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
[ipykernel-6.27.1] [spkg-install] ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/hatchling/builders/plugin/interface.py", line 147, in build
[ipykernel-6.27.1] [spkg-install] build_hook.initialize(version, build_data)
[ipykernel-6.27.1] [spkg-install] ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/ipykernel-6.27.1/src/hatch_build.py", line 17, in initialize
[ipykernel-6.27.1] [spkg-install] from ipykernel.kernelspec import make_ipkernel_cmd, write_kernel_spec
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/ipykernel-6.27.1/src/ipykernel/__init__.py", line 7, in <module>
[ipykernel-6.27.1] [spkg-install] from .connect import *
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/ipykernel-6.27.1/src/ipykernel/connect.py", line 12, in <module>
[ipykernel-6.27.1] [spkg-install] import jupyter_client
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/jupyter_client/__init__.py", line 3, in <module>
[ipykernel-6.27.1] [spkg-install] from .asynchronous import AsyncKernelClient
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/jupyter_client/asynchronous/__init__.py", line 1, in <module>
[ipykernel-6.27.1] [spkg-install] from .client import AsyncKernelClient # noqa
[ipykernel-6.27.1] [spkg-install] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/jupyter_client/asynchronous/client.py", line 8, in <module>
[ipykernel-6.27.1] [spkg-install] from ..channels import AsyncZMQSocketChannel, HBChannel
[ipykernel-6.27.1] [spkg-install] File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/jupyter_client/channels.py", line 12, in <module>
[ipykernel-6.27.1] [spkg-install] from jupyter_core.utils import ensure_async
[ipykernel-6.27.1] [spkg-install] ModuleNotFoundError: No module named 'jupyter_core'
[ipykernel-6.27.1] [spkg-install]
[ipykernel-6.27.1] [spkg-install] ERROR Backend subprocess exited when trying to invoke build_wheel
[ipykernel-6.27.1] [spkg-install] ********************************************************************************
[ipykernel-6.27.1] [spkg-install] Error building a wheel for ipykernel-6.27.1
[ipykernel-6.27.1] [spkg-install] ********************************************************************************
[ipykernel-6.27.1] ************************************************************************
[ipykernel-6.27.1] Error installing package ipykernel-6.27.1
[ipykernel-6.27.1] ************************************************************************
[ipykernel-6.27.1] Please email sage-devel (http://groups.google.com/group/sage-devel)
[ipykernel-6.27.1] explaining the problem and including the log files
[ipykernel-6.27.1] /Users/dcoudert/sage/logs/pkgs/ipykernel-6.27.1.log
[ipykernel-6.27.1] and
[ipykernel-6.27.1] /Users/dcoudert/sage/config.log
[ipykernel-6.27.1] Describe your computer, operating system, etc.
[ipykernel-6.27.1] If you want to try to fix the problem yourself, *don't* just cd to
[ipykernel-6.27.1] /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/ipykernel-6.27.1 and type 'make' or whatever is appropriate.
[ipykernel-6.27.1] Instead, the following commands setup all environment variables
[ipykernel-6.27.1] correctly and load a subshell for you to debug the error:
[ipykernel-6.27.1] (cd '/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/ipykernel-6.27.1' && '/Users/dcoudert/sage/sage' --buildsh)
[ipykernel-6.27.1] When you are done debugging, you can type "exit" to leave the subshell.
[ipykernel-6.27.1] ************************************************************************
make[4]: *** [ipykernel-SAGE_VENV-no-deps] Error 1
make[3]: *** [/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/lib/sage/installed/ipykernel-6.27.1] Error 2
make[2]: *** [all-build] Error 2
***************************************************************
Error building Sage.
The following package(s) may have failed to build (not necessarily
during this run of 'make all-build'):
* package: ipykernel-6.27.1
last build time: 24 fév 08:41
log file: /Users/dcoudert/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.
make[1]: *** [all-build] Error 1
make: *** [build] Error 2
MA
Le lundi 24 février 2025 à 08:33:34 UTC+1, tdumont a écrit :
This does not work for me...
I have a Debian testing, uptodate.
make distclean
./configure --enable-system-site-packages
...
make
In a new branch, I tried --enable-system-site-packages, which got me some errors building some module that, for dear life, I can’t remember. I reconfigured leaving it out but pulled #39571, which got me the results I reported.
Do ypu have the Wolfram engine installed ? I’m hunting the source of the Wolfram calls that freeze my doc building attempts, and am interested by what happens on other systems.
HTH,
Idem for me I tried 3 to build and it finished to success
To view this discussion visit https://groups.google.com/d/msgid/sage-release/87a247b6-0811-48f5-b50e-c6883a7fa877n%40googlegroups.com.
On macOS, either we embrace Homebrew and use it to get external dependencies, or we use Conda. Current "build everything from ground up" has become next to impossible in any reliable way.
You received this message because you are subscribed to a topic in the Google Groups "sage-release" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-release/8u71odPIXD8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-release...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/2c938919-99f9-49e2-865e-6bcc011a0098n%40googlegroups.com.
On 25 February 2025 09:26:04 GMT-06:00, Marc Culler <marc....@gmail.com> wrote:
>
>
>On Tuesday, February 25, 2025 at 8:46:41 AM UTC-6 Dima Pasechnik wrote:
>
>
>On macOS, either we embrace Homebrew and use it to get external
>dependencies, or we use Conda. Current "build everything from ground up"
>has become next to impossible in any reliable way.
>
>
>The Sage_macOS project always builds Sage "from the ground up" with no
>homebrew packages or any other external libraries. That has worked for
>every version of Sage from 9.2 to 10.6beta4. It is not "next to
>impossible". Most of the time it "just works". Rarely a small amount of
>tweaking is needed, but none has been needed for the last two releases.
We were lucky, the luck has ran out.
A lot of time in the past 10 years macOS "native", and general, support has been hanging by the thread, it's only with a lot of effort it was kept alive. E.g. I personally spent eons of time on this; it certainly didn't help my career, but I felt like I was helping the community. Now it seems that the Sage macOS community assumes there always will be ample supply of people to maintain the status quo. This idea is wrong.
Once again: I don't care any more about anything on macOS which works with Homebrew, but doesn't work without it, and I think this should be the official Sage policy.
We should work on adding more Homebrew formulae to support packages which are not on Homebrew. They don't need to make it into the main Homebrew repo, but can stay as separate installable formulae in sagemath org repos.
Just as GAP has:
<https://github.com/sagemath/homebrew-science>
and what I did as a small experiment here:
<https://github.com/sagemath/homebrew-science>
Dima
>
>- Marc
>
Maybe Mac users could consider the current solution used by Windows users : install a virtual machine using some "Real Unix" distribution, and install Sage there. It's supposed to be liveable on Windows...
On Tuesday, February 25, 2025 at 1:42:57 PM UTC-6 emanuel.c wrote:Maybe Mac users could consider the current solution used by Windows users : install a virtual machine using some "Real Unix" distribution, and install Sage there. It's supposed to be liveable on Windows..."Livable" is an extremely low bar,
especially compared to the current situation for macOS users, which is that they can easily install the latest release of Sage in a familiar way (drag the app into the Applications forlder)
or by running the command "brew install sage" in a terminal, if they have Homebrew.You are proposing to "improve" their situation by forcing them to install a virtual computer and then forcing them to install linux in the virtual computer and then forcing them to learn their way around linux
so that they can install an extremely out of date version of Sage (e.g. 9.5 on Ubuntu 22.04) or use a "bleeding edge" version of linux.
- MarcPS Declaring "I would't touch Mac OS in a class A aseptic room..." is not likely to make many macOS users interested in your advice.
MAC-04017247:sage dcoudert$ otool -TV /opt/homebrew/Cellar/openblas/0.3.29/lib/libopenblas.dylib
/opt/homebrew/Cellar/openblas/0.3.29/lib/libopenblas.dylib:
Table of contents (0 entries)
module name symbol name
MAC-04017247:sage dcoudert$ otool -TV /opt/homebrew/Cellar/openblas/0.3.29/lib/libopenblas.a | grep dgeqrf
/opt/homebrew/Cellar/openblas/0.3.29/lib/libopenblas.a(dgeqrf.o):
/opt/homebrew/Cellar/openblas/0.3.29/lib/libopenblas.a(dgeqrfp.o):
/opt/homebrew/Cellar/openblas/0.3.29/lib/libopenblas.a(lapacke_dgeqrf.o):
/opt/homebrew/Cellar/openblas/0.3.29/lib/libopenblas.a(lapacke_dgeqrf_work.o):
/opt/homebrew/Cellar/openblas/0.3.29/lib/libopenblas.a(lapacke_dgeqrfp.o):
/opt/homebrew/Cellar/openblas/0.3.29/lib/libopenblas.a(lapacke_dgeqrfp_work.o):
MAC-04017247:sage dcoudert$ nm /opt/homebrew/Cellar/openblas/0.3.29/lib/libopenblas.dylib | grep -i dgeqrfp
0000000000d84dbc T _LAPACKE_dgeqrfp
0000000000d84eec T _LAPACKE_dgeqrfp_work
00000000008f4120 T _dgeqrfp_
Ah ? Where do all those "I can't install Sage on my Mac ! Help me !" messages come from ?
--
You received this message because you are subscribed to a topic in the Google Groups "sage-release" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-release/8u71odPIXD8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-release...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/e9346521-527c-4531-9e6d-da93383fabd1n%40googlegroups.com.
On Tue, Feb 25, 2025 at 11:16 AM John H Palmieri <jhpalm...@gmail.com> wrote:
>
> Maybe this is naive, but if you're testing a change from the old situation, where Python 3.13 was not allowed, to now allowing it, I might imagine that you would test it on standard supported platforms, like OS X with Python 3.13 installed via homebrew. We should back out the change until it's implemented correctly.
There is always a Mac out there on which for some reason Sage doesn't
install, actually, it always was like this.
Shouldn't we expect an expert user like you, who noticed an issue to
actively debug it and possibly fix, rather than wait for someone to
fix it?
As I said, there is a workaround to avoid this issue, but you complain
that this workaround is not what "is expected",
demand rolling
something back, while not telling why it doesn't work for you without
it.
Maybe it's a problem on your computer only.
The less we rely on flaky vendored packages, the less likely breakages
occur. As the number of packages we vendor approaches 500, it's a
Herculean task to make sure they all work. That's why I keep saying
Homebrew to Mac users.
Kwankyu, I'm curious: what version(s) of Python do you have on those machines, and where did they come from? Did Sage build its own Python package or did a system installation of Python get used?
$ /opt/homebrew/bin/python3 --version
Python 3.13.2
On OS X 15.3.1 with many homebrew packages installed, including both Python 3.12 and Python 3.13:- if I use Python 3.13, `pillow` and `cffi` fail to build. (I used "./configure", and I also tried after applying the patch from #39570)
Done : issue #39591 opened.
This release seems to have broken "our" exception report system. Any error raises a second error for its report. As an example, ask for the sum of two undefined variables :```sage: truc+machin
Unexpected exception formatting exception. Falling back to standard exception
Traceback (most recent call last):File "/usr/lib/python3/dist-packages/IPython/core/interactiveshell.py", line 3577, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<ipython-input-188-a6f685eae0e2>", line 1, in <module>
truc+machin
^^^^
NameError: name 'truc' is not defined```This is the expected error message. But :
```
During handling of the above exception, another exception occurred:
Traceback (most recent call last):File "/usr/lib/python3/dist-packages/IPython/core/interactiveshell.py", line 2168, in showtraceback
stb = self.InteractiveTB.structured_traceback(
etype, value, tb, tb_offset=tb_offset
)
File "/usr/lib/python3/dist-packages/IPython/core/ultratb.py", line 1457, in structured_traceback
return FormattedTB.structured_traceback(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self, etype, evalue, etb, tb_offset, number_of_lines_of_context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3/dist-packages/IPython/core/ultratb.py", line 1348, in structured_traceback
return VerboseTB.structured_traceback(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self, etype, value, tb, tb_offset, number_of_lines_of_context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3/dist-packages/IPython/core/ultratb.py", line 1195, in structured_traceback
formatted_exception = self.format_exception_as_a_whole(etype, evalue, etb, number_of_lines_of_context,
tb_offset)
File "/usr/lib/python3/dist-packages/IPython/core/ultratb.py", line 1085, in format_exception_as_a_whole
self.get_records(etb, number_of_lines_of_context, tb_offset) if etb else []
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/IPython/core/ultratb.py", line 1182, in get_records
res = list(stack_data.FrameInfo.stack_data(etb, options=options))[tb_offset:]
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/stack_data/core.py", line 597, in stack_data
yield from collapse_repeated(
...<4 lines>...
)
File "/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/stack_data/utils.py", line 83, in collapse_repeated
yield from map(mapper, original_group)
File "/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/stack_data/core.py", line 587, in mapper
return cls(f, options)
File "/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/stack_data/core.py", line 551, in __init__
self.executing = Source.executing(frame_or_tb)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/executing/executing.py", line 283, in executing
assert_(new_stmts <= stmts)
~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/executing/executing.py", line 80, in assert_
raise AssertionError(str(message))
AssertionError
```This is understandable only by the developer's of this part of Sage's error handling. Which I am*not*.This problem deserves an issue (probably critical, *i. e.* deserving a solution before the vext release). Advice for creating this issue ?HTH,
On Ubuntu 24.04 running under WSL2/Windows11 on core i7 + 32 GB RAM, the upgrade of 10.6.beta5 to 10.6.beta7 is uneventful. ptestlong gives the following results :
sage -t --long --warn-long 30.0 --random-seed=216726477933468160153103774510788998532 src/sage/libs/gap/element.pyx # Killed due to segmentation fault.Permanent. Already reported. Last successful test :
sage: for i in range(100): rnd = [ randint(-10,10) for i in range(randint(0,7)) ] # compute the sum in GAP _ = libgap.Sum(rnd) try: libgap.Sum(*rnd) print('This should have triggered a ValueError') print('because Sum needs a list as argument') except ValueError: pass ## line 2483 ## sage -t --long --warn-long 30.0 --random-seed=216726477933468160153103774510788998532 src/sage/rings/integer.pyx # 1 doctest failedPermanent. Failure :
File "src/sage/rings/integer.pyx", line 7118, in sage.rings.integer.Integer.binomial Failed example: for i in [1..10]: # long time (5s) # needs sage.libs.pari with ensure_interruptible_after(i/11): (2^100).binomial(2^22, algorithm='pari') Exception raised: cysignals.signals.AlarmInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/sage-10/local/var/lib/sage/venv-python3.12/lib/python3.12/site-packages/sage/doctest/forker.py", line 728, in _run self.compile_and_execute(example, compiler, test.globs) File "/usr/local/sage-10/local/var/lib/sage/venv-python3.12/lib/python3.12/site-packages/sage/doctest/forker.py", line 1152, in compile_and_execute exec(compiled, globs) File "<doctest sage.rings.integer.Integer.binomial[15]>", line 2, in <module> with ensure_interruptible_after(i/Integer(11)): File "/usr/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/usr/local/sage-10/local/var/lib/sage/venv-python3.12/lib/python3.12/site-packages/sage/doctest/util.py", line 894, in ensure_interruptible_after raise RuntimeError( RuntimeError: Function is not interruptible within 0.2727 seconds, only after 5.6641 seconds ********************************************************************** sage -t --long --warn-long 30.0 --random-seed=216726477933468160153103774510788998532 src/sage/rings/qqbar.py # 1 doctest failedTransient.
sage -t --long --warn-long 30.0 --random-seed=216726477933468160153103774510788998532 src/sage/doctest/forker.py # 5 doctests failedTransient
sage -t --long --warn-long 30.0 --random-seed=216726477933468160153103774510788998532 src/sage/matrix/matrix_integer_dense.pyx # 1 doctest failedPermanent. Failure :
File "src/sage/matrix/matrix_integer_dense.pyx", line 4389, in sage.matrix.matrix_integer_dense.Matrix_integer_dense._solve_iml Failed example: with ensure_interruptible_after(2, max_wait_after_interrupt=8): A._solve_iml(B) Exception raised: cysignals.signals.AlarmInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/sage-10/local/var/lib/sage/venv-python3.12/lib/python3.12/site-packages/sage/doctest/forker.py", line 728, in _run self.compile_and_execute(example, compiler, test.globs) File "/usr/local/sage-10/local/var/lib/sage/venv-python3.12/lib/python3.12/site-packages/sage/doctest/forker.py", line 1152, in compile_and_execute exec(compiled, globs) File "<doctest sage.matrix.matrix_integer_dense.Matrix_integer_dense._solve_iml[19]>", line 1, in <module> with ensure_interruptible_after(Integer(2), max_wait_after_interrupt=Integer(8)): A._solve_iml(B) File "/usr/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/usr/local/sage-10/local/var/lib/sage/venv-python3.12/lib/python3.12/site-packages/sage/doctest/util.py", line 900, in ensure_interruptible_after raise RuntimeError(f"Interrupted too early: {elapsed:.4f} < {seconds:.4f}, this should not happen") RuntimeError: Interrupted too early: -5.2366 < 2.0000, this should not happen ********************************************************************** sage -t --long --warn-long 30.0 --random-seed=216726477933468160153103774510788998532 src/doc/en/developer/coding_basics.rst # 1 doctest failedTransient.
sage -t --long --warn-long 30.0 --random-seed=216726477933468160153103774510788998532 src/sage/rings/polynomial/polynomial_zmod_flint.pyx # 1 doctest failedTransient.
sage -t --long --warn-long 30.0 --random-seed=216726477933468160153103774510788998532 src/sage/doctest/control.py # 7 doctests failedTransient.
sage -t --long --warn-long 30.0 --random-seed=216726477933468160153103774510788998532 src/sage/schemes/elliptic_curves/descent_two_isogeny.pyx # 1 doctest failedTransient.
sage -t --long --warn-long 30.0 --random-seed=216726477933468160153103774510788998532 src/sage/rings/real_mpfr.pyx # 1 doctest failedPermanent. Archi-multi-reported.
sage -t --long --warn-long 30.0 --random-seed=216726477933468160153103774510788998532 src/sage/doctest/util.py # 4 doctests failedPermanent. (Cosmetic ?) failures :
********************************************************************** File "src/sage/doctest/util.py", line 810, in sage.doctest.util.inaccuracy_tolerance Failed example: with ensure_interruptible_after(2) as data: sleep(1) Expected: Traceback (most recent call last): ... RuntimeError: Function terminates early after 1... < 2.0000 seconds Got: <BLANKLINE> Traceback (most recent call last): File "/usr/local/sage-10/local/var/lib/sage/venv-python3.12/lib/python3.12/site-packages/sage/doctest/forker.py", line 728, in _run self.compile_and_execute(example, compiler, test.globs) File "/usr/local/sage-10/local/var/lib/sage/venv-python3.12/lib/python3.12/site-packages/sage/doctest/forker.py", line 1152, in compile_and_execute exec(compiled, globs) File "<doctest sage.doctest.util.inaccuracy_tolerance[6]>", line 1, in <module> with ensure_interruptible_after(Integer(2)) as data: sleep(Integer(1)) File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__ next(self.gen) File "/usr/local/sage-10/local/var/lib/sage/venv-python3.12/lib/python3.12/site-packages/sage/doctest/util.py", line 902, in ensure_interruptible_after raise RuntimeError(f"Function terminates early after {elapsed:.4f} < {seconds:.4f} seconds") RuntimeError: Function terminates early after 0.9616 < 2.0000 seconds ********************************************************************** File "src/sage/doctest/util.py", line 856, in sage.doctest.util.inaccuracy_tolerance Failed example: with ensure_interruptible_after(1): uninterruptible_sleep(2r); raise RuntimeError Expected: Traceback (most recent call last): ... RuntimeError: Function is not interruptible within 1.0000 seconds, only after 2.00... seconds Got: <BLANKLINE> Traceback (most recent call last): File "/usr/local/sage-10/local/var/lib/sage/venv-python3.12/lib/python3.12/site-packages/sage/doctest/forker.py", line 728, in _run self.compile_and_execute(example, compiler, test.globs) File "/usr/local/sage-10/local/var/lib/sage/venv-python3.12/lib/python3.12/site-packages/sage/doctest/forker.py", line 1152, in compile_and_execute exec(compiled, globs) File "<doctest sage.doctest.util.inaccuracy_tolerance[12]>", line 1, in <module> with ensure_interruptible_after(Integer(1)): uninterruptible_sleep(2); raise RuntimeError ^^^^^^^^^^^^^^^^^^ RuntimeError **********************************************************************HTH,
MAC-04017247:sage dcoudert$ nm /opt/homebrew/Cellar/openblas/0.3.29/lib/libopenblas.dylib | grep dgeqrfp
0000000000d84dbc T _LAPACKE_dgeqrfp
0000000000d84eec T _LAPACKE_dgeqrfp_work
00000000008f4120 T _dgeqrfp_
[ipykernel-6.27.1] [spkg-install] ModuleNotFoundError: No module named 'jupyter_core'
You received this message because you are subscribed to a topic in the Google Groups "sage-release" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-release/8u71odPIXD8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-release...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/CAAWYfq2MxfW1_XoqtKCdv7Vnp0m4jVAdC68pTwCxAN9WvbN0-w%40mail.gmail.com.
On Tue, Feb 25, 2025 at 8:00 PM Kwankyu Lee <ekwa...@gmail.com> wrote:
>
>
>
> On Tuesday, February 25, 2025 at 8:44:02 AM UTC+9 John H Palmieri wrote:
>
> On OS X 15.3.1 with many homebrew packages installed, including both Python 3.12 and Python 3.13:
>
> - if I use Python 3.13, `pillow` and `cffi` fail to build. (I used "./configure", and I also tried after applying the patch from #39570)
>
>
> I built on the PR branch of #39571, not #39570
you need both of these to fix the latest beta. Both, not a random one
of the two.
--
You received this message because you are subscribed to the Google Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/a5426e58ddac7de4ae9100c1d08d213b9b0beb7e.camel%40gmail.com.
Le jeudi 27 février 2025 à 19:58:08 UTC+1, isu…@gmail.com a écrit :
> [spkg-install] g++: warning: @SIMD_CFLAGS@: linker input file unused because linking not doneYour system m4ri is broken. See https://github.com/malb/m4ri/pull/18
> [spkg-install] g++: error: @SIMD_CFLAGS@: linker input file not found: No such file or directory
Indeed.
I finally managed to complete a compilation with ./configure --enable-ccache --enable-system-packages --with-system-m4ri=no, on top of https://github.com/sagemath/sage/pull/39571.
ptestlongunderway.
Thank you very much !
On Debian testing running on Ryzen 9 + 64 GB RAM, after including #39571 et #39602, but without enable-system-packages, ptestlong raises the following permanent failures :
sage -t --long --warn-long 30.0 --random-seed=179778203930738585590205830888280412035 src/sage/libs/gap/element.pyx # Killed due to segmentation faultKilled. Last command executed :
ISTR that this was already reported.
sage -t --long --warn-long 30.0 --random-seed=179778203930738585590205830888280412035 src/sage/rings/integer.pyx # 1 doctest failedOne error :
ile "src/sage/rings/integer.pyx", line 3074, in sage.rings.integer.Integer.divisors Failed example: for i in range(20): # long time # needs sage.libs.pari try: alarm(RDF.random_element(1e-3, 0.5)) _ = n.divisors() cancel_alarm() # we never get here except AlarmInterrupt: pass Expected nothing Got: Traceback (most recent call last): File "<frozen importlib._bootstrap>", line 653, in has_location File "src/cysignals/signals.pyx", line 341, in cysignals.signals.python_check_interrupt cysignals.signals.AlarmInterrupt Exception ignored in: 'cysignals.signals.verify_exc_value' Traceback (most recent call last): File "<frozen importlib._bootstrap>", line 653, in has_location File "src/cysignals/signals.pyx", line 341, in cysignals.signals.python_check_interrupt cysignals.signals.AlarmInterrupt:The same repeated (about) 20 times.
sage -t --long --warn-long 30.0 --random-seed=179778203930738585590205830888280412035 src/sage/coding/linear_code.py # 4 doctests failedFour failures to find /usr/local/sage-10/local/lib/gap/pkg/guava//bin/wtdist, which seems to be /usr/local/sage-10/local/lib/gap/pkg/guava/bin/x86_64-pc-linux-gnu-default64-kv9/wtdist
sage -t --long --warn-long 30.0 --random-seed=179778203930738585590205830888280412035 src/sage/rings/real_mpfr.pyx # 1 doctest failedError in fricas(R(pi)) due to an unexpected warning.
sage -t --long --warn-long 30.0 --random-seed=179778203930738585590205830888280412035 src/sage/rings/polynomial/plural.pyx # SignalError in doctesting frameworkFailed example :
sage: H = A.g_algebra({y*x:x*y-z, z*x:x*z+2*x, z*y:y*z-2*y}) ## line 157 ## ********************************************************************** Traceback (most recent call last): File "sage/structure/parent.pyx", line 895, in sage.structure.parent.Parent.__call__ (build/cythonized/sage/structure/parent.c:12654) mor = <map.Map> self._convert_from_hash.get(R) File "sage/structure/coerce_dict.pyx", line 650, in sage.structure.coerce_dict.MonoDict.get (build/cythonized/sage/structure/coerce_dict.c:6647) raise KeyError(k) KeyError: Free Algebra on 3 generators (x, y, z) over Rational Field During handling of the above exception, another exception occurred: Traceback (most recent call last): File "sage/structure/parent.pyx", line 2501, in sage.structure.parent.Parent._internal_convert_map_from (build/cythonized/sage/structure/parent.c:25040) return self._convert_from_hash.get(S) File "sage/structure/coerce_dict.pyx", line 650, in sage.structure.coerce_dict.MonoDict.get (build/cythonized/sage/structure/coerce_dict.c:6647) raise KeyError(k) KeyError: Free Algebra on 3 generators (x, y, z) over Rational Field During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/sage/doctest/forker.py", line 2611, in __call__ doctests, extras = self._run(runner, options, results) ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/sage/doctest/forker.py", line 2659, in _run result = runner.run(test) File "/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/sage/doctest/forker.py", line 920, in run return self._run(test, compileflags, out) ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/sage/doctest/forker.py", line 728, in _run self.compile_and_execute(example, compiler, test.globs) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/sage/doctest/forker.py", line 1152, in compile_and_execute exec(compiled, globs) ~~~~^^^^^^^^^^^^^^^^^ File "<doctest sage.rings.polynomial.plural.G_AlgFactory[1]>", line 1, in <module> File "/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/sage/algebras/free_algebra.py", line 1018, in g_algebra dmat[v2_ind, v1_ind] = polynomial_ring(d_poly) ~~~~~~~~~~~~~~~^^^^^^^^ File "sage/structure/parent.pyx", line 897, in sage.structure.parent.Parent.__call__ (build/cythonized/sage/structure/parent.c:12700) mor = <map.Map> self._internal_convert_map_from(R) File "sage/structure/parent.pyx", line 2503, in sage.structure.parent.Parent._internal_convert_map_from (build/cythonized/sage/structure/parent.c:25082) mor = self.discover_convert_map_from(S) File "sage/structure/parent.pyx", line 2524, in sage.structure.parent.Parent.discover_convert_map_from (build/cythonized/sage/structure/parent.c:25443) mor = S._internal_coerce_map_from(self) File "sage/structure/parent.pyx", line 2146, in sage.structure.parent.Parent._internal_coerce_map_from (build/cythonized/sage/structure/parent.c:23607) cpdef _internal_coerce_map_from(self, S): File "sage/structure/parent.pyx", line 2238, in sage.structure.parent.Parent._internal_coerce_map_from (build/cythonized/sage/structure/parent.c:23153) mor = self.discover_coerce_map_from(S) File "sage/structure/parent.pyx", line 2383, in sage.structure.parent.Parent.discover_coerce_map_from (build/cythonized/sage/structure/parent.c:23746) user_provided_mor = self._coerce_map_from_(S) File "sage/modules/module.pyx", line 132, in sage.modules.module.Module._coerce_map_from_ (build/cythonized/sage/modules/module.c:3283) cpdef _coerce_map_from_(self, M): File "/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/sage/algebras/free_algebra.py", line 771, in _coerce_map_from_ if isinstance(R, (FreeAlgebra_generic, FreeAlgebra_letterplace)): ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "sage/misc/lazy_import.pyx", line 966, in sage.misc.lazy_import.LazyImport.__instancecheck__ (build/cythonized/sage/misc/lazy_import.c:10034) return isinstance(x, self.get_object()) File "sage/misc/lazy_import.pyx", line 224, in sage.misc.lazy_import.LazyImport.get_object (build/cythonized/sage/misc/lazy_import.c:4289) return self._get_object() File "sage/misc/lazy_import.pyx", line 259, in sage.misc.lazy_import.LazyImport._get_object (build/cythonized/sage/misc/lazy_import.c:4643) self._object = getattr(__import__(self._module, {}, {}, [self._name]), self._name) File "sage/algebras/letterplace/free_algebra_letterplace.pyx", line 1, in init sage.algebras.letterplace.free_algebra_letterplace (build/cythonized/sage/algebras/letterplace/free_algebra_letterplace.cpp:16415) ############################################################################### File "sage/algebras/letterplace/free_algebra_element_letterplace.pyx", line 25, in init sage.algebras.letterplace.free_algebra_element_letterplace (build/cythonized/sage/algebras/letterplace/free_algebra_element_letterplace.cpp:16448) lib("freegb.lib") File "sage/libs/singular/function.pyx", line 1805, in sage.libs.singular.function.lib (build/cythonized/sage/libs/singular/function.cpp:24895) sig_on() cysignals.signals.SignalError: Segmentation fault ---------------------------------------------------------------------- sage -t --long --warn-long 30.0 --random-seed=179778203930738585590205830888280412035 src/sage/rings/polynomial/plural.pyx # SignalError in doctesting framework ---------------------------------------------------------------------- sage -t --long --warn-long 30.0 --random-seed=179778203930738585590205830888280412035 src/sage/libs/giac/__init__.py # Timed outThis seems to be permanent : a manual rerun hasn’t completed after 10 minutes.
BTW, the anomaly I recently reported (error in the error reporting code) seems fixed :
sage: a+x --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 a+x NameError: name 'a' is not defined sage:HTH,