Skip to content

Binary install of 0.37.24 doesn't work in official Rust debian 1.86 image #1270

@quasi-coherent

Description

@quasi-coherent

Describe The Bug

This isn't really a bug and you might not have anything to do about it. Please feel free to close if so.

The binary installation of cargo-make does not work in a container built from rust:1.86.0-slim-bookworm, failing with

/usr/local/cargo/bin/cargo-make: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by /usr/local/cargo/bin/cargo-make)
/usr/local/cargo/bin/cargo-make: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /usr/local/cargo/bin/cargo-make)

So the binary installation can't be used on stable debian, which is not a problem since you can just cargo install it instead, but I wanted to bring it to your attention in case it is something you wouldn't want to be the case.

To Reproduce

> $ docker run -it rust:1.86.0-slim-bookworm /bin/bash
root@69adefe16d12:/# apt update && apt install -y curl libssl-dev pkg-config
root@69adefe16d12:/# curl -L --proto '=https' --tlsv1.2 -sSf "https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh" | bash
root@69adefe16d12:/# cargo binstall --no-confirm cargo-make
 INFO resolve: Resolving package: 'cargo-make'
 WARN The package cargo-make v0.37.24 (x86_64-unknown-linux-gnu) has been downloaded from github.com
 INFO This will install the following binaries:
 INFO   - cargo-make => /usr/local/cargo/bin/cargo-make
 INFO   - makers => /usr/local/cargo/bin/makers
 INFO Installing binaries...
 INFO Done in 2.036991475s
root@69adefe16d12:/# cargo make --version
/usr/local/cargo/bin/cargo-make: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by /usr/local/cargo/bin/cargo-make)
/usr/local/cargo/bin/cargo-make: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /usr/local/cargo/bin/cargo-make)

Error Stack

See terminal output.

Code Sample

See terminal input.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions