Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 665952 - net-analyzer/nagios-plugins: Validate DEPEND on virtual/mysql
Summary: net-analyzer/nagios-plugins: Validate DEPEND on virtual/mysql
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
Depends on: 676042
Blocks: 763480
  Show dependency tree
Reported: 2018-09-12 17:32 UTC by Brian Evans
Modified: 2021-01-04 02:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


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:32:40 UTC

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* 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* 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.

Comment 1 Larry the Git Cow gentoo-dev 2018-09-23 01:27:53 UTC
The bug has been referenced in the following commit(s):

commit f3e43de56a3800cfac5cdaa3a3267ba9b587953d
Author:     Michael Orlitzky <>
AuthorDate: 2018-09-22 23:53:01 +0000
Commit:     Michael Orlitzky <>
CommitDate: 2018-09-23 01:27:06 +0000

    net-analyzer/nagios-plugins: replace virtual/mysql dependency.
    The nagios-plugins build system (m4/np_mysqlclient.m4) looks for the
    mysql_config program, and so per bug 665952, we should be depending on
    dev-db/mysql-connector-c instead of virtual/mysql at build time. This
    has the -- as far as I can tell, correct -- side effect of removing
    the MySQL server stuff from RDEPEND.
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../nagios-plugins/nagios-plugins-2.2.1-r3.ebuild  | 118 +++++++++++++++++++++
 1 file changed, 118 insertions(+)
Comment 2 Michael Orlitzky gentoo-dev 2018-09-23 01:31:00 UTC
I left this bug open because the new ebuild isn't stable yet, and the old ones still have the incorrect dependency. If the old ebuilds aren't gone by the time you decide to pull the trigger, we could just mark the new -r3 ebuild stable on all arches. That will have the same end result, but will make people rebuild to get the new dependency.
Comment 3 Michael Orlitzky gentoo-dev 2019-02-16 16:04:16 UTC
I just removed the old ebuilds (commit ec0cf769285f14f04).