Created attachment 593992 [details] emerge --info '=app-office/libreoffice-6.3.2.2::gentoo' emerge -pqv '=app-office/libreoffice-6.3.2.2::gentoo' [ebuild R ] app-office/libreoffice-6.3.2.2 USE="branding cups java mariadb -accessibility -bluetooth -coinmp -dbus -debug -eds -firebird -googledrive -gstreamer -gtk -gtk2 -kde -ldap -odk -pdfimport -postgres -test" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_5 -python3_7" PYTHON_TARGETS="python2_7 python3_6 -python3_5 -python3_7"
Created attachment 593994 [details] build.log
commit 73309c9f2c62bf1c2b1c32814bd77d6fbfd7a3bf Author: Andreas Sturmlechner <asturm@gentoo.org> Date: Sat Oct 19 01:47:47 2019 +0200 app-office/libreoffice: Fix build with >=dev-db/mysql-connector-c-8 Thanks-to: Peter Levine <plevine457@gmail.com> Closes: https://bugs.gentoo.org/692422 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> *** This bug has been marked as a duplicate of bug 692422 ***
N o t s o l v e d , Sorry. The error happens without mysql-connector-c installed at all as with +mariadb. But setting app-office/libreoffice -mariadb in /etc/portage/package.use solves the problem.
See https://bugs.gentoo.org/692422#c15
It fails for me as well. Compiling version 6.3.2.2 with mariadb results in the same error that the mysql connector got before the patch. Remove `libreoffice-6.3.2.2-mysql-connector-c-8.patch` from the 6.3.2.2 ebuild's PATCHES array and it is going to merge fine. I suggest for now that the patch be applied conditionally if the mariadb useflag is not enabled.
As stated on the https://bugs.gentoo.org/692422#c17,upstream has since modified the code to fix this: https://gerrit.libreoffice.org/plugins/gitiles/core/+/d8f11761d89b3279e547f789d43d47c85a3ddba1%5E%21. The patch in Bug 692422 has been updated to reflect that change and should work if any want to test it.
(In reply to Peter Levine from comment #6) > As stated on the https://bugs.gentoo.org/692422#c17,upstream has since > modified the code to fix this: > https://gerrit.libreoffice.org/plugins/gitiles/core/+/ > d8f11761d89b3279e547f789d43d47c85a3ddba1%5E%21. > > The patch in Bug 692422 has been updated to reflect that change and should > work if any want to test it. https://gitweb.gentoo.org/repo/gentoo.git/tree/app-office/libreoffice/files/libreoffice-6.3.2.2-mysql-connector-c-8.patch?id=73309c9f2 does not have that update
USE=mariadb emerge app-office/libreoffice-6.3.2.2 finally wfm after modifying libreoffice-6.3.2.2-mysql-connector-c-8.patch manually.
(In reply to charles17 from comment #8) +1: WorksForMe: > ... after > modifying libreoffice-6.3.2.2-mysql-connector-c-8.patch manually. https://gerrit.libreoffice.org/plugins/gitiles/core/+/d8f11761d89b3279e547f789d43d47c85a3ddba1%5E%21
*** This bug has been marked as a duplicate of bug 698504 ***