-
Notifications
You must be signed in to change notification settings - Fork 27
Missing aarch64-linux-musl on RubyGems.org for > 22.7.0.1 #60
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
Comments
Is there a reason why we stopped publishing aarch64-linux-musl packages to rubygems? This is currently breaking linux-arm64 musl builds for mini_racer. ping @lloeki / @SamSaffron |
cross-compiling, which is a PITA with GCC (on Debian there's one in repo, but on Alpine you have to compile one). but now there are GHA ARM runners so cross-compiling can be eschewed: https://github.com/DataDog/graft-rb/blob/55952c2e28d36f93f88fd8c0b885e09b1e3b9dd5/.github/workflows/nix.yml#L12-L25 |
I am sorry for asking, but is there a quick fix for mini_racer? |
yeah, but availability in the public preview seems to be rather spotty. I tried to use them in some projects, also in rubyjs/mini_racer#341. Maybe it's too early to rely on them yet 🤷 |
Other than compiling libv8 from source (not recommended)? Not really. Note that this should only be a problem on alpine/musl currently. |
I take my comment back, I had a typo in the |
With mini_racer 0.18.0 released, I suspect this issue here will result in quite a few issues being reported. Should we put something in mini_racer's README or pin a issue or something to clarify, that aarch64-linux-musl is currently not supported by mini_racer? /cc @SamSaffron |
yes I think so, the cross compiling is very tough , I am pro reducing our support matrix here unless someone wants to step up and own it. |
Cross compiling should no longer be an issue, since Github's Linux ARM runners are available (I'm already using them in other projects). I'd like to help out, but this is quite a bit outside of my area of expertise :( |
Probably already known, just wanted to make sure it's tracked…
I was looking at why builds broke for mini_racer for aarch64-arm musl, e.g. https://github.com/rubyjs/mini_racer/actions/runs/10763648835. Looks like no
aarch64-linux-musl
packages got pushed to rubygems (>= 22.5.1.0): https://rubygems.org/gems/libv8-node/versionsI don't quite understand how rubygems works in regards to resolving this, but it looks like it's falling back to
libv8-node-22.7.0.3-aarch64-linux
and then failing (on aarch64 alpine, rubygems 3.5.18, Ruby 3.3.5):The text was updated successfully, but these errors were encountered: