On Thu, 08 May 2025 21:47:35 +0200 Matthias Geiger <werdah...@debian.org> wrote:
Package: arduino
Version: 2:1.8.19+dfsg1-3
Severity: important
X-Debbugs-Cc: werdah...@debian.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi,
when attempting to run the autoformatter inside the IDE via CTRL+T it
fails:
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError:
'java.lang.String
cc.arduino.packages.formatter.AStyleInterface.AStyleMain(java.lang.String,
java.lang.String)'
at cc.arduino.packages.formatter.AStyleInterface.AStyleMain(Native
Method)
at cc.arduino.packages.formatter.AStyle.run(AStyle.java:80)
at
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
I suspect this might be missing another link in arduino.links, but will
properly debug on the weekend.
Hi,
the reason is buried in
debian/patches/debian-hacks/Use-system-library-astylej.patch
This *should* use the Debian astylej, which is already a dependency.
Somehow it does not properly get picked up though.
Julien, do you have an idea what might be wrong here ? Does it need to
be explictily added to the java runtime path ?
best,
werdahias