[sage-support] Re: Cannot build 9.7 on Debian Sid

2023-01-13 Thread Luis Finotti

On Friday, January 13, 2023 at 12:33:16 PM UTC-5 John H Palmieri wrote:
It may be (as pointed out on a similar thread in the group sage-devel) that 
some of the Debian packages have versions that are too new to be used with 
Sage. You could tell Sage to build its own Python, its own Gap, perhaps its 
own Singular (if the system one is causing problems):

./configure --with-system-python3=no --with-system-gap=no 
--with-system-singular=no

Yes, that worked!  Thanks! 

-- 
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 on the web visit 
https://groups.google.com/d/msgid/sage-support/8950461d-dee0-448a-990d-0937995edb53n%40googlegroups.com.


[sage-support] Re: Cannot build 9.7 on Debian Sid

2023-01-13 Thread John H Palmieri
It may be (as pointed out on a similar thread in the group sage-devel) that 
some of the Debian packages have versions that are too new to be used with 
Sage. You could tell Sage to build its own Python, its own Gap, perhaps its 
own Singular (if the system one is causing problems):

./configure --with-system-python3=no --with-system-gap=no 
--with-system-singular=no



On Friday, January 13, 2023 at 6:54:37 AM UTC-8 Luis Finotti wrote:

> After some more updated came to Sid, I tried again.  Still does not 
> compile, but breaks much sooner.  Here is the new log: 
> https://web.math.utk.edu/~finotti/tmp/install-2.log
>
> Sid's own packaged version of Sage also cannot be installed at the moment:
>
> # apt install sagemath 
> Reading package lists... Done 
> Building dependency tree... Done 
> Reading state information... Done 
> Some packages could not be installed. This may mean that you have 
> requested an impossible situation or if you are using the unstable 
> distribution that some required packages have not yet been created 
> or been moved out of Incoming. 
> The following information may help to resolve the situation: 
>
> The following packages have unmet dependencies: 
> python3-sage : Depends: python3 (< 3.11) but 3.11.1-1 is to be installed 
>Depends: libgap7 (>= 4.11.0-1) but it is not installable 
> E: Unable to correct problems, you have held broken packages.
>
> Any help would be greatly appreciated.
>
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/sage-support/1b2e26e6-d41e-457b-800d-82d7d3201d5fn%40googlegroups.com.


[sage-support] Re: Cannot build 9.7 on Debian Sid

2023-01-13 Thread Luis Finotti
After some more updated came to Sid, I tried again.  Still does not 
compile, but breaks much sooner.  Here is the new log: 
https://web.math.utk.edu/~finotti/tmp/install-2.log

Sid's own packaged version of Sage also cannot be installed at the moment:

# apt install sagemath 
Reading package lists... Done 
Building dependency tree... Done 
Reading state information... Done 
Some packages could not be installed. This may mean that you have 
requested an impossible situation or if you are using the unstable 
distribution that some required packages have not yet been created 
or been moved out of Incoming. 
The following information may help to resolve the situation: 

The following packages have unmet dependencies: 
python3-sage : Depends: python3 (< 3.11) but 3.11.1-1 is to be installed 
   Depends: libgap7 (>= 4.11.0-1) but it is not installable 
E: Unable to correct problems, you have held broken packages.

Any help would be greatly appreciated.

-- 
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 on the web visit 
https://groups.google.com/d/msgid/sage-support/9217c7b4-92a0-4b10-a2b9-88f90447924en%40googlegroups.com.


[sage-support] Re: Cannot build 9.7 on Debian Sid

2023-01-10 Thread Luis Finotti
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