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
MoarVM Fails to Compile on OpenSUSE due to missing libffi.so.6 #999
Comments
It compiles fine if I clone MoarVM from scratch. So this makes this less severe. I would still like to get this fixed before release though. |
This ensures that minilua will always be rebuild. This fixes bug #999, though we may find a better solution. We declare ALWAYS_REBUILD as a target, and use the .PHONY property to designate that it's not an actual file (though it's unlikely that file would exist on the users computer). While we're there, also add all the other phony rules like 'install' 'clean' 'lib' etc. as .PHONY so the rules won't break if those files happen to exist in that folder.
Looks like this was forgotten. Discovered due to issue #999.
This has been worked around for now. I am taking the blocker status off but leaving the bug open, since the current fix is not ideal. With the fix we rebuild minilua every time, but it prevents people upgrading to a newer release from having the build fail. |
Maybe it's simpler to make minilua be compiled statically and with somewhat fewer libraries. |
Issue #999 seems to be avoidable mostly by restricting minilua to compile with just the libraries that it needs, rather than all that MoarVM brings in. Or thats' my theory at least. Removes the always-recompile behaviour, which was annoying me.
Issue #999 seems to be avoidable mostly by restricting minilua to compile with just the libraries that it needs, rather than all that MoarVM brings in. Or thats' my theory at least. Removes the always-recompile behaviour, which was annoying me.
Issue #999 seems to be avoidable mostly by restricting minilua to compile with just the libraries that it needs, rather than all that MoarVM brings in. Or thats' my theory at least. Removes the always-recompile behaviour, which was annoying me.
Apparently, but I have no way to check this, macOS doesn't have -lm..... so this needs some tweaking presumably. |
Issue #999 seems to be avoidable mostly by restricting minilua to compile with just the libraries that it needs, rather than all that MoarVM brings in. Or thats' my theory at least. Removes the always-recompile behaviour, which was annoying me.
Issue #999 seems to be avoidable mostly by restricting minilua to compile with just the libraries that it needs, rather than all that MoarVM brings in. Or thats' my theory at least. Removes the always-recompile behaviour, which was annoying me.
OpenSUSE Tumbleweed has libffi.so.7 now, and not libffi.so.6. Compiling with no options or '--has-libffi' fails with:
The text was updated successfully, but these errors were encountered: