Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 665892 - dev-python/mysqlclient: Validate DEPEND on virtual/mysql
Summary: dev-python/mysqlclient: Validate DEPEND on virtual/mysql
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 763480
  Show dependency tree
 
Reported: 2018-09-12 17:30 UTC by Brian Evans
Modified: 2021-01-04 02:27 UTC (History)
2 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 Brian Evans Gentoo Infrastructure gentoo-dev 2018-09-12 17:30:22 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 2019-02-11 15:12:14 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7adf580f044e87d93df2999d5af83cb3e2b5adba

commit 7adf580f044e87d93df2999d5af83cb3e2b5adba
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2019-02-11 15:10:51 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2019-02-11 15:11:58 +0000

    dev-python/mysqlclient: Revbump for dependency change
    
    Non-maintainer commit
    
    Bug: https://bugs.gentoo.org/665892
    Package-Manager: Portage-2.3.59, Repoman-2.3.12
    Signed-off-by: Brian Evans <grknight@gentoo.org>

 ...t-1.4.1.ebuild => mysqlclient-1.3.14-r1.ebuild} |  2 +-
 ...nt-1.4.2.ebuild => mysqlclient-1.4.1-r1.ebuild} |  2 +-
 dev-python/mysqlclient/mysqlclient-1.4.2-r1.ebuild | 35 ++++++++++++++++++++++
 3 files changed, 37 insertions(+), 2 deletions(-)
Comment 2 Gary E. Miller 2019-08-27 19:08:30 UTC
Still some dependencies in stable:

# required by dev-perl/DBD-mysql-4.44.0::gentoo
# required by mail-filter/spamassassin-3.4.2-r6::gentoo[mysql]

# required by dev-perl/DBD-mysql-4.44.0::gentoo
# required by net-analyzer/nagios-check_mysql_health-2.2.2::gentoo

# required by dev-perl/DBD-mysql-4.44.0::gentoo
# required by dev-db/mariadb-10.2.22-r1::gentoo[perl]