Summary: | app-portage/eix-0.10.0 "eix sys-devel/gcc" output is wrong. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Samuli Suominen (RETIRED) <ssuominen> |
Component: | Current packages | Assignee: | Stefan Schweizer (RETIRED) <genstef> |
Status: | RESOLVED CANTFIX | ||
Severity: | minor | CC: | floppym, martin |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Samuli Suominen (RETIRED)
![]() (In reply to comment #0) > (`echo 3.1.1 | cut -d. -f1,2`) [P]3.1.1-r2 > ((get_version_component_range 1-2)) [P]3.2.3-r4 3.4.1-r3 > > Cosmetics, but.. ;-) It is not cosmetics, since commands as the above would have to be executed which is not done by cache method "none" (it costs much more time than a heuristic scanning and, moreover, it might be a security issue). Use cache method "ebuild" or at least "ebuild*" if you want this. This is a dupe of e.g. bug 160641 or bug 188360. (In reply to comment #1) > (In reply to comment #0) > > (`echo 3.1.1 | cut -d. -f1,2`) [P]3.1.1-r2 > > ((get_version_component_range 1-2)) [P]3.2.3-r4 3.4.1-r3 > > > > Cosmetics, but.. ;-) > > It is not cosmetics, since commands as the above would have to be executed > which is not done by cache method "none" (it costs much more time than a > heuristic scanning and, moreover, it might be a security issue). Use cache > method "ebuild" or at least "ebuild*" if you want this. > > This is a dupe of e.g. bug 160641 or bug 188360. > Those bugs are closed while problem is still present with 'none' so hiding the problem won't solve anything. Methods ebuild or ebuild* are _unusable slow_, I gave up on updating cache after few hours and switched back to 'none'. So we still need a usable option to use eix with cvs tree as repository. The bugs are marked as "can't fix". It simply is not possible: Either you use a fast heuristic or you use all shell commands, i.e. you use the shell (that's essentially the difference between methods "none" and "ebuild"). Of course, any heuristic will fail in several cases. *** Bug 478016 has been marked as a duplicate of this bug. *** |