USE flags are reported differently in some cases of a emerge -gkpv packagename. USE flags sould be consistant with what flags were enabled at the time of building the packages. Reproducible: Always Steps to Reproduce: 1. emerge -gk openldap 2. emerge -gkpv apache 3. emerge -C openldap 4. emerge -gkpv apache Actual Results: 1. emerge -gk openldap 2. emerge -gkpv apache [binary R ] net-www/apache-2.0.48-r1 +berkdb +gdbm +ldap 3. emerge -C openldap 4. emerge -gkpv apache [binary N ] net-nds/openldap-2.0.27-r4 +ssl +tcpd +readline -ipv6 +berkdb +gdbm -kerberos -odbc [binary R ] net-www/apache-2.0.48-r1 +berkdb +gdbm -ldap Expected Results: 1. emerge -gk openldap 2. emerge -gkpv apache [binary R ] net-www/apache-2.0.48-r1 +berkdb +gdbm +ldap 3. emerge -C openldap 4 .emerge -gkpv apache [binary N ] net-nds/openldap-2.0.27-r4 +ssl +tcpd +readline -ipv6 +berkdb +gdbm -kerberos -odbc [binary R ] net-www/apache-2.0.48-r1 +berkdb +gdbm +ldap Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.23-grsec-1.9.13) ================================================================= System uname: 2.4.23-grsec-1.9.13 i686 Pentium II (Klamath) Gentoo Base System version 1.4.3.10p1 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium2 -O2 -fomit-frame-pointer -fstack-protector -pipe" 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" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium2 -O2 -fomit-frame-pointer -fstack-protector -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs distcc" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" 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 oss avi cups encode foomaticdb gif gtk2 imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pdflib png quicktime sdl spell svga truetype xml2 xv zlib gdbm berkdb slang readline java guile gpm tcpd pam ssl perl python cdr apache2 alsa -gtk -xmms -3dnow -kde -arts -qt -crypt -apm -X -gnome -esd"
Ok. The output of 'emerge -vp' is generated without considering the different useflags provided in binary packages. Very trivial issue as all the data on disk is correct already. The display portion of emerge needs should list the flags of binary packages after fetching the active flags for that package from the binary itself.
This has been fixed for a while.