Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904365 - dev-qt/qtwebengine-5.15.9_p20230404: dark_mode_color_classifier.h:22:15: error: ‘unique_ptr’ in namespace ‘blink::std’ does not name a template type
Summary: dev-qt/qtwebengine-5.15.9_p20230404: dark_mode_color_classifier.h:22:15: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-15 11:10 UTC by Michał Górny
Modified: 2023-04-15 12:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-qt:qtwebengine-5.15.9_p20230404:20230415-052632.log.xz (dev-qt:qtwebengine-5.15.9_p20230404:20230415-052632.log.xz,727.85 KB, application/x-xz)
2023-04-15 11:10 UTC, Michał Górny
Details
emerge --info (emerge-info.txt,7.85 KB, text/plain)
2023-04-15 11:11 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-04-15 11:10:38 UTC
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>
      |      ^~~~~~~~~~
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-04-15 11:11:02 UTC
Created attachment 860150 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-15 11:15:11 UTC
Try adding a <memory> include if there isn't one already?
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-04-15 11:59:26 UTC
It's there.  However, changing `std::unique_ptr` to `::std::unique_ptr` helps, except that next files suffer from the same problem.
Comment 4 Larry the Git Cow gentoo-dev 2023-04-15 12:32:01 UTC
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(-)