Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829148 - dev-lang/spidermonkey-115.3.1 with dev-lang/rust-bin - ERROR: Cannot compile for x86_64-gentoo-linux-musl with /usr/bin/rustc
Summary: dev-lang/spidermonkey-115.3.1 with dev-lang/rust-bin - ERROR: Cannot compile ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
: 831900 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-12-14 10:05 UTC by Toralf Förster
Modified: 2024-04-16 07:17 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.04 KB, text/plain)
2021-12-14 10:05 UTC, Toralf Förster
Details
dev-lang:spidermonkey-78.15.0:20211213-234424.log (dev-lang:spidermonkey-78.15.0:20211213-234424.log,22.52 KB, text/plain)
2021-12-14 10:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,30.42 KB, text/plain)
2021-12-14 10:05 UTC, Toralf Förster
Details
environment (environment,141.42 KB, text/plain)
2021-12-14 10:05 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,4.63 KB, application/x-bzip)
2021-12-14 10:06 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.27 KB, application/x-bzip)
2021-12-14 10:06 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,36.61 KB, application/x-bzip)
2021-12-14 10:06 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-12-14 10:05:54 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-12-14 10:05:55 UTC
Created attachment 758858 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-14 10:05:56 UTC
Created attachment 758859 [details]
dev-lang:spidermonkey-78.15.0:20211213-234424.log
Comment 3 Toralf Förster gentoo-dev 2021-12-14 10:05:57 UTC
Created attachment 758860 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-12-14 10:05:59 UTC
Created attachment 758861 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-12-14 10:06:00 UTC
Created attachment 758862 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-14 10:06:01 UTC
Created attachment 758863 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-12-14 10:06:03 UTC
Created attachment 758864 [details]
temp.tar.bz2
Comment 8 Jory A. Pratt gentoo-dev 2022-01-23 20:52:09 UTC
*** Bug 831900 has been marked as a duplicate of this bug. ***
Comment 9 immolo 2023-10-16 10:40:51 UTC
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.
Comment 10 Agostino Sarubbo gentoo-dev 2024-01-19 08:20:42 UTC
tinderbox_musl has reproduced this issue with version 115.3.1 - Updating summary.
Comment 11 Larry the Git Cow gentoo-dev 2024-04-16 07:17:16 UTC
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(+)