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

Bug 623888

Summary: dev-java/icedtea-7.2.6.10 should depend on dev-java/gcj-jdk
Product: Gentoo Linux Reporter: dogdeblack
Component: Current packagesAssignee: Andrew John Hughes <gnu_andrew>
Status: RESOLVED DUPLICATE    
Severity: normal CC: chewi, java, jstein, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: https://forums.gentoo.org/viewtopic-t-1065688.html
Whiteboard:
Package list:
Runtime testing required: ---

Description dogdeblack 2017-07-05 16:59:47 UTC
Whenever trying to compile IcedTea by bootstrapping it with gcc following the wiki's steps does not work properly on it's own (https://wiki.gentoo.org/wiki/Java#Installing_IcedTea_GCJ_Virtual_Machine) and emerge gives a circular dependencies error.In order to properly build you need to emerge dev-java/gcj-jdk together with icedtea in order to build icedtea 7.2.6.10 and then emerge icedtea by itself to build icedtea 3.4.0  since gcc obviously can not bootstrap icedtea 8.Therefore dev-java/gcj-jdk should be added as a dependency to icedtea.(This is m first time submitting a bug and even though I read the page on the wiki on how to do so I apologize if I did it somehow wrong).Here's a forum link explaining what exactly happened https://forums.gentoo.org/viewtopic-t-1065688.html .
Comment 1 Jonas Stein gentoo-dev 2017-07-05 17:29:47 UTC
Thank you for your bug report. 
We usually start the title with the full name of the ebuild with the problem.
I did this for you, you can now add the version number where I wrote 0.0.0.

If you are not sure about the KEYWORDS and IMPORTANCE of a bug, it is the best, to leave it as it is. Bugwranglers and other developers will do that for you.
Comment 2 Brian Evans (RETIRED) gentoo-dev 2017-07-05 17:32:39 UTC
gcc has deprecated gcj and dropped it in >=7.0.  I wouldn't rely on it.  If you want to build dev-java/icedtea, use dev-java/icedtea-bin first to bootstrap.
Comment 3 James Le Cuirot gentoo-dev 2017-07-15 10:35:34 UTC
dev-java/gcj-jdk *is* a dependency of dev-java/icedtea:7 and has been for years. You probably ran into bug #382421, which can be avoided by emerging gcj-jdk and ant-core first. I have updated the wiki instructions.

*** This bug has been marked as a duplicate of bug 382421 ***