Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577042 - virtual/mysql-5.6-r8: Now enforces server but is depended on by many client-only ebuilds
Summary: virtual/mysql-5.6-r8: Now enforces server but is depended on by many client-o...
Status: RESOLVED WONTFIX
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: 2016-03-11 09:00 UTC by Bernd Feige
Modified: 2016-03-11 13:36 UTC (History)
0 users

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 Bernd Feige 2016-03-11 09:00:24 UTC
virtual/mysql-5.6-r8 was changed from virtual/mysql-5.6-r7 to now require a mysql server on the current system.

While this corresponds to the description of the virtual "Virtual for MySQL database server", there are clearly client-only ebuilds such as dev-perl/DBD-mysql-4.32.0-r1 and net-analyzer/monitoring-plugins-2.1.2[mysql] which depend upon virtual/mysql. Even mariadb[-server] currently ends up depending upon virtual/mysql through mysql-multilib-r1.eclass.

This obviously is not a problem on systems with USE=server set on mysql or mariadb, or percona-server, but leads to clashes on client machines where mysql or mariadb is installed with -server. 

So I guess we can either continue with the lenient definition of virtual/mysql-5.6-r7, which made no assumptions on the server use flag of other packages, or add a "server" use flag to virtual/mysql as well (and probably in any case change the description to "Virtual for MySQL database").

Best regards,
Bernd
Comment 1 Brian Evans (RETIRED) gentoo-dev 2016-03-11 13:36:13 UTC
If an ebuild requires the client libraries, it should depend on virtual/libmysqlclient.

This was created almost a year ago so that virtual/mysql would be the server virtual.

I'll make an announcement on the developer list to get some push going.

Creating bugs here is also appropriate including a tracker.
I don't have the time to walk though every package personally though.