Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11366 - OverflowError in emerge script
Summary: OverflowError in emerge script
Status: RESOLVED DUPLICATE of bug 11333
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-29 10:55 UTC by Petr Chyba
Modified: 2011-10-30 22:21 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 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 ***