-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Description
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.
danibix95
Metadata
Metadata
Assignees
Labels
No labels