Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148875 - emerge --metadata fails
Summary: emerge --metadata fails
Status: RESOLVED CANTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-23 18:08 UTC by Hans Halvorson
Modified: 2006-09-23 18:15 UTC (History)
0 users

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 Hans Halvorson 2006-09-23 18:08:13 UTC
phi-hhalvors ~ # emerge --metadata

>>> Updating Portage cache:   58%Traceback (most recent call last):
  File "/usr/bin/emerge", line 4049, in ?
    emerge_main()
  File "/usr/bin/emerge", line 4008, in emerge_main
    action_metadata(settings, portdb, myopts)
  File "/usr/bin/emerge", line 3019, in action_metadata
    eclass_cache=ec, verbose_instance=noise_maker)
  File "/usr/lib/portage/pym/cache/util.py", line 45, in mirror_cache
    inherited = entry.get("INHERITED", None)
  File "/usr/lib/python2.4/UserDict.py", line 158, in get
    return self[key]
  File "/usr/lib/portage/pym/cache/mappings.py", line 32, in __getitem__
    return self.orig[key]
  File "/usr/lib/portage/pym/cache/mappings.py", line 77, in __getitem__
    self.d.update(self.pull())
  File "/usr/lib/portage/pym/cache/flat_hash.py", line 29, in callit
    return args[0](*args[1:]+args2)
  File "/usr/lib/portage/pym/cache/flat_hash.py", line 44, in _pull
    d = self._parse_data(myf, cpv)
  File "/usr/lib/portage/pym/cache/metadata.py", line 38, in _parse_data
    data = list(data)
IOError: [Errno 5] Input/output error
phi-hhalvors ~ # emerge --info
Portage 2.1.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) III Mobile CPU      1200MHz
Gentoo Base System version 1.6.15
Last Sync: Sat, 23 Sep 2006 23:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="rsync://rsync.gtlib.gatech.edu/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://cs.ubishops.ca/pub/gentoo http://adelie.polymtl.ca/ http://gentoo.osuosl.org/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ "
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 bash-completion bitmap-fonts cli crypt cups dlloader dri elibc_glibc emacs emacs-w3 encode esd firefox foomaticdb fortran gif gnome gnutls gpm gstreamer gtk gtk2 iconv imagemagick imlib input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog java javascript jpeg kernel_linux ldap libg++ libwww lm_sensors logrotate lua mad mikmod mime motif mozilla mp3 mpeg ncurses nls nptl nsplugin ocaml ogg opengl oss pam pcmcia pcre perl png pppd python qt3 qt4 readline reflection ruby samba sdl session sockets spell spl ssl tcpd tetex truetype truetype-fonts type1-fonts udev usb userland_GNU video_cards_i810 video_cards_vesa vorbis wifi xml xmms xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Zac Medico gentoo-dev 2006-09-23 18:15:04 UTC
(In reply to comment #0)
>   File "/usr/lib/portage/pym/cache/metadata.py", line 38, in _parse_data
>     data = list(data)
> IOError: [Errno 5] Input/output error

That means you've got filesystem or disk trouble in /usr/portage.  Try fsck or something.