Community
Participate
Working Groups
Launching eclipse arm64 fails due to unresolved JNA dependency. From https://bugs.eclipse.org/bugs/show_bug.cgi?id=572115#c10, this happens because the JNA version included in the SDK is 4.5.1 and doesn't support Mac arm64. We need to include the latest JNA 5.8 with Mac arm64 support or if possible remove the dependency.
(In reply to Lakshmi P Shanmugam from comment #0) > We need to include the latest JNA 5.8 with Mac arm64 support or if possible > remove the dependency. JNA dependency was added by Bug 558807. @Sebastian, Can you please help resolve this issue?
There are two versions of JNA in Simrel 4.5.1 coming from Eclipse Communication Framework 5.6.0 not sure where it is coming from Eclipse platform uses JNA coming from ECF. It would be better if ECF upgrades their JNA to latest.
I tried to bump the required version for platform already in 568690. Why do we have to consume the version that ECF is using? I agree that it would be nice to only have one version in the simrel, but if we have an explicit dependency to it, we should be able to consume whatever version we require, no matter what ECF does or does not. Am I missing something here?
(In reply to Sebastian Ratz from comment #3) > I tried to bump the required version for platform already in 568690. > > Why do we have to consume the version that ECF is using? > > I agree that it would be nice to only have one version in the simrel, but if > we have an explicit dependency to it, we should be able to consume whatever > version we require, no matter what ECF does or does not. > > Am I missing something here? We can go ahead with the latest version JNA in platform. Its good to get a single version in Simrel but if that is not possible it is better to use the version we need in platform.
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/178975
Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/178975 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=05806622cc2c7269561487bdf360380247df647b
Verified with I20210407-1800. JNA 5.8 is included in the SDK and it fixes the resolution error in Mac arm64 build. Thanks Sebastian for fixing this!