Gentoo Archives: gentoo-alt

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

Replies

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