Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 759070 - dev-db/mysql-8.0.22 w/ dev-libs/icu-68.1: mysqld.cc error: 'TRUE' was not declared in this scope
Summary: dev-db/mysql-8.0.22 w/ dev-libs/icu-68.1: mysqld.cc error: 'TRUE' was not dec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords: PATCH
Depends on: 756649
Blocks: icu-68.1
  Show dependency tree
 
Reported: 2020-12-08 16:15 UTC by unusualpepe
Modified: 2021-01-04 03:40 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,235.12 KB, text/plain)
2020-12-08 16:18 UTC, unusualpepe
Details
mysql-8.0.21-icu-68.1.patch (mysql-8.0.21-icu-68.1.patch,1.88 KB, patch)
2020-12-09 17:15 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description unusualpepe 2020-12-08 16:15:42 UTC
Error caused by ICU removal of public macro definitions for TRUE and FALSE.
Comment 1 unusualpepe 2020-12-08 16:18:42 UTC
Created attachment 677245 [details]
build log
Comment 2 Attila Tóth 2020-12-09 17:15:28 UTC
Created attachment 677476 [details, diff]
mysql-8.0.21-icu-68.1.patch

Patch until there is an official solution.
Comment 3 Sumit Khanna 2020-12-10 23:10:23 UTC
(In reply to Attila Tóth from comment #2)
> Created attachment 677476 [details, diff] [details, diff]
> mysql-8.0.21-icu-68.1.patch
> 
> Patch until there is an official solution.

I ran into the same issue. I created an -r2 in my local portage overlay with this patch and verified that it built and installed successfully.
Comment 4 Attila Tóth 2020-12-11 08:08:10 UTC
(In reply to Sumit Khanna from comment #3)
> (In reply to Attila Tóth from comment #2)
> > Created attachment 677476 [details, diff] [details, diff] [details, diff]
> > mysql-8.0.21-icu-68.1.patch
> > 
> > Patch until there is an official solution.
> 
> I ran into the same issue. I created an -r2 in my local portage overlay with
> this patch and verified that it built and installed successfully.

There's no need for an update ebuild. In case of gentoo, it is enough to create a directory: /etc/portage/patches/dev-db/mysql-8.0.21 and copy the patch in that directory. The patch will be automatically applied thereafter during prepare phase as a user patch.
Comment 5 Andreas Sturmlechner gentoo-dev 2020-12-20 18:13:52 UTC
Seems this is the last stable ebuild still broken by ICU-68.
Comment 6 Larry the Git Cow gentoo-dev 2020-12-20 21:01:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4f4a2ba6166380494d0029ce0aedc037884fd39

commit d4f4a2ba6166380494d0029ce0aedc037884fd39
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-12-20 20:54:27 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-12-20 21:01:03 +0000

    dev-db/mysql: fix building against >=dev-libs/icu-68
    
    Closes: https://bugs.gentoo.org/759070
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-db/mysql/Manifest            | 2 +-
 dev-db/mysql/mysql-8.0.22.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)