[Bug 270666] devel/apr1: Broken with MySQL 5.7
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 270666] devel/apr1: Broken with MySQL 5.7"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 10 Apr 2023 10:20:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270666 Toshimichi Masubuchi <t.masub@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |t.masub@gmail.com --- Comment #1 from Toshimichi Masubuchi <t.masub@gmail.com> --- Created attachment 241398 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241398&action=edit [patch] MY_BOOL definition only added since MySQL 8.0.1 In MySQL, the definition of MY_BOOL is in mysql.h up to version 8.0.0 [1], so a double definition error occurs. As a workaround, I created a patch that adds the definition of MY_BOOL to that version or later. It has been confirmed that the build can be done with the following settings. (1) DEFAULT_VERSIONS+=mysql=5.7 (2) DEFAULT_VERSIONS+=mysql=8.0 (3) DEFAULT_VERSIONS+=mysql=10.6m * Note that mysql5[67]-* is DEPRECATED. in mysql57-server/Makefile: | DEPRECATED= Upstream support ended in October 2019 | EXPIRATION_DATE= 2023-12-31 References: [1] MySQL Bug #25597667: REMOVE MY_BOOL https://github.com/mysql/mysql-server/commit/6c174bd2a59dfb411b0830455121618acfc10406 -- You are receiving this mail because: You are the assignee for the bug.