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

Bug 929190

Summary: mail-client/thunderbird-115.9.0 does not compile
Product: Gentoo Linux Reporter: David Carlos Manuelda <StormByte>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED INVALID    
Severity: normal CC: dark, julien, StormByte
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: compressed build log
emerge --info

Description David Carlos Manuelda 2024-04-11 16:24:18 UTC
When updating system I found that this version of thunderbird is failing to compile with latest rust.

will attach build log
Comment 1 David Carlos Manuelda 2024-04-11 16:25:22 UTC
Created attachment 890468 [details]
compressed build log
Comment 2 David Carlos Manuelda 2024-04-11 16:39:46 UTC
Downgrading manually to rust-1.76.0-r1 makes it compile with no problems.

I suggest putting an explicit dep to <dev-lang/rust-1.77.0 for now
Comment 3 David Carlos Manuelda 2024-04-11 16:40:07 UTC
(In reply to David Carlos Manuelda from comment #2)
> Downgrading manually to rust-1.76.0-r1 makes it compile with no problems.
> 
> I suggest putting an explicit dep to <dev-lang/rust-1.77.0 for now

Sorry, no, it still fails to compile.
Comment 4 Julien Roy 2024-04-11 21:54:28 UTC
emerge --info please
Comment 5 David Carlos Manuelda 2024-04-12 05:51:31 UTC
Created attachment 890473 [details]
emerge --info
Comment 6 Greg Kubaryk 2024-04-12 07:49:16 UTC
cannot reproduce; successfully built mail-client/thunderbird-115.9.0 with dev-lang/rust-bin-1.77.1; perhaps a profile issue?
Comment 7 Joonas Niilola gentoo-dev 2024-04-12 08:00:00 UTC
Disable ccache and try again.
Comment 8 David Carlos Manuelda 2024-04-14 16:23:09 UTC
I did some system management during the weekend and somehow this is no longer valid but I think it is worth to write down some facts that may or may not be relevant:

* This is a LLVM profile ~arch
* I had installed llvm17 and llvm18 as part of a normal update
  * But not all of those components are slotted, like libcxx, lld and libomp
* I package.masked llvm:18 and all of its components and removed them to have only version 17
* I emerged -e world

And now the problem is gone, I am not sure if something on the above can be the culprit.
Comment 9 Sven E. 2024-04-28 17:24:46 UTC
I'm also seeing a failure for 115.9 as well as 118.10 when for 'style'.

The actual error message is this one:

830:34.22 error[E0412]: cannot find type `_Pred` in this scope
830:34.22   --> /var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird_build/x86_64-unknown-linux-gnu/release/build/style-ecf839dcf1254a97/out/gecko/structs.rs:18:1436910
830:34.22    |
830:34.22 18 | ...ypesCtor { pub _base : root :: std :: __1 :: _And < _Pred > , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct tuple__Enabl...
830:34.23    |                                                        ^^^^^ not found in this scope
830:34.23    |
830:34.23 help: you might be missing a type parameter
830:34.24    |
Comment 10 Sven E. 2024-05-16 19:18:42 UTC
Failure still persists for thunderbird-115.11.0