Gentoo Archives: gentoo-alt

From: Alan Hourihane <alanh@×××××××××××.uk>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] readline ebuild problem
Date: Thu, 27 Nov 2008 10:14:33
Message-Id: 1227780868.13985.533.camel@jetpack.demon.co.uk
In Reply to: Re: [gentoo-alt] readline ebuild problem by Michael Haubenwallner
1 On Thu, 2008-11-27 at 11:01 +0100, Michael Haubenwallner wrote:
2 > On Wed, 2008-11-26 at 16:37 +0000, Alan Hourihane wrote:
3 > <snip>
4 > > > > Just static.
5 > > >
6 > > > Ohw, no shared libs!
7 > > > Wouldn't this require some (portage-)mechanism to perform a
8 > > > reverse-dependency-rebuild based on {,R}DEPEND?
9 > > >
10 > > > As far as I understand, get_libname() returns the extension used for
11 > > > *shared* libraries (which on AIX unfortunately can be '.a').
12 > > >
13 > > > What should $(get_libname) return when there are no shared libraries?
14 > > >
15 > > > The test in readline just prevents moving 'lib*.a' out of /lib when it
16 > > > (potentially) is the shared library.
17 > > >
18 > > > When there are no shared libs at all, isn't it just wrong to have
19 > > > get_libname() returning '.a'? Maybe it should return either the empty
20 > > > string, or something like '.irrelevant' IMO.
21 > >
22 > > Having get_libname() return .a on FreeMiNT makes things behave correctly
23 > > for the majority of ebuilds.
24 >
25 > What would really break when get_libname() does not return '.a'?
26 >
27 > IIRC, some ebuilds have a 'static' useflag.
28 > What if this is use.forced in the FreeMiNT profiles?
29
30 The -static USE flag in some of the ebuilds places some unnecessary
31 restrictions on FreeMiNT, which I'd probably end up having to workaround
32 anyway.
33
34 Plus, readline doesn't have a static flag. So it's a moot point.
35
36 > > Given AIX uses .a for shared libs makes me think that readline should
37 > > really be AIX specific and use CHOST == *-aix* rather than just globally
38 > > using != .a.
39 >
40 > /me just doesn't feel (yet?) get_libname() returning '.a' is really
41 > correct.
42
43 I feel it is currently for FreeMiNT.
44
45 If we can't make that change to readline (and libiconv), then I'll need
46 to revert back to suggesting...
47
48 [[ $CHOST == *-mint* ]] &&
49
50 with exactly the same "mv" command as I can't have static libs in /lib.
51
52 Alan.

Replies

Subject Author
Re: [gentoo-alt] readline ebuild problem Alan Hourihane <alanh@×××××××××××.uk>