Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 936884

Summary: dev-qt/qtwebengine-5.15.14_p20240510 compile failure with dev-libs/re2-0.2024.07.02: class std::basic_string_view<char> has no member named ‘as_string’
Product: Gentoo Linux Reporter: Ulrich Müller <ulm>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aliaksei.urbanski, ionen, juippis, julien.dlq, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=914983
https://github.com/gentoo/gentoo/pull/37785
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description Ulrich Müller gentoo-dev 2024-07-29 11:04:29 UTC
../../../../qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/gpu/command_buffer/service/program_manager.cc:623:25: error: ‘using re2::StringPiece = using absl::string_view = using std::string_view = class std::basic_string_view<char>’ {aka ‘class std::basic_string_view<char>’} has no member named ‘as_string’
  623 |   return output + input.as_string();
      |                         ^~~~~~~~~
Comment 1 Ulrich Müller gentoo-dev 2024-07-29 11:06:06 UTC
Created attachment 898497 [details]
emerge --info
Comment 2 Ulrich Müller gentoo-dev 2024-07-29 11:11:14 UTC
Created attachment 898498 [details]
build.log
Comment 3 Joonas Niilola gentoo-dev 2024-07-29 11:14:27 UTC
Meh. I tried some rdeps, not qtwebengine obviously. Was afraid it'd blow up - wonder if we need a mask and a tinderbox run after all.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-29 11:22:38 UTC
qtwebengine5 should be moved to use bundled re2.
Comment 5 Joonas Niilola gentoo-dev 2024-07-29 11:27:01 UTC
Just launched a test to try every other re2 rdep except qtwebengine.

USE="re2 regex parquet" pkg-testing-tool --append-emerge '--autounmask=y --oneshot' --extra-env-file 'test.conf' --max-use-combinations 0 --test-feature-scope never -p '=dev-db/percona-xtrabackup-8.0.30.23' -p '=dev-debug/sysdig-0.38.1' -p '=dev-libs/apache-arrow-17.0.0' -p '=dev-util/bloaty-1.1-r1' -p '=net-dns/dnsdist-1.9.5' -p '=net-irc/inspircd-4.1.0' -p '=net-libs/google-cloud-cpp-2.19.0' -p '=net-libs/grpc-1.65.0' -p '=sys-cluster/ceph-18.2.1-r2'
Comment 6 Ionen Wolkens gentoo-dev 2024-07-29 11:59:25 UTC

*** This bug has been marked as a duplicate of bug 913923 ***
Comment 7 Joonas Niilola gentoo-dev 2024-07-29 12:45:07 UTC
Just to follow up: indeed no re2 related issues on other pkg's. It should be fixed in qtwebengine.
Comment 8 Larry the Git Cow gentoo-dev 2024-07-29 20:20:03 UTC
The bug has been referenced in the following commit(s):

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

commit b318bfa471b373999512d794f50bd5349fa6a6d5
Author:     Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
AuthorDate: 2024-07-29 18:53:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-29 20:19:32 +0000

    dev-qt/qtwebengine: fix re2 compatibility
    
    Use bundled re2 to avoid the compatibility
    issue for qtwebengine-5.15.14_p20240510.
    
    Closes: https://bugs.gentoo.org/913923
    Bug: https://bugs.gentoo.org/936884
    Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/37785
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/qtwebengine-5.15.14_p20240510-re2.patch          | 14 ++++++++++++++
 dev-qt/qtwebengine/qtwebengine-5.15.14_p20240510.ebuild    |  3 ++-
 2 files changed, 16 insertions(+), 1 deletion(-)
Comment 9 Larry the Git Cow gentoo-dev 2024-11-21 15:58:15 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=06b4e59da0ce482393a8bf014324e47a8bbcb33f

commit 06b4e59da0ce482393a8bf014324e47a8bbcb33f
Author:     Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
AuthorDate: 2024-07-29 18:53:28 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-11-21 15:57:40 +0000

    dev-qt/qtwebengine: fix re2 compatibility
    
    Use bundled re2 to avoid the compatibility
    issue for qtwebengine-5.15.14_p20240510.
    
    Bug: https://bugs.gentoo.org/913923
    Bug: https://bugs.gentoo.org/936884
    Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/37785
    Signed-off-by: Sam James <sam@gentoo.org>
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/qtwebengine-5.15.14_p20240510-re2.patch          | 14 ++++++++++++++
 dev-qt/qtwebengine/qtwebengine-5.15.14.9999.ebuild         |  3 ++-
 2 files changed, 16 insertions(+), 1 deletion(-)