Opened 15 months ago

Last modified 14 months ago

#13304 new Bug Report - General

FTBFS with MySQL 8.0

Reported by: ltangvald Owned by:
Priority: minor Milestone: needs_triage
Component: Plugin - MythZoneminder Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no


Build fails because the my_bool type has been removed in MySQL, to be replaced with either int or bool (ref:

To reproduce: build mythtv source with libmysqlclient-dev 8.0+

Change History (2)

comment:1 Changed 15 months ago by Gary Buhrmaster

Hopefully useful information for the MythZoneminder? wrangler....

Related to #13093 (where the use of the my_bool was added as that approach was the solution being done in other projects (now they get to change again too)).

It appears that mysql and mariadb are starting to diverge at the client API level.

comment:2 Changed 14 months ago by ltangvald

Yeah, they've been steadily diverging (generally we had more issues of this type for the transition from 5.6 to 5.7, but it varies what software is affected by each change). There's a reasonably simple way to support both by adding a precompile directive:

typedef int reconnect_t
typedef my_bool reconnect_t
reconnect_t reconnect = 1;
Last edited 14 months ago by ltangvald (previous) (diff)
Note: See TracTickets for help on using tickets.