Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 145294

Summary: emerge gdb-6.5-r2 fails with ioerror
Product: Gentoo Linux Reporter: Ramana Kumar <ramana.kumar>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ramana Kumar 2006-08-27 15:52:17 UTC
I'm not sure what the problem is. It might be a portage problem... but other packages merge ok.

>>> Emerging (1 of 1) sys-devel/gdb-6.5-r2 to /
 * gdb-6.5-patches-1.0.tar.bz2 MD5 ;-) ...                                                                                                                                  [ ok ]
 * gdb-6.5-patches-1.0.tar.bz2 RMD160 ;-) ...                                                                                                                               [ ok ]
 * gdb-6.5-patches-1.0.tar.bz2 SHA1 ;-) ...                                                                                                                                 [ ok ]
 * gdb-6.5-patches-1.0.tar.bz2 SHA256 ;-) ...                                                                                                                               [ ok ]
 * gdb-6.5-patches-1.0.tar.bz2 size ;-) ...                                                                                                                                 [ ok ]
Traceback (most recent call last):
  File "/usr/bin/emerge", line 4045, in ?
    emerge_main()
  File "/usr/bin/emerge", line 4040, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 3580, in action_build
    mergetask.merge(pkglist, favorites, mtimedb)
  File "/usr/bin/emerge", line 2044, in merge
    prev_mtimes=ldpath_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 2895, in doebuild
    if need_distfiles and not fetch(
  File "/usr/lib/portage/pym/portage.py", line 2098, in fetch
    verified_ok, reason = portage_checksum.verify_all(
  File "/usr/lib/portage/pym/portage_checksum.py", line 104, in verify_all
    myhash = perform_checksum(filename, x, calc_prelink=calc_prelink)[0]
  File "/usr/lib/portage/pym/portage_checksum.py", line 144, in perform_checksum
    myhash, mysize = hashfunc_map[hashname](myfilename)
  File "/usr/lib/portage/pym/portage_checksum.py", line 35, in md5hash
    return pyhash(filename, md5)
  File "/usr/lib/portage/pym/portage_checksum.py", line 123, in pyhash
    data = f.read(blocksize)
IOError: [Errno 5] Input/output error
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-27 23:49:15 UTC
Your filesystem is messed up or your HD is broken. Run badblocks, e2fsck etc.