[
https://issues.apache.org/jira/browse/NIFI-10841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17636206#comment-17636206
]
Chris Sampson edited comment on NIFI-10841 at 11/19/22 5:38 PM:
----------------------------------------------------------------
Example Maven output for attempted build on Mac M1:
{code:java}
Could not build image: java.util.concurrent.ExecutionException:
com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException:
java.lang.UnsatisfiedLinkError: could not load FFI provider
com.spotify.docker.client.shaded.jnr.ffi.provider.jffi.Provider:
ExceptionInInitializerError: Can't overwrite cause with
java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: Can't load
library:
/var/folders/3_/x2c_76p17vxbkht9njp7gc5h0000gp/T/jffi6906078493648890165.dylib
{code}
was (Author: chris s):
Example Maven output for attempted build on Mac M1:
```java
Could not build image: java.util.concurrent.ExecutionException:
com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException:
java.lang.UnsatisfiedLinkError: could not load FFI provider
com.spotify.docker.client.shaded.jnr.ffi.provider.jffi.Provider:
ExceptionInInitializerError: Can't overwrite cause with
java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: Can't load
library:
/var/folders/3_/x2c_76p17vxbkht9njp7gc5h0000gp/T/jffi6906078493648890165.dylib
```
> Enable dockermaven builds for arm64 architectures
> -------------------------------------------------
>
> Key: NIFI-10841
> URL: https://issues.apache.org/jira/browse/NIFI-10841
> Project: Apache NiFi
> Issue Type: Improvement
> Affects Versions: 1.18.0
> Reporter: Chris Sampson
> Priority: Major
>
> The dockermaven builds (e.g. nifi, nifi-toolkit, nifi-registry, minifi,
> minifi-c2) currently do not work on arm64 architecture machines.
> This is due to a known limitation of the Spotify docker build plugin used in
> the maven profiles.
> An alternative (e.g. fabric8) should allow builds on both amd64 and arm64
> architectures (and possibly others).
> NIFI-9177 allowed the docker image (e.g. produced using the dockerhub
> modules) to run on arm64 machines, so that's not a problem to fix, just the
> actual dockermaven module builds (and tests).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)