Gentoo Archives: gentoo-science

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

Replies

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