Installing libreoffice on a system with a SYMLINK_LIB=no profile fails with: checking for LIBLANGTAG... yes checking which libpng to use... external checking for LIBPNG... yes checking whether to use specific JVM search path at runtime... yes configure: error: "/usr/lib64/"jvm not found, point with_jvm_path to \/path/to/\jvm And of course, there is no /usr/lib64/jvm. There is only /usr/lib/jvm: $ ls -gGd /usr/lib*/jvm/ drwxr-xr-x 1 36 Feb 28 22:25 /usr/lib/jvm/ $ ls -gG /usr/lib*/jvm/ total 8 lrwxrwxrwx 1 19 Feb 28 21:47 icedtea-6 -> /usr/lib64/icedtea6 lrwxrwxrwx 1 19 Feb 28 22:25 icedtea-7 -> /usr/lib64/icedtea7
And here is the fix. Trivial, but I waited for libreoffice to compile before sharing it: --- a/app-office/libreoffice/libreoffice-4.1.4.2.ebuild +++ b/app-office/libreoffice/libreoffice-4.1.4.2.ebuild @@ -400,7 +400,7 @@ src_configure() { --without-system-hsqldb --with-ant-home="${ANT_HOME}" --with-jdk-home=$(java-config --jdk-home 2>/dev/null) - --with-jvm-path="${EPREFIX}/usr/$(get_libdir)/" + --with-jvm-path="${EPREFIX}/usr/lib/" " use libreoffice_extensions_scripting-beanshell && \
(In reply to Georgi Georgiev from comment #1) > And here is the fix. Trivial, but I waited for libreoffice to compile before > sharing it: > > --- a/app-office/libreoffice/libreoffice-4.1.4.2.ebuild > +++ b/app-office/libreoffice/libreoffice-4.1.4.2.ebuild > @@ -400,7 +400,7 @@ src_configure() { > --without-system-hsqldb > --with-ant-home="${ANT_HOME}" > --with-jdk-home=$(java-config --jdk-home 2>/dev/null) > - --with-jvm-path="${EPREFIX}/usr/$(get_libdir)/" > + --with-jvm-path="${EPREFIX}/usr/lib/" > " > > use libreoffice_extensions_scripting-beanshell && \ This looks good. /usr/lib*/jvm is also on a multilib profile entered in the VDB as /usr/lib/jvm.
Tom fixed this long ago without closing the bug.