public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] [sage-on-gentoo] cannot build Sage because of Sympy-0.7.1
@ 2012-08-14 17:49 v_2e
  2012-08-14 21:31 ` fbissey
  0 siblings, 1 reply; 16+ messages in thread
From: v_2e @ 2012-08-14 17:49 UTC (permalink / raw
  To: gentoo-science

  Hello!
  I've noticed that 'lcalc' is available again and tried to emerge
Sage. This time it failed because of 'dev-python/sympy-0.7.1'. It
refuses to be built and gives the following error:


>>> Compiling source
>>> in /var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1 ...
 * Building of dev-python/sympy-0.7.1 with CPython 2.7...
python2.7 setup.py build -b build-2.7
Setting permissions of DOT_SAGE directory so only you can read and
write it. 
Traceback (most recent call last):
  File "setup.py", line 34, in <module>
    import sympy
  File
"/var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1/sympy/__init__.py",
line 20, in <module> from sympy.core import * 
File
"/var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1/sympy/core/__init__.py",
line 8, in <module> from expr import Expr, AtomicExpr 
File
"/var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1/sympy/core/expr.py",
line 4, in <module> from evalf import EvalfMixin 
File
"/var/tmp/portage/dev-python/sympy-0.7.1/work/sympy-0.7.1/sympy/core/evalf.py",
line 6, in <module> import mpmath.libmp as libmp 
File
"/usr/lib64/python2.7/site-packages/mpmath/__init__.py", line 10, in
<module> mp = MPContext() 
File
"/usr/lib64/python2.7/site-packages/mpmath/ctx_mp.py", line 72, in
__init__ ctx.init_builtins() 
File
"/usr/lib64/python2.7/site-packages/mpmath/ctx_mp.py", line 101, in
init_builtins ctx.one = ctx.make_mpf(fone) 
File "ext_main.pyx", line 493, in
sage.libs.mpmath.ext_main.Context.make_mpf
(sage/libs/mpmath/ext_main.c:6425) 
File "ext_main.pyx", line 503, in
sage.libs.mpmath.ext_main.Context.make_mpf
(sage/libs/mpmath/ext_main.c:6360) 
File "ext_impl.pyx", line 268, in
sage.libs.mpmath.ext_impl.MPF_set_tuple
(sage/libs/mpmath/ext_impl.c:3845) 
File "integer.pyx", line 752, in
sage.rings.integer.Integer.__init__ (sage/rings/integer.c:7812)
TypeError: unable to coerce <type 'mpz'> to an integer



  Regards,
    Vladimir

----- 
 <v_2e@ukr.net>


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-08-17 12:08 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-14 17:49 [gentoo-science] [sage-on-gentoo] cannot build Sage because of Sympy-0.7.1 v_2e
2012-08-14 21:31 ` fbissey
2012-08-14 23:02   ` v_2e
2012-08-15  1:32     ` fbissey
2012-08-15 10:32       ` v_2e
2012-08-15 10:36         ` Francois Bissey
2012-08-15 11:35           ` v_2e
2012-08-15 22:03             ` fbissey
2012-08-16  8:05               ` v_2e
2012-08-16  9:28                 ` Francois Bissey
2012-08-16 15:10                   ` v_2e
2012-08-16 21:32                     ` fbissey
2012-08-17  9:20                       ` v_2e
2012-08-17  9:28                         ` Francois Bissey
2012-08-17 10:29                           ` v_2e
2012-08-17 10:39                             ` Francois Bissey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox