Skip to content
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

sorbet-static can not be installed on Alpine through the latest version of RubyGems #4048

Open
garybethea opened this issue Mar 3, 2021 · 2 comments
Labels
bug Something isn't working unconfirmed This issue has not yet been confirmed by the Sorbet team

Comments

@garybethea
Copy link

Sorry if this is the wrong place to post this, but I raised this issue on rubygems-update because sorbet-static cannot be installed on Alpine through the latest version of RubyGems, and it looks like the RubyGems team is unlikely to fix.

tl;dr

The x86_64-linux variant of sorbet-static works on Alpine even though Alpine uses the musl C compiler. Since with the latest release RubyGems now supports non-GMU linux platform variants, bundler looks for an exact variant match. Not finding any, bundler will fail to install any version of sorbet-static on Alpine machines (more info in the linked issue).

To address, the sorbet team will need to re-publish the x86_64-linux library, but tag it as -linux-musl as well.

@garybethea garybethea added bug Something isn't working unconfirmed This issue has not yet been confirmed by the Sorbet team labels Mar 3, 2021
@jez
Copy link
Collaborator

jez commented Mar 3, 2021

@froydnj
Copy link
Contributor

froydnj commented Jul 26, 2021

To address, the sorbet team will need to re-publish the x86_64-linux library, but tag it as -linux-musl as well.

This doesn't seem right -- since it doesn't work on musl-using platforms, we would want some way of tagging it as -linux-glibc, assuming such a thing exists. Is that even possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed This issue has not yet been confirmed by the Sorbet team
Projects
None yet
Development

No branches or pull requests

3 participants