Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835779 - app-office/libreoffice-7.2.5.2-r1: failed configure when USE="-mariadb"
Summary: app-office/libreoffice-7.2.5.2-r1: failed configure when USE="-mariadb"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-22 03:40 UTC by Ryan Tsien
Modified: 2022-03-22 03:52 UTC (History)
0 users

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


Attachments
libreoffice-config.log (libreoffice-7.2.5.2-config.log,142.47 KB, text/plain)
2022-03-22 03:42 UTC, Ryan Tsien
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Tsien 2022-03-22 03:40:19 UTC
```
checking for Python.h... yes
checking for correct python library version... ok
checking whether to build LibreLogo... yes
checking whether to build the MariaDB/MySQL SDBC driver... yes
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-7.2.5.2-r1/work/libreoffice-7.2.5.2/config.log
 * ERROR: app-office/libreoffice-7.2.5.2-r1::gentoo failed (configure phase):
 *   econf failed
```

Reproducible: Always

Steps to Reproduce:
1. unmerge app-office/libreoffice
2. depclean to make sure {mysql,mariadb}-connector-c not installed
3. USE="-mariadb" emerge app-office/libreoffice again
Comment 1 Ryan Tsien 2022-03-22 03:42:13 UTC
Created attachment 767544 [details]
libreoffice-config.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-22 03:46:52 UTC
Can you include the build.log too?

>checking whether to build the MariaDB/MySQL SDBC driver... yes

Note that we *always* require *one or the other* of MariaDB or MySQL for now:
>	mariadb? ( dev-db/mariadb-connector-c )
>	!mariadb? ( dev-db/mysql-connector-c )

(I don't know if this is avoidable somehow, but they're actually quite light dependencies by themselves.)
Comment 3 Ryan Tsien 2022-03-22 03:52:17 UTC
(In reply to Sam James from comment #2)
> Note that we *always* require *one or the other* of MariaDB or MySQL for now:
> >	mariadb? ( dev-db/mariadb-connector-c )
> >	!mariadb? ( dev-db/mysql-connector-c )
Sorry, it's my fault. I test with a -O option and thought all necessary dependencies installed. I'll close this bug, and, sorry again.