Gentoo Archives: gentoo-user

From: Frank Schafer <frank.schafer@×××××××××.cz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Nasty bugs in portage?
Date: Sat, 10 Sep 2005 19:59:06
Message-Id: 1126381628.6522.10.camel@localhost.localdomain
In Reply to: Re: [gentoo-user] Nasty bugs in portage? by Justin Patrin
1 On Sat, 2005-09-10 at 12:42 -0700, Justin Patrin wrote:
2 > On 9/10/05, Frank Schafer <frank.schafer@×××××××××.cz> wrote:
3 > > ... or which distribution to install during less than 4 days?
4 > >
5 > > Hi list,
6 > >
7 > > as I wrote yesterday I planned to complete installation after work
8 > > (started ``emerge --emptytree system'' in the morning).
9 > >
10 > > When I returned home from work I found in the logs, that ``emerge
11 > > --emptytree system'' failed at package 28 of 186
12 > >
13 > > python-fcksum-1.7.1
14 > > i386-pc-linux-gnu-gcc ....bla...bla
15 > > ^
16 > > |
17 > > +- !!!!!!!!!!!!!!!!!!!!!
18 > >
19 > > gcc-config error:
20 > > could not run/locate "i386-pc-linux-gnu-gcc"
21 > >
22 > > My architecture is i686 and it seems that 27 packages before
23 > > python-fchksum found the i686(that's SIX-eight-six)-pc-linux-gnu-gcc.
24 > >
25 > > Could be my fault. I had set up ACCEPT_KEYWORDS to "~x86".
26 >
27 > That's the first problem. Unless you want to deal with explosions,
28 > don't set your entire system to be unstable. That's a recipe for
29 > problems. Leave the global setting at stable. Then, if you need an
30 > unstable version use /etc/portage/package.keywords to set ~x86 for
31 > just the package you want to install.
32 >
33 > >
34 > > Today in the morning I started up from scratch. That's about an hour of
35 > > editing files, making file systems and so on, 1,5 hours of bootstrap.sh.
36 > >
37 > > ``emerge -p --emptytree system'' showed me, that it will install
38 > > python-fchksum with the ACCEPT_KEYWORDS="x86" too. So far, so good.
39 > > Yesterday I got a portage snapshot 20050907, today I got a portage
40 > > snapshot 20050908. Maybe the bug is fixed. So I started emerge system.
41 > > At least it didn't install two versions of gcc. That saved some time. It
42 > > ran 2,5 hours and ...
43 > >
44 > > ... kabooooom ...
45 > >
46 > > Unfortunately I can't tell you if the python-fchksum failure has gone
47 > > away. I didn't reach this ebuild :(
48 > >
49 >
50 > I suggest starting from a stage3 build. I've installed many stage 3
51 > builds and it nearly always works with no breakage. Once your minimal
52 > system up and running (always go for minimal on the initial emerge,
53 > then boot into your system, then emerge more) then you can easily do
54 > an emptytree emerge to re-build things....if you *really* want to. I'm
55 > of the mind that starting with stage3 is perfectly fine. Eventually
56 > all of those packages will be updated and recompiled, so there's
57 > really no reason to do it manually right at the beginning.
58 >
59 > One more thing. What optimization setting(s) are you using?
60 >
61 > --
62 > Justin Patrin
63 >
64
65 Thanks
66
67 CFLAGS="-O2 -march=pentuim2"
68
69 But all the way, that emerge builds a package which requires another
70 which isn't installed - this IS a bug (the autoconf via automake
71 problem).
72
73
74 --
75 gentoo-user@g.o mailing list