Summary: | =www-client/firefox-85.0-r1 w/ rust-1.49.0: Failed to read used LLVM version from rustc! | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | awilum <r.ziman8> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | bob.mt.wya, contyk, gentoo, herrtimson, ionen, khler.marcus, kripton, lo48576, matoro_gentoo, ms, nrndda |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
firefox-85.0-r1 build.log
Emerge --info |
Description
awilum
2021-02-03 17:55:47 UTC
Created attachment 685680 [details]
Emerge --info
[I] dev-lang/rust-bin Available versions: (stable) 1.46.0 1.47.0-r1 (~)1.48.0 (~)1.49.0 {clippy doc rls rustfmt ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_X86="sse2"} Installed versions: 1.49.0(stable)(14:04:28 03/02/2021)(-clippy -doc -rls -rustfmt ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" CPU_FLAGS_X86="sse2") Homepage: https://www.rust-lang.org/ Description: Systems programming language from Mozilla with rust-1.49.0: $ rustc -vV rustc 1.49.0 binary: rustc commit-hash: unknown commit-date: unknown host: x86_64-unknown-linux-gnu release: 1.49.0 (no mention of llvm) Confirming this for: =sys-devel/llvm-11.0.1 =dev-lang/rust-1.49.9[system-llvm] Confirming this. Also, downgrading to rust-1.48 before emerge of firefox works, since this version outputs LLVM version as expected. # rustc -vV rustc 1.48.0 binary: rustc commit-hash: unknown commit-date: unknown host: x86_64-unknown-linux-gnu release: 1.48.0 LLVM version: 11.0 I can also confirm this problem on an ~amd64 machine. There is a bug in current rust version. dev-lang/rust will be probably rev bumped soon to get https://github.com/rust-lang/rust/commit/64c1b0d614949f405d8b4498a3b2ea59d9ec230e We are looking into ways how to patch rust-bin. But for now it is not planned to adjust the firefox ebuild because the check itself is correct needed in general (not required for current rust versions which are in sync with Gentoo's LLVM version but this can change). Feel free to wait, manually patch dev-lang/rust, copy firefox ebuild to your overlay and remove the check, disable LTO or switch to GCC. *** Bug 768873 has been marked as a duplicate of this bug. *** The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=913a1a9332f138872b8399a3d7fe1258b33f3d1a commit 913a1a9332f138872b8399a3d7fe1258b33f3d1a Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-02-05 18:32:14 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-02-05 18:32:14 +0000 mail-client/thunderbird: add rust-1.49 llvm version workaround Bug: https://bugs.gentoo.org/768543 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> mail-client/thunderbird/thunderbird-78.7.0.ebuild | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5157ea485742d977868e7bd15f0f0451ea3e6a18 commit 5157ea485742d977868e7bd15f0f0451ea3e6a18 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-02-05 15:14:57 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-02-05 18:30:37 +0000 www-client/firefox: add rust-1.49 llvm version workaround Bug: https://bugs.gentoo.org/768543 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/firefox-78.7.0.ebuild | 16 +++++++++++++--- www-client/firefox/firefox-85.0-r1.ebuild | 16 +++++++++++++--- 2 files changed, 26 insertions(+), 6 deletions(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c10219a508f89e245ad8f25d1e04e262a34cd8c commit 5c10219a508f89e245ad8f25d1e04e262a34cd8c Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-02-03 22:06:35 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-02-05 19:30:15 +0000 dev-lang/rust: add rustc -vV patch to 1.49.0 No revbump, since moz ebuilds have workaround now and we can't patch rust-bin. Bug: https://bugs.gentoo.org/768543 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-lang/rust/files/1.49.0-llvm-ver-display.patch | 31 +++++++++++++++++++++++ dev-lang/rust/rust-1.49.0.ebuild | 1 + 2 files changed, 32 insertions(+) All done, closing. dev-lang/spidermonkey The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e175988041502f41609360c0760499c5b16882d9 commit e175988041502f41609360c0760499c5b16882d9 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-02-06 12:55:37 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-02-06 12:55:37 +0000 dev-lang/spidermonkey: add rust-1.49 llvm version workaround Bug: https://bugs.gentoo.org/768543 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-lang/spidermonkey/spidermonkey-78.6.0.ebuild | 18 ++++++++++++++---- dev-lang/spidermonkey/spidermonkey-78.7.1.ebuild | 16 +++++++++++++--- 2 files changed, 27 insertions(+), 7 deletions(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fa99dfedc5fb7a9b66a45bfefb47e0bb8914b64 commit 3fa99dfedc5fb7a9b66a45bfefb47e0bb8914b64 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-02-11 22:33:31 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-02-11 23:40:56 +0000 profiles/package.mask: mask rust-1.50.0 Until moz ebuilds extend workaround for llvm version Bug: https://bugs.gentoo.org/768543 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> profiles/package.mask | 7 +++++++ 1 file changed, 7 insertions(+) |