Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5464 - traceback when re-merging vmware-workstation
Summary: traceback when re-merging vmware-workstation
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-23 13:09 UTC by Maik Schreiber
Modified: 2011-10-30 22:19 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 Maik Schreiber 2002-07-23 13:09:19 UTC
When re-merging vmware-workstation with portage-2.0.17, I'm getting this traceback.

# emerge vmware-workstation
Calculating dependencies ...done!
>>> emerge app-emulation/vmware-workstation-3.1.1.1790 to /
>>> md5 ;-) VMware-workstation-3.1.1-1790.tar.gz
>>> Unpacking source...
>>> Unpacking VMware-workstation-3.1.1-1790.tar.gz
>>> Source unpacked.

>>> Install vmware-workstation-3.1.1.1790 into
/var/tmp/portage/vmware-workstation-3.1.1.1790/image/ category app-emulation
 * Adding answers to /etc/vmware/locations
>>> Completed installing into /var/tmp/portage/vmware-workstation-3.1.1.1790/image/

>>> Merging app-emulation/vmware-workstation-3.1.1.1790 to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1403, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 697, in merge
    retval=portage.doebuild(y,"merge",myroot,edebug)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1190, in doebuild
    return
merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"]+"/build-info",myroot,myebuild=settings["EBUILD"])
  File "/usr/lib/python2.2/site-packages/portage.py", line 1415, in merge
    mylink.merge(pkgloc,infloc,myroot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 3597, in merge
    self.treewalk(mergeroot,myroot,inforoot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 3292, in treewalk
    oldcontents=self.getcontents()
  File "/usr/lib/python2.2/site-packages/portage.py", line 2984, in getcontents
    mydat[1]=os.path.normpath(root+mydat[1][1:])
IndexError: list index out of range
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-07-24 01:18:05 UTC
This is due to a corrupt CONTENTS file, but I'll add exceptions to handle
corrupt files gracefully.
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-07-26 13:31:04 UTC
OK, will be fixed in Portage 2.0.19