Created attachment 860149 [details] dev-qt:qtwebengine-5.15.9_p20230404:20230415-052632.log.xz FAILED: obj/third_party/blink/renderer/platform/platform/dark_mode_color_classifier.o […] In file included from ../../../../qtwebengine-5.15.9_p20230404/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/dark_mode_color_classifier.cc:5: ../../../../qtwebengine-5.15.9_p20230404/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/dark_mode_color_classifier.h:22:15: error: ‘unique_ptr’ in namespace ‘blink::std’ does not name a template type 22 | static std::unique_ptr<DarkModeColorClassifier> MakeTextColorClassifier( | ^~~~~~~~~~ ../../../../qtwebengine-5.15.9_p20230404/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/dark_mode_color_classifier.h:24:15: error: ‘unique_ptr’ in namespace ‘blink::std’ does not name a template type 24 | static std::unique_ptr<DarkModeColorClassifier> MakeBackgroundColorClassifier( | ^~~~~~~~~~ ../../../../qtwebengine-5.15.9_p20230404/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/dark_mode_color_classifier.cc:14:15: error: ‘unique_ptr’ in namespace ‘blink::std’ does not name a template type 14 | static std::unique_ptr<SimpleColorClassifier> NeverInvert() { | ^~~~~~~~~~ ../../../../qtwebengine-5.15.9_p20230404/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/dark_mode_color_classifier.cc:19:15: error: ‘unique_ptr’ in namespace ‘blink::std’ does not name a template type 19 | static std::unique_ptr<SimpleColorClassifier> AlwaysInvert() { | ^~~~~~~~~~ ../../../../qtwebengine-5.15.9_p20230404/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/dark_mode_color_classifier.cc:82:6: error: ‘unique_ptr’ in namespace ‘blink::std’ does not name a template type 82 | std::unique_ptr<DarkModeColorClassifier> | ^~~~~~~~~~ ../../../../qtwebengine-5.15.9_p20230404/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/dark_mode_color_classifier.cc:99:6: error: ‘unique_ptr’ in namespace ‘blink::std’ does not name a template type 99 | std::unique_ptr<DarkModeColorClassifier> | ^~~~~~~~~~
Created attachment 860150 [details] emerge --info
Try adding a <memory> include if there isn't one already?
It's there. However, changing `std::unique_ptr` to `::std::unique_ptr` helps, except that next files suffer from the same problem.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d46b59501945359a5a383ad634595b0f9cacc78 commit 9d46b59501945359a5a383ad634595b0f9cacc78 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-04-15 12:31:22 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-15 12:31:54 +0000 dev-qt/qtwebengine: fix GCC 13 patch Closes: https://bugs.gentoo.org/904365 Signed-off-by: Sam James <sam@gentoo.org> .../qtwebengine-5.15.9_p20230404-gcc-13.patch | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-)