Hi, Portage does not turn on USE flags of a package to satisfy a dependency, which is sometimes confusing.
See https://bugs.gentoo.org/372513 mattst88@localhost ~/projects/gentoo-x86/sci-chemistry $ emerge cns -vp These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] sys-libs/libstdc++-v3-3.3.6 USE="(multilib) nls" 23,459 kB [ebuild N ] app-shells/tcsh-6.16 USE="perl -catalogs" 869 kB [ebuild N ] app-emulation/emul-linux-x86-compat-20100611 USE="(multilib)" 930 kB [ebuild N ] virtual/libstdc++-3.3 0 kB [ebuild N ] dev-lang/ifc-10.0.026-r1 40,378 kB [ebuild N ] virtual/fortran-0 USE="openmp" 0 kB [ebuild N F ] sci-chemistry/cns-1.2.1 USE="openmp" 31,981 kB Total: 7 packages (7 new), Size of downloads: 97,614 kB Fetch Restriction: 1 package (1 unsatisfied) mattst88@localhost ~/projects/gentoo-x86/sci-chemistry $ USE=fortran emerge cns -vp These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ~] sys-devel/gcc-4.5.2 USE="fortran* graphite gtk lto mudflap (multilib) nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj (-hardened) (-libffi) -multislot -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla (-n32%) (-n64%)" 0 kB [ebuild N ] app-shells/tcsh-6.16 USE="perl -catalogs" 869 kB [ebuild N ] virtual/fortran-0 USE="openmp" 0 kB [ebuild N F ] sci-chemistry/cns-1.2.1 USE="openmp" 31,981 kB Total: 4 packages (3 new, 1 reinstall), Size of downloads: 32,849 kB Fetch Restriction: 1 package (1 unsatisfied I'm sure there are good reasons for this behavior, but I'm not sure what they are. I wonder if there's some way we can manage this kind of situation? Perhaps portage could print alternative dependencies for virtuals, similar to the very helpful recent "The following keyword changes are necessary to proceed:" addition. Another similar situation is with ACCEPT_LICENSES. Attempting to emerge something like virtual/jre will suggest adding keywords for dev-java/ibm-jdk-bin, even though I'm on a mips system and this package will never run there. Suggesting other packages that fulfill virtual/jre would be much easier to understand. Thanks! Matt
