Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43937 - emerge not working anymore after crash
Summary: emerge not working anymore after crash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-07 01:57 UTC by Rene Androsch
Modified: 2004-03-08 04:02 UTC (History)
0 users

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


Attachments
Part 1 (crash1.log,34 bytes, text/plain)
2004-03-07 08:35 UTC, Rene Androsch
Details
Part 2 (crash2.log,1.28 KB, text/plain)
2004-03-07 08:36 UTC, Rene Androsch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Androsch 2004-03-07 01:57:23 UTC
I was running "emerge -pvUD system ; emerge -pvUD world"

So that I can see, what the system and what else needs to be updated. I saw the output from the first command, when my system suddenly crashed (in KDE).

I had to manually poweroff and reboot. When I logged in into KDE, I notcied that my "style" was changed. I checked -> Now it is using High Performance Liquid? and lloks strange?

But what is killing me even more: emerge doesn't work anymore?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2517, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1135, in xcreate
    if not self.create(myk):
  File "/usr/bin/emerge", line 825, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1037, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 825, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1037, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 825, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1037, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 825, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1037, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 825, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1037, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 825, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1037, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 825, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 962, in select_dep
    myeb=portage.portdb.xmatch("bestmatch-visible",x)
  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]["INHERITED"].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,
portage_gid)
  File "/usr/lib/portage/pym/portage_db_cpickle.py", line 23, in __init__
    self.db = mypickle.load()
cPickle.UnpicklingError: unpickling stack underflow
Comment 1 Rene Androsch 2004-03-07 01:58:40 UTC
Forgot to post "emerge info"

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.25)
=================================================================
System uname: 2.4.25 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.3.13p1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -mmmx -msse -msse2 -mfpmath=sse -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /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/ /var/lib/jboss /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -mmmx -msse -msse2 -mfpmath=sse -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache apache2 apm arts artswrappersuid avantgo avi berkdb cdr crypt cups doc dvd dvdr encode foomaticdb gd-external gdbm gif gphoto2 gpm gtk2 idea imap imlib java javascript jpeg kde libg++ libwww mad memlimit mhash mikmod mmx motif mozilla mpeg mysql nas ncurses nls nvidia oci8 odbc oggvorbis opengl oss pda pdflib perl png pnp python qt quicktime readline ruby samba scanner sdl slang spell sqlite sse sse2 ssl tcltk tcpd tetex tiff truetype usb vim-with-x x86 xml2 xmms xv zlib"

but "emerge system" still doesn't work :(
Comment 2 Masatomo Nakano (RETIRED) gentoo-dev 2004-03-07 06:39:16 UTC
Can you do 'emerge -d system > crash.log' and post the log file as attachment file here?
Comment 3 Rene Androsch 2004-03-07 08:35:48 UTC
Created attachment 26991 [details]
Part 1
Comment 4 Rene Androsch 2004-03-07 08:36:16 UTC
Created attachment 26992 [details]
Part 2
Comment 5 Rene Androsch 2004-03-07 08:37:11 UTC
emerge -d 1>crash1.log 2>crash2.log

Oh my god. My poor little system is in trouble :(
Comment 6 Rene Androsch 2004-03-07 14:26:54 UTC
The problem with KDE not looking as expected is gone now. I appearently emerge qt-3.3 the last time.

The problem with emerge is still here :(
Comment 7 Masatomo Nakano (RETIRED) gentoo-dev 2004-03-07 14:50:02 UTC
I'm not sure what the problem is.
But some cache files might be broken.

Can you do this?
# rm -rf /var/cache/edb/dep/*
# emerge sync

It means delete cache files and remake the files.
Comment 8 Rene Androsch 2004-03-08 04:02:28 UTC
Thanks! That was it!
Now I can emerge again :)

BTW: (not fitting here, but I still ask)
during emerge, there are somethimes messages, that are very important (like: you have to recompile some of your KDE libs again). There should be a way that emerge waits for a keypress, so that the user definitly has read it! I usually emerge serveral packages with one command and therefore never what the output everytime.