Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66006 - Portage: "emerge -pev world" breaks
Summary: Portage: "emerge -pev world" breaks
Status: VERIFIED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-01 03:30 UTC by Ramin
Modified: 2004-10-11 01:18 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 Ramin 2004-10-01 03:30:13 UTC
when I enter:
emerge -pev world
or 
emerge -Dpev world
I get the expected rather long list of files, but it stops in the middle and gives my the output:
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2583, in ?
    mydepgraph.display(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1379, in display
    print "Total size of downloads: "+format_size(totalsize)
TypeError: cannot concatenate 'str' and 'long' objects

Reproducible: Always
Steps to Reproduce:
If my machien is up and running it is just one step

1.Enter: "emerge -pev world"


Actual Results:  
I get the expected rather long list of files, but it stops in the middle and 
gives my the output:
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2583, in ?
    mydepgraph.display(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1379, in display
    print "Total size of downloads: "+format_size(totalsize)
TypeError: cannot concatenate 'str' and 'long' objects

Expected Results:  
A "pretended" merge of all Software in my "world" file

Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.
8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse,387 -pipe -fomit-
frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown 
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/
share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/
generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/
env.d"
CXXFLAGS="-O3 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse,387 -pipe -fomit-
frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acpi afs alsa apache2 apm arts artswrappersuid audiofile avi 
berkdb bitmap-fonts bootsplash caps crypt cups dlloader dvd emacs encode esd f77 
fbcon fftw flac flash foomaticdb gdbm gif gimpprint gnome gphoto2 gpm gtk gtk2 
icq imagemagick imap imlib ipv6 jack java javascript jikes jpeg jpeg2k kde 
kerberos krb4 krb5 ldap libg++ libwww linguas_de linguas_en mad maildir 
mailwrapper mbox mikmod mmx motif mozcalendar mozilla mpeg mule mysql nas 
ncurses nls nojoystick oggvorbis opengl oss pam pdflib perl phyton plotutils png 
postgres povray python qppds qt quicktime readline ruby samba sasl scanner sdl 
silverxp slang speex spell sse ssl svga tcltk tcpd tetex theora tiff truetype 
unicode usb vhosts video_cards_sis videos wmf wxwindows x86 xine xinerama xml 
xml2 xmms xprint xscreensaver xv zeo zlib"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-10-09 16:27:52 UTC
CFLAGS="-O3 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse,387 -pipe -fomit-
frame-pointer"

Use basic flags, rebuild gcc, glibc, and then python.
Comment 2 Ramin 2004-10-11 01:18:43 UTC
I recompiled glibc with and
CFLAGS="-O2 -march=pentium4"
CXXFLAGS="-O2 -march=pentium4"

and now it works

thanks I really thought it was a portage bug

   Ramin