Sage 9.1 released

461 views
Skip to first unread message

Volker Braun

unread,
May 20, 2020, 6:53:54 PM5/20/20
to sage-release
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

Matthias Köppe

unread,
May 20, 2020, 7:03:21 PM5/20/20
to sage-release
On Wednesday, May 20, 2020 at 3:53:54 PM UTC-7, Volker Braun 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

There was no change over 9.1.rc5


Wonderful!

 

Matthias Köppe

unread,
May 20, 2020, 10:06:11 PM5/20/20
to sage-release
On Wednesday, May 20, 2020 at 3:53:54 PM UTC-7, Volker Braun 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



When http://doc.sagemath.org/ is updated, it would be good to also add links from the descriptions of the new features to the corresponding sections in the reference manual.


 

kcrisman

unread,
May 21, 2020, 9:02:32 AM5/21/20
to sage-release
I have to say I am very impressed by this.  It is actually organized - it really takes a gardener to steward things like that, and it's more work than people realize.  
 

kcrisman

unread,
May 21, 2020, 9:06:27 AM5/21/20
to sage-release


On Wednesday, May 20, 2020 at 6:53:54 PM UTC-4, Volker Braun 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

There was no change over 9.1.rc5

Brief note that http://www.sagemath.org/download-source.html still says 9.0, that seems to be a template variable that hasn't updated yet.  http://www.sagemath.org/download-latest.html only has the rc versions, as expected. 

Justin C. Walker

unread,
May 21, 2020, 3:20:02 PM5/21/20
to 'Justin C. Walker' via sage-release


> 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

Over the past three days, I have cloned the develop tree on my three macOS systems: 10.13.6, 10.14.6, and 10.15.4.

On 10.13 and 10.15 (Tuesday, Wednesday), no problem with the build or testing.

Today, I tried on 10.14, and things broke in such a way that I’m at a loss to figure it out (I end up in a maze of twisty little passages, all frustratingly opaque). The output from the ‘make’ command is below.

BTW: the “probably no internet connection” is wrong: I started each attempt by cloning the develop tree.

Help!

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
************************************************************************
Traceback (most recent call last):
File "/Users/Sage/sage-9.1/build/bin/../sage_bootstrap/download/cmdline.py", line 130, in run_safe
run()
File "/Users/Sage/sage-9.1/build/bin/../sage_bootstrap/download/cmdline.py", line 112, in run
app.download_tarball(args.url_or_tarball, args.destination, args.allow_upstream)
File "/Users/Sage/sage-9.1/build/bin/../sage_bootstrap/download/app.py", line 41, in download_tarball
tarball.download(allow_upstream=allow_upstream)
File "/Users/Sage/sage-9.1/build/bin/../sage_bootstrap/tarball.py", line 156, in download
for mirror in MirrorList():
File "/Users/Sage/sage-9.1/build/bin/../sage_bootstrap/download/mirror_list.py", line 69, in __init__
self._refresh()
File "/Users/Sage/sage-9.1/build/bin/../sage_bootstrap/download/mirror_list.py", line 185, in _refresh
self._rank_mirrors()
File "/Users/Sage/sage-9.1/build/bin/../sage_bootstrap/download/mirror_list.py", line 146, in _rank_mirrors
raise MirrorListException('Failed to connect to any mirror, probably no internet connection')
MirrorListException: Failed to connect to any mirror, probably no internet connection
************************************************************************
Error: downloading configure-765c5cb3e24dd134708eca97e4c52e0221cd94ba.tar.gz failed
make[1]: *** [configure] Error 1
make: *** [base-toolchain] Error 2



--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
When LuteFisk is outlawed,
Only outlaws will have LuteFisk
--------



kcrisman

unread,
May 21, 2020, 4:35:45 PM5/21/20
to sage-release
Built from scratch on OS X 10.11 with Py2, passed all (normal) tests except two 3d plot files timed out, those passed second time by themselves.  Sage is robust!

Volker, would it be fairly easy to pass something in the yaml file for the binary-pkg to build a binary for Python 2?  I note that the build target doesn't include "./configure".  I'm hesitant to mess with it though since there are a lot of moving parts.

