Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228679 - update-eix (eix >= 0.12.4) fails with have an empty portage_overlay directory
Summary: update-eix (eix >= 0.12.4) fails with have an empty portage_overlay directory
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-21 05:58 UTC by Jack
Modified: 2008-06-25 22:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.