Gentoo Archives: gentoo-alt

From: Greg Trigg <trigggl@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] ncurses failing again--AIX
Date: Sat, 26 Jul 2008 21:02:19
Message-Id: 488B90D2.7000206@yahoo.com
In Reply to: Re: [gentoo-alt] ncurses failing again--AIX by Fabian Groffen
1 Fabian Groffen wrote:
2 > On 26-07-2008 09:44:14 -0500, Greg Trigg wrote:
3 >>> can you please check if your usr/lib/portage/bin/misc-functions.sh
4 >>> contains:
5 >>>
6 >>> # Make sure people don't store libtool files or static libs in /lib
7 >>> # on AIX, "dynamic libs" have extention .a, so don't get false
8 >>> # positives
9 >>> [[ ${CHOST} == *-aix* ]] \
10 >>> && f=$(ls "${ED}"lib*/*.la 2>/dev/null) \
11 >>> || f=$(ls "${ED}"lib*/*.{a,la} 2>/dev/null)
12 >>>
13 >>> Unless there is something wrong with that code which I don't see right
14 >>> now, I cannot see why it still complains about the .a file for you...
15 >>>
16 >> Yes, for some reason, that's what's causing it. I keep having to use this:
17 >
18 > Isn't it perhaps the case that bootstrapping is done with an older
19 > portage which makes it fail? Your patch doesn't apply to recent
20 > portage.
21 >
22
23 I actually edit the file by hand. I just use the patch as a guide. I
24 find a line with '{a,la}' and change it to 'la'. Then it works, or
25 builds anyways.
26
27
28 Greg Trigg
29 Jacksonville, AR