Gentoo Archives: gentoo-catalyst

From: Richard Farina <sidhayn@×××××.com>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] Re: [PATCH] make.conf and make.profile moved to /etc/portage so stop cleaning it to avoid multiple fatal errors
Date: Mon, 06 Aug 2012 00:02:33
Message-Id: 501EFA0D.9000601@gmail.com
In Reply to: [gentoo-catalyst] [PATCH] make.conf and make.profile moved to /etc/portage so stop cleaning it to avoid multiple fatal errors by Rick Farina
1 Sorry that was a little iffy on the git send email, it's been a while.
2
3 An example of some of the errors solved by this patch is :
4 http://slexy.org/view/s20oDYzxrC
5
6 I was completely unable to build stage2 before this change (and stage1
7 completed but was REALLY ugly at the end).
8
9 Has anyone else run into this yet? I mean the issue can't get much more
10 obvious, we clean out /etc/portage near the end of each stage but
11 /etc/portage/make.conf and /etc/portage/make.profile are rather required....
12
13 Thanks!
14
15 -Zero
16
17 On 07/27/2012 04:57 AM, Rick Farina wrote:
18 > Signed-off-by: Rick Farina <sidhayn@×××××.com>
19 > ---
20 > modules/stage1_target.py | 3 +--
21 > modules/stage2_target.py | 1 -
22 > 2 files changed, 1 insertions(+), 3 deletions(-)
23 >
24 > diff --git a/modules/stage1_target.py b/modules/stage1_target.py
25 > index 32e6334..560efdb 100644
26 > --- a/modules/stage1_target.py
27 > +++ b/modules/stage1_target.py
28 > @@ -31,8 +31,7 @@ class stage1_target(generic_stage_target):
29 > "/usr/lib/python2.2/lib-tk", "/usr/lib/python2.3/test",\
30 > "/usr/lib/python2.3/email", "/usr/lib/python2.3/lib-tk",\
31 > "/usr/lib/python2.4/test", "/usr/lib/python2.4/email",\
32 > - "/usr/lib/python2.4/lib-tk", "/usr/share/zoneinfo",\
33 > - "/etc/portage"])
34 > + "/usr/lib/python2.4/lib-tk", "/usr/share/zoneinfo"])
35 >
36 > # XXX: How do these override_foo() functions differ from the ones in generic_stage_target and why aren't they in stage3_target?
37 >
38 > diff --git a/modules/stage2_target.py b/modules/stage2_target.py
39 > index f529721..97ea7fe 100644
40 > --- a/modules/stage2_target.py
41 > +++ b/modules/stage2_target.py
42 > @@ -35,7 +35,6 @@ class stage2_target(generic_stage_target):
43 >
44 > def set_cleanables(self):
45 > generic_stage_target.set_cleanables(self)
46 > - self.settings["cleanables"].extend(["/etc/portage"])
47 >
48 > def override_chost(self):
49 > if self.settings.has_key("chost"):

Replies