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
This has been already taken care of for Firefox as per the see also bug.
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.
The patch taken from Firefox is not enough, because a linker error pops up: https://bugs.gentoo.org/927148
Created attachment 889578 [details, diff] fix-libcxx-18.patch Changes taken from another Firefox bug to make it link correctly.
Is it just me, or others also find solving rust errors a nightmare?
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.
mail-client/thunderbird-115.10.1 is still affected