Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124302 - Failed cache update: XXX "Corruption detected when reading key XXX : global name 'enumerate' is not defined"
Summary: Failed cache update: XXX "Corruption detected when reading key XXX : global n...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-27 13:40 UTC by James Shackleford
Modified: 2006-02-27 19:37 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 James Shackleford 2006-02-27 13:40:45 UTC
Recently pulled machine out of storage.  I was getting virtual package resolution errors (See Bug Report: 114798), so I manually updated portage followed by a emerge portage.

Now, emerge --metadata fails (and as a result so does the end of --sync).

Below please find the output of
(1) emerge --info
(2) emerge --metadata


# emerge --info

Gentoo Base System version 1.4.3.10
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.2.3, glibc-2.3.2-r3, 2.4.23 i686)
=================================================================
System uname: 2.4.23 i686 AMD Athlon(tm) Processor
dev-lang/python:     2.2.3-r5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.14.90.0.6-r6
sys-devel/libtool:   1.4.3-r1
virtual/os-headers:  2.4.19-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 3dnow X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dvd eds emboss encode esd exif expat fam fbcon ffmpeg foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 java jpeg lcms libg++ libwww mad mikmod ming mmx mng motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline samba scanner sdl slang spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb vorbis x86 xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY




# emerge --metadata

skipping sync

>>> Updating Portage cache:      1%2%
Failed cache update: app-arch/zoo-2.10-r1 "Corruption detected when reading key 'zoo-2.10-r1': global name 'enumerate' is not defined"
3%4%5%
Failed cache update: app-editors/emacs-22.0.50_pre20050225 "Corruption detected when reading key 'emacs-22.0.50_pre20050225': global name 'enumerate' is not defined"

Failed cache update: app-editors/emacs-21.4-r2 "Corruption detected when reading key 'emacs-21.4-r2': global name 'enumerate' is not defined"

Failed cache update: app-editors/emacs-18.59 "Corruption detected when reading key 'emacs-18.59': global name 'enumerate' is not defined"
6%
Failed cache update: app-emacs/erc-cvs-4.1 "Corruption detected when reading key 'erc-cvs-4.1': global name 'enumerate' is not defined"

Failed cache update: app-emacs/gnus-cvs-5.11 "Corruption detected when reading key 'gnus-cvs-5.11': global name 'enumerate' is not defined"
7%8%9%10%11%12%
Failed cache update: app-office/openoffice-2.0.2_rc3 "Corruption detected when reading key 'openoffice-2.0.2_rc3': global name 'enumerate' is not defined"
13%
Failed cache update: app-portage/ufed-0.40-r1 "Corruption detected when reading key 'ufed-0.40-r1': global name 'enumerate' is not defined"
14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%
Failed cache update: dev-php/PEAR-Auth-1.2.4 "Corruption detected when reading key 'PEAR-Auth-1.2.4': global name 'enumerate' is not defined"
34%
Failed cache update: dev-php/adodb-4.72 "Corruption detected when reading key 'adodb-4.72': global name 'enumerate' is not defined"
35%36%37%38%39%40%41%
Failed cache update: dev-util/svk-1.07 "Corruption detected when reading key 'svk-1.07': global name 'enumerate' is not defined"
42%43%44%45%46%47%48%49%50%51%52%53%
Failed cache update: kde-misc/kxdocker-1.0.0a "Corruption detected when reading key 'kxdocker-1.0.0a': global name 'enumerate' is not defined"
54%55%56%57%58%59%60%61%62%
Failed cache update: media-sound/lilypond-2.5.2 "Corruption detected when reading key 'lilypond-2.5.2': global name 'enumerate' is not defined"

Failed cache update: media-sound/lilypond-2.0.3 "Corruption detected when reading key 'lilypond-2.0.3': global name 'enumerate' is not defined"

Failed cache update: media-sound/lilypond-2.4.2 "Corruption detected when reading key 'lilypond-2.4.2': global name 'enumerate' is not defined"

Failed cache update: media-sound/lilypond-2.2.4 "Corruption detected when reading key 'lilypond-2.2.4': global name 'enumerate' is not defined"

Failed cache update: media-sound/lilypond-2.2.6 "Corruption detected when reading key 'lilypond-2.2.6': global name 'enumerate' is not defined"
63%64%65%66%67%68%
Failed cache update: net-dns/avahi-0.6.8 "Corruption detected when reading key 'avahi-0.6.8': global name 'enumerate' is not defined"
69%70%71%72%
Failed cache update: net-mail/qmail-qfilter-2.1 "Corruption detected when reading key 'qmail-qfilter-2.1': global name 'enumerate' is not defined"
73%
Failed cache update: net-misc/dhcpcd-2.0.2 "Corruption detected when reading key 'dhcpcd-2.0.2': global name 'enumerate' is not defined"
74%75%76%77%78%79%80%81%82%83%84%85%
Failed cache update: sys-block/endpoint-0.1.0 "Corruption detected when reading key 'endpoint-0.1.0': global name 'enumerate' is not defined"
86%87%
Failed cache update: sys-kernel/linux-headers-2.4.21 "Corruption detected when reading key 'linux-headers-2.4.21': global name 'enumerate' is not defined"

Failed cache update: sys-kernel/linux-headers-2.4.21-r1 "Corruption detected when reading key 'linux-headers-2.4.21-r1': global name 'enumerate' is not defined"

Failed cache update: sys-kernel/linux-headers-2.4.26 "Corruption detected when reading key 'linux-headers-2.4.26': global name 'enumerate' is not defined"

Failed cache update: sys-kernel/linux-headers-2.4.26-r1 "Corruption detected when reading key 'linux-headers-2.4.26-r1': global name 'enumerate' is not defined"

Failed cache update: sys-kernel/rsbac-sources-2.4.99 "Corruption detected when reading key 'rsbac-sources-2.4.99': global name 'enumerate' is not defined"

Failed cache update: sys-kernel/rsbac-sources-2.4.31 "Corruption detected when reading key 'rsbac-sources-2.4.31': global name 'enumerate' is not defined"

Failed cache update: sys-kernel/vanilla-sources-2.4.32 "Corruption detected when reading key 'vanilla-sources-2.4.32': global name 'enumerate' is not defined"

Failed cache update: sys-kernel/vanilla-sources-2.4.28 "Corruption detected when reading key 'vanilla-sources-2.4.28': global name 'enumerate' is not defined"

--------------------

This goes on and on with many more packages.
Comment 1 Zac Medico gentoo-dev 2006-02-27 15:22:09 UTC
That enumerate function requires python 2.3 or greater.  I've already bumped the dependencies in the ebuilds to account for this.  If you can't emerge >=python-2.3, try it with --nodeps, or try to get portage-2.0.51.22-r3 installed (doesn't need python 2.3).

http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml
Comment 2 Zac Medico gentoo-dev 2006-02-27 19:37:44 UTC
If you get stuck, join #gentoo-portage on irc.freenode.net and we'll help you fix it.