Gentoo Archives: gentoo-alt

From: Matt Michalowski <me@××××××××.au>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [PREFIX] OpenSolaris is working
Date: Tue, 03 Jun 2008 02:22:17
Message-Id: 4844AAD6.5010307@mattm.id.au
In Reply to: [gentoo-alt] [PREFIX] OpenSolaris is working by Fabian Groffen
1 Fabian Groffen wrote:
2 > LinuxTag2008 had a booth were Sun's OpenSolaris devs were hanging
3 > around, giving away cool goodiesi, T-shirts and CDROMs. Thanks to them
4 > I finally did start this bootstrap on "Solaris 11", OpenSolaris. After
5 > some helpfull comments of the OpenSolaris devs I could fix Perl's
6 > compilation issues, and the rest was just a piece of cake ;)
7 >
8 > I think I need to recreate a bootstrap snapshot for the perl patches
9 > though. At least for the sunos/solaris/5.11 profile that was added.
10 >
11 > Net effect of LinuxTag2008:
12 > - I fixed gawk on Interix (thanks mduft for the hint)
13 > - I "fixed" the bootstrap to work on OpenSolaris
14 > - I need sleep ;)
15 >
16 I tried to bootstrap on OpenSolaris 2008.05 a few weeks ago, but hit the
17 same Perl problems and didn't look into it any further - so thanks a lot
18 for fixing those!
19
20 However, today I tried to bootstrap from scratch, and after
21 bootstrapping the tools to tmp, I get this on the first "emerge
22 --oneshot sed" (and just trying to run emerge without any arguments
23 triggers the same error):
24
25 Traceback (most recent call last):
26 File "/opt/hwbp/usr/bin/emerge", line 20, in <module>
27 retval = _emerge.emerge_main()
28 File "/opt/hwbp/usr/lib/portage/pym/_emerge/__init__.py", line 8739,
29 in emerge_main
30 settings, trees, mtimedb = load_emerge_config()
31 File "/opt/hwbp/usr/lib/portage/pym/_emerge/__init__.py", line 8622,
32 in load_emerge_config
33 root_trees["root_config"] = RootConfig(settings, root_trees, setconfig)
34 File "/opt/hwbp/usr/lib/portage/pym/_emerge/__init__.py", line 749, in
35 __init__
36 self.sets = self.setconfig.getSets()
37 File "/opt/hwbp/usr/lib/portage/pym/portage/sets/__init__.py", line
38 98, in getSets
39 self._parse()
40 File "/opt/hwbp/usr/lib/portage/pym/portage/sets/__init__.py", line
41 85, in _parse
42 self.psets[setname] = setclass.singleBuilder(optdict, self.settings,
43 self.trees)
44 File "/opt/hwbp/usr/lib/portage/pym/portage/sets/profiles.py", line
45 25, in singleBuilder
46 return PackagesSystemSet(settings.profiles)
47 File "/opt/hwbp/usr/lib/portage/pym/portage/sets/profiles.py", line
48 17, in __init__
49 self.description = "System packages for profile %s" %
50 self._profile_paths[-1]
51 IndexError: list index out of range
52
53 The bootstrap set up EPREFIX/etc/make.profile symlink OK, symlinking it
54 to EPREFIX/usr/portage/profiles/default-prefix/sunos/solaris/5.11/x86 -
55 yet only 5.9 and 5.10 dirs exist at the moment in the downloaded
56 prefix-overlay-20080516 snapshot. I copied over an up-to-date snapshot
57 from my Linux install, and I'm now continuing the bootstrap. Fingers
58 crossed.
59
60
61 Cheers,
62 Matt
63
64
65 --
66 gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] [PREFIX] OpenSolaris is working Jeremy Olexa <darkside@g.o>