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

Bug 39029

Summary: emerge -Dupv world fails: "aux_get(): stale entry..." error, world and virtuals truncated
Product: Gentoo Linux Reporter: Alexander Papaspyrou <axp>
Component: [OLD] Core systemAssignee: Marius Mauch (RETIRED) <genone>
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---

Description Alexander Papaspyrou 2004-01-22 06:21:50 UTC
Since today (for apparently no good reason), emerge -Dupv world fails deliberately; /var/cache/edb/{virtuals,world} get truncated to a zero byte mess and Nothing Works(tm).

Reproducible: Always
Steps to Reproduce:
1. Run emerge --sync
2. Run emerge -Dupv world
Actual Results:  
--8<-- snip --8<--
[ ~ ]
user@host $ emerge -Dupv world
These are the packages that I would merge, in order:
Calculating world dependencies /
aux_get(): stale entry was not regenerated for
           sys-devel/libtool-1.4.3-r2; deleting and exiting.
!!! list index out of range
-->8-- snap -->8--

Note that you may replace sys-devel/libtool-<whatever> by arbitrary packages.

Expected Results:  
Everything Just Works(tm).

[ ~ ]
user@host $ emerge --info
Portage 2.0.49-r16-gpp7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9,
System uname: 2.4.22-gentoo-r5 i686 mobile AMD Athlon(tm) XP 1500+
Gentoo Base System version
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math
-funroll-loops -fforce-addr"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math
-funroll-loops -fforce-addr"
FEATURES="autoaddcvs sandbox ccache digest userpriv usersandbox"
PKGUSE="( media-libs/smpeg => -gtk )( net-misc/vnc => -java )(
media-sound/timidity++ => -motif -gtk )( dev-db/unixODBC => -gnome )(
app-crypt/gnupg => caps -X )( net-www/netscape-flash => -gtk )( net-www/links =>
-X )( app-pda/multisync => evo irmc )( media-video/dvdrip => -gnome )(
media-gfx/imagemagick => -X )( net-www/mozilla => moznoirc moznomail
moznocompose )( media-sound/alsa-driver => oss )( sys-libs/glibc => pic )(
games-strategy/dopewars => -ncurses )( media-sound/lame => -gtk )(
app-cdr/cdrdao => -gnome )( media-sound/rhythmbox => xine )( app-misc/mc => -X )"
USE="x86 avi crypt cups encode gif imlib jpeg mad mikmod motif mpeg ncurses nls
pdflib png quicktime spell truetype xml2 xv zlib berkdb readline tetex guile X
sdl tcpd pam libwww ssl esd oggvorbis gnome gtk opengl ldap 3dnow acl acpi alsa
-apm -arts bonobo cdr dvd -foomaticdb -gdbm -gpm gtk2 gtkhtml jikes -kde -libg++
maildir -mozilla mpi mmx oav odbc -oss pcmcia pda -perl -python -qt samba -slang
sse -svga -xmms"
Comment 1 Alexander Papaspyrou 2004-01-26 06:51:41 UTC
I managed to repair the dependency cache by deleting the whole dep/ directory and running emerge --regen (which took ages...), as well as the world file (with regenworld).

Unfortunately, there seems to be no easy way to regenerate the truncated virtuals file. Anything I can do about that?
Comment 2 Masatomo Nakano (RETIRED) gentoo-dev 2004-01-26 07:15:46 UTC
/usr/lib/portage/bin/fixvirtuals would repair your virtual file.
Comment 3 Alexander Papaspyrou 2004-01-26 08:23:31 UTC
I don't have this file. Is it part of any additional package?
Comment 4 Masatomo Nakano (RETIRED) gentoo-dev 2004-01-26 08:28:40 UTC
It's in portage-2.0.49-r21.
Comment 5 Alexander Papaspyrou 2004-01-26 09:40:02 UTC
Ok, thanks. BTW, is there any chance that this issue will be (at least) resolved, or should I set the bug resolution to NEEDINFO?
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2004-02-01 19:16:19 UTC
As far as this bug goes... you were using a non-official portage...
You could ask genone, as it's his patchset, but I'm not going to
attempt anything. Genone's call.
Comment 7 Marius Mauch (RETIRED) gentoo-dev 2004-02-04 20:28:50 UTC
Hmm, none of the patches touch the world or virtuals files. Please upgrade to a current portage version as I stopped working on gpp for now.
Unless you can figure out what exactly created your problem I can't help you.
Comment 8 Alexander Papaspyrou 2004-02-10 08:38:50 UTC
A portage upgrade with emerge --regen and regenvirtuals fixed the thing. Might have been a file system issue. I'll close the bug.