you're getting
g++: internal compiler error: Killed (program cc1plus) which might indicate that you need more memory (or at least more swap). On Tuesday, April 11, 2017 at 2:18:38 PM UTC+1, Sho Takemori wrote: > > Dear all, > > I try to build Sage using Amazon EC2 t2.micro. > But building linbox fails. The attached file is "linbox-1.4.2.log". > Building linbox using the latest head of the repository ( > https://github.com/linbox-team/linbox) succeeds. > > I tried to build Sage as follows. > $ sudo apt-get install -y build-essential m4 git python-pip gdb > $ git clone https://github.com/sagemath/binary-pkg.git > $ cd binary-pkg > $ make bdist-sage-linux > > Here is some information of the computer. > os: Ubuntu Server 16.04 LTS > cpu: Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz > memory: 1GiB > disc space: 30GiB > > When making an instance, I choosed "Ubuntu Server 16.04 LTS (HVM), SSD > Volume Type", "t2.micro" > "SSD (gp2)" (general type) and made storage of 30GiB. > > The following is an error message. > Any help would be appropriated. > > Best regards, > Sho Takemori > ====================================================================== > make[4]: Leaving directory > > '/home/ubuntu/binary-pkg/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391yaj24ng0bmdur5g21g/build/make' > > real 1534m41.475s > user 1415m20.256s > sys 91m36.328s > *************************************************************** > Error building Sage. > > The following package(s) may have failed to build (not necessarily > during this run of 'make all'): > > * package: linbox-1.4.2 > log file: > /home/ubuntu/binary-pkg/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391yaj24ng0bmdur5g21g/logs/pkgs/linbox-1.4.2.log > build directory: > /home/ubuntu/binary-pkg/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391yaj24ng0bmdur5g21g/local/var/tmp/sage/build/linbox-1.4.2 > > The build directory may contain configuration files and other potentially > helpful information. WARNING: if you now run 'make' again, the build > directory will, by default, be deleted. Set the environment variable > SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. > > Makefile:16: recipe for target 'all' failed > make[3]: *** [all] Error 1 > make[3]: Leaving directory > '/home/ubuntu/binary-pkg/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391yaj24ng0bmdur5g21g' > ERROR:root:Script failed: > ERROR:root:export SAGE_FAT_BINARY=yes > export SAGE_PARALLEL_SPKG_BUILD=yes > export MAKE='make -j1' > make || exit 1 > git gc --aggressive --prune=now > > Traceback (most recent call last): > File "/home/ubuntu/binary-pkg/tools/binary-pkg/lib/python3.4/runpy.py", > line 170, in _run_module_as_main > "__main__", mod_spec) > File "/home/ubuntu/binary-pkg/tools/binary-pkg/lib/python3.4/runpy.py", > line 85, in _run_code > exec(code, run_globals) > File "/home/ubuntu/binary-pkg/binary_pkg/cmdline.py", line 78, in > <module> > launch() > File "/home/ubuntu/binary-pkg/binary_pkg/cmdline.py", line 69, in launch > config.build_script.run() > File "/home/ubuntu/binary-pkg/binary_pkg/bash_script.py", line 37, in run > ['bash', self._filename], cwd=self._cwd, env=self.env()) > File > "/home/ubuntu/binary-pkg/tools/binary-pkg/lib/python3.4/subprocess.py", > line 561, in check_call > raise CalledProcessError(retcode, cmd) > subprocess.CalledProcessError: Command '['bash', > '/home/ubuntu/binary-pkg/tmp/SageMath/tmp54_ystid.sh']' returned non-zero > exit status 1 > Makefile:16: recipe for target 'build-sage' failed > make[2]: *** [build-sage] Error 1 > make[2]: Leaving directory '/home/ubuntu/binary-pkg' > Makefile:26: recipe for target 'package-sage' failed > make[1]: *** [package-sage] Error 2 > make[1]: Leaving directory '/home/ubuntu/binary-pkg' > sage.mk:4: recipe for target 'bdist-sage-linux' failed > make: *** [bdist-sage-linux] Error 2 > ====================================================================== > > -- 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.