Gentoo Archives: gentoo-alt

From: Rabbe Fogelholm <rabbe@×××××××.se>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Mock up Linux bootstrap guide
Date: Sun, 02 Dec 2007 13:05:58
Message-Id: 4752ADA6.4030908@bahnhof.se
In Reply to: Re: [gentoo-alt] Mock up Linux bootstrap guide by Fabian Groffen
1 No, this is from an attempt to bootstrap prefix Gentoo on a Gentoo box. I never got
2 it to work BTW.
3
4 --Rabbe
5
6
7 Fabian Groffen wrote:
8 > On 17-09-2007 10:54:27 +0200, rabbe@×××××××.se wrote:
9 >>> On 14-09-2007 17:26:07 +0200, rabbe@×××××××.se wrote:
10 >>>> Hi Fabian,
11 >>>>
12 >>>> yes, I emerged python every time whether needed or not. Trying your
13 >>>> commands,
14 >
15 > Is this the dreaded SLES 9 machine that also couldn't build a
16 > compiler/linker?
17 >
18 >
19 >>>> % head -n1 $EPREFIX/usr/lib/portage/pym/emerge/__init__.py
20 >>>> #!/rh8/home-local/erarafo/g2/usr/bin/python -O
21 >>>>
22 >>>> % file $EPREFIX/usr/lib/portage/pym/portage/const.py
23 >>>> /rh8/home-local/erarafo/g2/usr/lib/portage/pym/portage/const.py: ASCII
24 >>>> English text
25 >>>>
26 >>>> % which python
27 >>>> /rh8/home-local/erarafo/g2/usr/bin/python
28 >>>>
29 >>>> % python -c 'import portage.const ; print portage.const.EPREFIX'
30 >>>> Traceback (most recent call last):
31 >>>> File "<string>", line 1, in ?
32 >>>> ImportError: No module named const
33 >>> All looks fine, apart from this. As far as I know, and looking at the
34 >>> unpack phase of python should still be, that
35 >>> 06_all_add_portage_search_path.patch adds the portage path to the
36 >>> internal PYTHONPATH in python.
37 >>>
38 >>> It looks to me like either the patch wasn't applied for some reason, or
39 >>> the emerged portage wasn't installed. Are you sure it was emerged?
40 >>>
41 >> I re-ran the whole thing, this time collecting the console output. You can
42 >> download it from this URL:
43 >>
44 >> <http://wb748077.bahnhofbredband.se/prefix-gentoo/g2.out.bz2>
45 >>
46 >> I had a quick look myself, there is no special complaint when the '06'
47 >> patch is applied.
48 >>
49 >> I will leave the EPREFIX tree as is so that we can dig out any interesting
50 >> pieces.
51 >
52 >
53 --
54 gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] Mock up Linux bootstrap guide Rabbe Fogelholm <rabbe@×××××××.se>