1 |
I had this same problem. The problem is that the stage1-preclean2-chroot.sh does |
2 |
not select a gcc profile correctly since newer version of gcc now have more than |
3 |
one profile installed in /etc/env.d/gcc. |
4 |
|
5 |
What I have done is simply add the following to the top of stage2-chroot.sh in |
6 |
/usr/lib/catalyst/targets/stage2: |
7 |
|
8 |
# For some reason the stage1-preclean2-chroot.sh script |
9 |
# does not setup gcc correctly |
10 |
# so we do it here. |
11 |
# Lets set a sane gcc |
12 |
/usr/bin/gcc-config `ls -1 /etc/env.d/gcc | head -n1` |
13 |
|
14 |
Now I know this is an ugly hack but it will at least choose the first gcc |
15 |
profile alphabetically and it will continue the stage build. I just made this |
16 |
change earlier today and I am building a new stage2 right now. If it finishes |
17 |
I'll post another message letting you all know if it finished. I am very |
18 |
confident that it will. |
19 |
|
20 |
Mike B wrote: |
21 |
> On Thu, 10 Feb 2005 18:51:12 -0500, Chris Gianelloni |
22 |
> <wolf31o2@g.o> wrote: |
23 |
> |
24 |
>>On Thu, 2005-02-10 at 16:45 -0500, Mike B wrote: |
25 |
>> |
26 |
>>>still got the same error on the first package (ccache)... |
27 |
>>> |
28 |
>>>configure: error: no acceptable C compiler found in $PATH |
29 |
>>> |
30 |
>>>I am attaching the contents of my .spec files. Let me know if you |
31 |
>>>have any additional reccomendations...should i try some of the other |
32 |
>>>cascading profiles? |
33 |
>> |
34 |
>>It looks like something didn't go quite right on your stage1 build. |
35 |
>> |
36 |
>>I would delete your package cache and try again from stage1. |
37 |
>> |
38 |
> |
39 |
> |
40 |
> I'm still getting the same result. I deleted everything below |
41 |
> catalyst/tmp and catalyst/packages. Then I tried rebuilding stage1 |
42 |
> and stage2. Same result....stage1 built fine, stage2 crashed on the |
43 |
> first build (ccache). I already sne my .spec files...any other |
44 |
> suggestions? |
45 |
> |
46 |
> mikeyb |
47 |
> -- |
48 |
> gentoo-catalyst@g.o mailing list |
49 |
> |
50 |
> |
51 |
-- |
52 |
gentoo-catalyst@g.o mailing list |