Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.10
-
None
-
macOS Ventura 13.7.5
Xcode 15.2 (macOS 14.2 SDK)
-
-
macOS
Description
Missing lexicographical_compare_three_way.h in macOS 14.2 SDK caused Qt WebEngine build with the dev branch failed.
Follow https://wiki.qt.io/Building_Qt_6_from_Git#Configuring_and_Building and use the qt dev branch to make a build.
Qt WebEngine source code:
- qtwebengine: commit 5c5cf991a08bb04e6954803931afaaa0589d42e6
- qtwebengine-chromium: commit ad5f26564d7de5bdf3c8197a16cce8abf6eda54b
Platform Info:
- MacBook Pro 2017, Four Thunderbolt 3 Ports
- macOS Ventura 13.7.5
- Xcode 15.2 (macOS 14.2 SDK)
Some of the compilation errors:
xxx[1279/21578] CXX obj/base/base/base_jumbo_1.o FAILED: obj/base/base/base_jumbo_1.o ../../../../../../../../usr/bin/clang++ -MMD -MF obj/base/base/base_jumbo_1.o.d -DBASE_IMPLEMENTATION -DIS_RAW_PTR_IMPL -DSYSTEM_NATIVE_UTF8 -DTOOLKIT_QT -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DCR_XCODE_VERSION=1520 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -I. -Igen -I../../../../../../qt6/qtwebengine/src/3rdparty/chromium -I../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../../../../../qt6/qtwebengine/src/3rdparty/chromium/base/allocator/partition_allocator/src -Igen/base/allocator/partition_allocator/src -I../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/abseil-cpp -I../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/boringssl/src/include -I../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -I../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/zlib -Wall -Wextra -Wimplicit-fallthrough -Wthread-safety -Wunguarded-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-deprecated-declarations -Wno-cast-function-type -Wno-vla-extension -Wno-thread-safety-reference-return -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector-strong -Wno-unknown-argument -Wno-unknown-attributes -Wno-unknown-warning-option -Wno-ignored-attributes -Wno-predefined-identifier-outside-function -Wno-self-assign -Wno-unknown-pragmas -fcolor-diagnostics -fmerge-all-constants -fno-sized-deallocation --target=x86_64-apple-macos -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -O0 -fno-omit-frame-pointer -g2 -gdwarf-aranges -isysroot ../../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacos-version-min=12 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wshorten-64-to-32 -Wimplicit-int-conversion -Wsign-compare -Wsign-conversion -Wtautological-unsigned-zero-compare -Wexit-time-destructors -Wglobal-constructors -DPROTOBUF_ALLOW_DEPRECATED=1 -Wno-invalid-offsetof -Wenum-compare-conditional -Wno-c++11-narrowing-const-reference -Wno-missing-template-arg-list-after-template-kw -Wno-dangling-assignment-gsl -Wno-parentheses-equality -Wno-tautological-compare -Wno-thread-safety-attributes -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c++20 -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -include obj/base/base/precompile.h-cc -c gen/base/base_jumbo_1.cc -o obj/base/base/base_jumbo_1.o In file included from gen/base/base_jumbo_1.cc:9: In file included from ./../../../../../../qt6/qtwebengine/src/3rdparty/chromium/base/allocator/dispatcher/reentry_guard.cc:9: In file included from ../../../../../../qt6/qtwebengine/src/3rdparty/chromium/base/debug/crash_logging.h:17: In file included from ../../../../../../qt6/qtwebengine/src/3rdparty/chromium/base/strings/string_number_conversions.h:21: ../../../../../../qt6/qtwebengine/src/3rdparty/chromium/base/containers/span.h:1695:15: error: no member named 'lexicographical_compare_three_way' in namespace 'std'; did you mean 'lexicographical_compare'? return std::lexicographical_compare_three_way(l.begin(), l.end(), r.begin(), ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lexicographical_compare /Users/xxx/qt6-build/qtwebengine/src/core/Debug/x86_64/../../../../../../../../Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__algorithm/lexicographical_compare.h:42:1: note: 'lexicographical_compare' declared here lexicographical_compare(_InputIterator1 __first1, _InputIterator1 __last1, ^ 1 error generated.
Attachments
Issue Links
- relates to
-
QTBUG-136049 [FTBFS] Building Qt WebEngine 6.8.2 failed on macOS 13
-
- Reported
-