Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53441 - portage: auto-clean errors on m4
Summary: portage: auto-clean errors on m4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-06-09 11:31 UTC by Joshua Wise
Modified: 2004-10-22 08:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Error log as referred to in bug. (error.log,1.50 KB, text/plain)
2004-06-09 11:33 UTC, Joshua Wise
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Wise 2004-06-09 11:31:47 UTC
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"
Comment 1 Joshua Wise 2004-06-09 11:33:39 UTC
Created attachment 32988 [details]
Error log as referred to in bug.
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2004-06-09 16:29:18 UTC
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
Comment 3 Joshua Wise 2004-06-09 17:23:34 UTC
[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?
Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2004-06-21 03:34:36 UTC
This is fixed in cvs.
Comment 5 Joshua Wise 2004-08-01 20:09:36 UTC
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"
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2004-10-22 08:47:47 UTC
Bug has been fixed and released in stable portages on or before 2.0.51-r2