Gentoo Archives: gentoo-science

From: v_2e@×××.net
To: gentoo-science@l.g.o
Subject: [gentoo-science] [sage-on-gentoo] cannot build Sage because of Sympy-0.7.1
Date: Tue, 14 Aug 2012 18:11:07
Message-Id: 20120814204917.0b6b06b1dd59a826ae08d5ca@ukr.net
1 Hello!
2 I've noticed that 'lcalc' is available again and tried to emerge
3 Sage. This time it failed because of 'dev-python/sympy-0.7.1'. It
4 refuses to be built and gives the following error:
5
6
7 >>> Compiling source
8 >>> in /var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1 ...
9 * Building of dev-python/sympy-0.7.1 with CPython 2.7...
10 python2.7 setup.py build -b build-2.7
11 Setting permissions of DOT_SAGE directory so only you can read and
12 write it.
13 Traceback (most recent call last):
14 File "setup.py", line 34, in <module>
15 import sympy
16 File
17 "/var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1/sympy/__init__.py",
18 line 20, in <module> from sympy.core import *
19 File
20 "/var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1/sympy/core/__init__.py",
21 line 8, in <module> from expr import Expr, AtomicExpr
22 File
23 "/var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1/sympy/core/expr.py",
24 line 4, in <module> from evalf import EvalfMixin
25 File
26 "/var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1/sympy/core/evalf.py",
27 line 6, in <module> import mpmath.libmp as libmp
28 File
29 "/usr/lib64/python2.7/site-packages/mpmath/__init__.py", line 10, in
30 <module> mp = MPContext()
31 File
32 "/usr/lib64/python2.7/site-packages/mpmath/ctx_mp.py", line 72, in
33 __init__ ctx.init_builtins()
34 File
35 "/usr/lib64/python2.7/site-packages/mpmath/ctx_mp.py", line 101, in
36 init_builtins ctx.one = ctx.make_mpf(fone)
37 File "ext_main.pyx", line 493, in
38 sage.libs.mpmath.ext_main.Context.make_mpf
39 (sage/libs/mpmath/ext_main.c:6425)
40 File "ext_main.pyx", line 503, in
41 sage.libs.mpmath.ext_main.Context.make_mpf
42 (sage/libs/mpmath/ext_main.c:6360)
43 File "ext_impl.pyx", line 268, in
44 sage.libs.mpmath.ext_impl.MPF_set_tuple
45 (sage/libs/mpmath/ext_impl.c:3845)
46 File "integer.pyx", line 752, in
47 sage.rings.integer.Integer.__init__ (sage/rings/integer.c:7812)
48 TypeError: unable to coerce <type 'mpz'> to an integer
49
50
51
52 Regards,
53 Vladimir
54
55 -----
56 <v_2e@×××.net>

Replies

Subject Author
Re: [gentoo-science] [sage-on-gentoo] cannot build Sage because of Sympy-0.7.1 fbissey@××××××××××××.nz