Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910102 - mail-client/thunderbird-102.13.0: LLVM_MAX_SLOT=15 or 16 ?
Summary: mail-client/thunderbird-102.13.0: LLVM_MAX_SLOT=15 or 16 ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-09 10:23 UTC by Klaus Kusche
Modified: 2023-07-20 13:46 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Kusche 2023-07-09 10:23:48 UTC
I think thunderbird-102.13 is based on firefox-115, which has LLVM_MAX_SLOT=16.
But thunderbird-102.13 still has LLVM_MAX_SLOT=15. Shouldn't that be 16?
(thunderbird is the only ebuild on my system which is not ready for llvm 16)
Comment 1 cyrillic 2023-07-09 19:54:35 UTC
I have not tried thunderbird, but I have modified the spidermonkey-102.13 ebuild so I could use llvm:16 and it seems to work ok.
Comment 2 cyrillic 2023-07-09 19:57:28 UTC
(In reply to Klaus Kusche from comment #0)
> I think thunderbird-102.13 is based on firefox-115 ...

I am pretty sure the one based on firefox-115 will be called thunderbird-115
Comment 3 cyrillic 2023-07-11 01:25:44 UTC
Also worth mentioning :
Your dev-lang/rust will need to be compiled with the same version of llvm that you intend to compile your Mozilla products with.
Comment 4 Joonas Niilola gentoo-dev 2023-07-11 04:32:47 UTC
Thunderbird 102.13.0 is based on Firefox 102.13.0. Upstream Firefox 102.13.0 does not support rust-1.70 yet. You can maybe build it -clang -lto, but as #c3 stated, there are some cases where you have to build rust with a matching llvm version. Therefore bumping the LLVM_MAX_SLOT is always a bit complicated - it works for some setups, not for every.

That being said there are patches available for compiling Firefox/Thunderbird 102 with rust-1.70, but since 102 is nearing its EOL, I don't see value in testing this, also due to rust-1.70 still being masked so it most likely won't hit stable in a while.

To summarize: The problem here is as mentioned in #c3 - for some setups FF/TB/Rust need to be built with a matching llvm version.
Comment 5 Joonas Niilola gentoo-dev 2023-07-11 04:34:33 UTC
Oh if you want to experiment with rust-1.70 patches locally, here you can find some that I haven't tested personally:
https://src.fedoraproject.org/rpms/thunderbird/commits/rawhide
Comment 6 Joonas Niilola gentoo-dev 2023-07-12 15:54:07 UTC
FYI I pushed thunderbird-115.0 which supports rust-1.70. It is masked due to upstream not recommending upgrading yet. Follow bug #910229 if you want to know more when it gets unmasked.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-20 11:05:21 UTC
*** Bug 910582 has been marked as a duplicate of this bug. ***
Comment 8 Larry the Git Cow gentoo-dev 2023-07-20 13:46:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd55bdb882865a38c7367b8c8ad886a39110d412

commit cd55bdb882865a38c7367b8c8ad886a39110d412
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2023-07-20 13:44:55 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-07-20 13:46:37 +0000

    mail-client/thunderbird: bump LLVM compatibility to 16 on 102
    
    Closes: https://bugs.gentoo.org/910102
    Closes: https://bugs.gentoo.org/910582
    Closes: https://bugs.gentoo.org/910369
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 mail-client/thunderbird/thunderbird-102.13.0.ebuild | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)