Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 2444

Summary: emerge fails with --emptytree and --onlydeps given at the same time
Product: Portage Development Reporter: Cédric Paquot <cedric.paquot>
Component: UnclassifiedAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: normal CC: cedric.paquot
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cédric Paquot 2002-05-04 12:35:28 UTC
emerge fails when the options --emptytree and --onlydeps are given at the same  
time.  I have tried with mplayer, vim, komba2, kde and python and it has  
failed but not with the ebuild portage, so I don't know if it is a bug in 
those ebuilds or in emerge. I'm using portage 1.9.6-r1.  
  
Here is the output for "emerge -po python --emptytree":  
 
These are the packages that I would merge, in order. 
 
Calculating dependencies |Traceback (most recent call last): 
  File "/usr/bin/emerge", line 1220, in ? 
    if not mydepgraph.create(mytype+" "+portage.root+" 
"+mykey,None,"--onlydeps" not in myopts): 
  File "/usr/bin/emerge", line 454, in create 
    self.digraph.addnode(mynew,mybigkey) 
  File "/usr/lib/python2.2/site-packages/portage.py", line 199, in addnode 
    self.dict[myparent][0]=self.dict[myparent][0]+1 
KeyError: ebuild / dev-lang/python-2.2-r7
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-06-18 22:53:10 UTC
Will be fixed in Portage 2.0.2