Summary: | =dev-java/gnu-classpath-0.98-r3 uses gcc [gcj] to build but not chcecks gcc for USE=gcj | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Kredba <kredba> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED OBSOLETE | ||
Severity: | minor | CC: | junghans, mgorny, toolchain |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=552882 | ||
Whiteboard: | masked in 17.0 profiles | ||
Package list: | Runtime testing required: | --- |
Description
David Kredba
2012-08-01 04:23:51 UTC
After [doc] enabled, I found another thing: configure: error: Building documentation requires GJDoc >= 0.7.9, 0.98 found Kindly please look at this too. (In reply to comment #1) > After [doc] enabled, I found another thing: > > configure: error: Building documentation requires GJDoc >= 0.7.9, 0.98 found > > Kindly please look at this too. Same here, the problem is: $ equery b /usr/bin/gjdoc * Searching for /usr/bin/gjdoc ... dev-java/gjdoc-0.7.9-r2 (/usr/bin/gjdoc) $ gjdoc --version gjdoc 0.98 gjar is part of gnu-classpath or newer gcc[gcj] and /usr/bin/gjar is managed by gcc-config, so looks to me as if /usr/bin/gjar wasn't cleaned up from an earlier install. gjdoc is available as gjdoc, newer gnu-classpath[gjdoc] or newer gcc[gcj] /usr/bin/gjdoc is managed by gcc-config or installed by gjdoc! Here as well configure finds not the gjdoc that it depends on, so one would think 0.98 should be fine. Bottom line gnu-classpath doesn't depend on gcc[gcj], will have to look into a proper fix for this mess. I confirm gcc[gcj] not required. I found this bug, because /usr/bin/gjar was in my system, but i think it was left there from an old reinstall (root fs corruption), equery d /usr/bin/gjar wasn't found anything, i removed it, now gnu-classpath compiled fine. Some action needs to be taken here. I think gcc-config should clean up its old symlinks rather than leaving non-working tools to confuse build systems. This is actually in hand. gnu-andrew has been making improvements to the ebuild in java-overlay. I have some pending changes too but I'm waiting on him to finish his bit. He's mega busy with icedtea releases right now though so please be patient. This will be a bump to at least 0.99. He's talked about doing a new release but I'm not sure if that will happen soon. It will no longer be slotted, which should simplify some of the surrounding logic. IIRC, it will no longer install anything under /usr/bin. Tools will go somewhere under /usr/libexec instead. gjdoc is only provided by gcc if you happen to have antlr:0 installed at build time. Fixing bug #552882 will explicitly prevent that. I will remove the standalone gjdoc package, which is obsolete, and gjdoc will be provided solely by gnu-classpath. gcc[gcj] is going away... This is obsolete and gcj is gone for gcc versions 7 and higher. |