error building 9.1 version on centos 8

54 views
Skip to first unread message

gco...@id.uff.br

unread,
Oct 4, 2020, 6:31:13 AM10/4/20
to sage-...@googlegroups.com
Hello everybody,
I tried to build sage 9.1 on my centos 8 server.
The final message was the following
_____________________________________________

Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'):

* package: cypari-2.1.1
last build time: 4 oct. 00:26
log file: /home/centos/sage/logs/pkgs/cypari-2.1.1.log
build directory: /home/centos/sage/local/var/tmp/sage/build/cypari-
2.1.1

It is safe to delete any log files and build directories, but they
contain information that is helpful for debugging build problems.
WARNING: If you now run 'make' again, the build directory of the
same version of the package will, by default, be deleted. Set the
environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.

make[1]: *** [Makefile:33: all-start] Error 1
make[1] : on quitte le répertoire « /home/centos/sage »
make: *** [Makefile:13: all] Error 2
_____________________________________________

I understood an error occured building cypari, conformally to the lines
above this final message (all about cypari), I share the attached log
file on this thread.

Any suggestion?
Otherwise, I will try to build another version of sage.

Best,
Gaël.

Dima Pasechnik

unread,
Oct 4, 2020, 6:55:51 AM10/4/20
to sage-devel
You might have better luck with our latest beta:
http://linorg.usp.br/sage/devel/sage-9.2.beta14.tar.gz
There is no log file attached to your message...

>
> Any suggestion?
> Otherwise, I will try to build another version of sage.
>
> Best,
> Gaël.
>
> --
> 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+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/078b192db6f488d4075a1239f2ce098322c650f0.camel%40id.uff.br.

Gaël Cousin

unread,
Oct 4, 2020, 8:31:06 AM10/4/20
to sage-devel
Sorry about the missing log file, here it is as cypari-2.1.1.log .
I tried building from source from the development version 9.2.beta.14
as follows:
$ cd sage
$ make configure
$ ./configure
$ make
and I basically ended up with the same error, I also attach the corresponding cypari-2.1.1.log log file but with the name of withbeta.log, to distinguish both versions.

Best,
Gaël.
cypari-2.1.1.log
withbeta.log

Dima Pasechnik

unread,
Oct 4, 2020, 8:54:38 AM10/4/20
to sage-devel
So, in both cases, gcc's ICE

gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall
-Wno-unused -fPIC -I./cypari2 -I/home/centos/sage/local/lib/pyt
hon3.8/site-packages/cysignals -I/home/centos/sage/local/include
-I/home/centos/sage/local/include/python3.8 -c cypari2/gen.c -o buil
d/temp.linux-x86_64-3.8/cypari2/gen.o
gcc: fatal error: Killed signal terminated program cc1

and this is with gcc version 8.3.1 20191121 (Red Hat 8.3.1-5) (GCC)


Either your gcc is a bit broken (perhaps there is an update available)
or your machine is a bit too small - does not have enough RAM.
Could be the latter, as you appear to run this on a VPS, which tend to
be very resource-constrained.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/098d12cd-1f95-4186-97a6-64aa104631fen%40googlegroups.com.

Gaël Cousin

unread,
Oct 4, 2020, 8:58:54 AM10/4/20
to sage-devel
@Dima I don't understand the status of the link you sent me http://linorg.usp.br/sage/devel/sage-9.2.beta14.tar.gz
What should I do with the tarball's content? Is it a version built for centos 8 ? or generic version for linux?

Dima Pasechnik

unread,
Oct 4, 2020, 9:05:28 AM10/4/20
to sage-devel
On Sun, Oct 4, 2020 at 1:58 PM Gaël Cousin <gco...@id.uff.br> wrote:
>
> @Dima I don't understand the status of the link you sent me http://linorg.usp.br/sage/devel/sage-9.2.beta14.tar.gz
> What should I do with the tarball's content? Is it a version built for centos 8 ? or generic version for linux?
It's a source tarball, not specific to an OS, on a mirror site in BR:
http://linorg.usp.br/sage/devel/
This directory contains source code of the latest development release.
This unstable release is for development only. Do not use it for your
every day work.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/2975045e-bdbd-4678-970a-d31425f7b954n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages