-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rust: fix musl build #3548
rust: fix musl build #3548
Conversation
Currently testing this... Got further than the builder, but I guess it's better to let this compile once for good. |
I'm test compiling aarch64 atm. |
Native testbuilding afterwards and merging if it succeeds. |
works for me on x86_64-musl.
|
okay 👍 |
|
Mind giving uploading the whole log? |
Could this have anything to do with it? void-packages/srcpkgs/rust/template Line 151 in 892afb7
I believe it's erroneously double double-quoted. |
@atweiden I don't think that makes any difference. |
It doesn't make a difference - although those double quotes are unnecessary. |
Thanks for liking to that, found it already - currently testing some stuff. |
The error is triggered in cargo afaics: |
This function may return the wrong result. |
Hm, curious why no other musl distro (e.g. alpine) carries a patch for that though... Also, maybe I should just combine this with a rust bump to 1.29.1? |
I think it is just a matter of disabling crt-static for musl - currently testing. We do this for x86_64-musl already. Alpine does this for all architectures. |
Currently testing with https://git.alpinelinux.org/cgit/aports/plain/community/rust/musl-fix-linux_musl_base.patch |
aarch64-musl build completed with |
Alright, mind leaving a patch here then? |
This is redundant to |
Testing... |
[ci skip]
Works, thanks @jnbr. |
good to merge ? |
No description provided.