Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889724 - dev-qt/qtwebengine-5.15.7_p20221122:5/5.15: error: declaration of ‘typedef class pp::Lock pp::ThreadSafeThreadTraits::Lock’ changes meaning of ‘Lock’ [-fpermissive] with gcc-13
Summary: dev-qt/qtwebengine-5.15.7_p20221122:5/5.15: error: declaration of ‘typedef cl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-01-04 16:21 UTC by HougeLangley
Modified: 2023-03-27 12:54 UTC (History)
2 users (show)

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


Attachments
build_log (qtwebengine-5.15.7_p20221122-full-build.log,351.22 KB, text/x-log)
2023-01-04 16:21 UTC, HougeLangley
Details
emerge --info (emerge-info.txt,7.70 KB, text/plain)
2023-01-04 16:21 UTC, HougeLangley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HougeLangley 2023-01-04 16:21:18 UTC
Created attachment 847236 [details]
build_log

[31mFAILED: [0mobj/ppapi/cpp/objects/objects_jumbo_13.o 
/usr/sbin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/ppapi/cpp/objects/objects_jumbo_13.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 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I. -Igen -I../../../../qtwebengine-5.15.7_p20221122/src/3rdparty/chromium -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c gen/ppapi/cpp/objects_jumbo_13.cc -o obj/ppapi/cpp/objects/objects_jumbo_13.o
In file included from ../../../../qtwebengine-5.15.7_p20221122/src/3rdparty/chromium/ppapi/utility/completion_callback_factory.h:11,
                 from ../../../../qtwebengine-5.15.7_p20221122/src/3rdparty/chromium/ppapi/utility/graphics/paint_manager.h:14,
                 from ./../../../../qtwebengine-5.15.7_p20221122/src/3rdparty/chromium/ppapi/utility/graphics/paint_manager.cc:5,
                 from gen/ppapi/cpp/objects_jumbo_13.cc:8:
../../../../qtwebengine-5.15.7_p20221122/src/3rdparty/chromium/ppapi/utility/completion_callback_factory_thread_traits.h:70:20: error: declaration of ‘typedef class pp::Lock pp::ThreadSafeThreadTraits::Lock’ changes meaning of ‘Lock’ [-fpermissive]
   70 |   typedef pp::Lock Lock;
      |                    ^~~~
../../../../qtwebengine-5.15.7_p20221122/src/3rdparty/chromium/ppapi/utility/completion_callback_factory_thread_traits.h:66:5: note: used here to mean ‘class pp::Lock’
   66 |     Lock lock_;
      |     ^~~~
In file included from ../../../../qtwebengine-5.15.7_p20221122/src/3rdparty/chromium/ppapi/utility/completion_callback_factory_thread_traits.h:12:
../../../../qtwebengine-5.15.7_p20221122/src/3rdparty/chromium/ppapi/utility/threading/lock.h:20:7: note: declared here
   20 | class Lock {
      |       ^~~~
Comment 1 HougeLangley 2023-01-04 16:21:59 UTC
Created attachment 847240 [details]
emerge --info
Comment 2 Arsen Arsenović gentoo-dev 2023-01-17 17:14:07 UTC
I just hit this also, on GCC 13 for dev-qt/qtwebengine-5.15.8_p20230112.

[i] ~$ emerge --info '=dev-qt/qtwebengine-5.15.8_p20230112::gentoo'
Portage 3.0.44 (python 3.10.9-final-0, default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr, gcc-13, glibc-2.36-r6, 6.0.14-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.0.14-gentoo-dist-x86_64-AMD_Ryzen_7_3800X_8-Core_Processor-with-glibc2.36
KiB Mem:    65793480 total,   3958564 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 17 Jan 2023 02:30:01 +0000
Head commit of repository gentoo: 7b75d588596d13dbd739cc0cf1100d3cc28afd9b
Timestamp of repository guru: Mon, 16 Jan 2023 21:17:23 +0000
Head commit of repository guru: 1c33f1b1e702bca0535f3aad0cc4964b46769257

Timestamp of repository haskell: Mon, 16 Jan 2023 20:32:11 +0000
Head commit of repository haskell: 2dd5143a69a421534adb97f73625ffce7038a959

Timestamp of repository nix-guix: Mon, 16 Jan 2023 21:17:25 +0000
Head commit of repository nix-guix: 01f5b96a8e3d6d2714d0b923c2580402899db421

Timestamp of repository qt: Mon, 16 Jan 2023 21:17:16 +0000
Head commit of repository qt: e06df1df9866ac9c391858544661d1fae22de2f2

Timestamp of repository steam-overlay: Mon, 16 Jan 2023 21:17:17 +0000
Head commit of repository steam-overlay: 399dcc47ff5087990d25290ecd2f17a61704e41d

sh bash 5.2_p15-r1
ld GNU ld (Gentoo 2.40 p1) 2.40
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.7.4 [disabled]
app-misc/pax-utils:        1.3.6-r1::gentoo
app-shells/bash:           5.2_p15-r1::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.10.9::gentoo, 3.11.1::gentoo
dev-lang/rust:             1.66.1::gentoo
dev-util/ccache:           4.7.4::gentoo
dev-util/cmake:            3.25.1::gentoo
dev-util/meson:            1.0.0::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-apps/systemd:          252.4-r1::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.69-r8::localrepo, 2.71-r5::gentoo
sys-devel/automake:        1.15.1-r3::localrepo, 1.16.5::gentoo
sys-devel/binutils:        2.40::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           14.0.6-r1::gentoo, 15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230114::gentoo, 13.0.0_pre20230115::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.7::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 12
    sync-rsync-verify-max-age: 24

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: True

haskell
    location: /var/db/repos/haskell
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/haskell.git
    masters: gentoo
    volatile: True

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo
    volatile: True

nix-guix
    location: /var/db/repos/nix-guix
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/nix-guix.git
    masters: gentoo
    volatile: True

qt
    location: /var/db/repos/qt
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/qt.git
    masters: gentoo
    volatile: True

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: True

crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 10
    volatile: True

Installed sets: @imhex, @rockbox, @solaar, @steam, @xsecurelock
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -D_GLIBCXX_ASSERTIONS"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --ask --ask-enter-invalid --tree"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches"
GENTOO_MIRRORS=" 	http://tux.rainside.sk/gentoo/ http://mirror.wheel.sk/gentoo 	https://mirror.wheel.sk/gentoo "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -O2 -Wl,-O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,pack-relative-relocs -Wl,--build-id -flto -Werror=lto-type-mismatch"
LEX="flex"
MAKEOPTS="-j17 -l16"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities amd64 bash-completion bluetooth branding bzip2 cairo cdda cdr cli completion crypt cups dbus declarative dist-kernel dri dts dvd dvdr emacs encode exif flac fortran gdbm gif gpm graphicsmagic gtk gui hunspell iconv icu introspection ipv6 jpeg kde kwallet lcms libglvnd libnotify libtirpc lto mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl offensive ogg opengl openmp openssl pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vdpau vorbis wayland widgets wxwidgets x264 xattr xcb xft xinerama xml xv xvid zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="WebAssembly BPF AMDGPU NVPTX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10 pypy3" RUBY_TARGETS="ruby31" USERLAND="GNU" VIDEO_CARDS="nvidia intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

[i] ~$ emerge -pqv '=dev-qt/qtwebengine-5.15.8_p20230112::gentoo'
[ebuild     U ] dev-qt/qtwebengine-5.15.8_p20230112 [5.15.8_p20230106] USE="jumbo-build pulseaudio system-ffmpeg system-icu widgets -alsa -bindist -debug -designer -geolocation -kerberos -screencast -test" 
[i] ~$ 

(won't have time to fix right now...)
Comment 4 Larry the Git Cow gentoo-dev 2023-03-27 12:51:36 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(+)