-
Notifications
You must be signed in to change notification settings - Fork 0
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
libsmpack Gem::Ext::BuildError: ERROR: Failed to build gem native extension. #2
Comments
I think yes, generally is there an answer to why As I noted in the topic there are no changes between success/failure run. Also when I re-executed previous successful run it also fails, which looks confusing |
libmspack gem does not have native extension published so it is probably built each time. It looks like ffi-compiler2 gem invocation got broken and it now inserts '' to compiler command line
There are no direct changes to configuration since the last successful run but this workflow indirectly installs the latest bundler. Now it is 2.5.6, the last successful run was with 2.5.5. I would start with trying bundler 2.5.5 as the last good run was with it |
@CAMOBAP |
@maxirmx Yes please, really appreciate the help A few notes from my side:
|
Is libmspack a dependency from fontist? Is that a better place to fix this, and potentially we can reuse the issue here? Eg have prepackaged dependencies that we can reuse? |
There is a fork already -- https://github.com/metanorma/ruby-libmspack |
@maxirmx I’ve fixed the access rights on that repo. Please feel free to proceed there. Thanks! |
|
Done! |
@ronaldtse @CAMOBAP There is no option to open an issue against https://github.com/davispuh/ffi-compiler and https://github.com/davispuh/ffi-compiler looks dead. The issue with ffi-compiler2 is that it now uses Not sure what to do with it.
|
'freeze' |
Turns out shell escaping is incredibly complex... Real fix would be for Ruby to support it natively. Alternative could be to rewrite Anyway I wrote small escaper for Windows (it might not work correctly for all cases) and pushed You can always fix things and submit your PRs ffi/ffi-compiler / ffi-compiler2 Also btw it's not true that libmspack doesn't include prebuilt binaries, in fact it does, they are in |
Thank you very much, @davispuh, for the quick response. |
https://github.com/metanorma/packed-mn/actions/runs/7836671011/job/21384812122#step:7:443
No changes in:
But bundler decide to rebuild native extension instead using prebuilt one(
The text was updated successfully, but these errors were encountered: