Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113148 - eix (0.5x) does not index overlay ebuilds if OVERLAY_CACHE_METHOD is set
Summary: eix (0.5x) does not index overlay ebuilds if OVERLAY_CACHE_METHOD is set
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Benedikt Böhm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-21 03:06 UTC by kilian
Modified: 2005-11-26 05:32 UTC (History)
0 users

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 kilian 2005-11-21 03:06:39 UTC
If OVERLAY_CACHE_METHOD is set to "cdb" or "flat", update-eix does not index 
anything contained in the overlays. It correctly indexes the main portage 
repository.  
When set to "none", or not set, overlay indexing occurs correctly. 

Reproducible: Always
Steps to Reproduce:
1. # cat /etc/eixrc 
PORTDIR_CACHE_METHOD="cdb" 
OVERLAY_CACHE_METHOD="none" 
2. # update-eix 
Reading Portage settings .. 
Building database (/var/cache/eix) from scratch .. 
[0] /usr/portage/ (cache: cdb) 
     Reading 100% 
[1] /usr/local/overlays/portage (cache: none) 
     Reading 100% 
Applying masks .. 
Database contains 10312 packages in 144 categories. 
3. # eix archck 
* sys-kernel/archck-sources [1] 
     Available versions:  2.6.13_p7 2.6.13_p8 2.6.14-r1 2.6.14-r3 
     Installed:           2.6.14-r3 
     Homepage:            http://iphitus.loudas.com/archck.php 
     Description:         ArchCK is a derivation of the CK patchset that [...]  
[1] /usr/local/overlays/portage 
 
Found 1 matches 
4. # vi /etc/eixrc 
5. # cat /etc/eixrc 
PORTDIR_CACHE_METHOD="cdb" 
OVERLAY_CACHE_METHOD="cdb" 
6. # update-eix 
Reading Portage settings .. 
Building database (/var/cache/eix) from scratch .. 
[0] /usr/portage/ (cache: cdb) 
     Reading 100% 
[1] /usr/local/overlays/portage (cache: cdb) 
     Reading 100% 
Applying masks .. 
Database contains 10290 packages in 144 categories. 
7. # eix archck 
 
Found 0 matches 
 
Actual Results:  
Overlay ebuilds not indexed 

Expected Results:  
Overlay ebuilds should be indexed
Comment 1 Emil Beinroth 2005-11-21 04:06:38 UTC
Portage doesn't cache your overlays if you run emerge --sync/--metadata .. so
you can't use any cache-method other than "none".
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2005-11-21 04:10:26 UTC
User error. From man eix:
       PORTDIR_CACHE_METHOD, OVERLAY_CACHE_METHOD  (Strings)
              Set the type of the cache used by portage. If you don't know what
this is, just leave it alone.
Comment 3 kilian 2005-11-22 02:14:53 UTC
I had this same config (portage cache = cdb) for ages, so I assume it's a 
portage regression... 
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2005-11-22 16:21:15 UTC
reopen for reassigning
Comment 5 Benedikt Böhm (RETIRED) gentoo-dev 2005-11-26 05:32:24 UTC
see comment #1