The "master" git branch has been updated to Sage-9.1. As always, you can get the latest beta version from the "develop" git branch. Alternatively, the self-contained source tarball is at http://www.sagemath.org/download-latest.htmlThere was no change over 9.1.rc5
The "master" git branch has been updated to Sage-9.1. As always, you can get the latest beta version from the "develop" git branch. Alternatively, the self-contained source tarball is at http://www.sagemath.org/download-latest.html
The "master" git branch has been updated to Sage-9.1. As always, you can get the latest beta version from the "develop" git branch. Alternatively, the self-contained source tarball is at http://www.sagemath.org/download-latest.htmlThere was no change over 9.1.rc5
On Ubuntu 19.10, I had the following hard errors after a clean build:
sage -t --long --warn-long 63.4 src/sage/libs/eclib/interface.py
# 2 doctests failed
sage -t --long --warn-long 63.4
src/sage/numerical/backends/glpk_backend.pyx # 1 doctest failed
sage -t --long --warn-long 63.4 src/sage/libs/glpk/error.pyx # 1
doctest failed
Results of manual test runs below. I did receive a system error
report about mwrank core dumping. The system eclib-tools version
is 20190226-3.
./sage -t --long --warn-long 63.4
src/sage/libs/eclib/interface.py
Running doctests with ID 2020-05-21-15-49-48-9a6627ba.
Git branch: develop
Using --optional=build,dochtml,memlimit,sage
Doctesting 1 file.
sage -t --long --warn-long 63.4 src/sage/libs/eclib/interface.py
**********************************************************************
File "src/sage/libs/eclib/interface.py", line 359, in
sage.libs.eclib.interface.mwrank_EllipticCurve.?
Failed example:
EllipticCurve([0,
prod(prime_range(100))]).mwrank_curve().two_descent()
Expected:
Traceback (most recent call last):
...
RuntimeError: A 2-descent did not complete successfully.
Got:
Basic pair: I=0, J=-62250335026528997468333757977957413890
disc=-3875104210915102959939644358548402200900731760187126282616072842416764932100
2-adic index bound = 2
2-adic index = 2
Two (I,J) pairs
Looking for quartics with I = 0, J =
-62250335026528997468333757977957413890
Looking for Type 3 quartics:
Trying positive a from 1 up to 1144080564738 (square a
first...)
Traceback (most recent call last):
File
"/home/andy/bin/sage-9.1/lib/python3.7/site-packages/sage/doctest/forker.py",
line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File
"/home/andy/bin/sage-9.1/lib/python3.7/site-packages/sage/doctest/forker.py",
line 1123, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.libs.eclib.interface.mwrank_EllipticCurve.?[1]>", line 1,
in <module>
EllipticCurve([Integer(0),
prod(prime_range(Integer(100)))]).mwrank_curve().two_descent()
File
"/home/andy/bin/sage-9.1/lib/python3.7/site-packages/sage/libs/eclib/interface.py",
line 386, in two_descent
second_descent)
File "sage/libs/eclib/mwrank.pyx", line 1062, in
sage.libs.eclib.mwrank._two_descent.do_descent
(build/cythonized/sage/libs/eclib/mwrank.cpp:5092)
sig_on()
RuntimeError: Aborted
**********************************************************************
File "src/sage/libs/eclib/interface.py", line 597, in
sage.libs.eclib.interface.mwrank_EllipticCurve.saturate
Failed example:
E.saturation([Q1,Q2])
Expected:
([(1 : -27 : 1), (157 : 1950 : 1)], 3, 0.801588644684981)
Got:
Attempt to round -0.2617840677e25 to a long int fails,
aborting!
([(1 : -27 : 1), (157 : 1950 : 1)], 3, 0.801588644684981)
**********************************************************************
2 items had failures:
1 of 6 in sage.libs.eclib.interface.mwrank_EllipticCurve.?
1 of 9 in
sage.libs.eclib.interface.mwrank_EllipticCurve.saturate
[192 tests, 2 failures, 4.81 s]
----------------------------------------------------------------------
sage -t --long --warn-long 63.4 src/sage/libs/eclib/interface.py
# 2 doctests failed
----------------------------------------------------------------------
Total time for all tests: 4.9 seconds
cpu time: 4.7 seconds
cumulative wall time: 4.8 seconds
./sage -t --long --warn-long 63.4
src/sage/numerical/backends/glpk_backend.pyx
Running doctests with ID 2020-05-21-15-56-47-2364f65a.
Git branch: develop
Using --optional=build,dochtml,memlimit,sage
Doctesting 1 file.
sage -t --long --warn-long 63.4
src/sage/numerical/backends/glpk_backend.pyx
**********************************************************************
File "src/sage/numerical/backends/glpk_backend.pyx", line 2287, in
sage.numerical.backends.glpk_backend.GLPKBackend.print_ranges
Failed example:
p.print_ranges()
Expected:
glp_print_ranges: optimal basic solution required
1
Got:
1
**********************************************************************
1 item had failures:
1 of 13 in
sage.numerical.backends.glpk_backend.GLPKBackend.print_ranges
[554 tests, 1 failure, 3.65 s]
----------------------------------------------------------------------
sage -t --long --warn-long 63.4
src/sage/numerical/backends/glpk_backend.pyx # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 3.7 seconds
cpu time: 3.5 seconds
cumulative wall time: 3.6 seconds
./sage -t --long --warn-long 63.4 src/sage/libs/glpk/error.pyx
Running doctests with ID 2020-05-21-15-58-09-961e045f.
Git branch: develop
Using --optional=build,dochtml,memlimit,sage
Doctesting 1 file.
sage -t --long --warn-long 63.4 src/sage/libs/glpk/error.pyx
**********************************************************************
File "src/sage/libs/glpk/error.pyx", line 100, in
sage.libs.glpk.error.setup_glpk_error_handler
Failed example:
res = p.solve()
Expected:
0: obj = ...
Got:
<BLANKLINE>
**********************************************************************
1 item had failures:
1 of 11 in sage.libs.glpk.error.setup_glpk_error_handler
[12 tests, 1 failure, 1.11 s]
----------------------------------------------------------------------
sage -t --long --warn-long 63.4 src/sage/libs/glpk/error.pyx # 1
doctest failed
----------------------------------------------------------------------
Total time for all tests: 1.1 seconds
cpu time: 0.6 seconds
cumulative wall time: 1.1 seconds
The "master" git branch has been updated to Sage-9.1. As always, you can get the latest beta version from the "develop" git branch. Alternatively, the self-contained source tarball is at http://www.sagemath.org/download-latest.html
There was no change over 9.1.rc5
--
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/abae3275-9c75-451a-9ff1-9ec8458f686e%40googlegroups.com.
Anyway, I'd like to (if possible) build one last py2 binary that way for the mirrors
[pynac-0.7.26.sage-2020-04-03] In file included from add.cpp:23:
[pynac-0.7.26.sage-2020-04-03] In file included from ./add.h:26:
[pynac-0.7.26.sage-2020-04-03] In file included from ./expairseq.h:27:
[pynac-0.7.26.sage-2020-04-03] In file included from ./expair.h:27:
[pynac-0.7.26.sage-2020-04-03] ./numeric.h:53:10: fatal error: 'gmp.h' file not found
[pynac-0.7.26.sage-2020-04-03] #include <gmp.h>
[pynac-0.7.26.sage-2020-04-03] ^~~~~~~
[pynac-0.7.26.sage-2020-04-03] 1 error generated.
[pynac-0.7.26.sage-2020-04-03] make[6]: *** [libpynac_la-add.lo] Error 1
[pynac-0.7.26.sage-2020-04-03] make[5]: *** [all-recursive] Error 1
[pynac-0.7.26.sage-2020-04-03] make[4]: *** [all] Error 2
[pynac-0.7.26.sage-2020-04-03] ********************************************************************************
[pynac-0.7.26.sage-2020-04-03] Error building pynac-0.7.26.sage-2020-04-03
[pynac-0.7.26.sage-2020-04-03] ********************************************************************************
[pynac-0.7.26.sage-2020-04-03]
[pynac-0.7.26.sage-2020-04-03] real 0m14.577s
[pynac-0.7.26.sage-2020-04-03] user 0m7.225s
[pynac-0.7.26.sage-2020-04-03] sys 0m4.471s
[pynac-0.7.26.sage-2020-04-03] ************************************************************************
[pynac-0.7.26.sage-2020-04-03] Error installing package pynac-0.7.26.sage-2020-04-03
[pynac-0.7.26.sage-2020-04-03] ************************************************************************
[pynac-0.7.26.sage-2020-04-03] Please email sage-devel (http://groups.google.com/group/sage-devel)
[pynac-0.7.26.sage-2020-04-03] explaining the problem and including the log file
[pynac-0.7.26.sage-2020-04-03] /Applications/sage-9.1/logs/pkgs/pynac-0.7.26.sage-2020-04-03.log
[pynac-0.7.26.sage-2020-04-03] Describe your computer, operating system, etc.
[pynac-0.7.26.sage-2020-04-03] If you want to try to fix the problem yourself, *don't* just cd to
[pynac-0.7.26.sage-2020-04-03] /Applications/sage-9.1/local/var/tmp/sage/build/pynac-0.7.26.sage-2020-04-03 and type 'make' or whatever is appropriate.
[pynac-0.7.26.sage-2020-04-03] Instead, the following commands setup all environment variables
[pynac-0.7.26.sage-2020-04-03] correctly and load a subshell for you to debug the error:
[pynac-0.7.26.sage-2020-04-03] (cd '/Applications/sage-9.1/local/var/tmp/sage/build/pynac-0.7.26.sage-2020-04-03' && '/Applications/sage-9.1/sage' --buildsh)
[pynac-0.7.26.sage-2020-04-03] When you are done debugging, you can type "exit" to leave the subshell.
[pynac-0.7.26.sage-2020-04-03] ************************************************************************
make[3]: *** [/Applications/sage-9.1/local/var/lib/sage/installed/pynac-0.7.26.sage-2020-04-03] Error 1
make[2]: *** [all-start] Error 2
real 115m32.342s
user 113m1.880s
sys 16m40.116s
***************************************************************
Error building Sage.
[pynac-0.7.26.sage-2020-04-03] Please email sage-devel (http://groups.google.com/group/sage-devel)
[pynac-0.7.26.sage-2020-04-03] explaining the problem and including the log file
[pynac-0.7.26.sage-2020-04-03] /Applications/sage-9.1/logs/pkgs/pynac-0.7.26.sage-2020-04-03.log
[pynac-0.7.26.sage-2020-04-03] Describe your computer, operating system, etc.
we need more details, in particular the log file mentioned.
Please also describe your environment in more detail - do you use Homebrew, Conda?
--
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/75e63209-4c15-42a7-99a7-f40dcb391e09%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-r...@googlegroups.com.
Anyway, I'd like to (if possible) build one last py2 binary that way for the mirrors+1. We should definitely have py2 binaries of 9.1.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-r...@googlegroups.com.
source /Applications/sage-9.1/.homebrew-build-env
TLDR:
All the tests pass under Ubuntu 19.10 after building with sage's internal versions of eclib, nauty and glpk. I did this by doing:
./configure --with-system-eclib=no -with-system-nauty=no --with-system-glpk=no
The gory details:
I rebuilt sage after doing:
./configure --with-system-eclib=no -with-system-nauty=no
Previous fails now pass, but there were two other tests that failed hard:
sage -t --long --warn-long 65.8 src/sage/numerical/backends/glpk_backend.pyx # 1 doctest failed sage -t --long --warn-long 65.8 src/sage/libs/glpk/error.pyx # 1 doctest failed Using the sage's glpk fixed those: ./configure --with-system-eclib=no -with-system-nauty=no -with-system-glpk=no
Here are the details for the system installed libs. Note that the system eclib-tools says that it breaks sagemath < 8.4. I don't know if that is the same error with 9.1
Package: eclib-tools
Architecture: amd64
Version: 20190226-3
Priority: optional
Section: universe/math
Source: eclib
Origin: Ubuntu
Maintainer: Ubuntu Developers
<ubuntu-dev...@lists.ubuntu.com>
Original-Maintainer: Debian Science Maintainers
<debian-scienc...@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 45
Depends: libec5 (= 20190226-3), libc6 (>= 2.4), libgcc1 (>=
1:3.0), libntl35, libstdc++6 (>= 4.4.0)
Breaks: sagemath (<< 8.4~)
Filename: pool/universe/e/eclib/eclib-tools_20190226-3_amd64.deb
Size: 10476
MD5sum: 78cec4b65cf967544656508be512d631
SHA1: f057770c95e8f499f4a62ab659c7086902b988bb
SHA256:
f229f2e674d8ce87e9afee8959144396acdbd42f51b41179c68acd004b1aca1e
Homepage: https://github.com/JohnCremona/eclib/
Description-en: Programs for modular symbols and elliptic curves
over Q
This package includes several programs to compute with elliptic
curves
over Q ; most notably mwrank (for 2-descent on elliptic curves
over Q)
and the modular symbol tools used to create the elliptic curve
database.
Description-md5: 0eb561b8bbb6cb2cb47894e7198e0b99
apt-cache show nauty
Package: nauty
Architecture: amd64
Version: 2.6r10+ds-1
Priority: extra
Section: universe/math
Origin: Ubuntu
Maintainer: Ubuntu Developers
<ubuntu-dev...@lists.ubuntu.com>
Original-Maintainer: Debian Science Maintainers
<debian-scienc...@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1094
Depends: libnauty2 (= 2.6r10+ds-1), libc6 (>= 2.14), libgmp10,
zlib1g (>= 1:1.1.4)
Suggests: graphviz, nauty-doc
Filename: pool/universe/n/nauty/nauty_2.6r10+ds-1_amd64.deb
Size: 306768
MD5sum: 8f4aee5709523b491f2ca71195f4e402
SHA1: 5df98416734668ace6d17c165ef1227d3acafd82
SHA256:
6c37a6542532750950046cbd46f613668449aa9e4be8a3e9e9221cc4ed0ec952
Homepage: http://pallini.di.uniroma1.it
Description-en: library for graph automorphisms -- interface and
tools
nauty (No AUTomorphisms, Yes?) is a set of procedures for
computing
automorphism groups of graphs and digraphs. This mathematical
software
suite is developed by Brendan McKay and Adolfo Piperno:
http://pallini.di.uniroma1.it
.
nauty computes graph information in the form of a set of
generators,
the size of the group, and the orbits of the group; it can also
produce a canonical label. The nauty suite is written in C and
comes
with a command-line interface, a collection of command-line
tools,
and an Application Programming Interface (API).
.
This package provides the nauty interface named dreadnaut, and a
small collection of utilities called gtools.
Description-md5: 44ae986d51bccb00a481cefd3d38bbfa
apt-cache show libglpk40
Package: libglpk40
Architecture: amd64
Version: 4.65-2
Multi-Arch: same
Priority: optional
Section: universe/math
Source: glpk
Origin: Ubuntu
Maintainer: Ubuntu Developers
<ubuntu-dev...@lists.ubuntu.com>
Original-Maintainer: Debian Science Team
<debian-scienc...@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 922
Depends: libamd2 (>= 1:4.5.2), libc6 (>= 2.14), libcolamd2
(>= 1:4.5.2), libgmp10, libltdl7 (>= 2.4.6), zlib1g (>=
1:1.1.4)
Suggests: libiodbc2-dev, default-libmysqlclient-dev
Filename: pool/universe/g/glpk/libglpk40_4.65-2_amd64.deb
Size: 378136
MD5sum: c8040d41297bbb6c7cbf19078fc98b86
SHA1: a9674a96de975a8050c9d53f55a804479337196f
SHA256:
428c28560e488d452ce066ac4c4c5c0b910ee8c8f0dd35131c82e8f1f042c88e
Homepage: http://www.gnu.org/software/glpk/glpk.html
Description-en: linear programming kit with integer (MIP) support
GLPK (GNU Linear Programming Kit) is intended for solving
large-scale
linear programming (LP), mixed integer programming (MIP), and
other
related problems. It is a set of routines written in ANSI C and
organized in the form of a callable library.
.
GLPK supports the GNU MathProg language, which is a subset of the
AMPL language. GLPK also supports the standard MPS and LP
formats.
.
The GLPK package includes the following main components:
* Revised simplex method.
* Primal-dual interior point method.
* Branch-and-bound method.
* Translator for GNU MathProg modeling language.
* Application program interface (API).
.
In order to get connections between the internal MathProg model
objects and external database tables, please install the
libiodbc2-dev (for the iODBC table driver) and libmysqlclient-dev
(for the MySQL table driver).
Description-md5: a59dfd97ae7c98fa4132822ad0935832
apt-cache show libglpk-dev
Package: libglpk-dev
Architecture: amd64
Version: 4.65-2
Multi-Arch: same
Priority: optional
Section: universe/devel
Source: glpk
Origin: Ubuntu
Maintainer: Ubuntu Developers
<ubuntu-dev...@lists.ubuntu.com>
Original-Maintainer: Debian Science Team
<debian-scienc...@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1985
Depends: libglpk40 (= 4.65-2), libgmp-dev, zlib1g-dev,
libsuitesparse-dev
Filename: pool/universe/g/glpk/libglpk-dev_4.65-2_amd64.deb
Size: 444944
MD5sum: 4e46f8149b17e6ac4b90b571472db3df
SHA1: 4115db795433f951c4152c1b82e97cc5a1ce2683
SHA256:
aea3fc972ef3200c25f323cc6c5271dd2db75fe8a95ded1da3f561fdbc227df8
Homepage: http://www.gnu.org/software/glpk/glpk.html
Description-en: linear programming kit - development files
GLPK (GNU Linear Programming Kit) is intended for solving
large-scale
linear programming (LP), mixed integer programming (MIP), and
other
related problems. It is a set of routines written in ANSI C and
organized in the form of a callable library.
.
This package contains static library, headers, and the
development
manpage for libvc.
Description-md5: 1a3290298c2e8e1d80e4bf1609c09ab9
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/06e2f4e7-970b-838f-9fcc-962b7e0697fc%40gamubaru.com.
Justin
$ make -j6 build/make/Makefile --stop
./bootstrap -d
rm -rf config configure build/make/Makefile-auto.in
rm -f src/doc/en/installation/*.txt
src/doc/bootstrap:48: installing src/doc/en/installation/arch.txt and src/doc/en/installation/arch-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/debian.txt and src/doc/en/installation/debian-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/fedora.txt and src/doc/en/installation/fedora-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/cygwin.txt and src/doc/en/installation/cygwin-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/homebrew.txt and src/doc/en/installation/homebrew-optional.txt
gettext and the gettextize program must be installed and be in
your PATH. E.g. Homebrew installs them in /usr/local/opt/gettext/bin.
Bootstrap failed, downloading required files instead.
Attempting to download package configure-765c5cb3e24dd134708eca97e4c52e0221cd94ba.tar.gz from mirrors
Downloading the Sage mirror list
CRITICAL [mirror_list|_load:91]: Downloaded mirror list has syntax error: error code: 1010
Searching fastest mirror
ERROR [mirror_list|_rank_mirrors:145]: Could not reach any mirror directly and no proxy set
[pynac-0.7.26.sage-2020-04-03] In file included from add.cpp:23:
[pynac-0.7.26.sage-2020-04-03] In file included from ./add.h:26:
[pynac-0.7.26.sage-2020-04-03] In file included from ./expairseq.h:27:
[pynac-0.7.26.sage-2020-04-03] In file included from ./expair.h:27:
[pynac-0.7.26.sage-2020-04-03] ./numeric.h:53:10: fatal error: 'gmp.h' file not found
[pynac-0.7.26.sage-2020-04-03] #include <gmp.h>
[pynac-0.7.26.sage-2020-04-03] ^~~~~~~
[pynac-0.7.26.sage-2020-04-03] 1 error generated.
[pynac-0.7.26.sage-2020-04-03] make[6]: *** [libpynac_la-add.lo] Error 1
[pynac-0.7.26.sage-2020-04-03] make[5]: *** [all-recursive] Error 1
[pynac-0.7.26.sage-2020-04-03] make[4]: *** [all] Error 2
[pynac-0.7.26.sage-2020-04-03] ********************************************************************************
[pynac-0.7.26.sage-2020-04-03] Error building pynac-0.7.26.sage-2020-04-03
[pynac-0.7.26.sage-2020-04-03] ********************************************************************************
[pynac-0.7.26.sage-2020-04-03]
[pynac-0.7.26.sage-2020-04-03] real 0m14.822s
[pynac-0.7.26.sage-2020-04-03] user 0m7.307s
[pynac-0.7.26.sage-2020-04-03] sys 0m4.499s
[pynac-0.7.26.sage-2020-04-03] ************************************************************************
[pynac-0.7.26.sage-2020-04-03] Error installing package pynac-0.7.26.sage-2020-04-03
[pynac-0.7.26.sage-2020-04-03] ************************************************************************
[pynac-0.7.26.sage-2020-04-03] Please email sage-devel (http://groups.google.com/group/sage-devel)
[pynac-0.7.26.sage-2020-04-03] explaining the problem and including the log file
[pynac-0.7.26.sage-2020-04-03] /Applications/sage-9.1/logs/pkgs/pynac-0.7.26.sage-2020-04-03.log
[pynac-0.7.26.sage-2020-04-03] Describe your computer, operating system, etc.
[pynac-0.7.26.sage-2020-04-03] If you want to try to fix the problem yourself, *don't* just cd to
[pynac-0.7.26.sage-2020-04-03] /Applications/sage-9.1/local/var/tmp/sage/build/pynac-0.7.26.sage-2020-04-03 and type 'make' or whatever is appropriate.
[pynac-0.7.26.sage-2020-04-03] Instead, the following commands setup all environment variables
[pynac-0.7.26.sage-2020-04-03] correctly and load a subshell for you to debug the error:
[pynac-0.7.26.sage-2020-04-03] (cd '/Applications/sage-9.1/local/var/tmp/sage/build/pynac-0.7.26.sage-2020-04-03' && '/Applications/sage-9.1/sage' --buildsh)
[pynac-0.7.26.sage-2020-04-03] When you are done debugging, you can type "exit" to leave the subshell.
[pynac-0.7.26.sage-2020-04-03] ************************************************************************
make[3]: *** [/Applications/sage-9.1/local/var/lib/sage/installed/pynac-0.7.26.sage-2020-04-03] Error 1
make[2]: *** [all-start] Error 2
real 105m0.767s
user 104m29.269s
sys 15m6.191s
***************************************************************
Error building Sage.
The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'):
* package: pynac-0.7.26.sage-2020-04-03
last build time: May 23 03:03
log file: /Applications/sage-9.1/logs/pkgs/pynac-0.7.26.sage-2020-04-03.log
build directory: /Applications/sage-9.1/local/var/tmp/sage/build/pynac-0.7.26.sage-2020-04-03
source /Applications/sage-9.1/.homebrew-build-env
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/1eb416a3-86b3-452d-acfa-7d665c9690d6%40googlegroups.com.
> CRITICAL [mirror_list|_load:91]: Downloaded mirror list has syntax error: error code: 1010
>
> https://github.com/sagemath/sage/blob/develop/build/sage_bootstrap/download/mirror_list.py#L91
Hi,
could you debug this? What's the value of mirror_list just before
https://github.com/sagemath/sage/blob/4427340fcd58c915e9b803cb5fbc8e720a8c335c/build/sage_bootstrap/download/mirror_list.py#L89
Dima
$ ./sage -python
Python 2.7.15 (default, May 21 2020, 11:09:06)
[GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib
>>> eval(urllib.urlopen('http://www.sagemath.org/mirror_list').read())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 1
error code: 1010
^
SyntaxError: invalid syntax
>>> urllib.urlopen('http://www.sagemath.org/mirror_list').read()
'error code: 1010'
For debugging this, please note that this is executed using build/bin/sage-system-python, which is not necessarily the same as ./sage -python.
$ ./build/bin/sage-system-python
Python 2.7.10 (default, Oct 23 2015, 19:19:21)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib
>>> eval(urllib.urlopen('http://www.sagemath.org/mirror_list').read())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 1
error code: 1010
^
SyntaxError: invalid syntax
>>> urllib.urlopen('http://www.sagemath.org/mirror_list').read()
'error code: 1010'
$ ./sage -python
Python 3.7.3 (default, May 23 2020, 09:48:14)
[Clang 7.3.0 (clang-703.0.31)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib
>>> eval(urllib.urlopen('http://www.sagemath.org/mirror_list').read())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'urllib' has no attribute 'urlopen'
>>> urllib.urlopen('http://www.sagemath.org/mirror_list').read()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
urllib.urlopen
function from Python 2.6 and earlier has been discontinued; urllib.request.urlopen()
corresponds to the old urllib2.urlopen
.Tried building an upgraded branch on macOS 10.15.4 (Catalina). Sage won't start with an error I've not seen before. Log attached.FYI this was a rather long build process. How many packages were updated?
Should I just do a distclean and rebuild?
I believe this is not due to changes in Sage but is caused by a server misconfiguration on files.sagemath.org.
>>> from sage_bootstrap.compat import urllib, urlparse
>>> f = urllib.urlopen('http://www.sagemath.org/mirror_list', data=None)
>>> str(f.info())
'Date: Mon, 25 May 2020 05:51:22 GMT\r\nContent-Type: text/plain; charset=UTF-8\r\nContent-Length: 16\r\nConnection: close\r\nX-Frame-Options: SAMEORIGIN\r\nCache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0\r\nExpires: Thu, 01 Jan 1970 00:00:01 GMT\r\nSet-Cookie: __cfduid=d963869c5cafb922acb708178f83381b61590385882; expires=Wed, 24-Jun-20 05:51:22 GMT; path=/; domain=.sagemath.org; HttpOnly; SameSite=Lax; Secure\r\nServer: cloudflare\r\nCF-RAY: 598cfbf71f320fc7-SJC\r\ncf-request-id: 02ebfbce7000000fc7dd3f3200000001\r\n'
>>> f.read()
'error code: 1010'
Hi, can you please try again?
I made notes here: https://github.com/sagemath/website/issues/194This has nothing to do with files.sagemath.org, because this list is served directly from sagemath.org.
Besides that, could we change that url to be https:// ?
> On May 20, 2020, at 15:53 , Volker Braun <vbrau...@gmail.com> wrote:
>
> The "master" git branch has been updated to Sage-9.1. As always, you can get the latest beta version from the "develop" git branch. Alternatively, the self-contained source tarball is at http://www.sagemath.org/download-latest.html
Finally got back to this. Why being locked down full-time reduces time available to do this stuff is beyond me…
As mentioned earlier, there were no problems with my 10.13 and 10.15 systems (2017 iMac Pro, 18-core Xeon W, and 2019 MBP, 9-core Core i9, respectively): build and tests (‘ptestlong’) all completed without problems.
Binaries are now on their way to the mirrors!
Binaries are now on their way to the mirrors!Thanks. What about the binaries for Windows? Some users are asking for them on ask.sagemath and apparently, they are not yet on the mirrors.