FTBFS with MySQL 8.0

Bug #1795365 reported by Lars Tangvald
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
w1retap (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

MySQL 8.0 removes the my_bool symbol, and it should simply be replaced with int or bool (this is also backwards-compatible with older versions of MySQL)

Tags: patch
Revision history for this message
Thomas Stewart (thomasdstewart) wrote :

I will try to spin up a new Ubuntu machine to fix this at some point. In the mean time I have a mostly untested patch.

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

The attachment "fix-mysql-bool.diff" 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
Revision history for this message
Thomas Stewart (thomasdstewart) wrote :

I just tried this in an Ubuntu 19.10 in a VM and I've not been able to reproduce it. Looking at /usr/include/mysql/mysql.h, it seems at some point the my_bool transitions has been given more time:

thomas@ubuntu:~$ grep my_bool /usr/include/mysql/mysql.h
// Give third-party packages more time to drop my_bool
typedef bool my_bool;
thomas@ubuntu:~$

Revision history for this message
Logan Rosen (logan) wrote :

Andreas Hasenack addressed this in 1.4.4-3ubuntu2.

Changed in w1retap (Ubuntu):
status: New → 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.