[Pkg-electronics-devel] Bug#1099511: newest releases of bc* java libraries cause arduino to fail to start

Jonas Smedegaard dr at jones.dk
Tue Mar 4 10:33:42 GMT 2025


control: reassign -1 src:bouncycastle
control: affects -1 arduino
control: found -1 1.80-1

Quoting Emmanuel Bourg (2025-03-04 10:45:10)
> On 04/03/2025 10:35, Jonas Smedegaard wrote:
> 
> > On an up-to-date amd64 Debian unstable system as of today, arduino fails
> > to start like this:
> > 
> >   arduino
> > Picked up JAVA_TOOL_OPTIONS:
> > WARNING: A restricted method in java.lang.System has been called
> > WARNING: java.lang.System::loadLibrary has been called by processing.app.Platform in an unnamed module (file:/usr/share/arduino/lib/arduino-core.jar)
> > WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
> > WARNING: Restricted methods will be blocked in a future release unless native access is enabled
> > 
> > java.lang.NoClassDefFoundError: org/bouncycastle/asn1/cryptlib/CryptlibObjectIdentifiers
> >       at org.bouncycastle.openpgp.PGPUtil$2.<init>(Unknown Source)
> >       at org.bouncycastle.openpgp.PGPUtil.<clinit>(Unknown Source)
> 
> Hi Jonas,
> 
> Classes have been moved from bcprov to bcutil in BC 1.80. Adding bcutil 
> to the classpath should fix this issue.

Thanks for the clarification.

I have reassigned accordingly: If I understand you correctly, the bug
(of changing without coordination with reverse dependencies) is in
src:bouncycastle, even if the best fix might be a change in arduino.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-electronics-devel/attachments/20250304/4bed2685/attachment.sig>


More information about the Pkg-electronics-devel mailing list