FS#30255 - [ninja-ide] Missing dependency java-runtime-headless

Attached to Project: Community Packages
Opened by Tim Hartman (tbhartman) - Monday, 11 June 2012, 14:11 GMT
Last edited by Evangelos Foutras (foutrelis) - Sunday, 29 July 2012, 08:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Appears that java-runtime-headless is a dependency for ninja-ide. I get the following error:
Failed to execute child process "/usr/lib/jvm/java-7-openjdk/jre/bin/java" (No such file or directory)

I installed "jre7-openjdk" and this was resolved (jre7-openjdk-headless provides the missing file)

Additional info:
* 1.1-1


Steps to reproduce:
I had jre installed from AUR.
Install ninja-ide from community.
Run $ ninja-ide
It won't run.
Install jre7-openjdk.
Run $ ninja-ide
Now it works
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Sunday, 29 July 2012, 08:43 GMT
Reason for closing:  Not a bug
Comment by Jelle van der Waa (jelly) - Friday, 15 June 2012, 13:44 GMT
No it really doesn't need java, it's a python program.
Comment by Tim Hartman (tbhartman) - Friday, 15 June 2012, 14:09 GMT
I uninstalled jre7-openjdk-headless and tried to run ninja-ide again. I get the same error; the entire output is attached. There are a plethora of errors, many relating to "GLib", "Gtk", and "Pango". After reinstalling jre7-openjdk-headless, I was once again able to run ninja-ide. I saved the output and have attached that as well.
Comment by Jelle van der Waa (jelly) - Friday, 15 June 2012, 14:29 GMT
Do you use plugins with ninja-ide?
Also is your system updated?
pacman -Q ninja-de
Comment by Tim Hartman (tbhartman) - Friday, 15 June 2012, 14:48 GMT
It appears that I have no plugins installed (I opened ninja-ide and "Plugins -> Manage Plugins -> Installed" and there are none listed).

$ pacman -Q ninja-ide
ninja-ide 1.1-1
$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
there is nothing to do
Comment by Evangelos Foutras (foutrelis) - Monday, 02 July 2012, 01:22 GMT
Do you have icedtea-web-java7 or icedtea-web installed? That seems to be causing trouble judging from the ninja-ide_without_java log you posted.
Comment by Tim Hartman (tbhartman) - Monday, 02 July 2012, 12:48 GMT
Ah, I uninstalled icedtea-web-java7 and jre7-openjdk-headless (which provides java-runtime-headless) and ninja-ide works now. Apparently a problem on the icedtea end?
Comment by Evangelos Foutras (foutrelis) - Monday, 02 July 2012, 13:06 GMT
Not necessarily; icedtea-web-java7 depends on jre7-openjdk which in turn depends on jre7-openjdk-headless.

I have no idea why you didn't have jre7-openjdk-headless installed via the dependency chain above. (Maybe you do? :p)

Loading...