Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564974 - dev-db/{mysql,percona-server} - Add support for stricter version targeting in mysql-extras/MYSQL_VERSION_ID format
Summary: dev-db/{mysql,percona-server} - Add support for stricter version targeting in...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-05 21:40 UTC by Thomas Deutschmann (RETIRED)
Modified: 2016-03-09 21:01 UTC (History)
0 users

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


Attachments
Add support for stricter version targeting (add-support-for-buildnumbers.diff,2.70 KB, patch)
2015-11-05 21:40 UTC, Thomas Deutschmann (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2015-11-05 21:40:36 UTC
Created attachment 416134 [details, diff]
Add support for stricter version targeting

Hi,

while working on bug 561020 I wanted to add a patch which would only apply against a specific build (v5.6.26-74, upstream version number) because the patch was already in upstream's queue for the next release and I wanted to avoid the need to remove the patch from mysql-extra when the next upstream release will become available.

The problem is that the eclass handling mysql-extras has contradictory comments regarding the MySQL version format mysql-multilib.eclass sets. I.e. the code defining MYSQL_VERSION_ID in mysql-multilib.eclass says it supports $PVR (version number including Gentoo revision number) but comments in mysql_fx.eclass indicates this eclass isn't aware that ebuilds could have a revision number.

My patch adds support for version numbers like 5.06.26.99.99 in mysql-extras while keeping support for smaller version formats like 5.06.99.99 or 5.06.99.
Comment 1 Brian Evans (RETIRED) gentoo-dev 2016-03-09 21:01:14 UTC
mysql_fx eclass is being phased out with EAPI=6