Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 822822 - dev-lang/spidermonkey-78.14.0: error[E0463]: can't find crate for `std`
Summary: dev-lang/spidermonkey-78.14.0: error[E0463]: can't find crate for `std`
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-10 07:26 UTC by HougeLangley
Modified: 2021-12-25 21:16 UTC (History)
1 user (show)

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


Attachments
build_log (build-log,25.07 KB, text/plain)
2021-11-10 07:27 UTC, HougeLangley
Details
emerge --info (emerge --info,5.26 KB, text/plain)
2021-11-10 07:28 UTC, HougeLangley
Details
emerge -pqv (emerge -pqv,169 bytes, text/plain)
2021-11-10 07:29 UTC, HougeLangley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HougeLangley 2021-11-10 07:26:09 UTC
Build on musl failed. More detail see build log

Reproducible: Always
Comment 1 HougeLangley 2021-11-10 07:27:12 UTC
Created attachment 750012 [details]
build_log
Comment 2 HougeLangley 2021-11-10 07:28:01 UTC
Created attachment 750015 [details]
emerge --info
Comment 3 HougeLangley 2021-11-10 07:29:42 UTC
Created attachment 750018 [details]
emerge -pqv
Comment 4 Georgy Yakovlev archtester gentoo-dev 2021-11-10 07:39:37 UTC
it's known, ::gentoo rust/rust-bin does not provide x86_64-gentoo-linux-musl target.

some patch in codebase incorrectly assumes rust target.
same applies to firefox
Comment 5 HougeLangley 2021-11-10 07:52:40 UTC
(In reply to Georgy Yakovlev from comment #4)
> it's known, ::gentoo rust/rust-bin does not provide x86_64-gentoo-linux-musl
> target.
> 
> some patch in codebase incorrectly assumes rust target.
> same applies to firefox

Thanks, I test some build on musl for fun and do some feedback :)
Comment 6 HougeLangley 2021-11-14 15:37:14 UTC
I found using this overly's rust ebuild built spidermonkey will be success.

https://github.com/12101111/overlay/blob/master/dev-lang/rust/rust-1.56.0-r1.ebuild
Comment 7 HougeLangley 2021-11-14 15:43:21 UTC
default is x86_64-unknown-linux-musl,gentoo modified to x86_64-gentoo-linux-musl.

I think this is a mistake. :)
Comment 8 Jory A. Pratt gentoo-dev 2021-12-25 21:16:20 UTC
(In reply to HougeLangley from comment #7)
> default is x86_64-unknown-linux-musl,gentoo modified to
> x86_64-gentoo-linux-musl.
> 
> I think this is a mistake. :)

This has already been addressed for dev-lang/rust::musl, you will get a successful firefox/thunderbird/spidermonkey out the box with it.