Changes between Initial Version and Version 1 of Ticket #21620


Ignore:
Timestamp:
2021-12-01T23:51:49+01:00 (4 years ago)
Author:
taylor.smock
Comment:

Breaking changes in JNA:

  • Prebuild native library for darwin x86 (32bit java on mac OS) was removed (5.7)
    • In return, we get macOS aarch64 architecture to universal darwin target (5.7)

So we will lose 32bit Java support on Mac for JNA. Which people are not running (hopefully). @Don-vip: Do we have stats for people on Mac running on 32 bit? I wouldn't imagine it would be very high, but I could be wrong about that.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21620

    • Property Component Plugin mapwithaiPlugin jna
    • Property Owner changed from taylor.smock to Don-vip
    • Property Summary MapWithAI causes JNA exception[PATCH] JNA does not support ARM M1 Macs
  • Ticket #21620 – Description

    initial v1  
     1{{{
    122021-12-01 14:49:07.651 SEVERE: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin mapwithai. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.UnsatisfiedLinkError: /Users/imac62/Library/Caches/JNA/temp/jna10834888994934519908.tmp: dlopen(/Users/imac62/Library/Caches/JNA/temp/jna10834888994934519908.tmp, 0x0001): tried: '/Users/imac62/Library/Caches/JNA/temp/jna10834888994934519908.tmp' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e')), '/usr/lib/jna10834888994934519908.tmp' (no such file)
    23org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin mapwithai
     
    6061
    6162Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "main"
     63}}}