claude: use the glibc Linux build, not musl#15
Merged
Conversation
The upstream linux-x64-musl binary is dynamically linked against /lib/ld-musl-x86_64.so.1, not static, so it fails with ENOENT on glibc hosts (e.g. ubuntu CI runners). The smoke test missed this: it checks the binary is executable but never runs it. Switch to the glibc build, which runs on standard Linux and CI.
jlouazel
approved these changes
Jun 25, 2026
Collaborator
|
Good note to beef-up the smoke test. I'll think of something |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Switch the
claudeplugin's Linux download from themuslbuild to the glibc build (linux-{arch}/claude).Why
The upstream
linux-x64-muslbinary is not static: it is dynamically linked against/lib/ld-musl-x86_64.so.1. On a glibc host (e.g. theubuntu-24.04CI runners) that loader is absent, so executing it fails withNo such file or directory (os error 2)(ENOENT from the missing interpreter).This surfaced when claude-marketplace#1 CI ran
proto run claude -- plugin validateon ubuntu and failed even though install succeeded.The glibc build runs on standard Linux distros and CI. (The musl build remains the right choice only on musl/Alpine hosts, which this repo's CI and consumers are not.)
Note on the smoke test
scripts/smoke-test.shdid not catch this: it assertsproto bin claudeis a-xfile but never executes it, so a binary built for the wrong libc still passes. The original #14 CI was green for that reason.Linear: PLAT-1014