Bug #91927 | 8.0.12 no longer builds with Mac brew-installed ICU | ||
---|---|---|---|
Submitted: | 8 Aug 2018 5:14 | Modified: | 8 Aug 2018 20:55 |
Reporter: | Laurynas Biveinis (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
Version: | 8.0.12 | OS: | MacOS (10.13.6) |
Assigned to: | CPU Architecture: | Any | |
Tags: | icu, regression |
[8 Aug 2018 5:14]
Laurynas Biveinis
[8 Aug 2018 5:15]
Laurynas Biveinis
$ brew info icu4c icu4c: stable 62.1 (bottled) [keg-only] C/C++ and Java libraries for Unicode and globalization http://site.icu-project.org/ /usr/local/Cellar/icu4c/62.1 (250 files, 67.3MB) Poured from bottle on 2018-06-22 at 14:43:00 From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/icu4c.rb ...
[8 Aug 2018 7:20]
Terje Røsten
Hi! Thanks for report! Can you try the following patch: iff --git a/plugin/x/src/xpl_regex.cc b/plugin/x/src/xpl_regex.cc index eefb14d78b7..a77a807459c 100644 --- a/plugin/x/src/xpl_regex.cc +++ b/plugin/x/src/xpl_regex.cc @@ -53,7 +53,7 @@ bool xpl::Regex::match(const char *value) const { * and parse the text patter each time that xpl::Regex::match * is called. */ - UnicodeString value_as_utf8{icu::UnicodeString::fromUTF8(value)}; + icu::UnicodeString value_as_utf8{icu::UnicodeString::fromUTF8(value)}; std::unique_ptr regexp{ m_pattern->matcher(value_as_utf8, match_status)};
[8 Aug 2018 7:44]
Laurynas Biveinis
Thanks - with the patch the build is successful
[8 Aug 2018 20:55]
Terje Røsten
Thanks for confirmation, patch will be included in next release.