Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910582 - Please allow building mail-client/thunderbird-102.13.0 with virtual/rust:0/llvm-16
Summary: Please allow building mail-client/thunderbird-102.13.0 with virtual/rust:0/ll...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-20 09:04 UTC by acab
Modified: 2023-07-20 13:48 UTC (History)
0 users

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


Attachments
ebuild patch (thunderbird-102.13.0.ebuild.diff,663 bytes, patch)
2023-07-20 09:08 UTC, acab
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description acab 2023-07-20 09:04:32 UTC
Hi

the current ebuild for thunderbird-102.13.0 bdepends on virtual/rust:0/llvm-15 or virtual/rust:0/llvm-14
However thunderbird 102.13.0 builds just fine with virtual/rust:0/llvm-16

Can you please add it to the ebuild?

This causes some mess on ~amd64 (at least) where emerge pulls dev-lang/rust-1.70 together with dev-lang/rust-bin-1.69

Thanks

Reproducible: Always
Comment 1 acab 2023-07-20 09:08:13 UTC
Created attachment 865819 [details, diff]
ebuild patch

the patch allows building thunderbird with llvm-16
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-20 11:05:21 UTC
Dupe of bug 910102 I think?

*** This bug has been marked as a duplicate of bug 910102 ***
Comment 3 acab 2023-07-20 11:08:11 UTC
Apologies, I've missed #910102
Comment 4 Joonas Niilola gentoo-dev 2023-07-20 11:09:28 UTC
It works when you build it with -clang, or at least with -clang -lto. It doesn't work for anyone. 

Portage shouldn't go wild over the dep as TB still specifies virtual/rust:0/llvm-15 as a valid dep, I don't know why it's behaving like this. Try to update the world --with--bdeps=n meanwhile? 

I'll patch 102.14.0 to be compatible with virtual/rust:0/llvm-16.
Comment 5 acab 2023-07-20 11:19:00 UTC
Hi,
with--bdeps=n didn't help at all: it'd still install rust-bin/llvm-15

Thanks a lot for 102.14.0, looking forward to it
Comment 6 Joonas Niilola gentoo-dev 2023-07-20 12:40:24 UTC
Hmm, my bad, looks like the patch to fix rust-1.70 compatibility made it into upstream 102.13.0 release.
Comment 7 Larry the Git Cow gentoo-dev 2023-07-20 13:46:40 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(-)
Comment 8 acab 2023-07-20 13:48:57 UTC
Thanks Joonas!