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

Bug 666060

Summary: sci-mathematics/glpk: Validate DEPEND on virtual/mysql
Product: Gentoo Linux Reporter: Brian Evans <grknight>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Severity: normal CC: sci-mathematics
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 763480    

Description Brian Evans Gentoo Infrastructure gentoo-dev 2018-09-12 17:36:42 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 2020-03-07 02:23:04 UTC
The bug has been referenced in the following commit(s):

commit 20a34c28e3afae7c20221d6fb76ae83d119c1375
Author:     Michael Orlitzky <>
AuthorDate: 2020-03-06 21:50:06 +0000
Commit:     Michael Orlitzky <>
CommitDate: 2020-03-07 02:13:24 +0000

    sci-mathematics/glpk: new version 4.65.
    This new upstream version fixes a few minor ebuild issues:
      * I've attempted to fix the MySQL include location in a more standard
        way, by using mysql_config (bug 597620). Another solution was already
        present in v4.63, so I've marked this bug as resolved.
      * The virtual/mysql dependency was replaced, per bug 666060. This will
        be completely resolved when v4.65 goes stable and v4.63 is removed.
    We also include a new patch, from upstream, to quiet some overly-verbose
    output. The patch to debundle the system libraries was forward-ported to
    the new version thanks to Fran├žois Bissey, who maintained an ebuild for
    v4.65 in the sage-on-gentoo overlay until now.
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Michael Orlitzky <>

 sci-mathematics/glpk/Manifest                      |  1 +
 .../files/glpk-4.65-debundle-system-libs.patch     | 91 ++++++++++++++++++++++
 .../files/glpk-4.65-fix-mysql-include-prefix.patch | 47 +++++++++++
 .../glpk/files/glpk-4.65-longstep_verbosity.patch  | 23 ++++++
 sci-mathematics/glpk/glpk-4.65.ebuild              | 69 ++++++++++++++++
 5 files changed, 231 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2020-04-13 17:38:36 UTC
The bug has been closed via the following commit(s):

commit 8d6799bcf05704fc9645c8a5668edc16e8c39cf6
Author:     Michael Orlitzky <>
AuthorDate: 2020-04-13 17:36:52 +0000
Commit:     Michael Orlitzky <>
CommitDate: 2020-04-13 17:36:52 +0000

    sci-mathematics/glpk: remove old "unused" version and files.
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Michael Orlitzky <>

 sci-mathematics/glpk/Manifest                      |  1 -
 .../files/glpk-4.63-debundle-system-libs.patch     | 94 ----------------------
 sci-mathematics/glpk/glpk-4.63.ebuild              | 63 ---------------
 3 files changed, 158 deletions(-)