Whenever I attempt to emerge any packages (in this example, I attempted to emerge portage - I've cut right after "caching service dependencies"), Portage always tries to auto-clean m4. It fails with a TypeError, as shown in the attachment. Re-emerging m4 does not help. Reproducible: Always Steps to Reproduce: 1. Do a 'sudo emerge portage' (or, for that matter, any other package.) 2. Wait for package to complete merging. 3. Failure occurs now. Actual Results: The package emerges successfully, however the autoclean fails. Expected Results: The autoclean should not error out. Traceback attached. wiseguy586@bluefire wiseguy586 $ python -V Python 2.3.3 wiseguy586@bluefire wiseguy586 $ sudo emerge info Portage 2.0.50-r8 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r2,2.3.2-r1, 2.4.18-xfs) ================================================================= System uname: 2.4.18-xfs i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.3.11 distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups directfb encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby scanner sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Created attachment 32988 [details] Error log as referred to in bug.
Please apply a debug patch and post the output from another run. Here's how to get it: (copy and paste will do it) wget http://gentoo.twobit.net/portage/portage.py-spawn_tb.diff patch /usr/lib/portage/pym/portage.py < portage.py-spawn_tb.diff
[cut cut] File "/usr/lib/portage/pym/portage.py", line 1566, in spawn raise str(e)+":\n",mycommand,myargs TypeError: raise: arg 3 must be a traceback or None !!! FAILED prerm: 1 [cut cut] Not quite the results you were expecting, methinks. Meta-patch?
This is fixed in cvs.
I just updated to the new 2.0.50-r9, and this problem still exists for me. Was that not my bug? joshua wiseguy586@bluefire mms_client-0.0.3 $ emerge info Portage 2.0.50-r9 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r2,2.3.2-r1, 2.4.18-xfs) ================================================================= System uname: 2.4.18-xfs i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.16 distcc 2.9 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 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups directfb encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby scanner sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Bug has been fixed and released in stable portages on or before 2.0.51-r2