Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-95564

Minimum ICU version is too low

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.2.0 Beta4, 6.3.0 Alpha
    • 6.2.0 Beta2
    • WebEngine
    • None
    • Linux/X11
    • 4e7267773b8b2f7b6e0bdf01c06d77967e299b9f (qt/qtwebengine/dev) 7ce45da66831d8f003860630d52ea53809a45df7 (qt/qtwebengine/6.2)

    Description

      I'm Still experimenting with qtwebengine 6.2

      The minimum ICU version seems too low. configure.cmake looks for icu-uc and icu-i18n >= 65 but at least 67 seems required.

      With icu 65, the build fails with:

       

      [ 8827s] FAILED: obj/v8/v8_base_without_compiler/js-display-names.o 
      [ 8827s] /usr/bin/g++-10 -MMD -MF obj/v8/v8_base_without_compiler/js-display-names.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -DENABLE_MINOR_MC -DV8_INTL_SUPPORT -DV8_ATOMIC_OBJECT_FIELD_WRITES -DV8_ATOMIC_MARKING_STATE -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_SNAPSHOT_COMPRESSION -DV8_ENABLE_WEBASSEMBLY -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DCPPGC_CAGED_HEAP -DV8_TARGET_ARCH_X64 -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -DDISABLE_UNTRUSTED_CODE_MITIGATIONS -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DCPPGC_CAGED_HEAP -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DCPPGC_CAGED_HEAP -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DUSE_SYSTEM_ZLIB=1 -I. -Igen -I../../../../src/3rdparty/chromium -I../../../../src/3rdparty/chromium/v8 -I../../../../src/3rdparty/chromium/v8/include -Igen/v8 -Igen/v8/include -Igen -Igen -Igen -Igen/v8/include -I../../../../src/3rdparty/chromium/v8/include -I../../../../src/3rdparty/chromium/v8/include -Igen/v8/include -I../../../../src/3rdparty/chromium/v8/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -fvisibility=hidden -Wno-strict-overflow -Wno-return-type -Wno-int-in-bool-context -O3 -fno-ident -fdata-sections -ffunction-sections -g0 -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../../../../src/3rdparty/chromium/v8/src/objects/js-display-names.cc -o obj/v8/v8_base_without_compiler/js-display-names.o
      [ 8827s] ../../../../src/3rdparty/chromium/v8/src/objects/js-display-names.cc: In member function 'virtual v8::Maybe<icu_65_1::UnicodeString> v8::internal::{anonymous}::LanguageNames::of(v8::internal::Isolate*, const char*) const':
      [ 8827s] ../../../../src/3rdparty/chromium/v8/src/objects/js-display-names.cc:135:7: error: 'class icu_65_1::Locale' has no member named 'canonicalize'

       

       

      According to https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classicu_1_1Locale.html#a9e8ce3f1e540a132e9f8c754839f8ded this would need icu 67.

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            cgiboudeaux Christophe Marin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes