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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1528583

Title:
  [FFe] Please update to MySQL 5.7 series

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to