public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
From: Francois Bissey <fbissey@slingshot.co.nz>
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] [sage-on-gentoo] sage-5.4.1-r3 build failure
Date: Thu, 27 Dec 2012 22:54:18 +1300	[thread overview]
Message-ID: <50DC1ACA.5030805@slingshot.co.nz> (raw)
In-Reply-To: <20121227110320.088a41c99011df077c7f7bf9@ukr.net>

On 27/12/12 22:03, Vladimir Smolyar wrote:
>   Hello!
> 
> On Thu, 27 Dec 2012 21:20:13 +1300
> Francois Bissey <fbissey@slingshot.co.nz> wrote:
> 
>> On 27/12/12 05:27, v_2e@ukr.net wrote:
>>> . . .
>>> A complete build log is attached.
>>>
>>
>> Hi Vladimir,
>>
>> I am afraid I couldn't read the build log. The encoding went all wrong
>> apparently. I am more suspicious that the compression/decompression
>> didn't go right. Could you send it gzipped or bzipped just to check.
>>
>   No problem! Here is the bzip'ped one.
>   I noticed that some kind of escape-sequences for colouring purposes
> are there in the log file. Maybe it is because of them that the file is
> difficult to read at certain places?
> 
OK got the error:
x86_64-pc-linux-gnu-g++ -pthread -march=k8 -O2 -pipe
-fno-strict-aliasing -fPIC -I/usr//include -I/usr/include/csage
-Isage/ext -I/usr/include/python2.7 -c sage/libs/ppl.cpp -o
/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
In file included from sage/libs/ppl.cpp:264:0:
/usr/include/ppl.hh:783:7: error: redefinition of ‘class
std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >’
/usr/include/gmpxx.h:3269:21: error: previous definition of ‘class
std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >’
/usr/include/ppl.hh:844:7: error: redefinition of ‘class
std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >’
/usr/include/gmpxx.h:3306:21: error: previous definition of ‘class
std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >’

Would I be correct in assuming you are using gcc-4.7.*? I hate c++
but it wouldn't hurt to rebuild gmp and then ppl. Which version of ppl
do you have by the way, as it could have an impact too.

Francois



  parent reply	other threads:[~2012-12-27 10:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-26 16:27 [gentoo-science] [sage-on-gentoo] sage-5.4.1-r3 build failure v_2e
2012-12-27  8:20 ` Francois Bissey
2012-12-27  9:03   ` Vladimir Smolyar
2012-12-27  9:42     ` Francois Bissey
2012-12-27  9:54     ` Francois Bissey [this message]
2012-12-27 18:27       ` v_2e
2012-12-27 23:25       ` v_2e
2012-12-28  7:47         ` Francois Bissey
2012-12-30 18:52           ` v_2e
2012-12-30 21:29             ` Francois Bissey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50DC1ACA.5030805@slingshot.co.nz \
    --to=fbissey@slingshot.co.nz \
    --cc=gentoo-science@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox