Gentoo Archives: gentoo-alt

From: Aaron Wilson <tallest@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] [prefix] emerge fails with "IndexError: list index out of range"
Date: Wed, 11 Jun 2008 17:22:27
I hadn't updated portage in a while, I had to remove the SYNC= line in  
make.conf. At the very end of the sync I received an error which is  
now given every time emerge is run:

$ emerge --help
Traceback (most recent call last):
   File "/Users/wilson/Library/Gentoo/usr/bin/emerge", line 20, in  
     retval = _emerge.emerge_main()
   File "/Users/wilson/Library/Gentoo/usr/lib/portage/pym/_emerge/", line 7906, in emerge_main
     settings, trees, mtimedb = load_emerge_config()
   File "/Users/wilson/Library/Gentoo/usr/lib/portage/pym/_emerge/", line 7789, in load_emerge_config
     root_trees["root_config"] = RootConfig(root_trees, setconfig)
   File "/Users/wilson/Library/Gentoo/usr/lib/portage/pym/_emerge/", line 752, in __init__
     self.sets = self.setconfig.getSets()
   File "/Users/wilson/Library/Gentoo/usr/lib/portage/pym/portage/sets/", line 86, in getSets
   File "/Users/wilson/Library/Gentoo/usr/lib/portage/pym/portage/sets/", line 76, in _parse
     self.psets[setname] = setclass.singleBuilder(optdict,  
self.settings, self.trees)
   File "/Users/wilson/Library/Gentoo/usr/lib/portage/pym/portage/sets/", line 25, in singleBuilder
     return PackagesSystemSet(settings.profiles)
   File "/Users/wilson/Library/Gentoo/usr/lib/portage/pym/portage/sets/", line 17, in __init__
     self.description = "System packages for profile %s" %  
IndexError: list index out of range

I don't know if the problem existed before the sync as I hadn't  
touched portage in a month or so. Any help would be greatly appreciated.


P.S. I'm running OS X 10.5.3 on a MacBook Pro Core Duo. 
gentoo-alt@l.g.o mailing list