Hi, after an emerge sync ; emerge -U system ; emerge -U world I got a long bug from emerge. I looked in /var/cache/edb/world and I can't find a mistake there. And the bug is: emerge -U world >>> --upgradeonly implies --update... adding --update to options. Calculating world dependencies -Traceback (most recent call last): File "/usr/bin/emerge", line 2517, in ? if not mydepgraph.xcreate(myaction): File "/usr/bin/emerge", line 1115, in xcreate cand=self.is_newer_ver_installed(portage.root,mydep,myeb) File "/usr/bin/emerge", line 917, in is_newer_ver_installed cand=portage.portdb.xmatch("bestmatch-list",pkg,mylist=alleb) File "/usr/lib/portage/pym/portage.py", line 4694, in xmatch myval=best(match_from_list(mydep,mylist)) File "/usr/lib/portage/pym/portage.py", line 3469, in best if pkgcmp(p1,p2)>0: File "/usr/lib/portage/pym/portage.py", line 2833, in pkgcmp mycmp=vercmp(pkg1[1],pkg2[1]) File "/usr/lib/portage/pym/portage.py", line 2819, in vercmp cmp2=relparse(val2[x]) File "/usr/lib/portage/pym/portage.py", line 2507, in relparse number=string.atof(mynewver[0]) File "/usr/lib/python2.3/string.py", line 205, in atof return _float(s) ValueError: invalid literal for float(): .0b Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge -U system 3. emerge -U world then broken. see discription of my bug. Actual Results: emerge -U world >>> --upgradeonly implies --update... adding --update to options. Calculating world dependencies -Traceback (most recent call last): File "/usr/bin/emerge", line 2517, in ? if not mydepgraph.xcreate(myaction): File "/usr/bin/emerge", line 1115, in xcreate cand=self.is_newer_ver_installed(portage.root,mydep,myeb) File "/usr/bin/emerge", line 917, in is_newer_ver_installed cand=portage.portdb.xmatch("bestmatch-list",pkg,mylist=alleb) File "/usr/lib/portage/pym/portage.py", line 4694, in xmatch myval=best(match_from_list(mydep,mylist)) File "/usr/lib/portage/pym/portage.py", line 3469, in best if pkgcmp(p1,p2)>0: File "/usr/lib/portage/pym/portage.py", line 2833, in pkgcmp mycmp=vercmp(pkg1[1],pkg2[1]) File "/usr/lib/portage/pym/portage.py", line 2819, in vercmp cmp2=relparse(val2[x]) File "/usr/lib/portage/pym/portage.py", line 2507, in relparse number=string.atof(mynewver[0]) File "/usr/lib/python2.3/string.py", line 205, in atof return _float(s) ValueError: invalid literal for float(): .0b emerge --info: Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25) ================================================================= System uname: 2.4.25 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.3.13 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -fomit-frame-pointer -fprefetch-loop-arrays -falign-functions=4 -march=athlon-xp -funroll-loops -ffast-math -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref:/usr/X11R6/lib/X11/xkb:/usr/kde/3.2/share/config:/usr/share/texmf/tex/generic/config/ /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/:/usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/gconf:/etc/terminfo /etc/env.d" CXXFLAGS="-O3 -fomit-frame-pointer -fprefetch-loop-arrays -falign-functions=4 -march=athlon-xp -funroll-loops -ffast-math -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa altivec apache2 apm arts avi berkdb cdr crypt cups curl dga doc dvd encode esd flash foomaticdb freetds fuseusermount gd gd-external gdbm gif gimpprint gnome gpm gtk gtk2 gtkhtml imap imlib innodb java jpeg kde libg++ libwww linguas_de lufsusermount mad mikmod mmx mng mod_php motif mozilla mpeg mysql ncurses nls nptl oci8 oggvorbis opengl oss pam pdflib perl php png postgres ppds python qt qtmt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb wmf x86 xml xml2 xmms xv zlib"
emerge sync today (15.04.2003) fixed this problem. maybe broken portagetree.