Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105433 - emerge fails with python traceback when emerging python-2.3.5-r2
Summary: emerge fails with python traceback when emerging python-2.3.5-r2
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-09 15:11 UTC by Kamaji
Modified: 2005-09-10 12:41 UTC (History)
0 users

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


Attachments
Complete failed emerge output for dev-lang/python-2.3.5-r2 (python-emerge-fail-traceback.txt,4.27 KB, text/plain)
2005-09-09 15:14 UTC, Kamaji
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kamaji 2005-09-09 15:11:27 UTC
When performing emerge --deep world today, the first package that it tried to
emerge was dev-lang/python-2.3.5-r2.

This failed partway through the verification of md5sums, immediately after
verifying:
     >>> md5 files   ;-) files/python-2.3-pcre.patch

I also emerged the package directly, with the same results.

Note that I have not performed this on any other systems than my office system.

Reproducible: Always
Steps to Reproduce:
1. Start with a gentoo install with profile 2005.1
2. verify there are no overrides in /etc/portage/package.keywords
3. emerge dev-lang/python

Actual Results:  
The traceback:
>>> md5 files   ;-) files/python-2.3-pcre.patch
Traceback (most recent call last):
  File "/usr/bin/emerge", line 3200, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1912, in merge
    retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug)
  File "/usr/lib/portage/pym/portage.py", line 2682, in doebuild
    if not digestcheck(checkme, mysettings, ("strict" in features)):
  File "/usr/lib/portage/pym/portage.py", line 2297, in digestcheck
    return digestCheckFiles(myfiles, mydigests, basedir, note="src_uri",
strict=strict)
  File "/usr/lib/portage/pym/portage.py", line 2206, in digestCheckFiles
    ok,reason = portage_checksum.verify_all(myfile,mydigests[x])
  File "/usr/lib/portage/pym/portage_checksum.py", line 61, in verify_all
    if mydict[x] != perform_md5(filename, calc_prelink=calc_prelink):
  File "/usr/lib/portage/pym/portage_checksum.py", line 25, in perform_md5
    return perform_checksum(x, md5hash, calc_prelink)[0]
  File "/usr/lib/portage/pym/portage_checksum.py", line 128, in perform_checksum
    myhash, mysize = hash_function(myfilename)
  File "/usr/lib/portage/pym/portage_checksum.py", line 75, in md5hash
    return fchksum.fmd5t(filename)
IOError: [Errno 5] Input/output error: '/usr/portage/distfiles/Python-2.3.5.tar.bz2'

Expected Results:  
Finish processing and compiling the ebuild successfully.


---------- emerge info ----------
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://gentoo.chem.wisc.edu/gentoo/
http://mirror.clarkson.edu/pub/distributions/gentoo/
ftp://gentoo.cites.uiuc.edu/pub/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X acpi aim alsa apm arts audiofile avi berkdb bitmap-fonts bmp bzip2
calendar cdparanoia cdr crypt cups curl curlwrappers directfb divx4linux doc dv
eds emboss encode esd exif fam fbcon ffmpeg flac foomaticdb fortran gd gdbm ggi
gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icc icq imagemagick imap
imlib ipv6 jabber java javascript joystick jpeg junit kde kdeenablefinal
kdexdeltas kerberos krb4 lcms ldap libcaca libg++ libwww lm_sensors mad matroska
mcal mikmod mmap mmx mng motif mozilla mp3 mpeg mpi msn mysql mysqli ncurses nis
nls odbc offensive ogg oggvorbis openal opengl osc oscar oss pam pcre pda pdflib
perl php png python qt quicktime readline samba sasl sdl session sharedmem slang
slp sndfile speex spell sse ssl svg symlink tcpd theora threads tiff truetype
truetype-fonts type1-fonts unicode usb v4l vcd videos vorbis win32codecs wmf
xine xinerama xml2 xmms xosd xpm xv xvid yahoo zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Kamaji 2005-09-09 15:14:54 UTC
Created attachment 68066 [details]
Complete failed emerge output for dev-lang/python-2.3.5-r2
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-09-09 18:59:13 UTC
Input/output error: '/usr/portage/distfiles/Python-2.3.5.tar.bz2' 
 
Looks like filesystem corruption or your disk is dying. Check dmesg to confirm 
nothing suspicious there. If not, try unpacking it with tar. 
Comment 3 Kamaji 2005-09-10 12:41:49 UTC
Confirmed.  It does appear to be a disk and/or filesystem corruption problem.

Dmesg:
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=78698032, sector=78698
027
ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 78698027
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=78698032, sector=78698
019
ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 78698019
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=78698032, sector=78698
027
ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 78698027
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=78698032, sector=78698
027
ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 78698027
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=78698032, sector=78698
027
ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 78698027