Problem installing arch aur package with java 8 dependency.

Hi guys, I hope that you guys could come up with an easy fix for this or some steps I could take in resolving this.

I am using pkgbuilder to install the arduino package from the Arch AUR. The problem is that upon checking the dependencies, I get the following error:

==> ERROR: Failed to fulfill package dependency requirement: java-runtime=8 (Package: arduino-1:1.6.12-1)

I do have the java runtime installed because if I type java --version, I get

openjdk version "1.8.0_102"
OpenJDK Runtime Environment (build 1.8.0_102-b14)
OpenJDK 64-Bit Server VM (build 25.102-b14, mixed mode)

How is it checking if I have the runtime installed and what would be the best way to fix this? Is it a problem with the PKGBUILD file or with my system?

Posted Sep 25, 2016, 8:32 PM UTC

02
poisonbyx•

Install the listed dependencies.

https://aur.archlinux.org/packages/arduino/

2
thewrongstuff95OP•

I understand that but pkgbuilder is supposed to take care of installing the dependencies and I already have the java-runtime installed. Should I uninstall java8 and reinstall a different version that is listed in the dependencies?

EDIT: I decided to add an issue to pkgbuilder's issue tracker on GitHub since I believe that the problem lies with how pkgbuilder resolves AUR dependencies.

1