Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91286 - gentoolkit-0.2.1_pre2 equery replaces etcat
Summary: gentoolkit-0.2.1_pre2 equery replaces etcat
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-05-03 03:23 UTC by Hanno Zysik (geki)
Modified: 2006-01-17 19:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
exact packagename and sorted matches (equery-exact-packagename-and-sorting.patch,551 bytes, patch)
2005-05-03 05:54 UTC, Hanno Zysik (geki)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Zysik (geki) 2005-05-03 03:23:18 UTC
Updated gentoolkit to 0.2.1_pre2. The tool etcat is now deprecated and equery misses old looks of etcat. It does, as well, not look for specific package name. It just takes the argument as substring of package string.

Reproducible: Always
Steps to Reproduce:
1. equery list -p -o gcc
2. /usr/share/doc/gentoolkit-0.2.1_pre2/deprecated/etcat/etcat -v gcc
3.

Actual Results:  
anomalie portage # equery list -p -o gcc
[ Searching for package 'gcc' in all categories among: ]
 * installed packages
[I--] [  ] sys-devel/gcc-3.4.3.20050110-r2 (3.4)
[I--] [M ] sys-devel/gcc-4.0.0.20050423 (4.0)
[I--] [  ] sys-devel/gcc-config-1.3.10-r2 (0)
 * Portage tree (/usr/portage)
[-P-] [ ~] sys-devel/gcc-3.3.5.20050130-r2 (3.3)
[-P-] [ ~] sys-devel/gcc-3.4.3-r1 (3.4)
[-P-] [M ] sys-devel/gcc-3.3.2-r5 (3.3)
[-P-] [M-] sys-devel/gcc-4.0.0 (4.0)
[-P-] [M ] sys-devel/gcc-3.3.2-r7 (3.3)
[-P-] [M-] sys-devel/gcc-4.0.0_beta20050416 (4.0)
[-P-] [M-] sys-devel/gcc-3.3.2 (3.3)
[-P-] [  ] sys-devel/gcc-3.3.5-r1 (3.3)
[-P-] [M ] sys-devel/gcc-3.1.1-r2 (3.1)
[-P-] [  ] sys-devel/gcc-3.3.5.20050130-r1 (3.3)
[-P-] [ ~] sys-devel/gcc-3.4.1-r3 (3.4)
[-P-] [ ~] sys-devel/gcc-3.4.3.20050110-r1 (3.4)
[-P-] [M ] sys-devel/gcc-3.2.3-r4 (3.2)
[-P-] [ ~] sys-devel/gcc-3.3.5.20050130 (3.3)
[-P-] [M ] sys-devel/gcc-2.95.3-r8 (2.95)
[-P-] [M-] sys-devel/gcc-apple-1762 (0)
[-P-] [  ] sys-devel/gcc-compat-1.4 (0)
[-P-] [  ] sys-devel/gcc-config-1.3.10-r1 (0)
[-P-] [  ] sys-devel/gcc-config-1.3.8-r4 (0)
[-P-] [M~] sys-devel/gcc-config-1.4.0 (0)
[-P-] [M-] sys-devel/gcc-hppa64-3.3.2-r1 (0)
[-P-] [M-] sys-devel/gcc-hppa64-3.4.0 (0)
[-P-] [M-] sys-devel/gcc-hppa64-3.3.2 (0)
[-P-] [M ] sys-devel/gcc-mips64-3.3.4 (0)
[-P-] [M ] sys-devel/gcc-mips64-3.4.3-r1 (0)
[-P-] [M ] sys-devel/gcc-sparc64-3.3.4 (0)
[-P-] [M ] sys-devel/gcc-sparc64-3.3.5 (0)
[-P-] [M ] sys-devel/gcc-sparc64-3.4.3 (0)
 * overlay tree (/usr/local/portage)
[--O] [M ] sys-devel/gcc-4.0.0.20050423 (4.0)
anomalie portage # /usr/share/doc/gentoolkit-0.2.1_pre2/deprecated/etcat/etcat
-v gcc
[ Results for search key	   : gcc ]
[ Candidate applications found : 17 ]

 Only printing found installed programs.

*  sys-devel/gcc :
        [M  ] 2.95.3-r8 (2.95)
        [M  ] 3.1.1-r2 (3.1)
        [M  ] 3.2.3-r4 (3.2)
        [M  ] 3.3.2 (3.3)
        [M  ] 3.3.2-r5 (3.3)
        [M  ] 3.3.2-r7 (3.3)
        [   ] 3.3.5-r1 (3.3)
        [ ~ ] 3.3.5.20050130 (3.3)
        [   ] 3.3.5.20050130-r1 (3.3)
        [ ~ ] 3.3.5.20050130-r2 (3.3)
        [ ~ ] 3.4.1-r3 (3.4)
        [ ~ ] 3.4.3-r1 (3.4)
        [ ~ ] 3.4.3.20050110-r1 (3.4)
        [  I] 3.4.3.20050110-r2 (3.4)
        [M  ] 4.0.0_beta20050416 (4.0)
        [M  ] 4.0.0 (4.0)
        [M I] 4.0.0.20050423 (4.0) OVERLAY

Expected Results:  
That 'equery list -p -o argument' shows output as old 'etcat -v argument'.
Thanks! Let's see if I can do patch it.
Comment 1 Hanno Zysik (geki) 2005-05-03 05:54:40 UTC
Created attachment 57916 [details, diff]
exact packagename and sorted matches

somehow, package names like gcc-blah show up but looking for gcc. same for
glib-perl and glib.
output was unsorted as well.
Comment 2 Chris Smith 2005-05-07 08:45:00 UTC
Etcat should be "un-deprecated" until equery problems are fixed.
Bug#: 69456 is another equery problem.
Comment 3 Hanno Zysik (geki) 2005-05-07 09:38:51 UTC
at least for this bug i attached a patch.
i will have a look for the other one.
Comment 4 Paul Varner (RETIRED) gentoo-dev 2005-10-12 23:26:58 UTC
This will be fixed in gentoolkit-0.2.1
Comment 5 Paul Varner (RETIRED) gentoo-dev 2005-10-13 15:08:05 UTC
Fix is in subversion.
Comment 6 Paul Varner (RETIRED) gentoo-dev 2006-01-17 19:15:20 UTC
Fixed in gentoolkit-0.2.1