Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41300 - etcat (gentoolkit 0.2.0_pre6) doesn't work with portage-2.0.50-r1
Summary: etcat (gentoolkit 0.2.0_pre6) doesn't work with portage-2.0.50-r1
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
: 41301 42354 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-11 15:16 UTC by Federico Gherardini
Modified: 2004-03-13 03:02 UTC (History)
2 users (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 Federico Gherardini 2004-02-11 15:16:42 UTC
etcat -u only works with installed packages. You don't get any output when you do etcat -u with any package that is not already installed on your system. When you use it with a package already installed it only gives infos about that particular package and doesn't say anything about others packages that contain the string you have entere in their names. For example etcat -u kde only gives info about kde-base. Before of this problem you could get infos about all the kde related stuff.


Reproducible: Always
Steps to Reproduce:
1.etcat -u <any non installed package>


Actual Results:  
You don't get any info

Expected Results:  
Give info about the USE flags used by that package

gentoolkit-0.2.0_pre6, portage-2.0.50-r1, gcc-3.3.2, python-2.3.3, glibc-2.3.2-r9
Comment 1 SpanKY gentoo-dev 2004-02-11 18:45:59 UTC
*** Bug 41301 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2004-02-11 18:46:30 UTC
either provide a patch or use equery
Comment 3 Federico Gherardini 2004-02-12 03:49:31 UTC
I've tried with equery without any luck. It has exactly the same behaviour of etcat. I can't provide a patch because I don't know which is the cause of this problem and I don't know python.
Comment 4 Federico Gherardini 2004-02-12 04:05:22 UTC
I think it should be reopened because equery gives exactly the same problem...
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2004-02-16 05:39:05 UTC
hmm, should it report the flags for all versions of a package or only the current, e.g. should `equery uses kdemutlimedia` only report the flags for 3.2.0 or also for older versions?
Comment 6 ic+gentoo 2004-02-16 05:48:46 UTC
etcat depends doesn't work either, I've searched a little in the python code and here is what I found it does:
etcat depends 'sed' (for example)

1. take all packages that matches 'sed'
2. for each package in the list that is installed searches the RDEPEND packages
3. if the depend packages 'matches' the 'sed' package then they are listed

So this is very wrong. I don't have any idea on how to fix this, I don't know if  it ever worked since I installed gentoo a week ago.
Comment 7 Marius Mauch (RETIRED) gentoo-dev 2004-02-16 06:12:18 UTC
equery fixed in CVS
Comment 8 Federico Gherardini 2004-02-17 16:32:56 UTC
Thanx Genone you are always very kind ;-)
Comment 9 Marius Mauch (RETIRED) gentoo-dev 2004-02-22 14:28:45 UTC
*** Bug 42354 has been marked as a duplicate of this bug. ***
Comment 10 Marius Mauch (RETIRED) gentoo-dev 2004-03-13 03:02:42 UTC
the USE flag stuff is fixed in 0.2.0_pre7, the depend stuff is another bug