>>>>> On Thu, 11 Aug 2011, Fabio Erculiani wrote: > The case which triggered my attention was actually > app-office/libreoffice with USE="java". pkg_setup (through > java-utils-2.eclass java-pkg_switch-vm [1]) expects to find a > functional JDK environment,
Generally, you cannot rely on any dependency (outside of the system set) being present in pkg_setup: <http://dev.gentoo.org/~ulm/pms/head/pms.html#x1-720008> Ulrich > [1] depend-java-query --get-vm "${JAVA_PKG_NV_DEPEND:-${DEPEND}}" > expects to find a sane JDK environment.