I removed the java-config-wrapper since it's masked, then tried to merge libreoffice, but got: * Package: app-office/libreoffice-5.1.2.2 * Repository: gentoo * Maintainer: office@gentoo.org * USE: abi_x86_64 amd64 branding cups dbus elibc_glibc gtk java kde kernel_linux python_single_target_python3_4 python_targets_python2_7 python_targets_python3_4 userland_GNU * FEATURES: distcc preserve-libs sandbox splitdebug userpriv usersandbox /usr/portage/eclass/java-utils-2.eclass: line 2145: java-config: command not found * * Can't run java-config --help * Have you upgraded python recently but haven't * run python-updater yet? * ERROR: app-office/libreoffice-5.1.2.2::gentoo failed (setup phase): * Can't run java-config --help * * Call stack: * ebuild.sh, line 133: Called pkg_setup * libreoffice-5.1.2.2.ebuild, line 298: Called java-pkg-opt-2_pkg_setup * java-pkg-opt-2.eclass, line 38: Called java-pkg_init * java-utils-2.eclass, line 2150: Called die * The specific snippet of code: * die "Can't run java-config --help" * * If you need support, post the output of `emerge --info '=app-office/libreoffice-5.1.2.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-5.1.2.2::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =libreoffice-5.1.2.2 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-5.1.2.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-5.1.2.2/temp/die.env'. * Working directory: '/usr/lib64/python2.7/site-packages' * S: '/var/tmp/portage/app-office/libreoffice-5.1.2.2/work/libreoffice-5.1.2.2' I'm assuming the java-* eclasses should add in a dependency on either java-config-wrapper or java-config >= 2.2.0-r3 so that java-config is in the PATH.
It does depend on java-config through the eclass but only >=2.2.0 so I've bumped it to >=2.2.0-r3. Thanks!