Gentoo Archives: gentoo-science

From: Christopher Schwan <cschwan@××××××××××××××××××.de>
To: Marek Kaluba <mk224@××××××××××.pl>, gentoo-science@l.g.o
Subject: [gentoo-science] Re: AW: sage-on-gentoo
Date: Thu, 04 Mar 2010 18:26:44
Message-Id: 201003041926.05744.cschwan@students.uni-mainz.de
1 Hi Mark,
2
3 On Wednesday 03 March 2010 23:45:01 you wrote:
4 > Hi Chris
5 >
6 > As before I spared some unused cpu cycles to emerge --depclean all sage
7 > dependences and emerged sage again. Everything went smooth but sage emerge
8 > still freezes at
9 >
10 > >>> Install sage-4.3.3 into
11 > >>> /var/tmp/portage/sci-mathematics/sage-4.3.3/image/ category
12 >
13 > sci-mathematics
14 > make -j3 DESTDIR=/var/tmp/portage/sci-mathematics/sage-4.3.3/image//opt
15 > install echo "Experimental use only!"
16 > Experimental use only!
17 > if [ "/var/tmp/portage/sci-mathematics/sage-4.3.3/image//opt" = "" ]; then
18 > \ echo "Set DESTDIR"; \
19 > exit 1; \
20 > fi
21 > mkdir -p /var/tmp/portage/sci-mathematics/sage-4.3.3/image//opt
22 > mkdir -p /var/tmp/portage/sci-mathematics/sage-4.3.3/image//opt/sage
23 > mkdir -p /var/tmp/portage/sci-mathematics/sage-4.3.3/image//opt/bin/
24 > cp -r --preserve=mode,links *
25 > /var/tmp/portage/sci-mathematics/sage-4.3.3/image//opt/sage/ python
26 > local/bin/sage-hardcode_sage_root /var/tmp/portage/sci-
27 > mathematics/sage-4.3.3/image//opt/sage/sage "/var/tmp/portage/sci-
28 > mathematics/sage-4.3.3/image//opt"/sage
29 > cp /var/tmp/portage/sci-mathematics/sage-4.3.3/image//opt/sage/sage
30 > /var/tmp/portage/sci- mathematics/sage-4.3.3/image//opt/bin/
31 > cd /var/tmp/portage/sci-mathematics/sage-4.3.3/image//opt/bin/; ./sage -c
32 > Setting permissions of DOT_SAGE directory so only you can read and write
33 > it.
34 >
35 >
36 > build log is the same -- no errors, just stop at this point.
37 > I examined list of processes and found that gap is running at pts/4
38 > [although emerge sage is on pts/0?]
39 >
40 > Name, Username, PID, TTY, Niceness, Virtual Size, Memory, Shared Mem,
41 > Command, gap, root, 3139,pts/4,19, 53564, 38376, 1472,
42 > /usr/libexec/gap/gap -m 32m -l /usr/share/gap -r -b -p -T -o 9999G
43 > /var/tmp/portage/sci-
44 > mathematics/sage-4.3.3/image/opt/sage/data//extcode/gap/sage.g
45 >
46 > here is the list of all processes running on pts/0:
47 >
48 > Name, Username, PID, TTY, Niceness, CPU %, IO Read, IO Write, Virtual Size,
49 > Memory, Shared Mem, Command, Window Title
50 > sandbox, root, 1826, pts/0, 19, 0, 0, 0, 3840, 140, 456,
51 > [sci-mathematics/sage-4.3.3] sandbox "/usr/lib64/portage/bin/ebuild.sh"
52 > install ,
53 > ebuild.sh, root, 1827, pts/0, 19, 0, 0, 0, 25540, 2572, 1432, /bin/bash
54 > /usr/lib64/portage/bin/ebuild.sh install ,
55 > ebuild.sh, root, 1860, pts/0, 19, 0, 0, 0, 25720, 2704, 880, /bin/bash
56 > /usr/lib64/portage/bin/ebuild.sh install ,
57 > make, root, 2084, pts/0, 19, 0, 0, 0, 14272, 572, 864, make -j3
58 > DESTDIR=/var/tmp/portage/sci-mathematics/sage-4.3.3/image//opt install ,
59 > sh, root, 2472, pts/0, 19, 0, 0, 0, 23452, 552, 1320, /bin/sh -c cd
60 > /var/tmp/portage/sci- mathematics/sage-4.3.3/image//opt/bin/; ./sage -c ,
61 > bash, root, 2473, pts/0, 19, 0, 0, 0, 23584, 564, 1364, bash ./sage -c ,
62 > bash, root, 2476, pts/0, 19, 0, 0, 0, 23584, 656, 1400, bash
63 > /var/tmp/portage/sci-
64 > mathematics/sage-4.3.3/image/opt/sage/local/bin/sage-sage -c ,
65 > python2.6, root, 2491, pts/0, 19, 0, 0, 0, 38900, 3000, 2600,
66 > /usr/bin/python2.6
67 > /var/tmp/portage/sci-mathematics/sage-4.3.3/image/opt/sage/local/bin/sage-
68 > cleaner , python2.6, root, 2492, pts/0, 19, 0, 0, 0, 276496, 19720, 8684,
69 > /usr/bin/python2.6
70 > /var/tmp/portage/sci-mathematics/sage-4.3.3/image/opt/sage/local/bin/sage-
71 > eval , bash, marek, 3482, pts/0, 0, 0, 0, 0, 20948, 4, 548, /bin/bash ,
72 > su, root, 4257, pts/0, 0, 0, 0, 0, 44820, 4, 560, su ,
73 > bash, root, 4263, pts/0, 0, 0, 0, 0, 20948, 4, 548, bash ,
74 > python2.6, root, 4270, pts/0, 19, 0, 0, 0, 175648, 84740, 1776,
75 > /usr/bin/python2.6 /usr/bin/emerge sage
76 >
77 > best regards
78 >
79 > m
80
81 thank you for investigating yourself on this problem - so we should check if
82 gap is running correctly on your pc. I dont know much about gap, but you could
83 try to start gap manually and then to exit the program (type gap and inside
84 gap "quit;" ).
85
86 I will forward this mail to the science mailing list which will be the place
87 to discuss problems regarding Sage-on-Gentoo (at least for a while).
88
89 Cheers,
90
91 Christopher