Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2023 10:20:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        apache@FreeBSD.org
Subject:   [Bug 270666] devel/apr1: Broken with MySQL 5.7
Message-ID:  <bug-270666-16115-5ljt29m2fO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-270666-16115@https.bugs.freebsd.org/bugzilla/>
References:  <bug-270666-16115@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270666

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=3D241398&action=
=3Dedit
[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 setting=
s.

(1) DEFAULT_VERSIONS+=3Dmysql=3D5.7
(2) DEFAULT_VERSIONS+=3Dmysql=3D8.0
(3) DEFAULT_VERSIONS+=3Dmysql=3D10.6m

* Note that mysql5[67]-* is DEPRECATED.
  in mysql57-server/Makefile:
    | DEPRECATED=3D     Upstream support ended in October 2019
    | EXPIRATION_DATE=3D        2023-12-31

References:
[1] MySQL Bug #25597667: REMOVE MY_BOOL
https://github.com/mysql/mysql-server/commit/6c174bd2a59dfb411b083045512161=
8acfc10406

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270666-16115-5ljt29m2fO>