FS#80164 - [arduino] incorrect PATH in arduino.sh

Attached to Project: Arch Linux
Opened by Michael Laß (Bevan) - Saturday, 04 November 2023, 21:40 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To NicoHood (NicoHood)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
arduino depends on JRE 8 for certain reasons (see  FS#77184  and  FS#72692 ). It does so by depending on java-runtime=8. This dependency is fulfilled by the package jre8-openjdk. Via its dependency jre8-openjdk-headless, a JVM in /usr/lib/jvm/java-8-openjdk/jre/bin/ is provided.

However, /usr/bin/arduino sets:
PATH=/usr/lib/jvm/java-8-openjdk/bin/

That run script should probably also include /usr/lib/jvm/java-8-openjdk/jre/bin/ in $PATH to use Java 8 if installed via jre8-openjdk.

Additional info:
* package version(s)
* arduino 1:1.8.19-2
* jre8-openjdk 8.392.u08-1
* jre8-openjdk-headless 8.392.u08-1
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:21 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/arduino/issues/3

Loading...