Cannot build sage-9.8.beta6 either...
On Monday, January 9, 2023 at 2:14:38 PM UTC-5 Luis Finotti wrote:
> My working installation of Sage 9-7 (built from source) on Debian Sid
> stopped working. I thought it was due to the recent transition to Python
> 3.11 (or some other change in Sid). So, I tried to build it again from
> source, but it fails.
>
> Here is the last messages before it stops:
>
> [sagelib-9.7] error: Command "gcc -Wno-unused-result -Wsign-compare
> -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -g -O2 -g -O2 -fPIC
> -Isage/cpython -I/usr/include/x86_64-linux-gnu/singular
> -I/usr/include/x86_64-linux-gnu/singular/singular -I/usr/include/singular
> -I/usr/include/singular/singular
> -I/home/finotti/src/sage-9.7/local/var/lib/sage/venv-python3.10.5/lib/python3.10/site-packages/cypari2
>
> -Isage/libs/ntl -Isage/rings/finite_rings
> -I/home/finotti/src/sage-9.7/local/var/lib/sage/venv-python3.10.5/lib/python3.10/site-packages/cysignals
>
> -I/home/finotti/src/sage-9.7/src
> -I/home/finotti/src/sage-9.7/local/var/lib/sage/venv-python3.10.5/lib/python3.10/site-packages/numpy/core/include
>
> -I/home/finotti/src/sage-9.7/local/var/lib/sage/venv-python3.10.5/include/python3.10
>
> -I/home/finotti/src/sage-9.7/local/var/lib/sage/venv-python3.10.5/include/python3.10
>
> -c sage/rings/polynomial/multi_polynomial_libsingular.cpp -o
> build/temp.linux-x86_64-cpython-310/sage/rings/polynomial/multi_polynomial_libsingular.o
>
> -std=c++11 -fabi-version=6" failed with exit status 1
> [sagelib-9.7] error: subprocess-exited-with-error
> [sagelib-9.7]
> [sagelib-9.7] × python setup.py develop did not run successfully.
> [sagelib-9.7] │ exit code: 1
> [sagelib-9.7] ╰─> See above for output.
> [sagelib-9.7]
> [sagelib-9.7] note: This error originates from a subprocess, and is
> likely not a problem with pip.
> [sagelib-9.7] full command:
> /home/finotti/src/sage-9.7/local/var/lib/sage/venv-python3.10.5/bin/python3
> -c '
> [sagelib-9.7] exec(compile('"'"''"'"''"'"'
> [sagelib-9.7] # This is -- a caller that pip
> uses to run setup.py
> [sagelib-9.7] #
> [sagelib-9.7] # - It imports setuptools before invoking setup.py, to
> enable projects that directly
> [sagelib-9.7] # import from `distutils.core` to work with newer
> packaging standards.
> [sagelib-9.7] # - It provides a clear error message when setuptools is
> not installed.
> [sagelib-9.7] # - It sets `sys.argv[0]` to the underlying `setup.py`,
> when invoking `setup.py` so
> [sagelib-9.7] # setuptools doesn'"'"'t think the script is `-c`.
> This avoids the following warning:
> [sagelib-9.7] # manifest_maker: standard file '"'"'-c'"'"' not
> found".
> [sagelib-9.7] # - It generates a shim setup.py, for handling
> setup.cfg-only projects.
> [sagelib-9.7] import os, sys, tokenize
> [sagelib-9.7]
> [sagelib-9.7] try:
> [sagelib-9.7] import setuptools
> [sagelib-9.7] except ImportError as error:
> [sagelib-9.7] print(
> [sagelib-9.7] "ERROR: Can not execute `setup.py` since
> setuptools is not available in "
> [sagelib-9.7] "the build environment.",
> [sagelib-9.7] file=sys.stderr,
> [sagelib-9.7] )
> [sagelib-9.7] sys.exit(1)
> [sagelib-9.7]
> [sagelib-9.7] __file__ = %r
> [sagelib-9.7] sys.argv[0] = __file__
> [sagelib-9.7]
> [sagelib-9.7] if os.path.exists(__file__):
> [sagelib-9.7] filename = __file__
> [sagelib-9.7] with tokenize.open(__file__) as f:
> [sagelib-9.7] setup_py_code = f.read()
> [sagelib-9.7] else:
> [sagelib-9.7] filename = ""
> [sagelib-9.7] setup_py_code = "from setuptools import setup;
> setup()"
> [sagelib-9.7]
> [sagelib-9.7] exec(compile(setup_py_code, filename, "exec"))
> [sagelib-9.7] '"'"''"'"''"'"' %
> ('"'"'/home/finotti/src/sage-9.7/src/setup.py'"'"',),
> "", "exec"))' --no-user-cfg develop --no-deps
> [sagelib-9.7] cwd: /home/finotti/src/sage-9.7/src/
> [sagelib-9.7] error: subprocess-exited-with-error
> [sagelib-9.7]
> [sagelib-9.7] × python setup.py develop did not run successfully.
> [sagelib-9.7] │ exit code: 1
> [sagelib-9.7] ╰─> See above for output.
> [sagelib-9.7]
> [sagelib-9.7] note: This error originates from a subprocess, and is likely
> not a problem with pip.
> [sagelib-9.7]
> [sagelib-9.7] real 12m29.646s
> [sagelib-9.7] user 46m59.670s
> [sagelib-9.7] sys 1m23.295s
> make[4]: *** [Makefile:3115: sagelib-SAGE_VENV-no-deps] Error 1
> make[3]: *** [Makefile:3115:
> /home/finotti/src/sage-9.7/local/var/lib/sage/venv-python3.10.5/var/lib/sage/installed/sagelib-9.7]
>
> Error 2
> make[2]: *** [Makefile:2647: all-start] Error 2
> make[2]: Leaving directory '/home/finotti/src/sage-9.7/build/make'
>
> real26m21.018s
> user126m3.920s
> sys 6m28.588s
> ***
> Error buildi