Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118651 - java.eclass needs to RDEPEND on java-config
Summary: java.eclass needs to RDEPEND on java-config
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-11 05:14 UTC by ChrisA
Modified: 2006-01-15 12:30 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ChrisA 2006-01-11 05:14:46 UTC
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 Josh Nichols (RETIRED) gentoo-dev 2006-01-11 07:34:13 UTC
This should actually go into java.eclass, which all the JDK and JRE ebuilds inherit.
Comment 2 ChrisA 2006-01-11 07:43:10 UTC
(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 Josh Nichols (RETIRED) gentoo-dev 2006-01-14 20:46:12 UTC
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 Josh Nichols (RETIRED) gentoo-dev 2006-01-15 12:30:08 UTC
All JREs and JDKs should be taken care of now. Thanks for reporting.