[debian-mysql] libjemalloc-dev and MariaDB 10 for Ubuntu 12.04

Otto Kekäläinen otto at seravo.fi
Mon Mar 10 17:22:52 UTC 2014


Hello!

I noticed last week that some MariaDB 10.0 binary tests fail in
precise. Look at the end of the log to see how it looked ilke:
http://labs.seravo.fi/~otto/mariadb-repo/precise-amd64/mariadb-10.0_10.0.8-1_amd64.build-2c9b745-pbuilder-precise-amd64.log

This artifact was visible only for precise. Sid, wheezy and trusty where OK.

After debugging it for ages I found out that:
- all failing tests all use XtraDB - it is XtraDB that crashes
- crashes only happen with the XtraDB plugin with debug symbols -
actual binary shipped in debs would not have the issue, as it is
stripped before putting into .deb

After lots of fiddling around with comparing build dependencies and
source versions I was able to pinpoint that the reason to this issue
was libjemalloc-dev in precise (2.2.5). In the other releases the
libjemalloc-dev version is >= 3.0.0.

The funny thing is that MariaDB 10 can build also without libjemalloc,
but some multi arch stuff will be left out.

Is there any syntax in debian/control to define that a build
dependency is "libjemalloc-dev => 3.0.0|none" - meaning don't install
anything if Jemalloc isn't new enough, but still continue with the
build?



-- 
Check out our blog at http://seravo.fi/blog
and follow @ottokekalainen



More information about the pkg-mysql-maint mailing list