Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2444 - emerge fails with --emptytree and --onlydeps given at the same time
Summary: emerge fails with --emptytree and --onlydeps given at the same time
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-04 12:35 UTC by Cédric Paquot
Modified: 2011-10-30 22:21 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 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