Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580504 - app-office/libreoffice-5.1.2.2 requires java-config to build, but not in depend list
Summary: app-office/libreoffice-5.1.2.2 requires java-config to build, but not in depe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-19 07:44 UTC by Tanktalus
Modified: 2016-04-19 09:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tanktalus 2016-04-19 07:44:55 UTC
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.
Comment 1 James Le Cuirot gentoo-dev 2016-04-19 09:21:11 UTC
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!