Summary: | app-portage/eix-0.7.2 wrong w.r.t. slotting of overlay ebuilds | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Timothy Stotts <devel> |
Component: | Current packages | Assignee: | Martin Väth <martin> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | genstef, hwoarang, martin, simon |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Timothy Stotts
2006-09-01 10:55:08 UTC
This is not related with overlays but a known shortcoming of the cache method "none" which is the default for overlays. The reason is that the slot information for gnat-gcc (and similarly for some kde-base packages) is *not* stored in the .ebuild file but only implicitly calculated by a corresponding eclass. The cache method "none" is not able to find this information in the .ebuild, because it only "parses" the .ebuild "empirically" (which is fast and secure but cannot deal with more complex .ebuild files). For this reason the (unfortunately much slower and less secure) cache methods "ebuild" and "ebuild*" have been introduced into eix-0.7.1 which actually executes the .ebuilds. So the solution to your problem is to either use this cache method globally for all overlays (by putting OVERLAY_CACHE_METHOD='ebuild' resp. OVERLAY_CACHE_METHOD='ebuild*' into /etc/eixrc) or at least for the overlay containing the critical ebuild (in your case, this means probably to set something like OVERRIDE_CACHE_METHOD="/usr/local/portage_overlay ebuild*" [I should already announce that in eix-0.7.3 you will probably want to use the variable CACHE_METHOD instead OVERRIDE_CACHE_METHOD - read the Changelog for the next update]). Of course you have to run update-eix for this setting to take effect. However, in any case, be sure that you understand the drawbacks and security risks of following this advice. "man eix" will tell you more... Just a reminder for those who have explicitly set OVERLAY_CACHE_METHOD: With eix-0.12.0 you might want to try OVERLAY_CACHE_METHOD="parse|ebuild*", but read about the security risks. *** Bug 255996 has been marked as a duplicate of this bug. *** *** Bug 264846 has been marked as a duplicate of this bug. *** |