Gentoo Archives: gentoo-science

From: Francois Bissey <fbissey@××××××××××××.nz>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] [sage-on-gentoo] sage-5.4.1-r3 build failure
Date: Thu, 27 Dec 2012 10:04:01
Message-Id: 50DC1ACA.5030805@slingshot.co.nz
In Reply to: Re: [gentoo-science] [sage-on-gentoo] sage-5.4.1-r3 build failure by Vladimir Smolyar
1 On 27/12/12 22:03, Vladimir Smolyar wrote:
2 > Hello!
3 >
4 > On Thu, 27 Dec 2012 21:20:13 +1300
5 > Francois Bissey <fbissey@××××××××××××.nz> wrote:
6 >
7 >> On 27/12/12 05:27, v_2e@×××.net wrote:
8 >>> . . .
9 >>> A complete build log is attached.
10 >>>
11 >>
12 >> Hi Vladimir,
13 >>
14 >> I am afraid I couldn't read the build log. The encoding went all wrong
15 >> apparently. I am more suspicious that the compression/decompression
16 >> didn't go right. Could you send it gzipped or bzipped just to check.
17 >>
18 > No problem! Here is the bzip'ped one.
19 > I noticed that some kind of escape-sequences for colouring purposes
20 > are there in the log file. Maybe it is because of them that the file is
21 > difficult to read at certain places?
22 >
23 OK got the error:
24 x86_64-pc-linux-gnu-g++ -pthread -march=k8 -O2 -pipe
25 -fno-strict-aliasing -fPIC -I/usr//include -I/usr/include/csage
26 -Isage/ext -I/usr/include/python2.7 -c sage/libs/ppl.cpp -o
27 /var/tmp/portage/sci-mathematics/sage-5.4.1-r3/work/sage-5.4.1-python2_7/temp.linux-x86_64-2.7/sage/libs/ppl.o
28 In file included from sage/libs/ppl.cpp:264:0:
29 /usr/include/ppl.hh:783:7: error: redefinition of ‘class
30 std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >’
31 /usr/include/gmpxx.h:3269:21: error: previous definition of ‘class
32 std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >’
33 /usr/include/ppl.hh:844:7: error: redefinition of ‘class
34 std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >’
35 /usr/include/gmpxx.h:3306:21: error: previous definition of ‘class
36 std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >’
37
38 Would I be correct in assuming you are using gcc-4.7.*? I hate c++
39 but it wouldn't hurt to rebuild gmp and then ppl. Which version of ppl
40 do you have by the way, as it could have an impact too.
41
42 Francois

Replies