Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667918 - Inconsistent USE=mariadb behavior across packages
Summary: Inconsistent USE=mariadb behavior across packages
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-06 21:58 UTC by Michał Górny
Modified: 2018-10-09 20:50 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-10-06 21:58:42 UTC
So USE=mariadb is currently used by four packages:

1) app-misc/sphinx  (home-made REQUIRED_USE=??)
2) dev-ruby/mysql2  (REQUIRED_USE=^^)
3) media-tv/kodi    (USE=mysql + USE=mariadb to switch between impls)
4) net-analyzer/icinga2 (apparently supports both simultaneously)

Of those packages, 1), 2) and 4) use USE=mysql and USE=mariadb as independent flags, i.e. USE="-mysql mariadb" builds mariadb, USE="mysql mariadb" is either forbidden or builds support for both.

3) uses USE=mysql as main flag, so USE="mysql mariadb" builds mariadb, USE="-mysql mariadb" builds nothing.

Please decide on a single semantic for USE=mariadb and make sure it's used consistently to reduce the user confusion.
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2018-10-06 22:46:58 UTC
icinga2 supports both, either or neither.  so I'm good?
Comment 2 Larry the Git Cow gentoo-dev 2018-10-08 19:37:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a0a540a6ecfba7b37af5583d98d3901cc3840c5

commit 1a0a540a6ecfba7b37af5583d98d3901cc3840c5
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-10-08 18:30:53 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-10-08 19:37:00 +0000

    media-tv/kodi: Improve consistency of mysql/mariadb use flags
    
    Bug: https://bugs.gentoo.org/667918
    Signed-off-by: Craig Andrews <candrews@gentoo.org>
    Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-tv/kodi/kodi-9999.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Comment 3 Larry the Git Cow gentoo-dev 2018-10-09 20:50:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b7c2417c963e0b5ce82d5b5668e5f86e3f23543

commit 6b7c2417c963e0b5ce82d5b5668e5f86e3f23543
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-10-09 20:37:47 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-10-09 20:50:25 +0000

    media-tv/kodi: Require at most one of mariadb/mysql, not xor
    
    Bug: https://bugs.gentoo.org/667918
    Closes: https://bugs.gentoo.org/668182
    Signed-off-by: Craig Andrews <candrews@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-tv/kodi/kodi-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99380603e8cb5ff015392163ea23e78a87b6e04f

commit 99380603e8cb5ff015392163ea23e78a87b6e04f
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-10-09 18:21:07 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-10-09 20:50:23 +0000

    media-tv/kodi: Consistency of mysql/mariadb use flags, fix mariadb
    
    Bug: https://bugs.gentoo.org/667918
    Closes: https://bugs.gentoo.org/667750
    Signed-off-by: Craig Andrews <candrews@gentoo.org>
    Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-tv/kodi/kodi-17.6-r6.ebuild | 295 ++++++++++++++++++++++++++++++++++++++
 media-tv/kodi/kodi-17.6.ebuild    |   2 +-
 2 files changed, 296 insertions(+), 1 deletion(-)