Required libmysqlclient20 headers are not on default include path

Bug #1565414 reported by Lars Tangvald
8
This bug affects 1 person
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/mysql/mysql/psi

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)

Revision history for this message
Lars Tangvald (lars-tangvald) wrote :

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.

Revision history for this message
Lars Tangvald (lars-tangvald) wrote :

Previous patch was incorrect one and won't work.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "0001-Move-needed-header-files-to-default-include-path.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
description: updated
description: updated
Robie Basak (racb)
Changed in mysql-5.7 (Ubuntu):
status: New → Fix Committed
Robie Basak (racb)
tags: added: mysql-5.7-transition
Revision history for this message
Robie Basak (racb) wrote :

This was fixed in 5.7.11-0ubuntu3.

Changed in mysql-5.7 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.