Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238882 - eix should require nonempty SLOT for method parse|ebuild
Summary: eix should require nonempty SLOT for method parse|ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Väth
URL:
Whiteboard:
Keywords:
: 238885 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-27 17:57 UTC by R Bar-On
Modified: 2008-10-13 07:55 UTC (History)
1 user (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 R Bar-On 2008-09-27 17:57:02 UTC
The slot for kdelibs-4.1.1 is set in the eclass rather than the ebuild.  eix misses this and mis-reports the slot.

This is mostly cosmetic, but should be fixed.

Reproducible: Always

Steps to Reproduce:
1. Add kde-testing overlay
2. Update eix
3. eix kdelibs

Actual Results:  
shows slot 0

Expected Results:  
should show slot 4.1
Comment 1 Emil Beinroth 2008-09-27 18:22:49 UTC
Please post the output of update-eix.
Comment 2 R Bar-On 2008-09-27 18:28:28 UTC
Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] "gentoo" /usr/portage/ (cache: metadata-flat)
     Reading 100%
[1] "desktop-effects" /usr/portage/local/layman/desktop-effects (cache: parse|ebuild*)
     Reading 100%
[2] "java-overlay" /usr/portage/local/layman/java-overlay (cache: parse|ebuild*)
     Reading 100%
[3] "zen-overlay" /usr/portage/local/layman/zen-overlay (cache: parse|ebuild*)
     Reading 100%
[4] "kde" /usr/portage/local/layman/kde-testing (cache: parse|ebuild*)
     Reading 100%
[5] "local-mine" /usr/local/portage (cache: parse|ebuild*)
     Reading 100%
Applying masks ..
Calculating hash tables ..
Writing database file /var/cache/eix ..
Database contains 13222 packages in 150 categories.
Comment 3 Emil Beinroth 2008-09-27 18:48:33 UTC
Sorry, nothing to fix.
The default method of obaining ebuild-information is "fast" but somewhat sloppy. But there are other methods you may choose from.

I suggest you put OVERLAY_CACHE_METHOD="ebuild" or OVERLAY_CACHE_METHOD="ebuild*" into /etc/eixrc. This way update-eix might be much slower, but should be correct about the slot-information of those ebuilds.

You might want to read the eix manpage wrt to OVERLAY_CACHE_METHOD.
Comment 4 Martin Väth 2008-09-28 15:33:08 UTC
*** Bug 238885 has been marked as a duplicate of this bug. ***
Comment 5 Martin Väth 2008-09-28 15:56:42 UTC
The method parse|ebuild* is not so sloppy. It is just unclear whether an
empty SLOT would be admissible data (the portage manpage is not so clear
about it).
In current eix trunk (>=0.14.0), I changed that an empty SLOT is considered
illegal and leads to executing the corresponding ebuild more carefully.

The downside is that this _might_ take considerably longer, but in the
portage tree I observed no big difference.

I change the summary of the bug and leave it open so that people observing
a tremendous increase of time now can report here - in this case, I will
perhaps add some option to choose between both approaches.
Comment 6 R Bar-On 2008-09-28 16:00:54 UTC
When will eix-0.14.0 be in portage?
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-09-28 21:34:41 UTC
(In reply to comment #6)
> When will eix-0.14.0 be in portage?

You can temporarily use app-portage/eix-9999 which is available in Eaedificāta Repository:
http://www.ffta.host.sk/Eaedificata/index.html
Comment 8 Martin Väth 2008-10-13 07:55:08 UTC
Closing since eix-0.14.0 (and even 0.14.1) are in the tree.
Feel free to reopen or to post a comment if you have an overlay for which the new
approach costs much more time than before.