1 |
Fabian Groffen wrote: |
2 |
> On 26-07-2008 09:32:30 -0500, Greg Trigg wrote: |
3 |
>> Fabian Groffen wrote: |
4 |
>>> On 25-07-2008 07:04:03 -0500, Greg Trigg wrote: |
5 |
>>>> It seems like every time I emerge ncurses, I have to patch the same |
6 |
>>>> file. I can always recognize it by this. |
7 |
>>>> |
8 |
>>>> * QA Notice: Excessive files found in the / partition |
9 |
>>>> * |
10 |
>>>> /home/greg/gentoo/var/tmp/portage/sys-libs/ncurses-5.6-r2/image/home/greg/gentoo/lib/libcurses.a |
11 |
>>> what portage version are you using? |
12 |
>>> |
13 |
>> I had just emerge --sync'ed. The one I got was |
14 |
>> 'sys-apps/portage-2.2.00.11187' |
15 |
> |
16 |
> can you please check if your usr/lib/portage/bin/misc-functions.sh |
17 |
> contains: |
18 |
> |
19 |
> # Make sure people don't store libtool files or static libs in /lib |
20 |
> # on AIX, "dynamic libs" have extention .a, so don't get false |
21 |
> # positives |
22 |
> [[ ${CHOST} == *-aix* ]] \ |
23 |
> && f=$(ls "${ED}"lib*/*.la 2>/dev/null) \ |
24 |
> || f=$(ls "${ED}"lib*/*.{a,la} 2>/dev/null) |
25 |
> |
26 |
> Unless there is something wrong with that code which I don't see right |
27 |
> now, I cannot see why it still complains about the .a file for you... |
28 |
> |
29 |
Yes, for some reason, that's what's causing it. I keep having to use this: |
30 |
|
31 |
|
32 |
Index: bin/misc-functions.sh |
33 |
=================================================================== |
34 |
--- bin/misc-functions.sh (revision 10729) |
35 |
+++ bin/misc-functions.sh (working copy) |
36 |
@@ -345,7 +345,7 @@ |
37 |
[[ ${abort} == "yes" ]] && die "add those ldscripts" |
38 |
|
39 |
# Make sure people don't store libtool files or static libs in /lib |
40 |
- f=$(ls "${ED}"lib*/*.{a,la} 2>/dev/null) |
41 |
+ f=$(ls "${ED}"lib*/*.la 2>/dev/null) |
42 |
if [[ -n ${f} ]] ; then |
43 |
vecho -ne '\a\n' |
44 |
eqawarn "QA Notice: Excessive files found in the / partition" |
45 |
|
46 |
|
47 |
Greg |