On Debian testing running on core i7 + 16 GB RAM, upgrading 10.2.beta6 to 10.2.beta7 fails with fthe following last lines of test.log :
[ 50626 lines omitted… ]
[sagelib-10.2.beta7] [287/293] Cythonizing sage/rings/real_mpfr.pyx [sagelib-10.2.beta7] multiprocessing.pool.RemoteTraceback: [sagelib-10.2.beta7] """ [sagelib-10.2.beta7] Traceback (most recent call last): [sagelib-10.2.beta7] File "/usr/lib/python3.11/multiprocessing/pool.py", line 125, in worker [sagelib-10.2.beta7] result = (True, func(*args, **kwds)) [sagelib-10.2.beta7] ^^^^^^^^^^^^^^^^^^^ [sagelib-10.2.beta7] File "/usr/lib/python3.11/multiprocessing/pool.py", line 48, in mapstar [sagelib-10.2.beta7] return list(map(*args)) [sagelib-10.2.beta7] ^^^^^^^^^^^^^^^^ [sagelib-10.2.beta7] File "/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1325, in cythonize_one_helper [sagelib-10.2.beta7] return cythonize_one(*m) [sagelib-10.2.beta7] ^^^^^^^^^^^^^^^^^ [sagelib-10.2.beta7] File "/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one [sagelib-10.2.beta7] raise CompileError(None, pyx_file) [sagelib-10.2.beta7] Cython.Compiler.Errors.CompileError: sage/combinat/integer_lists/invlex.pyx [sagelib-10.2.beta7] """ [sagelib-10.2.beta7] [sagelib-10.2.beta7] The above exception was the direct cause of the following exception: [sagelib-10.2.beta7] [sagelib-10.2.beta7] Traceback (most recent call last): [sagelib-10.2.beta7] File "<string>", line 2, in <module> [sagelib-10.2.beta7] File "<pip-setuptools-caller>", line 34, in <module> [sagelib-10.2.beta7] File "/usr/local/sage-10/src/setup.py", line 108, in <module> [sagelib-10.2.beta7] extensions = cythonize( [sagelib-10.2.beta7] ^^^^^^^^^^ [sagelib-10.2.beta7] File "/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1125, in cythonize [sagelib-10.2.beta7] result.get(99999) # seconds [sagelib-10.2.beta7] ^^^^^^^^^^^^^^^^^ [sagelib-10.2.beta7] File "/usr/lib/python3.11/multiprocessing/pool.py", line 774, in get [sagelib-10.2.beta7] raise self._value [sagelib-10.2.beta7] Cython.Compiler.Errors.CompileError: sage/combinat/integer_lists/invlex.pyx [sagelib-10.2.beta7] ************************************************************************ [sagelib-10.2.beta7] Error building the Sage library [sagelib-10.2.beta7] ************************************************************************ [sagelib-10.2.beta7] Please email sage-devel (http://groups.google.com/group/sage-devel) [sagelib-10.2.beta7] explaining the problem and including the relevant part of the log file [sagelib-10.2.beta7] /usr/local/sage-10/logs/pkgs/sagelib-10.2.beta7.log [sagelib-10.2.beta7] Describe your computer, operating system, etc. [sagelib-10.2.beta7] ************************************************************************ [sagelib-10.2.beta7] error: subprocess-exited-with-error [sagelib-10.2.beta7] [sagelib-10.2.beta7] × python setup.py develop did not run successfully. [sagelib-10.2.beta7] │ exit code: 1 [sagelib-10.2.beta7] ╰─> See above for output. [sagelib-10.2.beta7] [sagelib-10.2.beta7] note: This error originates from a subprocess, and is likely not a problem with pip. [sagelib-10.2.beta7] full command: /usr/local/sage-10/local/var/lib/sage/venv-python3.11/bin/python3 -c ' [sagelib-10.2.beta7] exec(compile('"'"''"'"''"'"' [sagelib-10.2.beta7] # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py [sagelib-10.2.beta7] # [sagelib-10.2.beta7] # - It imports setuptools before invoking setup.py, to enable projects that directly [sagelib-10.2.beta7] # import from `distutils.core` to work with newer packaging standards. [sagelib-10.2.beta7] # - It provides a clear error message when setuptools is not installed. [sagelib-10.2.beta7] # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so [sagelib-10.2.beta7] # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: [sagelib-10.2.beta7] # manifest_maker: standard file '"'"'-c'"'"' not found". [sagelib-10.2.beta7] # - It generates a shim setup.py, for handling setup.cfg-only projects. [sagelib-10.2.beta7] import os, sys, tokenize [sagelib-10.2.beta7] [sagelib-10.2.beta7] try: [sagelib-10.2.beta7] import setuptools [sagelib-10.2.beta7] except ImportError as error: [sagelib-10.2.beta7] print( [sagelib-10.2.beta7] "ERROR: Can not execute `setup.py` since setuptools is not available in " [sagelib-10.2.beta7] "the build environment.", [sagelib-10.2.beta7] file=sys.stderr, [sagelib-10.2.beta7] ) [sagelib-10.2.beta7] sys.exit(1) [sagelib-10.2.beta7] [sagelib-10.2.beta7] __file__ = %r [sagelib-10.2.beta7] sys.argv[0] = __file__ [sagelib-10.2.beta7] [sagelib-10.2.beta7] if os.path.exists(__file__): [sagelib-10.2.beta7] filename = __file__ [sagelib-10.2.beta7] with tokenize.open(__file__) as f: [sagelib-10.2.beta7] setup_py_code = f.read() [sagelib-10.2.beta7] else: [sagelib-10.2.beta7] filename = "<auto-generated setuptools caller>" [sagelib-10.2.beta7] setup_py_code = "from setuptools import setup; setup()" [sagelib-10.2.beta7] [sagelib-10.2.beta7] exec(compile(setup_py_code, filename, "exec")) [sagelib-10.2.beta7] '"'"''"'"''"'"' % ('"'"'/usr/local/sage-10/src/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' --no-user-cfg develop --no-deps [sagelib-10.2.beta7] cwd: /usr/local/sage-10/src/ [sagelib-10.2.beta7] Rolling back uninstall of sagemath-standard [sagelib-10.2.beta7] Moving to /usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/sagemath-standard.egg-link [sagelib-10.2.beta7] from /tmp/pip-uninstall-yh32fysr/sagemath-standard.egg-link [sagelib-10.2.beta7] error: subprocess-exited-with-error [sagelib-10.2.beta7] [sagelib-10.2.beta7] × python setup.py develop did not run successfully. [sagelib-10.2.beta7] │ exit code: 1 [sagelib-10.2.beta7] ╰─> See above for output. [sagelib-10.2.beta7] [sagelib-10.2.beta7] note: This error originates from a subprocess, and is likely not a problem with pip. [sagelib-10.2.beta7] ******************************************************************************** [sagelib-10.2.beta7] Error installing [sagelib-10.2.beta7] ******************************************************************************** [sagelib-10.2.beta7] [sagelib-10.2.beta7] real 2m14,342s [sagelib-10.2.beta7] user 8m4,188s [sagelib-10.2.beta7] sys 0m15,801s make[4]: *** [Makefile:3373 : sagelib-SAGE_VENV-no-deps] Erreur 1 make[3]: *** [Makefile:3373 : /usr/local/sage-10/local/var/lib/sage/venv-python3.11/var/lib/sage/installed/sagelib-10.2.beta7] Erreur 2 make[2]: *** [Makefile:2845 : all-start] Erreur 2 make[2] : on quitte le répertoire « /usr/local/sage-10/build/make » real 21m22,612s user 121m45,303s sys 6m8,506s *************************************************************** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all-start'): * package: sagelib-10.2.beta7 last build time: 16 oct. 08:20 log file: /usr/local/sage-10/logs/pkgs/sagelib-10.2.beta7.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.This is not the first time I see this particular problem, but each time I had tocycle through make distclean, which somehow contradicts the usefulness of make…
I am still unable to understand the problem.
Advice, hints, ideas ?
Nope...`make cython` succeeds. Bit `make build fails :
--
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 on the web visit https://groups.google.com/d/msgid/sage-release/26384ee2-c77e-4b3f-a5ba-a228f30972c9n%40googlegroups.com.
Nope again : make sagelib-clean sagelib uninstall works, but make -j8 build (or even make build) fails again:
[ Again a bunch of lines elided… ]
[sagelib-10.2.beta7] [553/557] Cythonizing sage/symbolic/expression.pyx [sagelib-10.2.beta7] multiprocessing.pool.RemoteTraceback: [sagelib-10.2.beta7] """ [sagelib-10.2.beta7] Traceback (most recent call last): [sagelib-10.2.beta7] File "/usr/lib/python3.11/multiprocessing/pool.py", line 125, in worker [sagelib-10.2.beta7] result = (True, func(*args, **kwds)) [sagelib-10.2.beta7] ^^^^^^^^^^^^^^^^^^^ [sagelib-10.2.beta7] File "/usr/lib/python3.11/multiprocessing/pool.py", line 48, in mapstar [sagelib-10.2.beta7] return list(map(*args)) [sagelib-10.2.beta7] ^^^^^^^^^^^^^^^^ [sagelib-10.2.beta7] File "/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1325, in cythonize_one_helper [sagelib-10.2.beta7] return cythonize_one(*m) [sagelib-10.2.beta7] ^^^^^^^^^^^^^^^^^ [sagelib-10.2.beta7] File "/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one [sagelib-10.2.beta7] raise CompileError(None, pyx_file) [sagelib-10.2.beta7] Cython.Compiler.Errors.CompileError: sage/algebras/finite_dimensional_algebras/finite_dimensional_algebra_element.pyx [sagelib-10.2.beta7] """ [sagelib-10.2.beta7] [sagelib-10.2.beta7] The above exception was the direct cause of the following exception: [sagelib-10.2.beta7] [sagelib-10.2.beta7] Traceback (most recent call last): [sagelib-10.2.beta7] File "<string>", line 2, in <module> [sagelib-10.2.beta7] File "<pip-setuptools-caller>", line 34, in <module> [sagelib-10.2.beta7] File "/usr/local/sage-10/src/setup.py", line 108, in <module> [sagelib-10.2.beta7] extensions = cythonize( [sagelib-10.2.beta7] ^^^^^^^^^^ [sagelib-10.2.beta7] File "/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1125, in cythonize [sagelib-10.2.beta7] result.get(99999) # seconds [sagelib-10.2.beta7] ^^^^^^^^^^^^^^^^^ [sagelib-10.2.beta7] File "/usr/lib/python3.11/multiprocessing/pool.py", line 774, in get [sagelib-10.2.beta7] raise self._value [sagelib-10.2.beta7] Cython.Compiler.Errors.CompileError: sage/algebras/finite_dimensional_algebras/finite_dimensional_algebra_element.pyx [sagelib-10.2.beta7] ************************************************************************ [sagelib-10.2.beta7] Error building the Sage library [sagelib-10.2.beta7] ************************************************************************ [sagelib-10.2.beta7] Please email sage-devel (http://groups.google.com/group/sage-devel) [sagelib-10.2.beta7] explaining the problem and including the relevant part of the log file [sagelib-10.2.beta7] /usr/local/sage-10/logs/pkgs/sagelib-10.2.beta7.log [sagelib-10.2.beta7] Describe your computer, operating system, etc. [sagelib-10.2.beta7] ************************************************************************ [sagelib-10.2.beta7] error: subprocess-exited-with-error [sagelib-10.2.beta7] [sagelib-10.2.beta7] × python setup.py develop did not run successfully. [sagelib-10.2.beta7] │ exit code: 1 [sagelib-10.2.beta7] ╰─> See above for output. [sagelib-10.2.beta7] [sagelib-10.2.beta7] note: This error originates from a subprocess, and is likely not a problem with pip. [sagelib-10.2.beta7] full command: /usr/local/sage-10/local/var/lib/sage/venv-python3.11/bin/python3 -c ' [sagelib-10.2.beta7] exec(compile('"'"''"'"''"'"' [sagelib-10.2.beta7] # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py [sagelib-10.2.beta7] # [sagelib-10.2.beta7] # - It imports setuptools before invoking setup.py, to enable projects that directly [sagelib-10.2.beta7] # import from `distutils.core` to work with newer packaging standards. [sagelib-10.2.beta7] # - It provides a clear error message when setuptools is not installed. [sagelib-10.2.beta7] # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so [sagelib-10.2.beta7] # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: [sagelib-10.2.beta7] # manifest_maker: standard file '"'"'-c'"'"' not found". [sagelib-10.2.beta7] # - It generates a shim setup.py, for handling setup.cfg-only projects. [sagelib-10.2.beta7] import os, sys, tokenize [sagelib-10.2.beta7] [sagelib-10.2.beta7] try: [sagelib-10.2.beta7] import setuptools [sagelib-10.2.beta7] except ImportError as error: [sagelib-10.2.beta7] print( [sagelib-10.2.beta7] "ERROR: Can not execute `setup.py` since setuptools is not available in " [sagelib-10.2.beta7] "the build environment.", [sagelib-10.2.beta7] file=sys.stderr, [sagelib-10.2.beta7] ) [sagelib-10.2.beta7] sys.exit(1) [sagelib-10.2.beta7] [sagelib-10.2.beta7] __file__ = %r [sagelib-10.2.beta7] sys.argv[0] = __file__ [sagelib-10.2.beta7] [sagelib-10.2.beta7] if os.path.exists(__file__): [sagelib-10.2.beta7] filename = __file__ [sagelib-10.2.beta7] with tokenize.open(__file__) as f: [sagelib-10.2.beta7] setup_py_code = f.read() [sagelib-10.2.beta7] else: [sagelib-10.2.beta7] filename = "<auto-generated setuptools caller>" [sagelib-10.2.beta7] setup_py_code = "from setuptools import setup; setup()" [sagelib-10.2.beta7] [sagelib-10.2.beta7] exec(compile(setup_py_code, filename, "exec")) [sagelib-10.2.beta7] '"'"''"'"''"'"' % ('"'"'/usr/local/sage-10/src/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' --no-user-cfg develop --no-deps [sagelib-10.2.beta7] cwd: /usr/local/sage-10/src/ [sagelib-10.2.beta7] Rolling back uninstall of sagemath-standard [sagelib-10.2.beta7] Moving to /usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/sagemath-standard.egg-link [sagelib-10.2.beta7] from /tmp/pip-uninstall-k63qels8/sagemath-standard.egg-link [sagelib-10.2.beta7] error: subprocess-exited-with-error [sagelib-10.2.beta7] [sagelib-10.2.beta7] × python setup.py develop did not run successfully. [sagelib-10.2.beta7] │ exit code: 1 [sagelib-10.2.beta7] ╰─> See above for output. [sagelib-10.2.beta7] [sagelib-10.2.beta7] note: This error originates from a subprocess, and is likely not a problem with pip. [sagelib-10.2.beta7] ******************************************************************************** [sagelib-10.2.beta7] Error installing [sagelib-10.2.beta7] ******************************************************************************** [sagelib-10.2.beta7] [sagelib-10.2.beta7] real 2m50,697s [sagelib-10.2.beta7] user 10m53,566s [sagelib-10.2.beta7] sys 0m18,088s make[4]: *** [Makefile:3373 : sagelib-SAGE_VENV-no-deps] Erreur 1 make[3]: *** [Makefile:3373 : /usr/local/sage-10/local/var/lib/sage/venv-python3.11/var/lib/sage/installed/sagelib-10.2.beta7] Erreur 2 make[2]: *** [Makefile:2849 : all-build] Erreur 2 make[2] : on quitte le répertoire « /usr/local/sage-10/build/make » real 2m51,203s user 11m5,104s sys 0m31,598s *************************************************************** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all-build'): * package: sagelib-10.2.beta7 last build time: 16 oct. 16:10 log file: /usr/local/sage-10/logs/pkgs/sagelib-10.2.beta7.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]: *** [Makefile:40 : all-build] Erreur 1 make[1] : on quitte le répertoire « /usr/local/sage-10 » make: *** [Makefile:16 : build] Erreur 2 real 2m52,299s user 11m6,822s sys 0m35,210sLe lundi 16 octobre 2023 à 18:35:28 UTC+2, Dima Pasechnik a écrit :
On Mon, Oct 16, 2023 at 5:29 PM Dima Pasechnik <dim...@gmail.com> wrote:
>
> Please also send config.log, as I already asked.
Done. See above
>
> On Mon, Oct 16, 2023 at 5:27 PM <emanuel.c...@gmail.com> wrote:
> >
> > IMHO what we need there is in logs/pkgs/sagelib-10.2.beta7.log
It looks as if you haven't installed the patch for Cython, as I still see
ValueError: Invalid tag name '.0'
in your log.
You can check this somewhere in the beginning of logs/pkgs/cython*...log
You'd see there "applying patch <such and such>"
Indeed :
charpent@zen-book-flip:/usr/local/sage-10$ grep patch logs/pkgs/cython-3.0.2.log No patch files found in ../patchesHowever, I’m pretty certain to have run it (but it has already scrolled off my session transcript) .
I’ll try to start again :
- make sagelib-clean sagelib uninstall - git pull upstream pull/36332/head - make cython - make buildLe lundi 16 octobre 2023 à 22:31:38 UTC+2, Emmanuel Charpentier a écrit :
Le lundi 16 octobre 2023 à 18:35:28 UTC+2, Dima Pasechnik a écrit :
On Mon, Oct 16, 2023 at 5:29 PM Dima Pasechnik <dim...@gmail.com> wrote:
>
> Please also send config.log, as I already asked.Done. See above
>
> On Mon, Oct 16, 2023 at 5:27 PM <emanuel.c...@gmail.com> wrote:
> >
> > IMHO what we need there is in logs/pkgs/sagelib-10.2.beta7.log
It looks as if you haven't installed the patch for Cython, as I still see
ValueError: Invalid tag name '.0'
in your log.
You can check this somewhere in the beginning of logs/pkgs/cython*...log
You'd see there "applying patch <such and such>"Indeed :
charpent@zen-book-flip:/usr/local/sage-10$ grep patch logs/pkgs/cython-3.0.2.log No patch files found in ../patchesHowever, I’m pretty certain to have run it (but it has already scrolled off my session transcript) .
I’ll try to start again :
- make sagelib-clean sagelib uninstall - git pull upstream pull/36332/head
BTW :
charpent@zen-book-flip:/usr/local/sage-10$ git pull upstream pull/36332/head Depuis github.com:sagemath/sage * branch refs/pull/36332/head -> FETCH_HEAD Déjà à jour.(“already up to date”).
Then
charpent@zen-book-flip:/usr/local/sage-10$ make cython make build/make/Makefile --stop make[1] : on entre dans le répertoire « /usr/local/sage-10 » make[1]: « build/make/Makefile » est à jour. make[1] : on quitte le répertoire « /usr/local/sage-10 » build/bin/sage-logger \ "cd build/make && ./install 'cython'" logs/install.log make[1] : on entre dans le répertoire « /usr/local/sage-10/build/make » make[1] : on quitte le répertoire « /usr/local/sage-10/build/make » Nothing to (re)build / all up-to-date.I do not understand. Again…
Le lundi 16 octobre 2023 à 22:41:38 UTC+2, Dima Pasechnik a écrit :
can you check that build/pkgs/cython/patches/5690.patch is there?
Indeed it is here…
charpent@zen-book-flip:/usr/local/sage-10$ ls build/pkgs/cython/patches/ 5690.patchAnd make build still fails :
[sagelib-10.2.beta7] [143/144] Cythonizing sage/symbolic/expression.pyx [sagelib-10.2.beta7] multiprocessing.pool.RemoteTraceback: [sagelib-10.2.beta7] """ [sagelib-10.2.beta7] Traceback (most recent call last): [sagelib-10.2.beta7] File "/usr/lib/python3.11/multiprocessing/pool.py", line 125, in worker [sagelib-10.2.beta7] result = (True, func(*args, **kwds)) [sagelib-10.2.beta7] ^^^^^^^^^^^^^^^^^^^ [sagelib-10.2.beta7] File "/usr/lib/python3.11/multiprocessing/pool.py", line 48, in mapstar [sagelib-10.2.beta7] return list(map(*args)) [sagelib-10.2.beta7] ^^^^^^^^^^^^^^^^ [sagelib-10.2.beta7] File "/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1325, in cythonize_one_helper [sagelib-10.2.beta7] return cythonize_one(*m) [sagelib-10.2.beta7] ^^^^^^^^^^^^^^^^^ [sagelib-10.2.beta7] File "/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one [sagelib-10.2.beta7] raise CompileError(None, pyx_file) [sagelib-10.2.beta7] Cython.Compiler.Errors.CompileError: sage/algebras/finite_dimensional_algebras/finite_dimensional_algebra_element.pyx [sagelib-10.2.beta7] """ [sagelib-10.2.beta7] [sagelib-10.2.beta7] The above exception was the direct cause of the following exception: [sagelib-10.2.beta7] [sagelib-10.2.beta7] Traceback (most recent call last): [sagelib-10.2.beta7] File "<string>", line 2, in <module> [sagelib-10.2.beta7] File "<pip-setuptools-caller>", line 34, in <module> [sagelib-10.2.beta7] File "/usr/local/sage-10/src/setup.py", line 108, in <module> [sagelib-10.2.beta7] extensions = cythonize( [sagelib-10.2.beta7] ^^^^^^^^^^ [sagelib-10.2.beta7] File "/usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1125, in cythonize [sagelib-10.2.beta7] result.get(99999) # seconds [sagelib-10.2.beta7] ^^^^^^^^^^^^^^^^^ [sagelib-10.2.beta7] File "/usr/lib/python3.11/multiprocessing/pool.py", line 774, in get [sagelib-10.2.beta7] raise self._value [sagelib-10.2.beta7] Cython.Compiler.Errors.CompileError: sage/algebras/finite_dimensional_algebras/finite_dimensional_algebra_element.pyx [sagelib-10.2.beta7] ************************************************************************ [sagelib-10.2.beta7] Error building the Sage library [sagelib-10.2.beta7] ************************************************************************ [sagelib-10.2.beta7] Please email sage-devel (http://groups.google.com/group/sage-devel) [sagelib-10.2.beta7] explaining the problem and including the relevant part of the log file [sagelib-10.2.beta7] /usr/local/sage-10/logs/pkgs/sagelib-10.2.beta7.log [sagelib-10.2.beta7] Describe your computer, operating system, etc. [sagelib-10.2.beta7] ************************************************************************ [sagelib-10.2.beta7] error: subprocess-exited-with-error [sagelib-10.2.beta7] [sagelib-10.2.beta7] × python setup.py develop did not run successfully. [sagelib-10.2.beta7] │ exit code: 1 [sagelib-10.2.beta7] ╰─> See above for output. [sagelib-10.2.beta7] [sagelib-10.2.beta7] note: This error originates from a subprocess, and is likely not a problem with pip. [sagelib-10.2.beta7] full command: /usr/local/sage-10/local/var/lib/sage/venv-python3.11/bin/python3 -c ' [sagelib-10.2.beta7] exec(compile('"'"''"'"''"'"' [sagelib-10.2.beta7] # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py [sagelib-10.2.beta7] # [sagelib-10.2.beta7] # - It imports setuptools before invoking setup.py, to enable projects that directly [sagelib-10.2.beta7] # import from `distutils.core` to work with newer packaging standards. [sagelib-10.2.beta7] # - It provides a clear error message when setuptools is not installed. [sagelib-10.2.beta7] # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so [sagelib-10.2.beta7] # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: [sagelib-10.2.beta7] # manifest_maker: standard file '"'"'-c'"'"' not found". [sagelib-10.2.beta7] # - It generates a shim setup.py, for handling setup.cfg-only projects. [sagelib-10.2.beta7] import os, sys, tokenize [sagelib-10.2.beta7] [sagelib-10.2.beta7] try: [sagelib-10.2.beta7] import setuptools [sagelib-10.2.beta7] except ImportError as error: [sagelib-10.2.beta7] print( [sagelib-10.2.beta7] "ERROR: Can not execute `setup.py` since setuptools is not available in " [sagelib-10.2.beta7] "the build environment.", [sagelib-10.2.beta7] file=sys.stderr, [sagelib-10.2.beta7] ) [sagelib-10.2.beta7] sys.exit(1) [sagelib-10.2.beta7] [sagelib-10.2.beta7] __file__ = %r [sagelib-10.2.beta7] sys.argv[0] = __file__ [sagelib-10.2.beta7] [sagelib-10.2.beta7] if os.path.exists(__file__): [sagelib-10.2.beta7] filename = __file__ [sagelib-10.2.beta7] with tokenize.open(__file__) as f: [sagelib-10.2.beta7] setup_py_code = f.read() [sagelib-10.2.beta7] else: [sagelib-10.2.beta7] filename = "<auto-generated setuptools caller>" [sagelib-10.2.beta7] setup_py_code = "from setuptools import setup; setup()" [sagelib-10.2.beta7] [sagelib-10.2.beta7] exec(compile(setup_py_code, filename, "exec")) [sagelib-10.2.beta7] '"'"''"'"''"'"' % ('"'"'/usr/local/sage-10/src/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' --no-user-cfg develop --no-deps [sagelib-10.2.beta7] cwd: /usr/local/sage-10/src/ [sagelib-10.2.beta7] Rolling back uninstall of sagemath-standard [sagelib-10.2.beta7] Moving to /usr/local/sage-10/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/sagemath-standard.egg-link [sagelib-10.2.beta7] from /tmp/pip-uninstall-x35mufkn/sagemath-standard.egg-link [sagelib-10.2.beta7] error: subprocess-exited-with-error [sagelib-10.2.beta7] [sagelib-10.2.beta7] × python setup.py develop did not run successfully. [sagelib-10.2.beta7] │ exit code: 1 [sagelib-10.2.beta7] ╰─> See above for output. [sagelib-10.2.beta7] [sagelib-10.2.beta7] note: This error originates from a subprocess, and is likely not a problem with pip. [sagelib-10.2.beta7] ******************************************************************************** [sagelib-10.2.beta7] Error installing [sagelib-10.2.beta7] ******************************************************************************** [sagelib-10.2.beta7] [sagelib-10.2.beta7] real 1m8,293s [sagelib-10.2.beta7] user 3m46,560s [sagelib-10.2.beta7] sys 0m9,187s make[4]: *** [Makefile:3373 : sagelib-SAGE_VENV-no-deps] Erreur 1 make[3]: *** [Makefile:3373 : /usr/local/sage-10/local/var/lib/sage/venv-python3.11/var/lib/sage/installed/sagelib-10.2.beta7] Erreur 2 make[2]: *** [Makefile:2849 : all-build] Erreur 2 make[2] : on quitte le répertoire « /usr/local/sage-10/build/make » real 1m8,804s user 3m51,007s sys 0m14,169s *************************************************************** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all-build'): * package: sagelib-10.2.beta7 last build time: 16 oct. 22:42 log file: /usr/local/sage-10/logs/pkgs/sagelib-10.2.beta7.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]: *** [Makefile:40 : all-build] Erreur 1 make[1] : on quitte le répertoire « /usr/local/sage-10 » make: *** [Makefile:16 : build] Erreur 2 real 1m9,904s user 3m52,308s sys 0m15,791sOn Debian testing running on core i7 + 16 GB RAM, upgrading (awkwardly, see above) 10.2.beta6 to 10.2.beta7 and running ptestlong gives me one transient failure :
sage -t --long --warn-long 214.7 --random-seed=173352811929764019198741857739693451547 src/sage/rings/tests.py # Timed outand two permanent failures :
sage -t --long --warn-long 214.7 --random-seed=173352811929764019198741857739693451547 src/sage/combinat/posets/posets.py # 1 doctest failed sage -t --long --warn-long 214.7 --random-seed=173352811929764019198741857739693451547 src/sage/functions/special.py # 2 doctests failedboth having been already reported for a few previous betas.
HTH,
Le 17 oct. 2023 à 12:54, Emmanuel Charpentier <emanuel.c...@gmail.com> a écrit :On Debian testing running on core i7 + 16 GB RAM, upgrading (awkwardly, see above) 10.2.beta6 to 10.2.beta7 and running ptestlong gives me one transient failure :
sage -t --long --warn-long 214.7 --random-seed=173352811929764019198741857739693451547 src/sage/rings/tests.py # Timed outand two permanent failures :
sage -t --long --warn-long 214.7 --random-seed=173352811929764019198741857739693451547 src/sage/combinat/posets/posets.py # 1 doctest failed sage -t --long --warn-long 214.7 --random-seed=173352811929764019198741857739693451547 src/sage/functions/special.py # 2 doctests failedboth having been already reported for a few previous betas.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/cd6d0eab-7bb0-4065-a460-0fc4acf8f857n%40googlegroups.com.