When trying to do an ebuild /var/db/pkg/dev-db/mysql-4.1.14/mysql-4.1.14.ebuild config it fails with an error as shown below. The bug also appeared for me using the mambo ebuild so it does not seem to be a mysql or mambo issue. I have done the /var/db/pkg method every time in the past and it has worked fine. Reproducible: Always Steps to Reproduce: 1. ebuild /var/db/pkg/CATEGORY/PACKAGE.ebuild config 2. 3. Actual Results: ebuild /var/db/pkg/dev-db/mysql-4.1.14/mysql-4.1.14.ebuild config Adjusting PORTDIR to '/var/db/pkg'... --- 'profiles/arch.list' is empty or not available. Empty portage tree? !!! aux_get(): ebuild path for 'dev-db/mysql-4.1.14' not specified: !!! None !!! aux_get(): ebuild path for 'dev-db/mysql-4.1.14' not specified: !!! None Traceback (most recent call last): File "/usr/sbin/ebuild", line 55, in ? a = portage.doebuild(ebuild, arg, root, tmpsettings, debug=debug, cleanup=("noauto" not in portage.features)) File "/usr/lib/portage/pym/portage.py", line 2431, in doebuild eapi = db[root][tree].dbapi.aux_get(mycpv, ["EAPI"])[0] File "/usr/lib/portage/pym/portage.py", line 5277, in aux_get raise KeyError, "'%(cpv)s' at %(path)s" % {"cpv":mycpv,"path":myebuild} KeyError: "'dev-db/mysql-4.1.14' at None" Expected Results: It should have performed the same as the following, which works. ebuild /usr/portage/dev-db/mysql/mysql-4.1.14.ebuild config emerge --info Portage 2.0.53_rc5 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.12-gentoo-r8 i686) ================================================================= System uname: 2.6.12-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.12.0_pre9 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium4 -mfpmath=sse -msse2 -mmmx -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-Os -march=pentium4 -mfpmath=sse -msse2 -mmmx -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS=" ftp://ftp.iinet.net.au/pub/Gentoo/ ftp://ftp.planetmirror.com/pub/gentoo/ ftp://mirror.isp.net.au/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="x86 3dfx X Xaw3d aac aalib alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts browserplugin bzip2 c++ cairo cjk crypt cups curl divx4linux doc dvd dynagraph eds emboss encode esd fam firefox foomaticdb fortran gcj gd gdbm gif gnome gnustep gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 java javamail javascript jikes jms jmx jpeg junit jython kde kerberos latex lcms ldap libg++ libwww mad math mikmod mmx mmxext mng motif mp3 mpeg mysql ncurses nls nvidia objc ogg oggvorbis opengl oss pam pam_console pdflib perl plotutils png postgres python qt quicktime readline rtc samba sdl spell sse sse2 ssl svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb utf8 vorbis win32codecs winbind wmf xine xinerama xml2 xmms xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
emerge --config mysql *** This bug has been marked as a duplicate of 109302 ***