Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 617722

Summary: app-misc/elasticsearch: multiple bundled java packages
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Tomáš Mózes <hydrapolic>
Status: CONFIRMED ---    
Severity: normal CC: arthur, esigra, hydrapolic, java, leho, lssndrbarbieri, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 69972    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-05-07 11:46:12 UTC
As the title says. AFAICS at least some of them are packaged in Gentoo.
Comment 1 James Le Cuirot gentoo-dev 2017-05-07 14:21:22 UTC
I've looked at the way this is launched and given that this isn't built from source, it wouldn't be all that hard to do. I count about 8 jars that could be unbundled. To find these at runtime, the ebuild would need to call java-pkg_register-dependency and create a launcher with java-pkg_dolauncher to replace the upstream launcher.

However, I'm not going to spend any time on this. Java team is exploring a totally new direction where we will lean more heavily on Maven/Gradle to unbundle things but mostly only native code will be compiled and the majority of dependencies won't even be explicitly packaged. This is the only option I can come up with besides total collapse. I'm currently doing research to come up with a proof of concept.
Comment 2 Alessandro Barbieri 2017-05-08 05:47:54 UTC
see https://bugs.gentoo.org/show_bug.cgi?id=615806