Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 662372

Summary: app-misc/sphinx should depend on virtual/libmysqlclient, not on connectors directly
Product: Gentoo Linux Reporter: Slava Sterling <gentoo.org>
Component: Current packagesAssignee: Hans de Graaff <graaff>
Status: RESOLVED INVALID    
Severity: normal CC: mysql-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Slava Sterling 2018-07-29 00:30:37 UTC
Starting from version 2.2.11-r1, if either "mysql" or "mariadb" USE flag was specified, the package depends on dev-db/mysql-connector-c or dev-db/mariadb-connector-c. Consequently, app-misc/sphinx now indirectly conflicts with any kind of mysql server — dev-db/mysql, dev-db/mariadb, dev-db/percona-server, ...
Instead, app-misc/sphinx should depend on virtual/libmysqlclient, which is responsible for choosing a corresponding source of connector files.
Comment 1 Hans de Graaff gentoo-dev Security 2018-07-29 06:24:19 UTC
https://archives.gentoo.org/gentoo-dev-announce/message/618f39bce863911d8955ee9f83636ca4

How do they conflict (with latest versions in testing)?
Comment 2 Slava Sterling 2018-07-29 13:27:34 UTC
Thank you for the link, I wasn't aware of the upcoming changes.
Just double checked ebuilds and their dependencies — I have a mysql server with USE="client-libs", and it appears this flag is the reason why both connectors actively refuse to coexist with the server.
Sorry for wasting your time and thanks again!