Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840326 - dev-qt/qtwebengine-5.15.3_p20220406 - ../.../SkParseColor.cpp: error: no matching function for call to begin(const char const [140
Summary: dev-qt/qtwebengine-5.15.3_p20220406 - ../.../SkParseColor.cpp: error: no matc...
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: https://build.opensuse.org/package/vi...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-04-23 13:36 UTC by Toralf Förster
Modified: 2022-06-18 14:27 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.60 KB, text/plain)
2022-04-23 13:36 UTC, Toralf Förster
Details
dev-qt:qtwebengine-5.15.3_p20220406:20220423-100748.log.bz2 (dev-qt:qtwebengine-5.15.3_p20220406:20220423-100748.log.bz2,240.95 KB, application/x-bzip)
2022-04-23 13:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,107.30 KB, text/plain)
2022-04-23 13:36 UTC, Toralf Förster
Details
environment (environment,139.23 KB, text/plain)
2022-04-23 13:36 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.85 KB, application/x-bzip)
2022-04-23 13:36 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,15.81 KB, application/x-bzip)
2022-04-23 13:36 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,271.40 KB, application/x-bzip)
2022-04-23 13:36 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-04-23 13:36:15 UTC
too long lines were shrinked:

[12403/23880] /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/skia/skia/SkParseColor.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 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_
FAILED: obj/skia/skia/SkParseColor.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/skia/skia/SkParseColor.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 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DSK
../../../../qtwebengine-5.15.3_p20220406/src/3rdparty/chromium/third_party/skia/src/utils/SkParseColor.cpp: In static member function static const char* SkParse::FindNamedColor(const char*, size_t, SkColor*)’:
../../../../qtwebengine-5.15.3_p20220406/src/3rdparty/chromium/third_party/skia/src/utils/SkParseColor.cpp:300:49: error: no matching function for call to begin(const char* const [140])’
  300 |     const auto rec = std::lower_bound(std::begin(gColorNames),
      |                                       ~~~~~~~~~~^~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20220422-045129

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.0
 [2] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
clang version 14.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.60.0
  [2]   rust-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 973330b621a6c14a3d8534f4be7ded8b099921fb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 23 08:19:25 2022 +0000

    2022-04-23 08:19:24 UTC

emerge -qpvO dev-qt/qtwebengine
[ebuild  N    ] dev-qt/qtwebengine-5.15.3_p20220406  USE="alsa jumbo-build system-ffmpeg system-icu widgets -bindist -debug -designer -geolocation -kerberos -pulseaudio -screencast -test"
Comment 1 Toralf Förster gentoo-dev 2022-04-23 13:36:16 UTC
Created attachment 773516 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-23 13:36:18 UTC
Created attachment 773519 [details]
dev-qt:qtwebengine-5.15.3_p20220406:20220423-100748.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-04-23 13:36:19 UTC
Created attachment 773522 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-23 13:36:21 UTC
Created attachment 773525 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-23 13:36:22 UTC
Created attachment 773528 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-23 13:36:23 UTC
Created attachment 773531 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-23 13:36:25 UTC
Created attachment 773534 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-05-14 21:24:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=004ae99be115c5409f1287e6128975e51829896c

commit 004ae99be115c5409f1287e6128975e51829896c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-14 07:01:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-14 21:22:28 +0000

    dev-qt/qtwebengine: fix build with GCC 12
    
    Closes: https://bugs.gentoo.org/840326
    Signed-off-by: Sam James <sam@gentoo.org>

 ...webengine-5.15.3_p20220406-gcc12-includes.patch | 32 ++++++++++++++++++++++
 .../qtwebengine-5.15.3_p20220406.ebuild            |  1 +
 2 files changed, 33 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2022-06-18 14:27:25 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=2223eef5da0d0a43c39eedc8c9be4d6dfd8d3ca9

commit 2223eef5da0d0a43c39eedc8c9be4d6dfd8d3ca9
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-05-26 19:34:05 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-06-18 14:26:46 +0000

    dev-qt/qtwebengine: Sync with 5.15.4_p20220526::gentoo
    
    Fix build with GCC 12
    
    Bug: https://bugs.gentoo.org/840326
    Closes: https://bugs.gentoo.org/847298
    Signed-off-by: Sam James <sam@gentoo.org>
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 ...webengine-5.15.3_p20220406-gcc12-includes.patch | 32 ++++++++++++++++++++++
 .../qtwebengine-5.15.3_p20220505-extra-gn.patch    | 10 +++++++
 dev-qt/qtwebengine/qtwebengine-5.15.5.9999.ebuild  |  7 +++--
 3 files changed, 46 insertions(+), 3 deletions(-)