Open andyjeffries opened 5 months ago
Ah yeah I don't support musl, it says so right in the first few lines:
129.3 error: cannot produce cdylib for `commonmarker v1.0.0
129.3 (/usr/local/bundle/gems/commonmarker-1.0.4/ext/commonmarker)` as the target
129.3 `x86_64-unknown-linux-musl` does not support these crate types
I am not sure if I ever will tbh. Bluntly, it's more work to figure out how to get it working in this environment. I have heard too many tales of alpine being "different" enough to not investigate it. I'd consider PRs that support it, though.
Hi, I had a chance to look into this. I can adjust the project to build for x86_64-linux-musl
:
cd pkg/commonmarker-1.1.1-x86_64-linux-musl
Successfully built RubyGem
Name: commonmarker
Version: 1.1.1
File: commonmarker-1.1.1-x86_64-linux-musl.gem
But, I don't know enough about musl to understand what your platform is. The build system I use doesn't recognize it:
❌ Platform x86_64-unknown-linux-musl is not supported
Would support for x86_64-linux-musl
be enough for you? What exactly is unknown-linux-musl
?
To be honest, we've just pinned the version to 0.23.10 and it works for us. So don't stress too much for now about it (at least from my perspective)
It was being built on an alpine base on CircleCI. So I don't know what CPUs they use or why it comes as "unknown".
This is a Ruby 3.3 (ruby:3.3.0-alpine) based image, that is simply doing a
bundle install