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
Portage doesn't cache your overlays if you run emerge --sync/--metadata .. so you can't use any cache-method other than "none".
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.
I had this same config (portage cache = cdb) for ages, so I assume it's a portage regression...
reopen for reassigning
see comment #1