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

[FTBFS] Building Qt WebEngine 6.8.2 failed on macOS 13

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.2
    • WebEngine
    • None
    • macOS Ventura 13.7.5
      Xcode 15.2 (macOS 14.2 SDK)
    • macOS
    • macOS

    Description

      Building Qt WebEngine 6.8.2 failed on macOS.

      Platform Info:

      • MacBook Pro 2017, Four Thunderbolt 3 Ports
      • macOS Ventura 13.7.5
      • Xcode 15.2 (macOS 14.2 SDK)

      Steps to build Qt Webengine 6.8.2:

      • Install Qt 6.8.2 release
      • mkdir qt6 && cd qt6
      • git clone git://code.qt.io/qtwebengine.git
      • cd qtwebengine
      • gut checkout origin/6.8.2
      • git submodule update --init --recursive
      • cd ../../
      • mkdir qtwebengine-build && cd qtwebengine-build
      • <Qt 6.8.2_install_dir>/6.8.2/macos/bin/qt-configure-module ../qt6/qtwebengine
      • cmake --build . --parallel

      Compilation errors:

      n file included from ../../../../../qt6/qtwebengine/src/3rdparty/chromium/device/bluetooth/bluetooth_discovery_filter.cc:5:
      In file included from ../../../../../qt6/qtwebengine/src/3rdparty/chromium/device/bluetooth/bluetooth_discovery_filter.h:15:
      In file included from ../../../../../qt6/qtwebengine/src/3rdparty/chromium/base/containers/flat_set.h:11:
      ../../../../../qt6/qtwebengine/src/3rdparty/chromium/base/containers/flat_tree.h:354:22: error: invalid operands to binary expression ('const container_type' (aka 'const std::vector<device::BluetoothUUID>') and 'const container_type')
          return lhs.body_ <=> rhs.body_;
                 ~~~~~~~~~ ^   ~~~~~~~~~
      ../../../../../qt6/qtwebengine/src/3rdparty/chromium/device/bluetooth/bluetooth_discovery_filter.cc:39:18: note: in instantiation of member function 'base::internal::operator<=>' requested here
          return uuids < other.uuids;
                       ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__threading_support:682:17: note: candidate function not viable: no known conversion from 'const container_type' (aka 'const std::vector<device::BluetoothUUID>') to '__thread_id' for 1st argument
      strong_ordering operator<=>(__thread_id __x, __thread_id __y) noexcept {
                      ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__variant/monostate.h:32:49: note: candidate function not viable: no known conversion from 'const container_type' (aka 'const std::vector<device::BluetoothUUID>') to 'monostate' for 1st argument
      _LIBCPP_HIDE_FROM_ABI constexpr strong_ordering operator<=>(monostate, monostate) noexcept {
                                                      ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/system_error:481:1: note: candidate function not viable: no known conversion from 'const container_type' (aka 'const std::vector<device::BluetoothUUID>') to 'const error_code' for 1st argument
      operator<=>(const error_code& __x, const error_code& __y) noexcept
      ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/system_error:489:1: note: candidate function not viable: no known conversion from 'const container_type' (aka 'const std::vector<device::BluetoothUUID>') to 'const error_condition' for 1st argument
      operator<=>(const error_condition& __x, const error_condition& __y) noexcept
      ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__utility/pair.h:444:1: note: candidate template ignored: could not match 'pair' against 'vector'
      operator<=>(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
      ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__iterator/reverse_iterator.h:288:1: note: candidate template ignored: could not match 'reverse_iterator' against 'vector'
      operator<=>(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y)
      ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__iterator/reverse_iterator.h:288:1: note: candidate template ignored: could not match 'reverse_iterator' against 'vector'
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__memory/unique_ptr.h:566:1: note: candidate template ignored: could not match 'unique_ptr' against 'vector'
      operator<=>(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {
      ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__memory/unique_ptr.h:566:1: note: candidate template ignored: could not match 'unique_ptr' against 'vector'
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__memory/unique_ptr.h:658:1: note: candidate template ignored: could not match 'unique_ptr' against 'vector'
      operator<=>(const unique_ptr<_T1, _D1>& __x, nullptr_t) {
      ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__memory/unique_ptr.h:658:1: note: candidate template ignored: could not match 'unique_ptr' against 'vector'
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1374:1: note: candidate template ignored: could not match 'shared_ptr' against 'vector'
      operator<=>(shared_ptr<_Tp> const& __x, shared_ptr<_Up> const& __y) noexcept
      ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1374:1: note: candidate template ignored: could not match 'shared_ptr' against 'vector'
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1483:1: note: candidate template ignored: could not match 'shared_ptr' against 'vector'
      operator<=>(shared_ptr<_Tp> const& __x, nullptr_t) noexcept
      ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1483:1: note: candidate template ignored: could not match 'shared_ptr' against 'vector'
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/tuple:1572:1: note: candidate template ignored: could not match 'tuple' against 'vector'
      operator<=>(const tuple<_Tp...>& __x, const tuple<_Up...>& __y)
      ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/tuple:1572:1: note: candidate template ignored: could not match 'tuple' against 'vector'
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/variant:1659:1: note: candidate template ignored: could not match 'variant' against 'vector'
      operator<=>(const variant<_Types...>& __lhs, const variant<_Types...>& __rhs) {
      ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__iterator/move_iterator.h:282:6: note: candidate template ignored: could not match 'move_iterator' against 'vector'
      auto operator<=>(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y)
           ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__iterator/move_iterator.h:282:6: note: candidate template ignored: could not match 'move_iterator' against 'vector'
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/string_view:784:1: note: candidate template ignored: could not match 'basic_string_view' against 'vector'
      operator<=>(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) noexcept {
      ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/string_view:797:38: note: candidate template ignored: could not match 'basic_string_view' against 'vector'
      _LIBCPP_HIDE_FROM_ABI constexpr auto operator<=>(
                                           ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/string_view:797:38: note: candidate template ignored: could not match 'basic_string_view' against 'vector'
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/string:4077:38: note: candidate template ignored: could not match 'basic_string' against 'vector'
      _LIBCPP_HIDE_FROM_ABI constexpr auto operator<=>(
                                           ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/string:4085:1: note: candidate template ignored: could not match 'basic_string' against 'vector'
      operator<=>(const basic_string<_CharT, _Traits, _Allocator>& __lhs, const _CharT* __rhs) {
      ^
      ../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/string:4085:1: note: candidate template ignored: could not match 'basic_string' against 'vector'
      1 error generated.
       

       

      Attachments

        Issue Links

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

          Activity

            People

              qt_webengine_team Qt WebEngine Team
              dongmei Dongmei Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes