Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7442 - emerge --onlydeps fails (portage 2.0.34, 2.0.35, probably earlier)
Summary: emerge --onlydeps fails (portage 2.0.34, 2.0.35, probably earlier)
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-04 00:28 UTC by Mark Moss
Modified: 2011-10-30 22:18 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 Mark Moss 2002-09-04 00:28:09 UTC
I receive the following error when I try to use the -o/--onlydeps option with
ebuild.  The error appears to occur for all ebuild, not just the kdebase as
shown below.  This error occurs at least with portage-2.0.34 and -2.0.35; I have
not tried to reproduce this error with any earlier versions of portage.  It does
not seem to matter whether the short form or the long form of the -o/--onlydeps
flag is used.

> emerge -o kdebase

Calculating dependencies |Traceback (most recent call last):
  File "/usr/bin/emerge", line 1380, in ?
    retval,favorites=mydepgraph.select_files(myfiles)
  File "/usr/bin/emerge", line 695, in select_files
    if not self.select_dep(portage.root,mykey,arg=x):
  File "/usr/bin/emerge", line 749, in select_dep
    self.create(myk,myparent,"--onlydeps" not in myopts)
  File "/usr/bin/emerge", line 662, in create
    if self.select_dep("/",edepend[0]+" "+edepend[1],myparent=mp):
  File "/usr/bin/emerge", line 745, in select_dep
    self.create(myk,myparent)
  File "/usr/bin/emerge", line 624, in create
    self.digraph.addnode(string.join(mybigkey),myparent)
  File "/usr/lib/python2.2/site-packages/portage.py", line 193, in addnode
    self.dict[myparent][0]=self.dict[myparent][0]+1
KeyError: ebuild / kde-base/kdebase-3.0.3
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-09-04 11:36:13 UTC
Will be fixed in 2.0.36; thanks :)