Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36097 - gentoolkit: etcat incompatible with portage-2.0.50_pre1
Summary: gentoolkit: etcat incompatible with portage-2.0.50_pre1
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-18 20:01 UTC by Georgi Georgiev
Modified: 2004-01-08 18:25 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 Georgi Georgiev 2003-12-18 20:01:27 UTC
running etcat -v development-sources (for example) on a system that has portage-2.0.50_pre1 gives the following error:

$ etcat -v development-sources
[ Results for search key : development-sources ]
[ Applications found : 2 ]

*  sys-kernel/ppc-development-sources :
Traceback (most recent call last):
  File "/usr/bin/etcat", line 1105, in ?
    main()
  File "/usr/bin/etcat", line 1101, in main
    function(query)
  File "/usr/bin/etcat", line 547, in versions
    if portage.dblink(cat,pkg,"/").exists():
TypeError: __init__() takes exactly 5 arguments (4 given)

Fixing the line in question (line #547 of /usr/bin/etcat) to include an extra empty parameter, so that the call becomes portage.dblink(cat,pkg,"/","").exists(), fixes the issue. I have no idea if it is backwards compatible with ~portage-2.0.49.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-12-20 13:50:14 UTC
Already known. There is a reason it's masked in package.mask.
Gentoolkit updates are in progress.
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2003-12-22 17:45:14 UTC
Still working on this. Not quite dead yet, and all that..
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-01-08 18:25:47 UTC
use gentoolkit-0.2.0_pre2