Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26931 - Portage 2.0.49_pre18 runtime errors
Summary: Portage 2.0.49_pre18 runtime errors
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High critical
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-19 08:58 UTC by Jonathan Hitchcock
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 Jonathan Hitchcock 2003-08-19 08:58:12 UTC
I just emerged the latest portage (2.0.49_pre18), and, on unmergeing the old
one, it did the following:

--- !targe sym /usr/bin/g-cpan.pl
--- !targe sym /usr/bin/emerge
>>> Regenerating /etc/ld.so.cache...
Calculating world dependencies ...done!
>>> emerge (1 of 12) dev-libs/libxml2-2.5.10 to /
Traceback (most recent call last):
  File "/usr/lib/portage/bin/emerge", line 2065, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/lib/portage/bin/emerge", line 1289, in merge
    retval=portage.doebuild(y,"merge",myroot,edebug)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1735, in doebuild
    if not fetch(fetchme, listonly, fetchonly):
  File "/usr/lib/python2.2/site-packages/portage.py", line 1160, in fetch
    shuffle(thirdpartymirrors[mirrorname])
  File "/usr/lib/python2.2/random.py", line 374, in shuffle
    x[i], x[j] = x[j], x[i]
IndexError: list index out of range

I tried to carry on anyway:

# emerge -uvD world
Calculating world dependencies ...done!
>>> emerge (1 of 12) dev-libs/libxml2-2.5.10 to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2065, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1289, in merge
    retval=portage.doebuild(y,"merge",myroot,edebug)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1735, in doebuild
    if not fetch(fetchme, listonly, fetchonly):
  File "/usr/lib/python2.2/site-packages/portage.py", line 1160, in fetch
    shuffle(thirdpartymirrors[mirrorname])
  File "/usr/lib/python2.2/random.py", line 373, in shuffle
    j = int(random() * (i+1))
OverflowError: float too large to convert

Any repeated attempts give me the same error (at least it's consistent ;-)

This is not Happy (tm).  And it's going to be interesting trying to downgrade
back to the old working portage...

'emerge info' still works:

# emerge info
Portage 2.0.49_pre18 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
GENTOO_MIRRORS="http://zazu.ru.ac.za http://zion.ru.ac.za
http://ethereal.debeers.ru.ac.za ftp://ftp.is.co.za/linux/distributions/gentoo
ftp://trumpetti.atm.tut.fi/gentoo/ ftp://gentoo.linux.no/pub/gentoo/
ftp://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb
/usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/init.d /etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv
zlib directfb alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga
ggi tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib
oggvorbis gnome gtk qt kde motif opengl mozilla acl amd flash gd gtk2 i8x0 ipv6
moznocompose moznoirc moznomail pic samba usagi vim-with-x wmf xosd -snmp"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.rucus.ru.ac.za/gentoo-portage"
FEATURES="sandbox ccache fixpackages"
Comment 1 Jonathan Hitchcock 2003-08-19 09:04:36 UTC
Um, the new portage works fine on my other machine.  (Which is handy, because it means I could --buildpkg on that machine, and --usepkgonly on the b0rked one, which worked.)

# emerge info
Portage 2.0.49_pre18 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://nihil.ict.ru.ac.za http://zazu.ru.ac.za http://zion.ru.ac.za ftp://ftp.is.co.za/linux/distributions/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ ftp://gentoo.linux.no/pub/gentoo/ ftp://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ libwww mad mikmod mmx motif mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline aalib nas svga tcltk java guile X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gtk opengl mozilla amd flash gd gtk2 imap ipv6 moznocompose moznoirc moznomail pic samba usagi wmf xosd -3dnow -arts -kde -qt"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.rucus.ru.ac.za/gentoo-portage"
FEATURES="sandbox ccache fixpackages userpriv"

Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-08-19 11:40:38 UTC
You need to remerge glibc and python.
You're using a P4 with GCC's broken floating point.
P4's using SSE2 end up with invalid SSE2 code for floating point.
Comment 3 Jonathan Hitchcock 2003-08-19 11:52:24 UTC
This was pointed out to me, I've just finished remerging them, and I am suitably embarrassed.
Sorry, thanks!
Comment 4 Masatomo Nakano (RETIRED) gentoo-dev 2003-08-20 13:58:09 UTC
close