Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.1.37
-
None
Description
MariaDB 10.1 builds for cosmic in buildbot are failing install tests at least in part because Ubuntu's MariaDB 10.1 since Ubuntu Bionic has EPOCH set to 1.
We added code for Ubuntu Bionic to set EPOCH=1 in debian/autobake-deb.sh and that section needs to be extended to also include Ubuntu Cosmic.
Instead of just adding cosmic to a static list, a better fix would be to set the EPOCH for any Ubuntu build greater than 18.04, that way we wouldn't have to do this again. I have a patch that does this, but I need to test it first.
The version.patch takes the output of lsb_release -sr, which is the Ubuntu version number (e.g. 18.10), converts it to an integer by stripping off the part after the '.', and then at the appropriate spot instead of comparing the release codename it checks to see if the number is greater than or equal to 18. Every version of Ubuntu that matches (18.04, 18.10, 19.04, etc...) needs the EPOCH flag set afaik.