Eg, i have maildrop-1.6.3 merged on the system but the ebuild isn't present anymore: Calculating world dependencies -!!! aux_get(): ebuild for 'mail-filter/maildrop- 1.6.3' does not exist at: !!! None Traceback (most recent call last): File "/usr/bin/emerge", line 2705, in ? if not mydepgraph.xcreate(myaction): File "/usr/bin/emerge", line 1245, in xcreate if not self.create(myk,myuse=binpkguseflags): File "/usr/bin/emerge", line 866, in create self.pkgsettings.setinst(mykey,portage.db[myroot]["porttree"].dbapi) File "/usr/lib/portage/pym/portage.py", line 1726, in setinst provides = mydbapi.aux_get(mycpv, ["PROVIDE"])[0] File "/usr/lib/portage/pym/portage.py", line 5272, in aux_get raise KeyError, "'%s' at %s" % (mycpv,myebuild) KeyError: "'mail-filter/maildrop-1.6.3' at None" Note that portage wasn't traceback-ing with previous versions (2.0.51_pre14 and earlier) Reproducible: Always Steps to Reproduce: 1. create a new/different version of an ebuild 2. merge it 3. delete this ebuild 4. run emerge -p world Actual Results: Portage tracesback Expected Results: Portage should handle the situation after it gives the error: Calculating world dependencies - !!! aux_get(): ebuild for 'mail-filter/maildrop- 1.6.3' does not exist at Portage 2.0.51_pre16 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2. 6.7-rsbac-r1 i686 AMD Duron(tm) Processor) ================================================================= System uname: 2.6.7-rsbac-r1 i686 AMD Duron(tm) Processor Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake- 1.8.3 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.19- r1,sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2- r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame- pointer -msse -mmmx -m3dnow -mfpmath=387 -fforce-addr -fprefetch-loop-arrays" CHOST="i686-pc-linux- gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /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="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -msse -mmmx -m3dnow - mfpmath=387 -fforce-addr -fprefetch-loop- arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache cvs manifest sandbox strict" GENTOO_MIRRORS="ftp://gentoo.blueyonder.co.uk/mirrors/gentoo" MAKEOPTS="- j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/kang/gentoo/gentoo- x86" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow acpi apache2 apm berkdb crypt encode ethereal foomaticdb gd gdbm gif gnome gpm gtk2 guile hardened imlib java jpeg libg++ libwww mad mmx mysql ncurses nls objc oggvorbis opengl pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xv zlib"
portage 2.0.51_pre17 just released. I don't know if it fixed this.
Custom virtuals at all? Don't spose you could give a specific test case that we could use to verify/fix this? emerge -p world is a bit specific to your system :)
My bug. I'll fix it tomorrow.
as of pre17 i can just reproduce it with "emerge -pU world" (-U being deprecated since pre15 i think) i tried on another box and can reproduce it too with -pU So, just follow the "steps to reproduce" stuff and do emerge -pU world instead of -p world
Created attachment 37254 [details, diff] emerge.patch using varttree for querying Crap... just posted this to bug #58677, instead of this bug :-/ Either way, fixed in cvs, here's the patch in the meantime until pre18 is out.
Bug has been fixed and released in stable portages on or before 2.0.51-r2