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

Bug 665868

Summary: dev-haskell/hsql-mysql: Validate DEPEND on virtual/mysql
Product: Gentoo Linux Reporter: Brian Evans <grknight>
Component: Current packagesAssignee: Gentoo's Haskell Language team <haskell>
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:26 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-09-17 21:07:42 UTC
The bug has been closed via the following commit(s):

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

commit 1dbcabe7f29840d82e490c76f9860fe91b9459fb
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-17 21:07:23 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-17 21:07:35 +0000

    dev-haskell/hsql-mysql: move off virtual/mysql, bug #665868
    
    Move off virtual/mysql to dev-db/mysql-connector-c
    as a library provider (with proper subslot).
    
    Reported-by: Brian Evans
    Closes: https://bugs.gentoo.org/665868
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 .../{hsql-mysql-1.8.2.ebuild => hsql-mysql-1.8.2-r1.ebuild} | 13 +++++++------
 dev-haskell/hsql-mysql/hsql-mysql-1.8.3.ebuild              | 13 +++++++------
 2 files changed, 14 insertions(+), 12 deletions(-)