Bug 118651 - java.eclass needs to RDEPEND on java-config
Bug#: 118651 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: java@gentoo.org Reported By: chrisa@p3natradio.dk
Component: Ebuilds
URL: 
Summary: java.eclass needs to RDEPEND on java-config
Keywords:  
Status Whiteboard: 
Opened: 2006-01-11 05:14 0000
Description:   Opened: 2006-01-11 05:14 0000
When using binpkg's, java-config is only installed on the buildhost -- not the
hosts installing sun-jdk as a binary package. 

It's the java.eclass file, that uses java-config in 'java_pkg_postinst'. 

To reproduce:
1) Build sun-jdk on a buildhost (emerge -bav sun-jdk)

2) Copy the package to a second host (scp /usr/portage/packages/All/sun-jdk-*
second-host:/usr/portage/packages/All)

3) On the second-host, run emerge -avgK sun-jdk. After this, sun-jdk _should_
be the default JVM .. but without java-config, this is not possible.

Regards,
ChrisA

------- Comment #1 From Josh Nichols (RETIRED) 2006-01-11 07:34:13 0000 -------
This should actually go into java.eclass, which all the JDK and JRE ebuilds
inherit.

------- Comment #2 From ChrisA 2006-01-11 07:43:10 0000 -------
(In reply to comment #1)
> This should actually go into java.eclass, which all the JDK and JRE ebuilds
> inherit.
> 

Nice - did not know you could do that :)

/me likes Gentoo a lot ..

------- Comment #3 From Josh Nichols (RETIRED) 2006-01-14 20:46:12 0000 -------
I've made the change to java.eclass, and now just need to update all the JREs
and JDKs to not DEPEND on java-config themselves.

------- Comment #4 From Josh Nichols (RETIRED) 2006-01-15 12:30:08 0000 -------
All JREs and JDKs should be taken care of now. Thanks for reporting.