-
Notifications
You must be signed in to change notification settings - Fork 33
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
Build fails with debian / alpine based build environment #24
Comments
Hmm looks like a weird error with the rustup toolchain. It's basically saying the compiler can't find the right toolchain. To me this looks like an issue with the base docker image you're using. Does it work compiling other rust projects? |
Hi, it works fine for rustysd. That are the only two projects I play with at the moment. |
Seems to be a alpine / musl problem...? |
Tried to build with ubuntu host...
So it isn't only musl / alpine dependent... :( |
Hmm that's peculiar. What versions of rustc and cargo are you using? |
I haven't checked the version... Build environment in docker was based on
Host environment based on an older lubuntu. I'm new with rust. Rustysd Just compile and works fine. So any Idea how to debug / configure rust build environment? |
Could you post the output of
in the |
Rust:alpine based test
|
@samuela |
This makes it sound like On Fedora, I assume you're using glibc? To install nightly rust you'll need to run |
@pwFoo Created immunant/c2rust#243 re the alpine/musl libc situation. |
For the moment I stay with busybox which works fine. Thanks for help debugging here! |
Ok, sorry we couldn't get to the bottom of this @pwFoo ! Feel free to open a new issue or reach out to me otherwise if you'd every like to revisit it! |
By the way, @pwFoo and @samuela, immunant/c2rust#243 should be fixed now, I think since the upstream rust-lang/rust#40174 is fixed, so you might be able to implement this PR now. |
Hi,
I tried to built rustybox inside of a docker container, but it fails with debian and alpine based Dockerfiles.
error:
The text was updated successfully, but these errors were encountered: