Skip to content

Support musl alternative binary #290

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

Open
wenerme opened this issue Jan 13, 2022 · 0 comments
Open

Support musl alternative binary #290

wenerme opened this issue Jan 13, 2022 · 0 comments
Labels
P3 We're not considering working on this, but happy to review a PR. (No assignee) type: feature request New feature or request

Comments

@wenerme
Copy link

wenerme commented Jan 13, 2022

bazelisk as a wrapper do support detect musl and download musl based bazel binary.

bazel do not support musl ci yet

  • using standalone binary on Alpine #5891
  • musl support in CI #1190
ldd ~/.cache/bazelisk/downloads/https---mirrors-huaweicloud-com-bazel/bazel-4.2.2-linux-x86_64/bin/bazel
	/lib64/ld-linux-x86-64.so.2 (0x7f7c5d88f000)
	librt.so.1 => /lib64/ld-linux-x86-64.so.2 (0x7f7c5d88f000)
	libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f7c5d88f000)
	libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f7c5d88f000)
	libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f7c5d88f000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7f7c5d6ee000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7f7c5d6d4000)
	libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f7c5d88f000)
Error relocating /root/.cache/bazelisk/downloads/https---mirrors-huaweicloud-com-bazel/bazel-4.2.2-linux-x86_64/bin/bazel: __realpath_chk: symbol not found
Error relocating /root/.cache/bazelisk/downloads/https---mirrors-huaweicloud-com-bazel/bazel-4.2.2-linux-x86_64/bin/bazel: __memcpy_chk: symbol not found
Error relocating /root/.cache/bazelisk/downloads/https---mirrors-huaweicloud-com-bazel/bazel-4.2.2-linux-x86_64/bin/bazel: __fdelt_chk: symbol not found
Error relocating /root/.cache/bazelisk/downloads/https---mirrors-huaweicloud-com-bazel/bazel-4.2.2-linux-x86_64/bin/bazel: __strdup: symbol not found
Error relocating /root/.cache/bazelisk/downloads/https---mirrors-huaweicloud-com-bazel/bazel-4.2.2-linux-x86_64/bin/bazel: __strncpy_chk: symbol not found
Error relocating /root/.cache/bazelisk/downloads/https---mirrors-huaweicloud-com-bazel/bazel-4.2.2-linux-x86_64/bin/bazel: __longjmp_chk: symbol not found

Maybe bazelisk or someone can produce github action based musl build for bazelisk ?

Alpine has testing bazel4 build https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/testing/bazel4

@fweikert fweikert added P3 We're not considering working on this, but happy to review a PR. (No assignee) type: feature request New feature or request labels Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 We're not considering working on this, but happy to review a PR. (No assignee) type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants