Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19741 - Emerge crashes while trying to unmerge gentoo-sources
Summary: Emerge crashes while trying to unmerge gentoo-sources
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-21 21:36 UTC by Joshua J. Berry (CondorDes) (RETIRED)
Modified: 2011-10-30 22:21 UTC (History)
1 user (show)

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 Joshua J. Berry (CondorDes) (RETIRED) gentoo-dev 2003-04-21 21:36:17 UTC
Attempting to unmerge gentoo-sources-2.4.20-r3 causes emerge to die with a
Python IOError.

Things on my system are prelinked, although it's been a while since I've run the
command to make sure everything is prelinked properly/up-to-date.  (I just did
an 'emerge -u' today, but it's been well over a month since my last prelinking.)

Here's the output from my "emerge info":

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20 i686 AMD Duron(tm) Processor
GENTOO_MIRRORS=" ftp://mirror.iawnet.sandia.gov/pub/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /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/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/export/tmp/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 -3dfx 3dnow aalib -acl acpi -afs alsa -apache2 -apm arts -atlas avi
berkdb -bonobo -canna -cdr -cjk crypt cups dga directfb -doc -dvb dvd encode
-esd -ethereal -evo -ev6 -fbcon -flash -freewnn -gb gd gdbm -ggi gif -gnome
-gphoto2 -gpm -gps gtk gtk2 gtkhtml guile -icc -icc-pgo imap -imlib -innodb
-ipv6 java jikes jpeg -junit kde -kerberos lcms ldap leim libg++ -libgda libwww
-matrox maildir -mbox -mikmod mmx motif mozilla mpeg -mule -mysql -nas ncurses
-nls -nocardbus -oav -oci8 odbc oggvorbis opengl oss pam pcmcia pda pdflib perl
pic -plotutils png pnp postgres python qt quicktime readline -ruby samba -sasl
-scanner sdl slang -slp snmp -socks5 spell -sse ssl svga -tcltk tcpd tetex tiff
truetype -trusted usb -voodoo3 -wavelan wmf X xface xml xml2 xmms xv -zeo zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon -march=athlon -O3 -pipe -funroll-loops -falign-functions=4"
CXXFLAGS="-mcpu=athlon -march=athlon -O3 -pipe -funroll-loops -falign-functions=4"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox distcc ccache"


Reproducible: Always
Steps to Reproduce:
1. emerge gentoo-sources
2. emerge unmerge gentoo-sources
Actual Results:  
Here's the Python backtrace:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 1699, in ?
    if 1==unmerge(myaction, myfiles):
  File "/usr/bin/emerge", line 1374, in unmerge
    retval=portage.unmerge(mysplit[0],mysplit[1],portage.root)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1605, in unmerge
    mylink.unmerge()
  File "/usr/lib/python2.2/site-packages/portage.py", line 3687, in unmerge
    mymd5=perform_md5(obj, calc_prelink=1)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1593, in perform_md5
    return perform_checksum(x, calc_prelink)[0]
  File "/usr/lib/python2.2/site-packages/portage.py", line 98, in perform_checksum
    retval = fchksum.fmd5t(prelink_tmpfile)
IOError: [Errno 2] No such file or directory: '/tmp/portage-prelink.tmp'


Expected Results:  
Unmerged gentoo-sources properly...

To work around this, I deleted /usr/src/linux-2.4.20-gentoo-r3, and unmerged
gentoo-sources.  It couldn't find any of the files to delete (obviously), but it
did unmerge successfully.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-04-28 02:54:45 UTC
I am not able to duplicate this. It looks to be the result of
a failed copy, but I can't verify this. 
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2003-09-30 12:16:39 UTC
still a problem ?
Comment 3 Joshua J. Berry (CondorDes) (RETIRED) gentoo-dev 2003-09-30 13:02:33 UTC
AFAIK, no.  I didn't even know this bug was still open...it was from a long
time ago.  Resolving as WORKSFORME, because, well, it does. ;)