THIS IS A MASS FILING TO ALL PACKAGE WITH A DEPEND ON virtual/mysql
As was announced on the gentoo-dev-announce mailing list,
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
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.
This still shares its build system with nagios-plugins, and looks for mysql_config at build-time. So I think the right thing to do is replace virtual/mysql with dev-db/mysql-connector-c in (R)DEPEND. Here's what I did in nagios-plugins:
$ diff nagios-plugins-2.2.1-r.ebuild
< KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc x86"
> KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
< mysql? ( virtual/mysql )
> mysql? ( dev-db/mysql-connector-c )
The bug has been closed via the following commit(s):
Author: Tomas Mozes <firstname.lastname@example.org>
AuthorDate: 2018-09-28 08:00:45 +0000
Commit: Mikle Kolyada <email@example.com>
CommitDate: 2018-09-28 18:14:41 +0000
net-analyzer/monitoring-plugins: replace virtual/mysql dependency
Signed-off-by: Tomáš Mózes <firstname.lastname@example.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
.../monitoring-plugins-2.2-r3.ebuild | 104 +++++++++++++++++++++
1 file changed, 104 insertions(+)