Summary: | [qt overlay] =dev-qt/qtwebengine-6.3.0 - icu_string_conversions.cc:110:78: error: invalid conversion from ‘base::BasicStringPiece<char16_t>::const_pointer’ {aka ‘const char16_t*’} to ‘const UChar*’ {aka ‘const short unsigned int*’} [-fpermissive] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bernd <waebbl-gentoo> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gyakovlev, ionen |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | qtwebengine-6.3.0:20220415-135256.log.xz |
Description
Bernd
2022-04-16 07:54:52 UTC
Created attachment 770972 [details]
qtwebengine-6.3.0:20220415-135256.log.xz
build log, compressed due to size
This was fixed in chromium one year ago: https://crrev.com/c/2830820 Following should fix it in qtwebengine: --- a/src/3rdparty/chromium/third_party/icu/BUILD.gn +++ b/src/3rdparty/chromium/third_party/icu/BUILD.gn @@ -410,12 +410,6 @@ config("system_icu_config") { "USING_SYSTEM_ICU=1", "ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC", ] - - if (is_win) { - defines += [ "UCHAR_TYPE=wchar_t" ] - } else { - defines += [ "UCHAR_TYPE=uint16_t" ] - } } if (use_system_icu) { I can confirm that this patch is working. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/qt.git/commit/?id=ce687067d9fd189ca0faab3c31dc5b8f4db0d00f commit ce687067d9fd189ca0faab3c31dc5b8f4db0d00f Author: Jimi Huotari <chiitoo@gentoo.org> AuthorDate: 2022-04-26 14:59:32 +0000 Commit: Jimi Huotari <chiitoo@gentoo.org> CommitDate: 2022-04-26 14:59:32 +0000 dev-qt/qtwebengine: fix 6.3.0 build with system-icu Closes: https://bugs.gentoo.org/838742 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> .../files/qtwebengine-6.3.0-system-icu.patch | 38 ++++++++++++++++++++++ dev-qt/qtwebengine/qtwebengine-6.3.0.ebuild | 2 ++ 2 files changed, 40 insertions(+) |