When trying to emerge some binary packages, I noticed portage would rebuild packages that are referred to by their ebuild filenames. Reproducible: Always Steps to Reproduce: 1. Build a binary package emerge -b ufed 2. Attempt (with success) to use this binary package emerge -pk ufed 3. Attempt and fail to use this package (by specifying ebuild name) emerge -pk /usr/portage/app-portage/ufed/ufed-0.34.ebuild Actual Results: kyron / # emerge -pk ufed These are the packages that I would merge, in order: Calculating dependencies ...done! [binary R ] app-portage/ufed-0.34 kyron / # emerge -pk /usr/portage/app-portage/ufed/ufed-0.34.ebuild These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] app-portage/ufed-0.34 Expected Results: Portage should use the binary package and not rebuild the package. This sittuation appeared when I tried to distribute the openoffice-1.1_rc3 that I had built. Obviously frustrating that portage doesn't use the bianry package. A woraround which is defenately not a solution in this specific case is to do: ACCEPT_KEYWORDS="~x86" emerge -k openoffice This only works because the latest masked ebuild for openoffice happens to be the one I built.
oops...forgot info: Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-xfs) ================================================================= System uname: 2.4.22-xfs i686 Intel(R) Pentium(R) 4 CPU 1.60GHz distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -pipe -mmmx -msse -msse2 -mfpmath=sse -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -fexpensive-optimizations" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -pipe -mmmx -msse -msse2 -mfpmath=sse -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -fexpensive-optimizations" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox distcc buildpkg" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm berkdb slang readline arts tetex bonobo java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla gphoto2 ldap cdr scanner acpi fbcon gtk2 hyriand icc icc-pgo imap jikes kerberos krb4 lcms maildir mbox moznocompose moznoirc moznomail mpi nptl pda pic plotutils samba sasl slp sse tiff usb vim-with-x wmf xfs xml xosd -oss -3dnow -nls -svga -gnome"
That's not a valid way to suggest using a package. emerge -k =app-portage/ufed-0.34