I am using a central rsync/binhost, and on one of the boxes I want irssi. So i do emerge -pv irssi, and i see like 10 deps (all N), then irssi at the bottom (normal).. I check emerge -gkpv irssi and i only see irssi itself. If i actually emerge irssi -gk, it will not work because one of those deps is glib, which is not installed with -gk. Reproducible: Always Steps to Reproduce: 1.emerge -gk irssi 2. 3. Actual Results: it emerges the irssi tarball, but none of the deps that should be emerged Expected Results: it should have emerged deps like glib and irssi Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" 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="-O2 -march=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://192.168.1.22/gentoo-portage" USE="X berkdb crypt curl doc gnome gtk2 jpeg mysql ncurses nls pam perl png python readline spell ssl tcpd threads tiff truetype x86 xml2 zlib" the BINHOST and all related machines are using the same USE flags (if that even matters)
i checked emerge -gkpvdD irssi and got this: Fetching binary packages info... Loaded metadata pickle. cache miss: 'x' --- cache hit: 'o' ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo -- DONE! Calculating dependencies Parent: None Depstring: net-irc/irssi Candidates: ['net-irc/irssi'] ebuild: net-irc/irssi-0.8.9 binpkg: net-irc/irssi-0.8.9 \ Parent: binary / net-irc/irssi-0.8.9 merge Depstring: nls? ( sys-devel/gettext ) sys-libs/ncurses ssl? ( dev-libs/openssl ) perl? ( dev-lang/perl ) socks5? ( >=net-misc/dante-1.1.13 ) Candidates: [] Exiting... binary / net-irc/irssi-0.8.9 merge Exiting... None ...done! [binary N ] net-irc/irssi-0.8.9 -ipv6 +nls +perl -socks5 +ssl Total size of downloads: 0 kB That Depstring looks like it's only coming from RDEPEND instead of DEPEND. in the irssi-0.8.9 ebuild, we have the following: DEPEND="!net-irc/irssi-cvs >=dev-libs/glib-2.2.1 sys-libs/ncurses >=sys-apps/sed-4 ssl? ( dev-libs/openssl ) perl? ( dev-lang/perl ) socks5? ( >=net-misc/dante-1.1.13 )" RDEPEND="nls? ( sys-devel/gettext ) sys-libs/ncurses ssl? ( dev-libs/openssl ) perl? ( dev-lang/perl ) socks5? ( >=net-misc/dante-1.1.13 )" So... I'm not sure exactly why emerge -gk would only check RDEPEND, but it really looks like a bug to me.
Sorry portage guys, I should first have read comment 2. RDEPEND are run-time dependencies, if you're using binary packages only these packages will be installed. net-irc/irssi is missing dev-libs/glib in RDEPEND. I'm going to fix this.
Fixed in CVS.