Required libmysqlclient20 headers are not on default include path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The header files for the client library are located in a directory tree inside include/mysql, with some of them being inside include/mysql/mysql or include/
With changes to the header files in 5.7, packages will fail to build with the 5.7 client library unless they add include/mysql to the default include path.
The least invasive change is to simply copy some of the required headers so they are on the default include path until upstream decides what the plan is for the header files.
Packages affected:
* anope - fixed
* cctools - fixed
* cvm - fixed
* dsyslog - fixed, but hit libmysqlclient_r issue
* gentle - fixed
* kamailio - fixed
* libdbi-drivers - hides other issue. Needs more investigation
* mailutils - fixed
* mysqlmail - fixed
* opensmtpd-extras - fixed
* libodb-mysql - fixed (requires fixing libmysqlclient_r issue first)
description: | updated |
description: | updated |
Changed in mysql-5.7 (Ubuntu): | |
status: | New → Fix Committed |
tags: | added: mysql-5.7-transition |
Appending a patch that works around the issue in the same way upstream seems to have done it before; adding the needed header files to a CMake setup file in the server source.
But since it requires adding a second directory in include/mysql, changes to the packaging scripts are also needed.