Gentoo Archives: gentoo-science

From: "François Bissey" <f.r.bissey@×××××××××.nz>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] sci-mathematics/maxima fails to build
Date: Wed, 06 Oct 2010 03:09:22
Message-Id: 201010061608.59484.f.r.bissey@massey.ac.nz
In Reply to: Re: [gentoo-science] sci-mathematics/maxima fails to build by Steven Trogdon
1 > On 10/05/10 - 18:57:56, François Bissey wrote:
2 > > > Hi group!
3 > > >
4 > > > I've got some problems installing sci-mathematics/maxima in both my
5 > >
6 > > Funtoo
7 > >
8 > > > boxes.
9 > > >
10 > > > http://paste.pocoo.org/show/271383/
11 > > >
12 > > > The issue seems to be similar to :
13 > > > http://github.com/cschwan/sage-on-gentoo/issues/issue/14, and the
14 > > > work-around to redefining LDFLAGS works as well. However, something
15 > >
16 > > is
17 > >
18 > > > wrong with the way maxima deals with the LDFLAGS.
19 > >
20 > > OK I will have a look, it may be something I overlooked in my
21 > > patches, it used
22 > > to work here, so it may be caused by a slight change somewhere in the
23 > > system
24 > > since then.
25 > >
26 > > If you want maxima for sage you don't have to use the version located
27 > > in the
28 > > science overlay. It was a proof of concept for some patches. The
29 > > version in
30 > > portage will work just as well.
31 > > 5.20.1-r2
32 > > Francois
33 >
34 > For what it's worth, on my amd64 I'm unable to build the portage
35 > maxima-5.20.1-r2 either with
36 >
37 > LDFLAGS="-Wl,-01 -Wl,--sort-common -Wl,--as-needed"
38 >
39 > There is the same
40 >
41 > make[1]: *** [binary-ecl/maxima] Error 1
42 >
43 > In fact ecls will not even configure with the indicated LDFLAGS.
44 > Deleting "-Wl,--sort-common" allows ecls as well as maxima to be built.
45 >
46 OK I tested both:
47 LDFLAGS="-Wl,-01 -Wl,--sort-common -Wl,--as-needed" emerge -1v --nodeps maxima
48 LDFLAGS="-Wl,-01 -Wl,--sort-common -Wl,--as-needed" emerge -1v --nodeps ecls
49 which build respectively maxima-5.20.1-r3 and ecls-10.4.1, on my x86 system
50 and it merged fine.
51 Does it work in your 32bits chroot Steve?
52
53 Francois

Replies

Subject Author
Re: [gentoo-science] sci-mathematics/maxima fails to build "François Bissey" <f.r.bissey@×××××××××.nz>
Re: [gentoo-science] sci-mathematics/maxima fails to build Steven Trogdon <strogdon@×××××.edu>