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

Musl build CI failure - failed to run custom build command for libc v0.2.152 #833

Closed
joepio opened this issue Feb 1, 2024 · 1 comment
Closed

Comments

@joepio
Copy link
Member

joepio commented Feb 1, 2024

        +cross-build *failed* | Status: Downloaded newer image for ghcr.io/cross-rs/aarch64-unknown-linux-musl:0.2.5
        +cross-build *failed* | warning: /project/lib/Cargo.toml: unused manifest key: bench.0.all-features
        +cross-build *failed* |    Compiling libc v0.2.152
        +cross-build *failed* |    Compiling cfg-if v1.0.0
        +cross-build *failed* |    Compiling once_cell v1.19.0
        +cross-build *failed* |    Compiling smallvec v1.10.0
        +cross-build *failed* | error: failed to run custom build command for `libc v0.2.152`

        +cross-build *failed* | Caused by:
        +cross-build *failed* |   process didn't exit successfully: `/target/release/build/libc-1dc77733931721b3/build-script-build` (exit status: 1)
        +cross-build *failed* |   --- stderr
        +cross-build *failed* |   /target/release/build/libc-1dc77733931721b3/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found (required by /target/release/build/libc-1dc77733931721b3/build-script-build)
        +cross-build *failed* |   /target/release/build/libc-1dc77733931721b3/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /target/release/build/libc-1dc77733931721b3/build-script-build)
        +cross-build *failed* | warning: build failed, waiting for other jobs to finish...
        +cross-build *failed* | ERROR Earthfile line 69:4
        +cross-build *failed* |       The command
        +cross-build *failed* |           WITH DOCKER RUN --privileged cross build --target $TARGET --release
        +cross-build *failed* |       did not complete successfully. Exit code 101

Help: To debug your build, you can use the --interactive (-i) fla

see cross-rs/cross#724

@joepio
Copy link
Member Author

joepio commented Feb 15, 2024

IIRC this was a cache issue with earthly that has been fixed

@joepio joepio closed this as completed Feb 15, 2024
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

1 participant