Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90168 - portage 2.0.51.20-r1 emerge --info gives traceback
Summary: portage 2.0.51.20-r1 emerge --info gives traceback
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-04-23 14:01 UTC by Graham Murray
Modified: 2005-04-24 01:38 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 Graham Murray 2005-04-23 14:01:40 UTC
Running 'emerge --info' from portage 2.0.51.20-r1 generates a python traceback

Reproducible: Always
Steps to Reproduce:

Actual Results:  
Gentoo Base System version 1.4.16
Portage 2.0.51.20 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0,
2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Pentium III (Coppermine)
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2750, in ?
    pkgs = ", ".join(sorted_versions(pkgs))
  File "/usr/bin/emerge", line 124, in sorted_versions
    if portage.vercmp(ret[x], ver) >= 0:
  File "/usr/lib/portage/pym/portage.py", line 3241, in vercmp
    cmp1=relparse(val1[x])
  File "/usr/lib/portage/pym/portage.py", line 2904, in relparse
    number=string.atof(myver)  
  File "/usr/lib/python2.3/string.py", line 205, in atof
    return _float(s)
ValueError: invalid literal for float(): r1
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-04-23 14:18:02 UTC
Can
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-04-23 14:18:02 UTC
Can´t see -r1 in portage any more. Does -r2 produce the same error?
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-04-23 19:46:05 UTC
What versions of binutils do you have installed?

emerge -Cp binutils
Comment 4 Graham Murray 2005-04-24 00:50:54 UTC
I had binutils 2.15.92.0.2-r1 and 2.15.92.0.2-r7 installed as I had the multislot USE variable set (as when I set it for binutils it was new and I did not fully understand what it did). I have removed the multislot USE variable and re-emerged binutils and now only have 2.15.92.0.2-r7 installed and emerge --info works as expected.
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2005-04-24 01:38:19 UTC
Okay. That was enough information to fix the bug though. Thanks.