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

Bug 665860

Summary: dev-db/mysql-workbench: Validate DEPEND on virtual/mysql
Product: Gentoo Linux Reporter: Brian Evans <grknight>
Component: Current packagesAssignee: Hans de Graaff <graaff>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 763480    

Description Brian Evans Gentoo Infrastructure gentoo-dev 2018-09-12 17:29:09 UTC
THIS IS A MASS FILING TO ALL PACKAGE WITH A DEPEND ON virtual/mysql

As was announced on the gentoo-dev-announce mailing list[1],
virtual/mysql is no longer viable to depend on providing the client libraries
or the mysql_config tool.

Most uses of DEPEND="virtual/mysql" (or conditionals based upon it) will not
work in the future.

If this package (optionally) depends on libmysqlclient.so* or mysql_config for
building, you will need to have dev-db/mysql-connector-c as the DEPEND/RDEPEND.

If this package (optionally) depends on libmariadb.so* or mariadb_config for
building, you will need to have dev-db/mariadb-connector-c as the
DEPEND/RDEPEND.

If this package requires the server running locally, virtual/mysql is
acceptible for RDEPEND and only in DEPEND when tests demand it.

The rare exception when server only files are required at build time should you
keep a compatible server listed.

After 60 days, roughly mid-October 2018, remaining packages will be forcefully
changed to mysql-connector-c with little or no testing. The server packages
will drop their compatibility DEPEND shortly after.

[1] https://archives.gentoo.org/gentoo-dev-announce/message/618f39bce863911d8955ee9f83636ca4
Comment 1 Larry the Git Cow gentoo-dev 2018-10-24 06:14:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fd21a2bc569f2a6a65f6f8b85e755c447ab7994

commit 5fd21a2bc569f2a6a65f6f8b85e755c447ab7994
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2018-10-24 06:13:24 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2018-10-24 06:13:45 +0000

    dev-db/mysql-workbench: drop virtual/mysql dependency
    
    mysql-workbench uses mysql-connector-c++ to establish a connection with
    the server. mysql_config is mentioned in a test unit file but tests are
    not currently run.
    
    Closes: https://bugs.gentoo.org/665860
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-db/mysql-workbench/mysql-workbench-6.3.10.ebuild   | 3 +--
 dev-db/mysql-workbench/mysql-workbench-6.3.4-r1.ebuild | 3 +--
 dev-db/mysql-workbench/mysql-workbench-8.0.13.ebuild   | 1 -
 3 files changed, 2 insertions(+), 5 deletions(-)