Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666684 - app-office/libreoffice-6.2.9999 USE=-mysql - configure: error: mysql_config is missing. Install MySQL client library development package.
Summary: app-office/libreoffice-6.2.9999 USE=-mysql - configure: error: mysql_config i...
Status: RESOLVED FIXED
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: 2018-09-21 10:32 UTC by jospezial
Modified: 2019-01-20 19:31 UTC (History)
0 users

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


Attachments
config.log with no mysql installed (config.log,242.89 KB, text/x-log)
2018-09-21 10:32 UTC, jospezial
Details
config.log with USE="-mysql" and no mysql installed (config.log,188.53 KB, text/plain)
2018-09-21 10:48 UTC, jospezial
Details
libreoffice-6.2.9999 config.log with USE="-mysql" and no mysql installed (config.log,126.17 KB, text/plain)
2019-01-18 20:59 UTC, jospezial
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2018-09-21 10:32:53 UTC
Created attachment 547464 [details]
config.log with no mysql installed

configure: WARNING: unrecognized options: --disable-ext-mariadb-connector, --without-system-mysql-cppconn

checking for Python.h... yes
checking for correct python library version... ok
checking which MariaDB to use... external
checking for mysql_config... no
configure: error: mysql_config is missing. Install MySQL client library development package.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999/config.log
 * ERROR: app-office/libreoffice-9999::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 7288:  Called econf '--with-system-dicts' '--with-system-epoxy' '--with-system-headers' '--with-system-jars' '--with-system-libs' '--enable-build-opensymbol' '--enable-cairo-canvas' '--enable-largefile' '--enable-mergelibs' '--enable-neon' '--enable-python=system' '--enable-randr' '--enable-release-build' '--disable-breakpad' '--disable-ccache' '--disable-dependency-tracking' '--disable-epm' '--disable-fetch-external' '--disable-gstreamer-0-10' '--disable-online-update' '--disable-openssl' '--disable-pdfium' '--disable-report-builder' '--with-build-version=Gentoo official package' '--enable-extension-integration' '--with-external-dict-dir=/usr/share/myspell' '--with-external-hyph-dir=/usr/share/myspell' '--with-external-thes-dir=/usr/share/myspell' '--with-external-tar=/var/tmp/portage/app-office/libreoffice-9999/distdir' '--with-lang=' '--with-parallelism=5' '--with-system-ucpp' '--with-tls=nss' '--with-vendor=Gentoo Foundation' '--with-x' '--without-fonts' '--without-myspell-dicts' '--without-help' '--with-helppack-integration' '--with-system-gpgmepp' '--without-system-sane' '--enable-sdremote-bluetooth' '--disable-coinmp' '--enable-cups' '--enable-dbus' '--disable-debug' '--disable-evolution2' '--disable-firebird-sdbc' '--enable-gstreamer-1-0' '--enable-gtk3' '--disable-gtk' '--disable-kde5' '--disable-qt5' '--disable-ext-mariadb-connector' '--disable-odk' '--enable-pdfimport' '--disable-postgresql-sdbc' '--disable-vlc' '--without-lxml' '--without-system-coinmp' '--without-gdrive-client-id' '--without-gdrive-client-secret' '--without-java' '--without-system-mysql-cppconn' '--without-doxygen' '--enable-dconf' '--enable-gio' '--disable-ext-nlpsolver' '--disable-scripting-beanshell' '--disable-scripting-javascript' '--disable-ext-wiki-publisher'
 *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  121:  Called die
 * The specific snippet of code:
 *              die "$@"



https://cgit.freedesktop.org/libreoffice/core/commit/?id=b1d1edff4e81a8299e2a17c7e562d144329549ab
"--enable-ext-mariadb-connector was removed
...in 26b40fcfc67480e75bd9959b0c5cb9db10fdf6a1 "Moving mysqlc into connectivity
as a library", apparently without replacement"



https://cgit.freedesktop.org/libreoffice/core/commit/?id=26b40fcfc67480e75bd9959b0c5cb9db10fdf6a1
"Moving mysqlc into connectivity as a library
Additionally I erased the remains of the old mysql C++ connector.
Also update the code where the clang plugins were unhappy after moving
the mysqlc module.
Remove mysql-cpp-connector external."
Comment 1 jospezial 2018-09-21 10:48:21 UTC
Created attachment 547468 [details]
config.log with USE="-mysql" and no mysql installed
Comment 2 jospezial 2018-10-18 21:28:51 UTC
: *****************************************************************
: ERROR: ERROR: Missing files at /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999/solenv/bin/modules/installer/scriptitems.pm line 1212.
: *****************************************************************

Thu Oct 18 06:37:01 2018 (00:02 min.)
Failed to install: No such file or directory at /var/tmp/portage/app-office/libreoffice-9999/work/libreoffice-9999/solenv/bin/ooinstall line 91.
make: *** [Makefile:340: install] Error 2
 * ERROR: app-office/libreoffice-9999::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 124:  Called src_install
 *   environment, line 7299:  Called die
 * The specific snippet of code:
 *       make DESTDIR="${D}" distro-pack-install -o build -o check || die;



