Summary: | =mail-client/thunderbird-102.10.1 fails to build with =sys-devel/gcc-13.1.0-r1 on amd64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | José de Paula Rodrigues <espinafre> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | espinafre |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=892465 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 865117 | ||
Attachments: | build.log of building thunderbird 102.10.1 with gcc 13.1.0-r1 |
Description
José de Paula Rodrigues
2023-05-03 15:25:14 UTC
Created attachment 861088 [details]
build.log of building thunderbird 102.10.1 with gcc 13.1.0-r1
First error message (full build log is attached): 8 0:36.55 In file included from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerThreadState.h:14, 8 0:36.55 from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerLabels.h:14, 8 0:36.55 from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/dom/AutoEntryScript.h:16, 8 0:36.55 from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/dom/CallbackObject.h:34, 8 0:36.55 from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/dom/CallbackFunction.h:20, 8 0:36.55 from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/dom/WebExtensionPolicyBinding.h:11, 8 0:36.55 from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/extensions/WebExtensionPolicy.h:12, 8 0:36.55 from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ContentPrincipal.h:15, 8 0:36.55 from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird-102.10.1/caps/tests/gtest/TestPrincipalSerialization.cpp:6, 8 0:36.55 from Unified_cpp_caps_tests_gtest0.cpp:29: 8 0:36.55 /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerThreadRegistration.h:217:38: error: declaration of 'mozilla::profiler::ThreadRegistration::OnThreadRef::RWOnThreadWithLock mozilla::profiler::ThreadRegistrati on::OnThreadRef::LockedRWOnThread()' changes meaning of 'LockedRWOnThread' [-Wchanges-meaning] 8 0:36.55 217 | [[nodiscard]] RWOnThreadWithLock LockedRWOnThread() { 8 0:36.55 | ^~~~~~~~~~~~~~~~ 8 0:36.55 /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerThreadRegistration.h:213:7: note: used here to mean 'using mozilla::profiler::ThreadRegistration::LockedRWOnThread = class mozilla::profiler::ThreadRegistrationLockedRWOnThread' 8 0:36.55 213 | LockedRWOnThread& mLockedRWOnThread; 8 0:36.55 | ^~~~~~~~~~~~~~~~ 8 0:36.55 /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerThreadRegistration.h:63:9: note: declared here 8 0:36.55 63 | using LockedRWOnThread = ThreadRegistrationLockedRWOnThread; 8 0:36.55 | ^~~~~~~~~~~~~~~~ 8 0:36.56 In file included from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerThreadState.h:15: 8 0:36.56 /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerThreadRegistry.h:180:43: error: declaration of 'mozilla::profiler::ThreadRegistry::OffThreadRef::RWFromAnyThreadWithLock mozilla::profiler::ThreadRegistry::OffThreadRef::LockedRWFromAnyThread()' changes meaning of 'LockedRWFromAnyThread' [-Wchanges-meaning] 8 0:36.56 180 | [[nodiscard]] RWFromAnyThreadWithLock LockedRWFromAnyThread() { 8 0:36.56 | ^~~~~~~~~~~~~~~~~~~~~ 8 0:36.56 /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerThreadRegistry.h:176:7: note: used here to mean 'using mozilla::profiler::ThreadRegistry::LockedRWFromAnyThread = class mozilla::profiler::ThreadRegistrationLockedRWFromAnyThread' 8 0:36.56 176 | LockedRWFromAnyThread& mLockedRWFromAnyThread; 8 0:36.56 | ^~~~~~~~~~~~~~~~~~~~~ 8 0:36.56 /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerThreadRegistry.h:33:9: note: declared here 8 0:36.56 33 | using LockedRWFromAnyThread = ThreadRegistrationLockedRWFromAnyThread; 8 0:36.56 | ^~~~~~~~~~~~~~~~~~~~~ I would strongly discourage using a stable system with ~arch gcc. (In reply to Sam James from comment #3) > I would strongly discourage using a stable system with ~arch gcc. My system isn't all that stable... I have, among many, many other things, this on my accept_keywords: dev-qt/* ~amd64 kde-frameworks/* ~amd64 kde-plasma/* ~amd64 kde-apps/* ~amd64 Thanks for the hint anyway :) I understand, but my point is, you'll end up hitting various versions of these bugs where we just fixed it with the new compiler last week, but we haven't yet stabled some fix for it. But it's fine with me as long as you check ~arch first before filing bugs just in this period when it's still quite new. Indeed could reproduce. I wonder when it broke down. Took https://build.opensuse.org/package/view_file/openSUSE:Factory/MozillaThunderbird/gcc13-fix.patch?expand=1 which seems to work again. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=748e760c8f426c2dae07b1eb2535cc1f5563fd27 commit 748e760c8f426c2dae07b1eb2535cc1f5563fd27 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2023-05-04 07:05:08 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2023-05-04 07:05:08 +0000 mail-client/thunderbird: update gcc-13 fix Closes: https://bugs.gentoo.org/905657 Signed-off-by: Joonas Niilola <juippis@gentoo.org> mail-client/thunderbird/Manifest | 1 + mail-client/thunderbird/thunderbird-102.10.1.ebuild | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) |