Gentoo Archives: gentoo-science

From: "Schwan
To: Marek Kaluba <mk224@××××××××××.pl>
Cc: "gentoo-science@l.g.o" <gentoo-science@l.g.o>
Subject: [gentoo-science] AW: AW: sage-on-gentoo
Date: Tue, 23 Mar 2010 17:44:20
Message-Id: E4EE4AAAD8B22F4C89BD10D73F1393DB049F4110@e14mdb-02.zdv.Uni-Mainz.DE
Hi Marek,

thank you for your mail - I currently do not have an idea how to fix this, but I will forward this mail to the science mailing list and have a closer look at the problem later. The gentoo-science list is the list where you should send your questions in future, so that Francois can read them, too. You can find info on the list here:

Also please send us a list of versions of the following programs you have installed:

- dev-lang/python (also its USE-flags)
- dev-python/cython
- dev-python/mpmath



Von: Marek Kaluba [mk224@××××××××××.pl]
Gesendet: Dienstag, 23. März 2010 00:00
An: Schwan, Christopher
Betreff: Re: AW: sage-on-gentoo

Hi Chris

This time after version bump to 4.3.4 i got following error:
(attachment contains build log)

python `which cython` --embed-positions --directive cdivision=True -I/var/tmp/portage/sci-
mathematics/sage-4.3.4/work/sage-4.3.4/devel/sage-main -o
sage/libs/symmetrica/symmetrica.c sage/libs/symmetrica/symmetrica.pyx
sage/libs/symmetrica/symmetrica.pyx --> /var/tmp/portage/sci-
python `which cython` --embed-positions --directive cdivision=True -I/var/tmp/portage/sci-
mathematics/sage-4.3.4/work/sage-4.3.4/devel/sage-main -o sage/libs/mpmath/utils.c
sage/libs/mpmath/utils.pyx --> /var/tmp/portage/sci-
python `which cython` --embed-positions --directive cdivision=True -I/var/tmp/portage/sci-
mathematics/sage-4.3.4/work/sage-4.3.4/devel/sage-main -o sage/libs/mpmath/ext_impl.c

Error converting Pyrex file to C:
from sage.libs.gmp.all cimport mpz_t

main/sage/libs/mpmath/ext_impl.pxd:1:36: Unrecognized character

Error converting Pyrex file to C:

Error running command, failed with status 256.
sage: There was an error installing modified sage library code.

ERROR installing SAGE

real    5m6.568s
user    4m32.119s
sys     0m16.169s
sage: An error occurred while installing sage-4.3.4
Please email sage-devel
explaining the problem and send the relevant part of
of /var/tmp/portage/sci-mathematics/sage-4.3.4/work/sage-4.3.4/install.log.  Describe your
computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/var/tmp/portage/sci-mathematics/sage-4.3.4/work/sage-4.3.4/spkg/build/sage-4.3.4 and type
'make check' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/var/tmp/portage/sci-mathematics/sage-4.3.4/work/sage-4.3.4/spkg/build/sage-4.3.4' &&
'/var/tmp/portage/sci-mathematics/sage-4.3.4/work/sage-4.3.4/sage' -sh)
When you are done debugging, you can type "exit" to leave the
make: *** [installed/sage-4.3.4] Error 1

real    27m11.521s
user    21m43.418s
sys     1m59.049s
Error building Sage.
 * ERROR: sci-mathematics/sage-4.3.4 failed:
 *   install failed
 * Call stack:
 *, line  54:  Called src_compile
 *   environment, line 4726:  Called die
 * The specific snippet of code:
 *       ./install || die "install failed";
 * If you need support, post the output of 'emerge --info =sci-mathematics/sage-4.3.4',
 * the complete build log and the output of 'emerge -pqv =sci-mathematics/sage-4.3.4'.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/sage-on-gentoo/eclass/sage.eclass
 * This ebuild is from an overlay named 'sage-on-gentoo': '/var/lib/layman/sage-on-
 * The complete build log is located at '/var/tmp/portage/sci-
 * The ebuild environment file is located at '/var/tmp/portage/sci-
 * S: '/var/tmp/portage/sci-mathematics/sage-4.3.4/work/sage-4.3.4'

best regards