I expect this will be a problem for all versions of libreoffice with USE=java. a symlink to icedtea-bin is installed into /usr/lib/jvm but not into /usr/lib64/jvm. Libreoffice configure looks for jvm directory in /usr/lib64 .. thus fails to configure.. I had to symlink from /usr/lib/jvm to /usr/lib64/jvm and then it works.. (even reinstalled icedtea-bin to check)
Which version of libreoffice did you test with?
currently 44 minutes into the 8 hour emerge of app-office/libreoffice-5.4.4.2
using dev-java/icedtea-bin-3.6.0 as well fyi
the important difference here being: <LO-5.4.4.2 configure: --with-jvm-path="${EPREFIX}/usr/lib/" >=LO-5.4.4.2 configure: --with-jvm-path="${EPREFIX}/usr/$(get_libdir)/"
This sounds like bug #549998 but I'll find out when I look into it later.
*** Bug 642112 has been marked as a duplicate of this bug. ***
Okay, I slightly misunderstood this issue because it's been misreported. This has nothing to do with 17.1 profiles as $(get_libdir) will return lib64 on both 17.0 and 17.1. Bug #549998 therefore isn't as big a deal as I thought it was although I'd still like to move everything to /usr/libexec as /usr/lib will no longer make much sense. This bug is actually a regression of bug #503624, introduced by asturm on Dec 13th. Before I revert the change, I'd like to check exactly what this flag does as it seems odd to point LO to a directory of various JVMs rather than a specific one.
Same issue with dev-java/oracle-jdk-bin-9.0.1 and app-office/libreoffice-5.4.4.2 using 17.1 profile.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc0ab178b2ee72b4503faf897dcbddd6534667ed commit dc0ab178b2ee72b4503faf897dcbddd6534667ed Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2017-12-28 19:32:30 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2017-12-28 19:34:41 +0000 app-office/libreoffice: Revert Use $(get_libdir) instead of hardcoded This reverts commit 5a2580630d7da08361bca09e86df2c2664c2f605. Thanks-to: James Le Cuirot <chewi@gentoo.org> Bug: https://bugs.gentoo.org/641826 app-office/libreoffice/libreoffice-5.4.4.2.ebuild | 2 +- app-office/libreoffice/libreoffice-5.4.9999.ebuild | 2 +- app-office/libreoffice/libreoffice-6.0.9999.ebuild | 2 +- app-office/libreoffice/libreoffice-9999.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)}
*** Bug 642566 has been marked as a duplicate of this bug. ***
Okay, ignore what I said earlier, I had managed to tie my brain in knots while working out a migration plan. This *is* to do with the new profiles. asturm's change just made it break after remerging JVMs. Now he's reverted it, it'll break before remerging JVMs. I'll proceed with fixing bug #503624.
I've decided to leave the jvm symlinks under /usr/lib after all. I'll close this now that the breaking change has been reverted.