Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 669150

Summary: app-office/libreoffice-9999 - Failed to install: No such file or directory at /tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999/solenv/bin/ooinstall line 91.
Product: Gentoo Linux Reporter: cyrillic <cyrilmaley>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED UPSTREAM    
Severity: normal CC: krissn
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: app-office_libreoffice-9999_build.log.xz
libreoffice-9999.ebuild.patch

Description cyrillic 2018-10-20 22:16:19 UTC
app-office/libreoffice-9999 compiles fine, but craps out on the install script.

Reproducible: Always
Comment 1 cyrillic 2018-10-20 22:36:33 UTC
Created attachment 552020 [details]
app-office_libreoffice-9999_build.log.xz
Comment 2 Krzysztof Nowicki 2018-10-22 06:35:03 UTC
Same here. Dies because of missing MySQL library:

ERROR: The following files could not be found:
ERROR: File not found: libmysql_jdbclo.so
ERROR: Failure in installer.pm

Smells like it has something to do with these warnings:

 * QA Notice: Unrecognized configure options:
 *
 *      --enable-ext-mariadb-connector
 *      --with-system-mysql-cppconn
 *      --enable-ext-mariadb-connector
 *      --with-system-mysql-cppconn
Comment 3 cyrillic 2018-10-25 00:21:18 UTC
I tried a couple of configurations :
USE="mysql -postgres" : failed
USE="-mysql postgres" : failed
USE="-mysql -postgres" : failed
so, I think some ebuild modifications may be needed.
Comment 4 cyrillic 2018-10-26 21:28:47 UTC
Created attachment 553246 [details, diff]
libreoffice-9999.ebuild.patch

It was just that one missing file that was making the whole installation script fail, so I just removed the reference to that file, and now libreoffice-9999 installs fine.

I know this is an ugly hack, but I will be using it until someone comes along with a more elegant fix.
Comment 5 jospezial 2018-11-09 20:56:53 UTC
duplicate of https://bugs.gentoo.org/666684
Comment 6 Krzysztof Nowicki 2018-11-20 13:12:23 UTC
I've rebuilt libreoffice-9999 today and I cannot reproduce this error any more (the unrecognized option warnings are still there).

Going through LibreOffice Git log I've noticed this change, which may be relevant:

https://gerrit.libreoffice.org/#/c/61648/
Comment 7 cyrillic 2018-11-23 04:09:27 UTC
Thanks for the tip.  It seems to be working here too.