[Pkg-electronics-devel] Bug#1104936: arduino: Autoformatter is broken

Philipp Matthias Hahn pmhahn at debian.org
Thu Sep 25 08:21:36 BST 2025


Package: arduino
Version: 2:1.8.19+dfsg1-3
Followup-For: Bug #1104936
X-Debbugs-Cc: Matteo Cypriani <mcy at lm7.fr>, Margarita Manterola <marga at debian.org>

Dear fellow Maintainer,

> 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 ?

https://bugs.gentoo.org/751562 points to two patches at
https://github.com/arduino/astyle/ which are supposed to fix it.
https://github.com/arduino/astyle/blob/master/patches/java_package_name.patch
looke like to be the one renaming some functions and a such breaking the
API between the Debian provided one and the one expected by Aruoino.

That patch got applied astyle-to 3.6.1 from 2024:
> Updated JNI interface to use Arduino IDE conventions

But Debian still has a very old version from ~2018:
	$ dpkg-query -W libastylej-jni 
	libastylej-jni:amd64    3.1-3+b3 

Latest is 3.6.10 from 2025-07: https://astyle.sourceforge.net/notes.html

I'm currently trying to build a new version of it locally.


-- System Information:
Debian Release: 13.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.48+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages arduino depends on:
ii  arduino-builder               1.3.25-5+b2
ii  arduino-core-avr              1.8.6+dfsg-2
ii  avrdude                       7.1+dfsg-3+b2
ii  default-jre                   2:1.21-76
ii  dpkg-dev                      1.22.21
ii  libastylej-jni                3.1-3+b3
ii  libbatik-java                 1.18+dfsg-2
ii  libbcpg-java                  1.80-3
ii  libbcprov-java                1.80-3
ii  libbcutil-java                1.80-3
ii  libcommons-codec-java         1.18.0-1
ii  libcommons-compress-java      1.27.1-2
ii  libcommons-exec-java          1.3-3
ii  libcommons-io-java            2.19.0-1
ii  libcommons-lang3-java         3.17.0-1
ii  libcommons-logging-java       1.3.0-2
ii  libcommons-net-java           3.9.0-1
ii  libhttpclient-java            4.5.14-1
ii  libjackson2-annotations-java  2.14.0-1
ii  libjackson2-core-java         2.14.1-1
ii  libjackson2-databind-java     2.14.0+ds-1
ii  libjaxp1.3-java               1.3.05-6
ii  libjmdns-java                 3.5.5-1
ii  libjna-java                   5.15.0-1
ii  libjna-platform-java          5.15.0-1
ii  libjsch-java                  0.2.19-1
ii  libjssc-java                  2.8.0-4
ii  liblistserialsj-dev           1.4.0+repack-1+b2
ii  liblog4j2-java                2.19.0-2
ii  librsyntaxtextarea-java       2.5.8-2
ii  librxtx-java                  2.2.0+dfsg-3.1
ii  libsemver-java                0.10.2-2
ii  libslf4j-java                 1.7.32-2
ii  libxml-commons-external-java  1.4.01-6
ii  libxmlgraphics-commons-java   2.10-3
ii  pkexec                        126-2

Versions of packages arduino recommends:
ii  extra-xdg-menus  1.0-7

arduino suggests no packages.

-- no debconf information



More information about the Pkg-electronics-devel mailing list