Basically, when options -k and -f are passed together and the tbz2 binary package exists, portage installs the package when it shouldn't! Even weird is if -p is specified as well, it STILL installs. For the attachments: scriptinput.gz is the testcase. typescript.gz is the capture file from running 'script' with the testcase. (use zcat typescript.gz to see the output) Portage 2.0.49-r12 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.22-pre10-ac1) ================================================================= System uname: 2.4.22-pre10-ac1 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.4.3.10p1 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control /var/qmail/alias /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/gentoo-distfiles" FEATURES="buildpkg ccache digest sandbox cvs autoaddcvs" GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.seren.com/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/gentoo-packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/gentoo-cvs/gentoo-x86" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 -3dfx X -Xaw3d -afs alsa arts -atlas berkdb -bonobo -canna -cjk -dga -dnd -dvb -emacs esd -evms2 -evo -freewnn -gb gnome -gphoto2 gtk gtk2 gtkhtml -guile -icc -icc-pgo -informix jack -joystick kde -kerberos -ladcca -lcms -leim -libgda -matrox -mbox motif mozilla mpi -mule nas -opengl oss qt -quicktime -ruby sdl -voodoo3 wxwindows -xface -xinerama xmms xv -zeo 3dnow aalib acl acpi amd apache2 apm avi bots cdr crypt cups curl directfb doc dvd encode ethereal expat fbcon firebird flash foomaticdb freetds gd gdbm ggi gif ginac gmtfull gmthigh gmtsuppl gmttria gpm gps imap imlib innodb ipalias ipv6 java jikes jpeg junit ldap libg++ libwww lirc mad maildir mcal md5sum mikmod mmx mpeg mysql ncurses nls -nptl oav -odbc offensive oggvorbis ospfapi pam pcap pda pdflib perl pic plotutils png pnp -postgres ppds python qhull readline samba sasl scanner slang slp snmp socks5 spell sse ssl svga tcltk tcpd tetex tiff truetype type1 ungif usagi usb v4l vscan wmf xml xml2 zlib clearpasswd"
Created attachment 19124 [details] testcase input
Created attachment 19125 [details] testcase output
Should be temporarily fixed to do nothing in -r13. Will probably make it download binaries at some point.