DEBUG: | DEBUG: | error: aborting due to previous error DEBUG: | DEBUG: | For more information about this error, try `rustc --explain E0463`. ERROR: Cannot compile for x86_64-gentoo-linux-musl with /usr/bin/rustc The target may be unsupported, or you may not have a rust std library for that target installed. Try: rustup target add x86_64-gentoo-linux-musl ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-j4-20211213-184654 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-11.2.1 * /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.57.0 * php cli: HEAD of ::gentoo commit 77a7ebce239a0e8874aa7abfebc23c46d0153b02 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Dec 13 21:51:45 2021 +0000 2021-12-13 21:51:44 UTC emerge -qpvO dev-lang/spidermonkey [ebuild N ] dev-lang/spidermonkey-78.15.0 USE="-clang -debug -jit -lto -test"
Created attachment 758858 [details] emerge-info.txt
Created attachment 758859 [details] dev-lang:spidermonkey-78.15.0:20211213-234424.log
Created attachment 758860 [details] emerge-history.txt
Created attachment 758861 [details] environment
Created attachment 758862 [details] etc.portage.tar.bz2
Created attachment 758863 [details] logs.tar.bz2
Created attachment 758864 [details] temp.tar.bz2
*** Bug 831900 has been marked as a duplicate of this bug. ***
After hitting this issue myself with version 102 and discussing this with juppis and sam on IRC I believe we have found the cause of this to be using dev-lang/rust-bin as compiling rust and building spidermonkey works as expected, at least when compiled with llvm. So the current workaround is to only use non-bin version of rust for now while using musl systems for affected users.
tinderbox_musl has reproduced this issue with version 115.3.1 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f097074a001542ce0b10a3edd47d2c0c9e4b37db commit f097074a001542ce0b10a3edd47d2c0c9e4b37db Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2024-04-16 07:15:53 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2024-04-16 07:17:14 +0000 dev-lang/spidermonkey: add 115.10.0 - enable llvm-18, - sync workarounds on musl from firefox-esr. Closes: https://bugs.gentoo.org/929013 Closes: https://bugs.gentoo.org/829148 Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-lang/spidermonkey/Manifest | 2 + dev-lang/spidermonkey/spidermonkey-115.10.0.ebuild | 504 +++++++++++++++++++++ 2 files changed, 506 insertions(+)