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

Support for M1 Mac? #95

Closed
tamanugi opened this issue Aug 23, 2021 · 4 comments
Closed

Support for M1 Mac? #95

tamanugi opened this issue Aug 23, 2021 · 4 comments
Milestone

Comments

@tamanugi
Copy link

Hi, Thanks for awesome library ✨

I facing issue when use docker-maven-plugin.

Execution default-cli of goal io.fabric8:docker-maven-plugin:0.38-SNAPSHOT:build failed:
An API incompatibility was encountered while executing io.fabric8:docker-maven-plugin:0.38-SNAPSHOT:build:
 java.lang.UnsatisfiedLinkError: could not load FFI provider jnr.ffi.provider.jffi.Provider

fabric8io/docker-maven-plugin#1257 (comment)

Questions

  • is jnr-unixsocket support for M1 Mac?
  • if not support, any plan support ?
@headius
Copy link
Member

headius commented Sep 1, 2021

@tamanugi The M1 bit would largely be within https://github.com/jnr/jffi, which has preliminary support for M1 already. The main thing missing is support for varargs, which requires some native changes to how we set up the argument list (jnr/jffi#105).

So, it may work today, since I don't think we use any varargs calls in jnr-unixsocket!

@speechkey
Copy link

jnr/jffi#105 looks like to be fixed now

@tamanugi
Copy link
Author

@speechkey @headius

latest version docker-maven-plugin works as expected 🎉🎉🎉🎉🎉
Thanks😍

@headius headius added this to the 0.38.17 milestone Jan 18, 2022
@headius
Copy link
Member

headius commented Jan 18, 2022

@tamanugi Thank you for confirming! Sorry it took a while, but all M1 fixes were released in jnr-unixsocket 0.38.17 a couple of weeks ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants