Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39029 - emerge -Dupv world fails: "aux_get(): stale entry..." error, world and virtuals truncated
Summary: emerge -Dupv world fails: "aux_get(): stale entry..." error, world and virtua...
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Marius Mauch (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-22 06:21 UTC by Alexander Papaspyrou
Modified: 2004-02-10 08:38 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 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,
2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 mobile AMD Athlon(tm) XP 1500+
Gentoo Base System version 1.4.3.10
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math
-funroll-loops -fforce-addr"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache digest userpriv usersandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://gentoo.linux.no/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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 )"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
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.