cluster-api-provider-aws: Release v2.1.3 of clusterawsadm-linux-amd64 broken on Alpine
/kind bug
What steps did you take and what happened: [A clear and concise description of what the bug is.]
2.1.2 of clusterawsadm-linux-amd64 was running fine on alpine 3.18.0 with musl
2.1.3 of clusterawsadm-linux-amd64 misses libc6 dependencies and requires gcompatpackage on alpine 3.18.0
2.1.3 version is marked with GitTreeState:“dirty”
Stes to reproduce on Alpine 3.18.0:
curl --location --output /usr/local/bin/clusterawsadm "https://github.com/kubernetes-sigs/cluster-api-provider-aws/releases/download/v2.1.3/clusterawsadm-linux-amd64"
chmod ugo+x /usr/local/bin/clusterawsadm
/usr/local/bin/clusterawsadm version
sh: /usr/local/bin/clusterawsadm: not found
ldd /usr/local/bin/clusterawsadm
/lib64/ld-linux-x86-64.so.2 (0x7f4f06656000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f4f06656000)
Error relocating /usr/local/bin/clusterawsadm: __vfprintf_chk: symbol not found
Error relocating /usr/local/bin/clusterawsadm: __fprintf_chk: symbol not found
# Adding glibc compat package:
apk add gcompat
/usr/local/bin/clusterawsadm version
clusterawsadm version: &version.Info{Major:"2", Minor:"1", GitVersion:"v2.1.3-dirty", GitCommit:"7f7af3e0a3fc2bac59ca3683f420dea54ffcae2d", GitTreeState:"dirty", BuildDate:"2023-06-01T12:33:04Z", GoVersion:"go1.20.2", AwsSdkVersion:"v1.44.213", Compiler:"gc", Platform:"linux/amd64"}
What did you expect to happen:
clusterawsadm to work without gcompat, build from clean state
curl --location --output /usr/local/bin/xclusterawsadm "https://github.com/kubernetes-sigs/cluster-api-provider-aws/releases/download/v2.1.3/clusterawsadm-linux-amd64"
chmod ugo+x /usr/local/bin/clusterawsadm
/usr/local/bin/clusterawsadm version
clusterawsadm version: &version.Info{Major:"2", Minor:"1", GitVersion:"v2.1.3", GitCommit:"7f7af3e0a3fc2bac59ca3683f420dea54ffcae2d", GitTreeState:"clean", BuildDate:"2023-06-01T12:33:04Z", GoVersion:"go1.20.2", AwsSdkVersion:"v1.44.213", Compiler:"gc", Platform:"linux/amd64"}
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Environment:
- OS (e.g. from
/etc/os-release):
cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.18.0
PRETTY_NAME="Alpine Linux v3.18"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 17 (14 by maintainers)
And i used Linux for the releases. Time for us to have a reproducible environment for releases (and make it fully automated).
/milestone v2.3.0
Or earlier