Build with lz4 build-dep instead of bundled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Lars Tangvald |
Bug Description
MySQL 5.7 source package has liblz4-dev as a build-dep, but it isn't actually used because the build defaults to using a bundled version.
[Impact]
No known user impact at present (other than a small difference in binary footprint), but builds shouldn't use bundled libraries when it's available in the system.
[racb] However a future security update in liblz4-dev will not update MySQL. We fixed this in sid, and I think it's appropriate to backport given that we've tested it in Yakkety.
Add cmake flag -DWITH_LZ4=system to use the correct version.
[Test case]
* Build package
* Run ldd on usr/lib/
[Regression potential]
This change has been in Yakkety for some time (5.7.15-0ubuntu2).
Database dump-related utils like mysqlpump and lz4_decompress could be impacted if any significant changes arise between the version of liblz4 available on user systems and what is used to test upstream.
description: | updated |
Changed in mysql-5.7 (Ubuntu Xenial): | |
assignee: | nobody → Lars Tangvald (lars-tangvald) |
status: | New → Fix Committed |
Changed in mysql-5.7 (Ubuntu Xenial): | |
status: | Fix Committed → In Progress |
Changed in mysql-5.7 (Ubuntu Xenial): | |
milestone: | none → xenial-updates |
Fix released in mysql-5.7 (5.7.15-0ubuntu2) yakkety