← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 1528583] Re: [FFe] Please update to MySQL 5.7 series

 

We discovered a problem with mythtv compiling against mysql 5.7.

It boils down to mysql expects that if you #include <mysql/mysql.h> that
you have the mysql installation's include path included at compile time
to get the rest of the headers.  This is presumptuous as it worked fine
for 5.5 and 5.6 previously without it.

I've filed an issue upstream MythTV here:
https://code.mythtv.org/trac/ticket/12696

For now to at least let mythtv compile against 5.7 in Ubuntu xenial I've written a small patch:
https://github.com/MythTV/packaging/commit/8112bd623cffc90a6ef9e15be6192fecb3c01d40

That will be in the next upload.

I'm sure mythtv isn't the only project that is going to fail compiling
against mysql in this way (checking a #include header is common in
configure scripts), so it would really be best to work with upstream to
sort this out.

Thanks!
 

** Changed in: mythtv (Ubuntu)
       Status: New => Fix Committed

** Bug watch added: code.mythtv.org/trac/ #12696
   http://code.mythtv.org/trac/ticket/12696

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythtv in Ubuntu.
https://bugs.launchpad.net/bugs/1528583

Title:
  [FFe] Please update to MySQL 5.7 series

Status in mysql-5.7 package in Ubuntu:
  In Progress
Status in mythbuntu-live-autostart package in Ubuntu:
  New
Status in mythtv package in Ubuntu:
  Fix Committed

Bug description:
  upgrade to MySQL 5.7.10 and above, ununtu 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1528583/+subscriptions