Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215521 - Internal portage error while cleaning - len() of unsized object
Summary: Internal portage error while cleaning - len() of unsized object
Status: RESOLVED FIXED
Alias: None
Product: Community Relations
Classification: Unclassified
Component: Developer Relations (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Community Relations Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-31 05:46 UTC by bhanu
Modified: 2008-04-10 04:51 UTC (History)
0 users

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 bhanu 2008-03-31 05:46:10 UTC
+++ This bug was initially created as a clone of Bug #25410 +++

I was upgrading world and portage wanted to install PDL-2.4.0-r1. Then he wanted to 
unmerge the original version (2.4.0), and here's the tail of the output: 
 
... 
<<<        dir /usr/doc/PDL-2.4.0/html/PDL 
<<<        dir /usr/doc/PDL-2.4.0/html 
<<<        dir /usr/doc/PDL-2.4.0 
Traceback (most recent call last): 
  File "/usr/bin/emerge", line 1951, in ? 
    mydepgraph.merge(mydepgraph.altlist()) 
  File "/usr/bin/emerge", line 1248, in merge 
    if not unmerge("clean", [xsplit[0]]): 
  File "/usr/bin/emerge", line 1452, in unmerge 
    retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,unmerge_action not in 
["clean","prune"]) 
  File "/usr/lib/python2.2/site-packages/portage.py", line 1879, in unmerge 
    mylink.unmerge(trimworld=mytrimworld) 
  File "/usr/lib/python2.2/site-packages/portage.py", line 4238, in unmerge 
    if len(objld)>0: 
TypeError: len() of unsized object 
 
 
I could NOT reproduce this.