Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51841 - emerge fails after recent sync (portage traceback) - 2004.1
Summary: emerge fails after recent sync (portage traceback) - 2004.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-23 10:21 UTC by Timothy Brown
Modified: 2004-05-23 10:56 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 Timothy Brown 2004-05-23 10:21:29 UTC
sev 0 :-)

emerge -up world:

These are the packages that I would merge, in order:

Calculating world dependencies /Traceback (most recent call last):
  File "/usr/bin/emerge", line 2517, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1109, in xcreate
    myeb=portage.portdb.xmatch("bestmatch-visible",mydep)
  File "/usr/lib/portage/pym/portage.py", line 4690, in xmatch
    myval=best(self.xmatch("match-visible",None,mydep,mykey))
  File "/usr/lib/portage/pym/portage.py", line 4701, in xmatch
    myval=match_from_list(mydep,self.xmatch("list-visible",None,mydep,mykey))
  File "/usr/lib/portage/pym/portage.py", line 4687, in xmatch
    myval=self.gvisible(self.visible(self.cp_list(mykey)))
  File "/usr/lib/portage/pym/portage.py", line 4782, in gvisible
    myaux=db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS"])
  File "/usr/lib/portage/pym/portage.py", line 4535, in aux_get
    if doregen or not self.eclassdb.is_current(cat,pkg,self.auxdb[cat][pkg]["INH
ERITED"].split()):
  File "/usr/lib/portage/pym/portage.py", line 4380, in is_current
    self.setup_package(cat, pkg)
  File "/usr/lib/portage/pym/portage.py", line 4357, in setup_package
    self.packages[cat] = self.dbmodule(self.cachedir, cat+"-eclass", [], uid, po
rtage_gid)
  File "/usr/lib/portage/pym/portage_db_cpickle.py", line 23, in __init__
    self.db = mypickle.load()
EOFError

This recently occurred to me after an emerge sync.  The first time I can remember it occurring is today's sync, and I last synced up on Wednesday or Thursday.  The box is relatively fresh, having just had Gentoo installed recently.  I have re-emerged portage to no effect.
Comment 1 Timothy Brown 2004-05-23 10:39:25 UTC
I ran an emerge regen, and the following information started to shed some light on the situation:
processing app-xemacs/xemacs-eterm
processing app-xemacs/xemacs-ispell
processing app-xemacs/xslide
processing app-xemacs/xslt-process
processing app-xemacs/zenirc
processing dev-ada/adabindx

error processing dev-ada/adabindx-0.7.2, continuing...
processing dev-ada/adabroker

error processing dev-ada/adabroker-1.0_pre4, continuing...
processing dev-ada/adadoc

error processing dev-ada/adadoc-2.01, continuing...
processing dev-ada/adaopengl

error processing dev-ada/adaopengl-0.12, continuing...
processing dev-ada/adasockets

error processing dev-ada/adasockets-1.7-r1, continuing...
processing dev-ada/asis

error processing dev-ada/asis-3.15p, continuing...
processing dev-ada/aunit

error processing dev-ada/aunit-1.01, continuing...
processing dev-ada/booch_components

error processing dev-ada/booch_components-20030815, continuing...
processing dev-ada/cbind

error processing dev-ada/cbind-6, continuing...
processing dev-ada/charles

error processing dev-ada/charles-20030813, continuing...
processing dev-ada/florist

error processing dev-ada/florist-3.15p, continuing...
processing dev-ada/garlic

error processing dev-ada/garlic-3.15p-r1, continuing...
processing dev-ada/gps-bin

error processing dev-ada/gps-bin-1.2.2, continuing...
processing dev-ada/gtkada

error processing dev-ada/gtkada-2.2.0-r1, continuing...

Still no fix.

Comment 2 Timothy Brown 2004-05-23 10:41:06 UTC
It continues to do the information in #2 for every package in the list.  

python:

Python 2.3.3 (#1, May 19 2004, 16:50:12) 
[GCC 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

emerge info:

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6-rc1)
=================================================================
System uname: 2.6.6-rc1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /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="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"

Comment 3 Timothy Brown 2004-05-23 10:56:42 UTC
It appears that removing /var/cache/edb/* fixed this problem.

I'm still not entirely certain what happened - perhaps the pickle file got corrupted.