Open flavorjones opened 3 days ago
@flavorjones Thanks for the bug report! I agree that this is something that will cause a lot of frustrations and it's something we should find a solution for. We're currently working with the Bun team to adopt their new musl support that they just landed: https://github.com/oven-sh/bun/issues/918
Will update this PR when we have news, right now we're blocked on https://github.com/oven-sh/bun/issues/15307
What version of Tailwind CSS are you using?
v4.0.0-alpha.34
What build tool (or framework if it abstracts the build tool) are you using?
Binary CLI executable from https://github.com/tailwindlabs/tailwindcss/releases/tag/v4.0.0-alpha.34
What version of Node.js are you using?
N/A
What browser are you using?
N/A
What operating system are you using?
Alpine Linux (musl libc)
Reproduction URL
You can see the failure in CI here: https://github.com/flavorjones/tailwindcss-ruby/actions/runs/11896261069/job/33147810896?pr=21#step:7:5
Compare with successful build run on a glibc system here: https://github.com/flavorjones/tailwindcss-ruby/actions/runs/11896261069/job/33147810459?pr=21#step:5:5
Describe your issue
When running the binary x86_64-linux executable on an Alpine (musl libc) system, I see:
Running
ldd
to see whether shared libraries are resolved properly reveals the problem:A previous issue (#14569) reported this, and the outcome was to open an upstream
bun
bug at https://github.com/oven-sh/bun/issues/14292. The reply there was, essentially:apk install gcompat
to make it workUnfortunately,
gcompat
does not help:I suspect this is going to be a blocker to adoption for many people given how widespread Alpine images are, particularly in CI/CD pipelines.