Hi,

I'm having trouble building the latest Sage (8.2) from the github repo 
<https://github.com/sagemath/sage/> on an AWS EC2 instance.  I've included 
the error message and OS version below from running "make".  Any comments 
are appreciated.

Thanks,
-Jon

==============================

Sage 8.2 Build Error:
---------------------------
...
[xz-5.2.2.p0] Finished installing xz-5.2.2.p0.spkg
sage-logger -p 'sage-spkg gfortran-7.2.0' 
'/home/ec2-user/sage/logs/pkgs/gfortran-7.2.0.log'
[gfortran-7.2.0] Found local metadata for gfortran-7.2.0
[gfortran-7.2.0] Attempting to download package gcc-7.2.0.tar.xz from 
mirrors
[gfortran-7.2.0] 
http://mirrors.mit.edu/sage/spkg/upstream/gcc/gcc-7.2.0.tar.xz
[gfortran-7.2.0] 
[......................................................................]
[gfortran-7.2.0] gfortran-7.2.0
[gfortran-7.2.0] ====================================================
[gfortran-7.2.0] Setting up build directory for gfortran-7.2.0
[gfortran-7.2.0] Traceback (most recent call last):
[gfortran-7.2.0]   File 
"/home/ec2-user/sage/build/bin/sage-uncompress-spkg", line 23, in <module>
[gfortran-7.2.0]     run()
[gfortran-7.2.0]   File 
"/home/ec2-user/sage/build/bin/../sage_bootstrap/uncompress/cmdline.py", 
line 53, in run
[gfortran-7.2.0]     archive = open_archive(filename)
[gfortran-7.2.0]   File 
"/home/ec2-user/sage/build/bin/../sage_bootstrap/uncompress/action.py", 
line 38, in open_archive
[gfortran-7.2.0]     return cls(filename)
[gfortran-7.2.0]   File 
"/home/ec2-user/sage/build/bin/../sage_bootstrap/uncompress/tar_file.py", 
line 152, in __new__
[gfortran-7.2.0]     return SageBaseTarFile(mode="r", fileobj=BytesIO(data))
[gfortran-7.2.0] MemoryError
[gfortran-7.2.0] 
************************************************************************
[gfortran-7.2.0] Error: failed to extract 
/home/ec2-user/sage/upstream/gcc-7.2.0.tar.xz
[gfortran-7.2.0] 
************************************************************************
[gfortran-7.2.0] Please email sage-devel 
(http://groups.google.com/group/sage-devel)
[gfortran-7.2.0] explaining the problem and including the log file
[gfortran-7.2.0]   /home/ec2-user/sage/logs/pkgs/gfortran-7.2.0.log
[gfortran-7.2.0] Describe your computer, operating system, etc.
[gfortran-7.2.0] 
************************************************************************
make[2]: *** 
[/home/ec2-user/sage/local/var/lib/sage/installed/gfortran-7.2.0] Error 1
make[2]: Leaving directory `/home/ec2-user/sage/build/make'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ec2-user/sage/build/make'




AWS OS Information:
-----------------------------
[sage]$ cat /etc/os-release
NAME="Amazon Linux"
VERSION="2 (2017.12)"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2 (2017.12) LTS Release Candidate"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/";

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to