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

Bug 453422

Summary: dev-java/gcj-jdk dependency on sys-devel/gcc[gtk] should be optional
Product: Gentoo Linux Reporter: Alessandro Di Federico <ale>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: minor CC: ale, asturm
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alessandro Di Federico 2013-01-21 21:42:55 UTC
Hi, I'm on amd64 and I'm trying to build icedtea without any binary package at all (i.e. icedtea-bin), so I went for gcj-jdk. However gcj-jdk depends on gcc[gcj gtk], and the gtk USE flag pulls (in combination with multilib and gcj) a pair of emul-linux-x86-* packages, which I prefer not have on my system.

I suggest to add a USE flag on gcj-jdk to enable gcc[gtk], so in case you don't need it you can disable it and avoid emul-linux-x86-* packages.

I've tried to simply remove the USE dep from gtk in gcj-jdk and everything works fine so far.
Comment 1 Ralph Sennhauser (RETIRED) gentoo-dev 2013-01-23 10:41:40 UTC
There is now an X useflag for gcj-jdk as for other jvms with the same meaning. No changes to icedtea are required as headless gcj-jdk suffice for bootstrapping.

*gcj-jdk-4.7.2 (23 Jan 2013)
*gcj-jdk-4.6.3-r3 (23 Jan 2013)
*gcj-jdk-4.5.4-r1 (23 Jan 2013)

  23 Jan 2013; Ralph Sennhauser <sera@gentoo.org> +gcj-jdk-4.5.4-r1.ebuild,
  +gcj-jdk-4.6.3-r3.ebuild, +gcj-jdk-4.7.2.ebuild:
  Bump and make gcc[gtk] dep optional. #453422

Thanks for the report.