Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898902 - dev-qt/qtwebengine-5.15.8_p20230112 - ../.../extension.h: error: redefinition of constexpr const bool absl::str_format_internal::C
Summary: dev-qt/qtwebengine-5.15.8_p20230112 - ../.../extension.h: error: redefinition...
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: PATCH
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-03-02 12:05 UTC by Toralf Förster
Modified: 2023-03-27 12:51 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.94 KB, text/plain)
2023-03-02 12:05 UTC, Toralf Förster
Details
dev-qt:qtwebengine-5.15.8_p20230112:20230302-100937.log.bz2 (dev-qt:qtwebengine-5.15.8_p20230112:20230302-100937.log.bz2,38.28 KB, application/x-bzip)
2023-03-02 12:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,246.80 KB, text/plain)
2023-03-02 12:05 UTC, Toralf Förster
Details
environment (environment,145.97 KB, text/plain)
2023-03-02 12:05 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,694 bytes, application/x-bzip)
2023-03-02 12:05 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,26.51 KB, application/x-bzip)
2023-03-02 12:05 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,15.81 KB, application/x-bzip)
2023-03-02 12:05 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,72.38 KB, application/x-bzip)
2023-03-02 12:05 UTC, Toralf Förster
Details
gcc-13.patch (gcc13.patch,12.96 KB, patch)
2023-03-27 07:06 UTC, Sam James
Details | Diff
gcc-13.patch (deux) (gcc13.patch,13.04 KB, patch)
2023-03-27 07:16 UTC, Sam James
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-03-02 12:05:07 UTC
../../../../qtwebengine-5.15.8_p20230112/src/3rdparty/chromium/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:400:54: error: expected primary-expression before char
  400 | constexpr bool Contains(FormatConversionCharSet set, char c) {
      |                                                      ^~~~
../../../../qtwebengine-5.15.8_p20230112/src/3rdparty/chromium/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:400:60: error: expression list treated as compound expression in initializer [-fpermissive]
  400 | constexpr bool Contains(FormatConversionCharSet set, char c) {
      |                                                            ^
../../../../qtwebengine-5.15.8_p20230112/src/3rdparty/chromium/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h:406:16: error: redefinition of constexpr const bool absl::str_format_internal::Contains
  406 | constexpr bool Contains(FormatConversionCharSet set,
      |                ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd_merged_usr-j5-20230228-070039

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.67.1 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 09c1ea78e574e378da07d5b049f7d789adf04e66
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Mar 2 09:02:05 2023 +0000

    2023-03-02 09:02:05 UTC

emerge -qpvO dev-qt/qtwebengine
[ebuild  N    ] dev-qt/qtwebengine-5.15.8_p20230112  USE="alsa jumbo-build system-ffmpeg system-icu widgets -bindist -debug -designer -geolocation -kerberos -pulseaudio -screencast -test"
Comment 1 Toralf Förster gentoo-dev 2023-03-02 12:05:09 UTC
Created attachment 855776 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-03-02 12:05:10 UTC
Created attachment 855778 [details]
dev-qt:qtwebengine-5.15.8_p20230112:20230302-100937.log.bz2
Comment 3 Toralf Förster gentoo-dev 2023-03-02 12:05:12 UTC
Created attachment 855780 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-03-02 12:05:13 UTC
Created attachment 855782 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-03-02 12:05:14 UTC
Created attachment 855784 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-03-02 12:05:15 UTC
Created attachment 855786 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-03-02 12:05:16 UTC
Created attachment 855788 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-03-02 12:05:17 UTC
Created attachment 855790 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-27 07:06:54 UTC
Created attachment 859057 [details, diff]
gcc-13.patch

The attached patch fixes all of the open GCC 13 bugs for qtwebengine.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-27 07:15:02 UTC
(In reply to Sam James from comment #9)
> Created attachment 859057 [details, diff] [details, diff]
> gcc-13.patch
> 
> The attached patch fixes all of the open GCC 13 bugs for qtwebengine.

Upstreaming (not mine) is occurring at https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/468198.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-27 07:16:43 UTC
Created attachment 859059 [details, diff]
gcc-13.patch (deux)
Comment 12 Larry the Git Cow gentoo-dev 2023-03-27 12:51:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61e5cb157d2f015ab9a730e3eaf11d4ee14b4ab4

commit 61e5cb157d2f015ab9a730e3eaf11d4ee14b4ab4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-03-27 11:30:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-27 12:47:08 +0000

    dev-qt/qtwebengine: fix build w/ gcc-13
    
    Bug: https://bugs.gentoo.org/898634
    Closes: https://bugs.gentoo.org/889724
    Closes: https://bugs.gentoo.org/895196
    Closes: https://bugs.gentoo.org/898902
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/qtwebengine-5.15.8_p20230112-gcc13.patch | 431 +++++++++++++++++++++
 .../qtwebengine-5.15.8_p20230112.ebuild            |   1 +
 2 files changed, 432 insertions(+)