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: Fri, 14 Sep 2007 13:44:59
Message-Id: 20070914133723.GK1040@gentoo.org
In Reply to: Re: [gentoo-alt] Mock up Linux bootstrap guide by Rabbe Fogelholm
1 The portage version installed from the snapshot, is the same as the
2 portage version bootstrapped. It looks like something else causes this
3 problem.
4
5 Some questions:
6 - output of
7 % head -n1 $EPREFIX/usr/lib/portage/pym/emerge/__init__.py
8 - did you emerge python, or did you skip it?
9 - do you have a $EPREFIX/usr/lib/portage/pym/portage/const.py
10 - does this work?
11 % python -c 'import portage.const ; print portage.const.EPREFIX'
12
13
14 On 12-09-2007 19:15:55 +0200, Rabbe Fogelholm wrote:
15 > Fabian Groffen wrote:
16 > > On 11-09-2007 23:05:56 +0200, Rabbe Fogelholm wrote:
17 > >> I decided to make a first shot in an up-to-date Gentoo Linux
18 > >> environment; there couldn't be a friendlier environment could it? :-)
19 > >>
20 > >> Things went fine up to the `emerge --oneshot gawk' step, where I got this:
21 > >>
22 > >> ------------------------------------------
23 > >> Traceback (most recent call last):
24 > >> File "/var/tmp/gentoo/usr/bin/emerge", line 12, in ?
25 > >> from emerge import *
26 > >> File "/var/tmp/gentoo/usr/lib/portage/pym/emerge/__init__.py", line
27 > >> 34, in ?
28 > >> from portage.const import NEWS_LIB_PATH, CACHE_PATH, PRIVATE_PATH
29 > >> ImportError: No module named const
30 > >> ------------------------------------------
31 > >>
32 > >> It seems that the preceding step, which emerges portage, has some
33 > >> problem even though it finishes with a zero status.
34 > >
35 > > Hmmm.... looks like the install image has an older/wrong portage in it.
36 > > Can you find out what version of portage it has installed?
37 > >
38 >
39 > I tried `emerge --version' in the EPREFIX, but that was broken too and
40 > refused to say. The emerge.log had this though:
41 >
42 > 1189543663: *** emerge --oneshot --nodeps portage
43 > 1189543664: >>> emerge (1 of 1) sys-apps/portage-2.2.00.7595 to /
44 > 1189543664: === (1 of 1) Cleaning
45 > (sys-apps/portage-2.2.00.7595::/usr/tmp/gentoo/usr/portage/sys-apps/portage/portage-2.2.00.7595.ebuild)
46 > 1189543665: === (1 of 1) Compiling/Merging
47 > (sys-apps/portage-2.2.00.7595::/usr/tmp/gentoo/usr/portage/sys-apps/portage/portage-2.2.00.7595.ebuild)
48 > 1189543692: >>> AUTOCLEAN: sys-apps/portage
49 > 1189543692: --- AUTOCLEAN: Nothing unmerged.
50 > 1189543692: === (1 of 1) Post-Build Cleaning
51 > (sys-apps/portage-2.2.00.7595::/usr/tmp/gentoo/usr/portage/sys-apps/portage/portage-2.2.00.7595.ebuild)
52 > 1189543692: ::: completed emerge (1 of 1) sys-apps/portage-2.2.00.7595 to /
53 > 1189543692: *** Finished. Cleaning up...
54 > 1189543693: *** exiting successfully.
55 > 1189543693: *** terminating.
56
57 --
58 Fabian Groffen
59 Gentoo on a different level
60 --
61 gentoo-alt@g.o mailing list

Replies

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