Debian is shipping a broken m4ri version https://groups.google.com/g/sage-release/c/muFP_3aonHc/m/2SxR8t1eAQAJ
El lunes, 27 de enero de 2025 a las 17:50:39 UTC+1, Luis Finotti escribió: > Debian Sid has updated its Python version to 3.13. In trying to build > sage 10.5 from source, I get: > > ``` > [sagelib-10.5] [spkg-install] error: command '/usr/bin/g++' failed > with exit code 1 > [sagelib-10.5] [spkg-install] error: subprocess-exited-with-error > [sagelib-10.5] [spkg-install] > [sagelib-10.5] [spkg-install] × python setup.py develop did not run > successfully. > [sagelib-10.5] [spkg-install] │ exit code: 1 > [sagelib-10.5] [spkg-install] ╰─> See above for output. > [sagelib-10.5] [spkg-install] > [sagelib-10.5] [spkg-install] note: This error originates from a > subprocess, and is likely not a problem with pip. > [sagelib-10.5] [spkg-install] full command: > /home/finotti/src/sage-10.5/local/var/lib/sage/venv-python3.12.5/bin/python3 > -c ' > [sagelib-10.5] [spkg-install] exec(compile('"'"''"'"''"'"' > [sagelib-10.5] [spkg-install] # This is <pip-setuptools-caller> -- a > caller that pip uses to run setup.py > [sagelib-10.5] [spkg-install] # > [sagelib-10.5] [spkg-install] # - It imports setuptools before > invoking setup.py, to enable projects that directly > [sagelib-10.5] [spkg-install] # import from `distutils.core` to work > with newer packaging standards. > [sagelib-10.5] [spkg-install] # - It provides a clear error message > when setuptools is not installed. > [sagelib-10.5] [spkg-install] # - It sets `sys.argv[0]` to the > underlying `setup.py`, when invoking `setup.py` so > [sagelib-10.5] [spkg-install] # setuptools doesn'"'"'t think the > script is `-c`. This avoids the following warning: > [sagelib-10.5] [spkg-install] # manifest_maker: standard file > '"'"'-c'"'"' not found". > [sagelib-10.5] [spkg-install] # - It generates a shim setup.py, for > handling setup.cfg-only projects. > [sagelib-10.5] [spkg-install] import os, sys, tokenize > [sagelib-10.5] [spkg-install] > [sagelib-10.5] [spkg-install] try: > [sagelib-10.5] [spkg-install] import setuptools > [sagelib-10.5] [spkg-install] except ImportError as error: > [sagelib-10.5] [spkg-install] print( > [sagelib-10.5] [spkg-install] "ERROR: Can not execute > `setup.py` since setuptools is not available in " > [sagelib-10.5] [spkg-install] "the build environment.", > [sagelib-10.5] [spkg-install] file=sys.stderr, > [sagelib-10.5] [spkg-install] ) > [sagelib-10.5] [spkg-install] sys.exit(1) > [sagelib-10.5] [spkg-install] > [sagelib-10.5] [spkg-install] __file__ = %r > [sagelib-10.5] [spkg-install] sys.argv[0] = __file__ > [sagelib-10.5] [spkg-install] > [sagelib-10.5] [spkg-install] if os.path.exists(__file__): > [sagelib-10.5] [spkg-install] filename = __file__ > [sagelib-10.5] [spkg-install] with tokenize.open(__file__) as f: > [sagelib-10.5] [spkg-install] setup_py_code = f.read() > [sagelib-10.5] [spkg-install] else: > [sagelib-10.5] [spkg-install] filename = "<auto-generated > setuptools caller>" > [sagelib-10.5] [spkg-install] setup_py_code = "from setuptools > import setup; setup()" > [sagelib-10.5] [spkg-install] > [sagelib-10.5] [spkg-install] exec(compile(setup_py_code, filename, > "exec")) > [sagelib-10.5] [spkg-install] '"'"''"'"''"'"' % > ('"'"'/home/finotti/src/sage-10.5/src/setup.py'"'"',), > "<pip-setuptools-caller>", "exec"))' --no-user-cfg develop --no-deps > [sagelib-10.5] [spkg-install] cwd: /home/finotti/src/sage-10.5/src/ > [sagelib-10.5] [spkg-install] error: subprocess-exited-with-error > [sagelib-10.5] [spkg-install] > [sagelib-10.5] [spkg-install] × python setup.py develop did not run > successfully. > [sagelib-10.5] [spkg-install] │ exit code: 1 > [sagelib-10.5] [spkg-install] ╰─> See above for output. > [sagelib-10.5] [spkg-install] > [sagelib-10.5] [spkg-install] note: This error originates from a > subprocess, and is likely not a problem with pip. > [sagelib-10.5] [spkg-install] > ******************************************************************************************************************** > [sagelib-10.5] [spkg-install] Error installing sagelib-10.5 > [sagelib-10.5] [spkg-install] > ******************************************************************************************************************** > [sagelib-10.5] > ************************************************************************ > [sagelib-10.5] Error installing package sagelib-10.5 > [sagelib-10.5] > ************************************************************************ > [sagelib-10.5] Please email sage-devel ( > http://groups.google.com/group/sage-devel) > [sagelib-10.5] explaining the problem and including the log files > [sagelib-10.5] /home/finotti/src/sage-10.5/logs/pkgs/sagelib-10.5.log > [sagelib-10.5] and > [sagelib-10.5] /home/finotti/src/sage-10.5/config.log > [sagelib-10.5] Describe your computer, operating system, etc. > [sagelib-10.5] If you want to try to fix the problem yourself, *don't* > just cd to > [sagelib-10.5] > /home/finotti/src/sage-10.5/local/var/lib/sage/venv-python3.12.5/var/tmp/sage/build/sagelib-10.5 > > and type 'make' or whatever is appropriate. > [sagelib-10.5] Instead, the following commands setup all environment > variables > [sagelib-10.5] correctly and load a subshell for you to debug the error: > [sagelib-10.5] (cd > '/home/finotti/src/sage-10.5/local/var/lib/sage/venv-python3.12.5/var/tmp/sage/build/sagelib-10.5' > > && '/home/finotti/src/sage-10.5/sage' --buildsh) > [sagelib-10.5] When you are done debugging, you can type "exit" to leave > the subshell. > [sagelib-10.5] > ************************************************************************ > [sagelib-10.5] real 5m11.119s user 75m30.103s sys 1m42.814s > make[4]: *** [Makefile:3575: sagelib-SAGE_VENV-no-deps] Error 1 > make[3]: *** [Makefile:3575: > /home/finotti/src/sage-10.5/local/var/lib/sage/venv-python3.12.5/var/lib/sage/installed/sagelib-10.5] > > Error 2 > make[2]: *** [Makefile:3044: all-start] Error 2 > make[2]: Leaving directory '/home/finotti/src/sage-10.5/build/make' > *************************************************************** > Error building Sage. > > The following package(s) may have failed to build (not necessarily > during this run of 'make all-start'): > > * package: sagelib-10.5 > last build time: Jan 27 11:30 > log file: /home/finotti/src/sage-10.5/logs/pkgs/sagelib-10.5.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 15m9.018s user 201m40.978s sys 7m44.745s > make[1]: *** [Makefile:40: all-start] Error 1 > make[1]: Leaving directory '/home/finotti/src/sage-10.5' > make: *** [Makefile:13: all] Error 2 > ``` > > The log mentioned above is available here: > https://luisfinotti.org/misc/sagelib-10.5.log > > Any ideas or suggestions? > > Thanks, > > Luís > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/sage-support/d678a2de-0d55-4c7a-9294-d8f074c0c4bbn%40googlegroups.com.