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.
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.
Etcat should be "un-deprecated" until equery problems are fixed. Bug#: 69456 is another equery problem.
at least for this bug i attached a patch. i will have a look for the other one.
This will be fixed in gentoolkit-0.2.1
Fix is in subversion.
Fixed in gentoolkit-0.2.1