Gentoo Archives: gentoo-science

From: Christopher Schwan <cschwan@××××××××××××××××××.de>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] [sage-on-gentoo] gdmodule-0.56-r1
Date: Sat, 04 Dec 2010 14:35:40
Message-Id: 201012041534.51288.cschwan@students.uni-mainz.de
In Reply to: [gentoo-science] [sage-on-gentoo] gdmodule-0.56-r1 by Steven Trogdon
1 Hi Steven,
2
3 thank you for reporting! I have investigated on this and filed a bug for it:
4
5 https://bugs.gentoo.org/show_bug.cgi?id=347722
6
7 On Friday 03 December 2010 22:49:37 Steven Trogdon wrote:
8 > Hello,
9 >
10 > With the upgrade from gdmodule-0.56 -> gdmodule-0.56-r1 the following
11 > sage test now fails
12 >
13 > sage -t -long -force_lib "devel/sage/sage/matrix/matrix2.pyx"
14 >
15 > as
16 >
17 > **********************************************************************
18 > File "/usr/share/sage/devel/sage/sage/matrix/matrix2.pyx", line 5463:
19 > sage: M.visualize_structure(SAGE_TMP + "matrix.png")
20 > Exception raised:
21 > Traceback (most recent call last):
22 > File "/usr/bin/ncadoctest.py", line 1231, in run_one_test
23 > self.run_one_example(test, example, filename, compileflags)
24 > File "/usr/bin/sagedoctest.py", line 38, in run_one_example
25 > OrigDocTestRunner.run_one_example(self, test, example,
26 > filename, compileflags)
27 > File "/usr/bin/ncadoctest.py", line 1172, in run_one_example
28 > compileflags, 1) in test.globs
29 > File "<doctest __main__.example_83[3]>", line 1, in <module>
30 > M.visualize_structure(SAGE_TMP + "matrix.png")###line 5463:
31 > sage: M.visualize_structure(SAGE_TMP + "matrix.png")
32 > File "matrix2.pyx", line 5520, in
33 > sage.matrix.matrix2.Matrix.visualize_structure
34 > (sage/matrix/matrix2.c:31006)
35 > NotImplementedError: PNG Support Not Available
36 > **********************************************************************
37 >
38 > The 0.56-libs.patch that's the reason for the upgrade (which appears to
39 > be the thing to do) actually prevents Sage from finding PNG support.
40 > The older version still works.
41 >
42 > Steve
43
44 Cheers,
45
46 Christopher