Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597270 - app-text/jabref-bin-3.6 fails to emerge
Summary: app-text/jabref-bin-3.6 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nicolas Bock
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-16 12:14 UTC by Jonas Stein
Modified: 2016-10-17 19:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,1.75 KB, text/plain)
2016-10-16 12:14 UTC, Jonas Stein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Stein gentoo-dev 2016-10-16 12:14:43 UTC
Created attachment 450386 [details]
build.log

emerge =app-text/jabref-bin-3.6 
fails here and I do not understand the error message (attached). 

$ java -jar JabRef_3.6.jar -> works fine and starts with oracle java 1.8

Some ideas about the problem from IRC #gentoo-java besides the suggestion to report a bug for this:

the problem is that it only depends on virtual/jre (since it's a binary package) but JREs don't include the jar tool
jar isn't an independent package, it is included in JDKs
but jars are really just zips with a different name
Comment 1 Nicolas Bock gentoo-dev 2016-10-16 17:01:43 UTC
I can't reproduce this problem. Can you provide some more details as to what you had installed prior to jabref-bin?
Comment 2 James Le Cuirot gentoo-dev 2016-10-16 17:36:49 UTC
Nicolas, he has only a JRE installed, not a JDK. The jar tool is not included with JREs. You should depend on app-arch/unzip and use unzip instead.
Comment 3 Nicolas Bock gentoo-dev 2016-10-17 16:36:53 UTC
(In reply to James Le Cuirot from comment #2)
> Nicolas, he has only a JRE installed, not a JDK. The jar tool is not
> included with JREs. You should depend on app-arch/unzip and use unzip
> instead.

Thanks James for the comment. I fixed the ebuild.
Comment 4 Nicolas Bock gentoo-dev 2016-10-17 16:37:21 UTC
Jonas, could you try it again?
Comment 5 Jonas Stein gentoo-dev 2016-10-17 19:21:16 UTC
Nicolas, thank you very much for your quick fix. It works fine here.