Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928729 - mail-client/thunderbird-115.9.0 fails with error[E0412]: cannot find type `_Pred` in this scope
Summary: mail-client/thunderbird-115.9.0 fails with error[E0412]: cannot find type `_P...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-06 12:08 UTC by Attila Tóth
Modified: 2024-04-24 06:45 UTC (History)
1 user (show)

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


Attachments
thunderbird-115.9.0-cannot-find-type-_Pred-in-this-scope.patch (thunderbird-115.9.0-cannot-find-type-_Pred-in-this-scope.patch,1.03 KB, patch)
2024-04-06 12:10 UTC, Attila Tóth
Details | Diff
fix-libcxx-18.patch (fix-libcxx-18.patch,771 bytes, patch)
2024-04-06 12:11 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2024-04-06 12:08:03 UTC
3:02.05 error[E0412]: cannot find type `_Pred` in this scope
3:02.05      --> /var/tmp/portage/mail-client/thunderbird-115.9.0/work/thunderbird_build/x86_64-unknown-linux-gnu/release/build/style-fb86024167039e56/out/gecko/structs.rs:34492:49
3:02.05       |
3:02.05 34492 |                 pub _base: root::std::__1::_And<_Pred>,
3:02.05       |                                                 ^^^^^ not found in this scope
3:02.05       |
3:02.05 help: you might be missing a type parameter
3:02.05       |
3:02.05 34491 |             pub struct tuple__EnableUTypesCtor<_Pred> {
3:02.05       |                                               +++++++


Reproducible: Always
Comment 1 Attila Tóth 2024-04-06 12:09:20 UTC
This has been already taken care of for Firefox as per the see also bug.
Comment 2 Attila Tóth 2024-04-06 12:10:04 UTC
Created attachment 889577 [details, diff]
thunderbird-115.9.0-cannot-find-type-_Pred-in-this-scope.patch

Changes necessary to handle this bug taken from upstream Firefox.
Comment 3 Attila Tóth 2024-04-06 12:10:47 UTC
The patch taken from Firefox is not enough, because a linker error pops up:
https://bugs.gentoo.org/927148
Comment 4 Attila Tóth 2024-04-06 12:11:45 UTC
Created attachment 889578 [details, diff]
fix-libcxx-18.patch

Changes taken from another Firefox bug to make it link correctly.
Comment 5 Attila Tóth 2024-04-06 12:12:29 UTC
Is it just me, or others also find solving rust errors a nightmare?
Comment 6 Joonas Niilola gentoo-dev 2024-04-07 05:10:32 UTC
You are definitely not the only one :)

but back to this bug: Thunderbird still declares llvm-17 as max llvm slot so I'm not in a super hurry to fix this. I don't outright remember whether 115esr needs more patches to compile with llvm-18, but if this patch is enough we can try to include it in 115.10.0 release.
Comment 7 Attila Tóth 2024-04-24 06:45:12 UTC
mail-client/thunderbird-115.10.1 is still affected