Gentoo Archives: gentoo-science

From: "François Bissey" <f.r.bissey@×××××××××.nz>
To: gentoo-science@l.g.o
Subject: [gentoo-science] [sage-on-gentoo]some strange problem with sympy
Date: Sun, 17 Oct 2010 11:05:31
Message-Id: 201010172327.56199.f.r.bissey@massey.ac.nz
1 Hi all,
2
3 I was looking at splitting mpmath from sympy (with the help of the patches
4 from fedora) when I came across this at test time:
5 ebuild sympy-0.6.6.ebuild install
6 >>> Existing ${T}/environment for 'sympy-0.6.6' will be sourced. Run
7 >>> 'clean' to start with a fresh environment.
8 * sympy-0.6.6.tar.gz RMD160 SHA1 SHA256 size ;-) ...
9 [ ok ]
10 * checking ebuild checksums ;-) ...
11 [ ok ]
12 * checking auxfile checksums ;-) ...
13 [ ok ]
14 * checking miscfile checksums ;-) ...
15 [ ok ]
16 * checking sympy-0.6.6.tar.gz ;-) ...
17 [ ok ]
18 * Package: dev-python/sympy-0.6.6
19 * Repository: sage
20 * Maintainer: grozin@g.o sci-mathematics@g.o
21 * USE: elibc_glibc gtk ipython kernel_linux latex mathml opengl pdf png
22 userland_GNU x86
23 >>> It appears that 'sympy-0.6.6' is already setup; skipping.
24 >>> Remove '/var/tmp/portage/dev-python/sympy-0.6.6/.setuped' to force setup.
25 >>> Checking sympy-0.6.6.tar.gz's mtime...
26 >>> WORKDIR is up-to-date, keeping...
27 >>> It appears that 'sympy-0.6.6' is already prepared; skipping.
28 >>> Remove '/var/tmp/portage/dev-python/sympy-0.6.6/.prepared' to force
29 prepare.
30 >>> Configuring source in /var/tmp/portage/dev-
31 python/sympy-0.6.6/work/sympy-0.6.6 ...
32 >>> Source configured.
33 >>> Compiling source in /var/tmp/portage/dev-
34 python/sympy-0.6.6/work/sympy-0.6.6 ...
35 python2.6 setup.py build
36 Setting permissions of DOT_SAGE directory so only you can read and write it.
37 Traceback (most recent call last):
38 File "/usr/bin/sage-cleaner", line 25, in <module>
39 DOT_SAGE = os.environ['DOT_SAGE']
40 File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__
41 raise KeyError(key)
42 KeyError: 'DOT_SAGE'
43 Traceback (most recent call last):
44 File "/usr/bin/sage-cleaner", line 25, in <module>
45 DOT_SAGE = os.environ['DOT_SAGE']
46 File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__
47 raise KeyError(key)
48 KeyError: 'DOT_SAGE'
49
50 I get the same thing with sympy-0.6.7 from portage. I guess it only happens
51 when sage is already present so it would not be visible from a clean install
52 of sage. That sage being installed seem to have an influence on sympy further
53 merging is worrying. Some more packages could be affected (I tested mpmath
54 and there is no problem there).
55
56 Anyone else sees this?
57
58 This is with portage-2.2-rc97 that may have an influence.
59
60 Any idea for debuging this problem should it be real? ebuild --debug wasn't
61 helpful, I would need to run "python2.6 setup.py build -b build-2.6" with some
62 debug output.
63
64 Cheers,
65 Francois

Replies

Subject Author
Re: [gentoo-science] [sage-on-gentoo]some strange problem with sympy "François Bissey" <f.r.bissey@×××××××××.nz>