grep -i libmysql_jdbclo.so /var/tmp/portage/app-office/libreoffice-9999/temp/build.log
ERROR: File not found: libmysql_jdbclo.so
: ERROR: Source for libmysql_jdbclo.so not found!
: ERROR: Removing file libmysql_jdbclo.so from file list.


I think this could be related to the unrecognized options and other upstream changes.
Comment 3 Andreas Sturmlechner gentoo-dev 2018-12-31 07:34:22 UTC
Thanks for your report, USE +-mysql should be fixed now.
Comment 4 jospezial 2019-01-18 20:59:49 UTC
Created attachment 562082 [details]
libreoffice-6.2.9999 config.log with USE="-mysql" and no mysql installed
Comment 5 jospezial 2019-01-18 21:02:21 UTC
(In reply to Andreas Sturmlechner from comment #3)
> Thanks for your report, USE +-mysql should be fixed now.

[ebuild     U *] app-office/libreoffice-6.2.9999::gentoo [6.1.9999::gentoo] USE="bluetooth branding cups dbus gstreamer gtk kde* pdfimport -accessibility -coinmp -debug -eds -firebird -googledrive -gtk2 -java -mysql -odk -postgres -test -vlc" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_4 -python3_5 -python3_7" PYTHON_TARGETS="python2_7 python3_6 python3_7 -python3_4 -python3_5" 0 KiB
[nomerge       ] net-print/gutenprint-5.3.1::stefantalpalaru  USE="cups gimp gtk nls ppds readline -static-libs" 

checking which MariaDB to use... external
checking for mysql_config... no
configure: error: mysql_config is missing. Install MySQL client library development package.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-office/libreoffice-6.2.9999/work/libreoffice-6.2.9999/config.log
 * ERROR: app-office/libreoffice-6.2.9999::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 7294:  Called econf '--with-system-dicts' '--with-system-epoxy' '--with-system-headers' '--with-system-jars' '--with-system-libs' '--enable-build-opensymbol' '--enable-cairo-canvas' '--enable-largefile' '--enable-mergelibs' '--enable-neon' '--enable-python=system' '--enable-randr' '--enable-release-build' '--disable-breakpad' '--disable-ccache' '--disable-dependency-tracking' '--disable-epm' '--disable-fetch-external' '--disable-gstreamer-0-10' '--disable-online-update' '--disable-openssl' '--disable-pdfium' '--disable-report-builder' '--with-build-version=Gentoo official package (from git: aee0babb24f18c6f47f315ffce504e0b49363a68)' '--enable-extension-integration' '--with-external-dict-dir=/usr/share/myspell' '--with-external-hyph-dir=/usr/share/myspell' '--with-external-thes-dir=/usr/share/myspell' '--with-external-tar=/var/tmp/portage/app-office/libreoffice-6.2.9999/distdir' '--with-lang=' '--with-parallelism=5' '--with-system-ucpp' '--with-tls=nss' '--with-vendor=Gentoo Foundation' '--with-x' '--without-fonts' '--without-myspell-dicts' '--without-help' '--with-helppack-integration' '--with-system-gpgmepp' '--without-system-sane' '--enable-sdremote-bluetooth' '--disable-coinmp' '--enable-cups' '--enable-dbus' '--disable-debug' '--disable-evolution2' '--disable-firebird-sdbc' '--enable-gstreamer-1-0' '--enable-gtk3' '--disable-gtk' '--enable-kde5' '--enable-qt5' '--disable-bundle-mariadb' '--disable-odk' '--enable-pdfimport' '--disable-postgresql-sdbc' '--disable-vlc' '--without-lxml' '--without-system-coinmp' '--without-gdrive-client-id' '--without-gdrive-client-secret' '--without-java' '--without-doxygen' '--enable-gtk3-kde5' '--enable-dconf' '--enable-gio' '--disable-ext-nlpsolver' '--disable-scripting-beanshell' '--disable-scripting-javascript' '--disable-ext-wiki-publisher'
 *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  119:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
Comment 6 Larry the Git Cow gentoo-dev 2019-01-20 19:31:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a1efea44a772aad03ef3ce1b3c0f8de62952ead

commit 2a1efea44a772aad03ef3ce1b3c0f8de62952ead
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-01-20 19:30:48 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-01-20 19:31:18 +0000

    app-office/libreoffice: Drop USE mysql in >=6.2
    
    There is apparently no way to switch it off at this point.
    
    Closes: https://bugs.gentoo.org/666684
    Package-Manager: Portage-2.3.56, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-office/libreoffice/libreoffice-6.2.9999.ebuild | 5 ++---
 app-office/libreoffice/libreoffice-9999.ebuild     | 7 +++----
 2 files changed, 5 insertions(+), 7 deletions(-)