-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74092/#review224928
-----------------------------------------------------------
This patch does not work in Apple M2. However, with the following additional
change, I am able to successfully build on my Mac M2.
diff --git a/security-admin/pom.xml b/security-admin/pom.xml
index 5e24dd846..54bd231d8 100644
--- a/security-admin/pom.xml
+++ b/security-admin/pom.xml
@@ -928,7 +928,7 @@
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
- <version>1.6</version>
+ <version>1.12.1</version>
<configuration>
<workingDirectory>${project.build.directory}</workingDirectory>
<installDirectory>${project.build.directory}</installDirectory>
- Selvamohan Neethiraj
On Aug. 22, 2022, 8:31 a.m., ziyue yang wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/74092/
> -----------------------------------------------------------
>
> (Updated Aug. 22, 2022, 8:31 a.m.)
>
>
> Review request for ranger.
>
>
> Bugs: RANGER-3863
> https://issues.apache.org/jira/browse/RANGER-3863
>
>
> Repository: ranger
>
>
> Description
> -------
>
> [JIRA LInk](https://issues.apache.org/jira/browse/RANGER-3863)
>
> This Pr is to update dependencies to support macOS aarch64 devices.
>
> We'll see the `UnsatisfiedLinkError` like below:
>
> ```plain
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> /Users/USERNAME/Library/Caches/JetBrains/IntelliJIdea2020.3/tmp/jna6890631648374949923.tmp:
>
> dlopen(/Users/USERNAME/Library/Caches/JetBrains/IntelliJIdea2020.3/tmp/jna6890631648374949923.tmp,
> 1): no suitable image found. Did find:
>
> /Users/USERNAME/Library/Caches/JetBrains/IntelliJIdea2020.3/tmp/jna6890631648374949923.tmp:
> no matching architecture in universal wrapper
>
> /Users/USERNAME/Library/Caches/JetBrains/IntelliJIdea2020.3/tmp/jna6890631648374949923.tmp:
> no matching architecture in universal wrapper
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> ```
>
> This is because the dependencies wasn't updated to the version which supports
> M1.
>
> Maven repo link:
> 1. [Java Native
> Access](https://mvnrepository.com/artifact/net.java.dev.jna/jna/5.7.0),
> [changelog](https://github.com/java-native-access/jna/blob/master/CHANGES.md#release-570)
> 2.
> [gethostname4j](https://mvnrepository.com/artifact/com.kstruct/gethostname4j),
> [related PR](https://github.com/mattsheppard/gethostname4j/pull/8)
>
>
> Diffs
> -----
>
> pom.xml 8698e67e5
>
>
> Diff: https://reviews.apache.org/r/74092/diff/1/
>
>
> Testing
> -------
>
> Run maven test on both intel x86 and M1 machine, succeeded
>
>
> Thanks,
>
> ziyue yang
>
>