Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65874 - etcat -u fails
Summary: etcat -u fails
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-29 22:34 UTC by Glenn McCarthy
Modified: 2004-10-11 13:37 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 Glenn McCarthy 2004-09-29 22:34:50 UTC
etcat -u fails with the message..

Traceback (most recent call last):
  File "/usr/bin/etcat", line 675, in ?
    main()
  File "/usr/bin/etcat", line 671, in main
    function(query, matches)
  File "/usr/bin/etcat", line 362, in uses
    used = p.get_use_vars().split()
AttributeError: Package instance has no attribute 'get_use_vars'


In /usr/bin/etcat line 362:
used = p.get_use_vars().split()

should be changed to; 
used = p.get_use_flags().split()

This is present in gentoolkit-0.2.0_pre9, and also gentoolkit-0.2.0_pre8

I have not checked other versions yet.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-10-10 15:53:24 UTC
qpkg and etcat are deprecated, please use equery instead.
Comment 2 Daniel Webert 2004-10-11 13:37:22 UTC
have a look at:
equery uses --help

example:
equery uses mplayer