Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 228679

Summary: update-eix (eix >= 0.12.4) fails with have an empty portage_overlay directory
Product: Portage Development Reporter: Jack <gentoo>
Component: Third-Party ToolsAssignee: Stefan Schweizer (RETIRED) <genstef>
Status: RESOLVED INVALID    
Severity: normal CC: emilbeinroth, martin
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jack 2008-06-21 05:58:34 UTC
If you have an empty directory specified in PORTAGE_OVERLAY, the update-eix command fails with the following error:
Reading Portage settings ..
void CacheTable::addCache(const char*, const char*, const char*, const char*, const std::string&, const std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >*): Unknown cache 'none' for directory '/usr/local/portage'

Reproducible: Always

Steps to Reproduce:
1.Create a empty directory
2.Set PORTAGE_OVERLAY to directory location in /etc/make.conf
3.Run update-eix



Expected Results:  
Run successfully
Comment 1 Jack 2008-06-21 05:59:50 UTC
Sorry, not PORTAGE_OVERLAY, but PORTDIR_OVERLAY
Comment 2 Emil Beinroth 2008-06-21 11:16:31 UTC
Not a bug.

The cache method "none" does no longer exist. I guess you didn't update /etc/eixrc or you have some old ~/.eixrc.
Comment 3 Arne Babenhauserheide 2008-06-24 08:32:29 UTC
Couldn't eixrc be updated via cfg-update? 

I stumbled into this, too. 
Comment 4 Martin Väth 2008-06-25 19:33:21 UTC
When you have followed the suggestion in the default /etc/eixrc file
and put there only those variables which you intentionally want to change,
then the variable containing "none" has been one of those which you
have manually modified. But for those variables, cfg-update cannot help you
either.