On Debian testing ruinning on core i7 + 16 GB RAM (slightly different installed software ; notably gap_packages
is installed), after upgrading a Python 3-base sage 9.1.beta1 to 9.1.beta2:
ptestlong
gets three permanent failures (already reported multipleFile | Result | P/T |
---|---|---|
src/sage/numerical/backends/glpk_backend.pyx | 1 doctest failed | P |
src/sage/tests/gap_packages.py | 1 doctest failed | P |
src/sage/libs/glpk/error.pyx | 1 doctest failed | P |
ptestalllong
fails after errors on failstat.py
(see attached ptestalllong.py
) ; it reports 2310/3814 files tested.:File | Result | P/T |
---|---|---|
src/sage/plot/animate.py | 7 doctests failed | T |
src/sage/symbolic/integration/external.py | 1 doctest failed | T |
src/sage/misc/latex.py | 1 doctest failed | T |
src/sage/tests/gap_packages.py | 1 doctest failed | P |
src/sage/numerical/backends/glpk_backend.pyx | 1 doctest failed | P |
src/sage/libs/glpk/error.pyx | 1 doctest failed | P |
And findstat.py
, ran standalone, succeeds.
This is annoying... I have no clue about the source of the problem.
File "src/sage/schemes/elliptic_curves/isogeny_small_degree.py", line 2173, in sage.schemes.elliptic_curves.isogeny_small_degree.isogenies_prime_degree_general
Failed example:
len(E.change_ring(GF(3^2,'a')).isogenies_prime_degree(13))
Exception raised:
Traceback (most recent call last):
File "/amd/compute/sagebot/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/amd/compute/sagebot/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1123, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.schemes.elliptic_curves.isogeny_small_degree.isogenies_prime_degree_general[22]>", line 1, in <module>
len(E.change_ring(GF(Integer(3)**Integer(2),'a')).isogenies_prime_degree(Integer(13)))
File "/amd/compute/sagebot/sage/local/lib/python3.7/site-packages/sage/schemes/elliptic_curves/ell_field.py", line 1092, in isogenies_prime_degree
return sum([isogenies_prime_degree(self, d) for d in L], [])
File "/amd/compute/sagebot/sage/local/lib/python3.7/site-packages/sage/schemes/elliptic_curves/ell_field.py", line 1092, in <listcomp>
return sum([isogenies_prime_degree(self, d) for d in L], [])
File "/amd/compute/sagebot/sage/local/lib/python3.7/site-packages/sage/schemes/elliptic_curves/isogeny_small_degree.py", line 2360, in isogenies_prime_degree
return isogenies_prime_degree_general(E,l, minimal_models=minimal_models)
File "/amd/compute/sagebot/sage/local/lib/python3.7/site-packages/sage/schemes/elliptic_curves/isogeny_small_degree.py", line 2249, in isogenies_prime_degree_general
factors.remove(f)
ValueError: list.remove(x): x not in list
Also, the directory `build/pkgs/sage_conf/src/` contains untracked autogenerated files. This makes `configure` fail if one tries to checkout a previous beta.
Also, the directory `build/pkgs/sage_conf/src/` contains untracked autogenerated files. This makes `configure` fail if one tries to checkout a previous beta.
have you updated system's libffi lately?
Could you try
./configure --without-system-libffi
make
?
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-r...@googlegroups.com.
just as a sanity check, please verify that Sage's libffi got built.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/be427777-3869-4e99-82cd-7a8300e91c4f%40googlegroups.com.
Please send SAGE_ROOT/config.log
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/f168a0e4-3ad6-43d0-ada6-58b0744f3768%40googlegroups.com.
On Fri, Jan 31, 2020 at 8:58 PM Emmanuel Charpentier
<emanuel.c...@gmail.com> wrote:
>
>
>
> Le vendredi 31 janvier 2020 21:50:55 UTC+1, Dima Pasechnik a écrit :
>>
>> Please send SAGE_ROOT/config.log
this looks good, and in fact libffi gets built; indeed, your install.log says:
[libffi-3.2.1] Copying package files from temporary location
/usr/local/sage-9/local/var/tmp/sage/build/libffi-3.2.1/inst to
/usr/local/sage-9/local
[libffi-3.2.1] Successfully installed libffi-3.2.1
[libffi-3.2.1] Deleting temporary build directory
[libffi-3.2.1] /usr/local/sage-9/local/var/tmp/sage/build/libffi-3.2.1
[libffi-3.2.1] Finished installing libffi-3.2.1.spkg
You might want to check for presense of libffi.so in local/lib/
but I'm positive it's there,
so it's ECL build that's failing for
unrelated reasons, probably cause your headers are a bit broken
somewhere:
I guess ECL tries to use system headers, even though it should not.
My conjecture is that it was always the case, and it went unnoticed
until libffi 3.3 was released, with something broken.
Previously, even if libffi-dev (Debian) was installed, its headers
were similar enough to the one supplied by Sage to work,
so if they were picked up then it still worked.
To test this you might try to "apt remove libffi-dev" and then "./sage
-i ecl"; if I'm right here then it will work.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/f5b1c484-fd07-4abe-afc3-8afbd1468f75%40googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/71899b52-1852-46be-9a1b-4ba00bf7c75b%40googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/ae274f58-edb7-449a-adb5-2a7023cd859a%40googlegroups.com.