$ emerge -pv tendra These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] sys-devel/pmake-1.111.1 0 kB [ebuild N ] virtual/pmake-0 0 kB [ebuild N ] dev-lang/tendra-5.0_pre20060322 0 kB Total size of downloads: 0 kB $ emerge -pv --onlydeps tendra These are the packages that would be merged, in order: Calculating dependencies... done! Total size of downloads: 0 kB $ emerge -pv --onlydeps --with-bdeps=y tendra These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] sys-devel/pmake-1.111.1 0 kB [ebuild N ] virtual/pmake-0 0 kB Total size of downloads: 0 kB $ emerge --info Portage 2.1.2_pre2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo i686) ================================================================= System uname: 2.6.18-gentoo i686 AMD Duron(tm) Processor Gentoo Base System version 1.12.5 Last Sync: Unknown app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.5-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.6.3, 1.7.9-r1, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon-tbird -O2 -fomit-frame-pointer" DISTDIR="/var/dist" FEATURES="assume-digests autoconfig autopatch cvs distlocks metadata-transfer notitles sandbox sfperms sign strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_GB.UTF-8" LDFLAGS="-Xlinker --as-needed" LINGUAS="en_GB en" PKGDIR="/var/pkg" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/cvs/gentoo-x86" PORTDIR_OVERLAY="/etc/portage/overlay" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X acl alsa bidi bindist bitmap-fonts bzip2 cdparanoia cjk cli cups dlloader dri dvd dvdread elibc_glibc gif gtk idn immqt input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kdeenablefinal kdehiddenvisibility kernel_linux libg++ linguas_en linguas_en_GB lynxkeymap mbox ncurses nls nntp nocxx nptl nptlonly opengl pango pcre pdf perl png ppds pppd readline reflection rtc session spell spl ssl truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_radeon xcomposite xorg xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS While this appears to match the documentation, I think this is very unintuitive. Could it be changed so that whether build-time dependencies are taken into account depends on whether a binpkg is found, just as would be done without --onlydeps ?
Created attachment 99620 [details, diff] pull in build time deps of package arguments with --onlydeps This is fixed in svn r4675.
This has been released in 2.1.2_pre3.