Skip to content
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

aarch64-musl crashing when building app #75

Closed
Ludea opened this issue Nov 7, 2022 · 3 comments
Closed

aarch64-musl crashing when building app #75

Ludea opened this issue Nov 7, 2022 · 3 comments

Comments

@Ludea
Copy link

Ludea commented Nov 7, 2022

Hi,

I try to build a rust app with musl, by rust-mul-cross images and GHA.

x86_64 works fine, but aarch64 crash.

I get:

#14 5.127     Updating crates.io index
#14 85.51 Killed
ERROR: failed to solve: process "/bin/sh -c cargo build --release" did not complete successfully: exit code: 137
Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c cargo build --release" did not complete successfully: exit code: 137

GHA Workflow: https://github.com/Ludea/speedupdate-rs/blob/master/.github/workflows/docker.yml
Dockerfile: https://github.com/Ludea/speedupdate-rs/blob/master/Dockerfile
Full log: https://github.com/Ludea/speedupdate-rs/actions/runs/3409830963/jobs/5672075085

I don't understand what is wrong

@messense
Copy link
Member

messense commented Nov 7, 2022

Try add CARGO_NET_GIT_FETCH_WITH_CLI=true, probably related to libgit2, see rust-lang/cargo#10583

@messense messense closed this as completed Nov 7, 2022
@Ludea
Copy link
Author

Ludea commented Nov 7, 2022

Works as expected, thanks !
Maybe you could add a note into Readme.md ?

@messense
Copy link
Member

messense commented Nov 7, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants