cross-rs / cross

“Zero setup” cross compilation and “cross testing” of Rust crates
Apache License 2.0
6.27k stars 357 forks source link

`GLIBC_2.29` not found in `ghcr.io/cross-rs/aarch64-unknown-linux-musl:0.2.5` #1436

Closed joepio closed 5 months ago

joepio commented 5 months ago

Checklist

Describe your issue

I'm trying to build AtomicServer using cross aarch64-unknown-linux-musl, but since a couple of days (I think since 0.2.5) I'm getting GLIBC_2.29' not found errors:

Status: Downloaded newer image for ghcr.io/cross-rs/aarch64-unknown-linux-musl:0.2.5
warning: /project/lib/Cargo.toml: unused manifest key: bench.0.all-features
   Compiling libc v0.2.152
   Compiling log v0.4.17
   Compiling memchr v2.5.0
   Compiling serde v1.0.188
   Compiling lock_api v0.4.8
error: failed to run custom build command for `libc v0.2.152`

Caused by:
  process didn't exit successfully: `/target/release/build/libc-1dc77733931721b3/build-script-build` (exit status: 1)
  --- stderr
  /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)
  /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)
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `log v0.4.17`

What target(s) are you cross-compiling for?

aarch64-unknown-linux-musl

Which operating system is the host (e.g computer cross is on) running?

What architecture is the host?

What container engine is cross using?

cross version

0.2.5

Example

No response

Additional information / notes

No response

Emilgardis commented 5 months ago

This is a duplicate of https://github.com/cross-rs/cross/issues/724

See that issue for potential fixes, the easiest being cargo clean