Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698574 - app-office/libreoffice-6.3.2.2[+mariadb] fails
Summary: app-office/libreoffice-6.3.2.2[+mariadb] fails
Status: RESOLVED DUPLICATE of bug 698504
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-26 07:44 UTC by charles17
Modified: 2019-10-29 17:35 UTC (History)
2 users (show)

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


Attachments
emerge --info '=app-office/libreoffice-6.3.2.2::gentoo' (emerge --info,7.27 KB, text/plain)
2019-10-26 07:44 UTC, charles17
Details
build.log (build.log.gz,356.42 KB, application/gzip)
2019-10-26 07:50 UTC, charles17
Details

Note You need to log in before you can comment on or make changes to this bug.
Description charles17 2019-10-26 07:44:01 UTC
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"
Comment 1 charles17 2019-10-26 07:50:59 UTC
Created attachment 593994 [details]
build.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-10-26 08:15:55 UTC
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 ***
Comment 3 charles17 2019-10-26 12:26:33 UTC
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.
Comment 4 charles17 2019-10-28 15:16:36 UTC
See https://bugs.gentoo.org/692422#c15
Comment 5 garmine 2019-10-28 16:14:38 UTC
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.
Comment 6 Peter Levine 2019-10-29 07:36:47 UTC
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.
Comment 7 charles17 2019-10-29 08:30:12 UTC
(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
Comment 8 charles17 2019-10-29 10:30:17 UTC

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.
Comment 9 Manfred Knick 2019-10-29 12:49:26 UTC
(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
Comment 10 Andreas Sturmlechner gentoo-dev 2019-10-29 17:35:14 UTC

*** This bug has been marked as a duplicate of bug 698504 ***