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

Bug 11366

Summary: OverflowError in emerge script
Product: Portage Development Reporter: Petr Chyba <lami>
Component: UnclassifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Petr Chyba 2002-11-29 10:55:30 UTC
After finishing stage 2 (after emerge system) in fresh install, emerge crashes with:

OverflowError: float too large to convert

at several places in:

/usr/lib/python2.2/site-packages/portage.py

For example at line 3646 (i fixed one occuurence of this before, somewhere
around line 60-80). It's at command:

mytime=int(time.time())

Bug can be fixed with:

mytime=round(time.time())

It doesn't occurs with some parameters, but occurs with:

emerge [-p | -s] <pkgname>
Comment 1 Petr Chyba 2002-11-29 10:58:34 UTC
Oh I forgot, fresh install, fresh emerge sync (which works without crash)
Comment 2 SpanKY gentoo-dev 2002-11-29 11:57:17 UTC

*** This bug has been marked as a duplicate of 11333 ***