Unfortunately that py2/3 distinction wouldn't make it into the name.  Anyway, I'd like to (if possible) build one last py2 binary that way for the mirrors, and then also build a py3 binary (assuming I don't run out of disk space, which has definitely been a problem of late due to old computer filling up) for 9.1.

Thanks!

Andy Howell

unread,
May 21, 2020, 5:15:22 PM5/21/20
to sage-r...@googlegroups.com

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


On 5/20/20 5:53 PM, Volker Braun 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

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.

Matthias Köppe

unread,
May 21, 2020, 6:12:51 PM5/21/20
to sage-release
On Thursday, May 21, 2020 at 1:35:45 PM UTC-7, kcrisman wrote:
 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. 

Kenji Iohara

unread,
May 22, 2020, 7:09:07 AM5/22/20
to sage-release
Under Mac OS 10.15.4 I cannot compile sage-9.1. Can anyone help me compiling this ?
Thanks in advance.



[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.


2020年5月21日木曜日 0時53分54秒 UTC+2 Volker Braun:

Dima Pasechnik

unread,
May 22, 2020, 7:17:29 AM5/22/20
to sage-release

[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.

Kenji Iohara

unread,
May 22, 2020, 7:49:07 AM5/22/20
to sage-release
Sorry, I use Homebrew. (at least I sued this to download pkg-config, even to compile sage-9.0).

2020年5月22日金曜日 13時17分29秒 UTC+2 Dima Pasechnik:
To unsubscribe from this group and stop receiving emails from it, send an email to sage-r...@googlegroups.com.
pynac-0.7.26.sage-2020-04-03.log

Dima Pasechnik

unread,
May 22, 2020, 8:38:21 AM5/22/20
to sage-release
Could you run ./configure
and follow the advice to install Homebrew packages that will be
printed at the end?

Probably you should first run

make distclean

and only then

./configure

and make
> 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/4ee05025-a4c8-45f8-a6d8-a6fa51087e84%40googlegroups.com.

kcrisman

unread,
May 22, 2020, 8:38:37 AM5/22/20
to sage-release



 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. 

Do you understand how binary-pkg works well enough to give advice as to whether just adding a configure line to the yaml file would suffice to do this? 

Matthias Köppe

unread,
May 22, 2020, 11:37:09 AM5/22/20
to sage-release
Could you also send the top-level config.log?
To unsubscribe from this group and stop receiving emails from it, send an email to sage-r...@googlegroups.com.

Kenji Iohara

unread,
May 22, 2020, 12:33:43 PM5/22/20
to sage-release
Here is the config.log

2020年5月22日金曜日 17時37分09秒 UTC+2 Matthias Köppe:
config.log

Matthias Köppe

unread,
May 22, 2020, 1:20:02 PM5/22/20
to sage-release
Try with the instructions displayed at the end of the ./configure run:

source /Applications/sage-9.1/.homebrew-build-env

after that, run configure and make again.

Volker Braun

unread,
May 22, 2020, 3:17:42 PM5/22/20
to sage-release
Binaries are now on their way to the mirrors!

Andy Howell

unread,
May 22, 2020, 6:58:43 PM5/22/20
to sage-r...@googlegroups.com

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

kcrisman

unread,
May 22, 2020, 9:54:01 PM5/22/20
to sage-release


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

I just got exactly the same error, from within binary-pkg.  Same issue that I definitely had internet because binary-pkg just got everything from the git repo before this happened.   Did anyone find a fix or even diagnosis?

Matthias Köppe

unread,
May 23, 2020, 12:41:32 AM5/23/20
to sage-release
I don't know what's going on with the mirror list, but you can avoid this particular download by installing autotools (see build/pkgs/*-bootstrap.txt for the details).

 

Justin C. Walker

unread,
May 23, 2020, 1:40:13 AM5/23/20
to 'Justin C. Walker' via sage-release
So far, it appears not.

> I don't know what's going on with the mirror list, but you can avoid this particular download by installing autotools (see build/pkgs/*-bootstrap.txt for the details).

Any clue why this would afflict 10.14 (after success building 9.1.rc5), but not 10.13 and 10.15?

Justin

--
Justin C. Walker
Director
Institute for the Enhancement of the Director's Income
--
Fame is fleeting, but obscurity
just drags on and on. F&E



Kenji Iohara

unread,
May 23, 2020, 2:56:21 AM5/23/20
to sage-release
I did this but the same error is repeated....




[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



2020年5月22日金曜日 19時20分02秒 UTC+2 Matthias Köppe:
config.log
pynac-0.7.26.sage-2020-04-03.log

Dima Pasechnik

unread,
May 23, 2020, 6:34:45 AM5/23/20
to sage-release
Could you try running

CXXFLAGS="$CXXFLAGS -I/usr/local/include" CFLAGS="$CFLAGS
-I/usr/local/include" make
> 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/1eb416a3-86b3-452d-acfa-7d665c9690d6%40googlegroups.com.

Kenji Iohara

unread,
May 23, 2020, 7:30:54 AM5/23/20
to sage-release
Your indication:

***************************

Try with the instructions displayed at the end of the ./configure run:

source /Applications/sage-9.1/.homebrew-build-env

after that, run configure and make again.

*******************************************************
worked after unstalling completely Macports and
re-installing some pacakges such as readline, open-bsl 
that appeared in the last line of ./configure
(there are some pacakges which had been already installed but were recommended
to install them). Anyway, thanks a lot !








- 引用テキストを表示 -
***************************************- 引用テキストを表示しない -


2020年5月23日土曜日 12時34分45秒 UTC+2 Dima Pasechnik:

kcrisman

unread,
May 23, 2020, 9:22:00 AM5/23/20
to sage-release
I have a feeling it's more to do with when you try it, or maybe even network issues.

The error seems to indicate that there is an error of some kind of in downloading.  Some stuff online suggests error code 1010 is a blocked URL?

 CRITICAL [mirror_list|_load:91]: Downloaded mirror list has syntax error: error code: 1010


Anyway, what I did as a workaround was to manually copy the contents of http://www.sagemath.org/mirror_list into the file source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391y/upstream/mirror_list (your filename will obviously be different).  But that is not a long-term solution, and I'm otherwise baffled.

Dima Pasechnik

unread,
May 23, 2020, 9:26:54 AM5/23/20
to sage-release
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
>
> Anyway, what I did as a workaround was to manually copy the contents of http://www.sagemath.org/mirror_list into the file source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391y/upstream/mirror_list (your filename will obviously be different). But that is not a long-term solution, and I'm otherwise baffled.
>
> --
> 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/e6b9ab09-b9c5-4d75-8a2b-01b55fa02a88%40googlegroups.com.

kcrisman

unread,
May 23, 2020, 12:44:53 PM5/23/20
to sage-release

>  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

As the error above indicates, I got "error code: 1010" and I was able to confirm this via a print statement in a different Sage build by doing sage -i bliss after removing the mirror list.  Replacing the mirror list and bliss installed fine.

I can confirm this another way using the syntax provided in the actual file in comments.  Could this be a Python 2 v 3 issue?  I don't really understand why it would return this error code.

$ ./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'

 

Matthias Köppe

unread,
May 23, 2020, 2:44:04 PM5/23/20
to sage-release
For debugging this, please note that this is executed using build/bin/sage-system-python, which is not necessarily the same as ./sage -python.

Paul Masson

unread,
May 23, 2020, 4:39:25 PM5/23/20
to sage-release
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? Sould I just do a distclean and rebuild?
start.log

kcrisman

unread,
May 23, 2020, 7:58:22 PM5/23/20
to sage-release


On Saturday, May 23, 2020 at 2:44:04 PM UTC-4, Matthias Köppe wrote:
For debugging this, please note that this is executed using build/bin/sage-system-python, which is not necessarily the same as ./sage -python.



Interesting.  In which case my system Python is always py2.  Here is another data point, from a Python 3 build (hopefully zooming to mirrors soon).  urllib doesn't like 

$ ./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>

AttributeError: module 'urllib' has no attribute 'url open' 


From https://docs.python.org/3/library/urllib.request.htmlThe legacy urllib.urlopen function from Python 2.6 and earlier has been discontinued; urllib.request.urlopen() corresponds to the old urllib2.urlopen.


But in any case that is the error.  Conceivably relevant: 
I tried to trace it further but I just don't have time to do so, as it really starts to require messing with the entire mirror list module and I mainly just wanted to build binaries.  But I think these things should be looked into, especially the implied (if not actual) use of urllib.urlopen.

Matthias Köppe

unread,
May 23, 2020, 8:59:04 PM5/23/20
to sage-release
build/sage_bootstrap/download/mirror_list.py already uses a py2/py3 compatibility module for urllib:
see build/sage_bootstrap/compat/__init__.py

Matthias Köppe

unread,
May 24, 2020, 3:10:22 PM5/24/20
to sage-release
On Saturday, May 23, 2020 at 1:39:25 PM UTC-7, Paul Masson wrote:
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?

Yes, that would certainly fix this error.
 

Matthias Köppe

unread,
May 25, 2020, 1:57:44 AM5/25/20
to sage-release
I believe this is not due to changes in Sage but is caused by a server misconfiguration on files.sagemath.org

Matthias


On Friday, May 22, 2020 at 6:54:01 PM UTC-7, kcrisman wrote:

Matthias Köppe

unread,
May 25, 2020, 1:59:53 AM5/25/20
to sage-release
On Sunday, May 24, 2020 at 10:57:44 PM UTC-7, Matthias Köppe wrote:
I believe this is not due to changes in Sage but is caused by a server misconfiguration on files.sagemath.org


With python2 on macOS:

>>> 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'



Harald Schilly

unread,
May 25, 2020, 7:20:45 AM5/25/20
to sage-release
Hi, can you please try again?


This 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:// ?

-- Harald

Matthias Köppe

unread,
May 25, 2020, 12:41:05 PM5/25/20
to sage-release
On Monday, May 25, 2020 at 4:20:45 AM UTC-7, Harald Schilly wrote:
Hi, can you please try again?

Seems to be fixed, thanks!
 


This has nothing to do with files.sagemath.org, because this list is served directly from sagemath.org.

OK, thanks for the correction.
 

Besides that, could we change that url to be https:// ?


That comes with its own complexities. I have created ticket https://trac.sagemath.org/ticket/29735 for this and for making the Sage mirror stuff more robust.

Justin C. Walker

unread,
May 28, 2020, 5:55:10 PM5/28/20
to sage-r...@googlegroups.com


> 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.

As for my 10.14 system (2017 MBP, Quad-core Core-i7), after several attempts over several days, all with the same effect (problems with the mirror list), I finally succeeded, and the build and tests (‘ptestlong’) completed without problems.

Intermittent network problems seem to be the most likely issue, but definitely not local to me. I was able to “git” the develop branch without problems and other network activity was never a problem.

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
If it weren't for carbon-14, I wouldn't date at all.
-----------


kcrisman

unread,
May 29, 2020, 11:39:18 PM5/29/20
to sage-release


On Thursday, May 28, 2020 at 5:55:10 PM UTC-4, Justin C. Walker wrote:


> 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.

Justin, just FYI looks like we could probably use a 10.13 or 10.14 binary, thus far the only ones are 10.11 and 10.15 - if that is something you are interested in (and Volker agrees, which I assume he would).  I don't know if we have any binarybot for that.  Very glad the whole mirror situation got resolved for you. 

Justin C. Walker

unread,
May 30, 2020, 3:12:09 PM5/30/20
to 'Justin C. Walker' via sage-release
I’m happy to do that, but in the past when I’ve tried to build binaries or the .app, I have run into problems that I have not been able to work around. I will try both 10.13 and 10.14 to produce binary packages…

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Director
Institute for the Enhancement of the Director's Income
--------
"Weaseling out of things is what separates us from the animals.
Well, except the weasel."
- Homer J Simpson
--------


Eric Gourgoulhon

unread,
Jun 2, 2020, 2:41:24 AM6/2/20
to sage-release
Le vendredi 22 mai 2020 21:17:42 UTC+2, Volker Braun a écrit :
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.

Eric.


kcrisman

unread,
Jun 17, 2020, 12:54:47 PM6/17/20
to sage-release

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.

Still not on the mirrors, or Github pages as https://www.sagemath.org/download.html implies they should be.  Presumably they haven't been created yet.

See also https://github.com/sagemath/website/issues/198 - which is simply a "current status" issue, not a "complaining" issue.  Goodness knows just keeping Sage up-to-date is a big job, much less producing binaries.
Reply all
Reply to author
Forward
0 new messages