Summary: | dev-java/antlr:3 fails to build with dev-java/oracle-jdk-bin:1.8 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Viktor Yu. Kovalskii <vityokster> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dliana, kornel661, pacho, sping, wizardedit |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 556992 | ||
Attachments: |
build.log of emerging dev-java/antlr:3
patch |
Description
Viktor Yu. Kovalskii
2014-04-03 16:50:18 UTC
Created attachment 374174 [details]
build.log of emerging dev-java/antlr:3
I'm seeing this issue as well. I'll attach a patch. Created attachment 382412 [details, diff] patch This commit: https://github.com/antlr/antlr3/commit/e88907c259c43d42fa5e9f5ad0e486a2c1e004bb#diff-d41d8cd98f00b204e9800998ecf8427e and: import java.util.HashMap; lets it compile. This package is not current, current version is 4.5. Thus the OLD version has problems with a NEW jdk. Not surprising at all. Update the the package, and it will likely fix the issue with jdk 1.8. (In reply to William L. Thomson Jr. from comment #4) > This package is not current, current version is 4.5. Thus the OLD version > has problems with a NEW jdk. Not surprising at all. Update the the package, > and it will likely fix the issue with jdk 1.8. Maybe You're right but I don't need dev-java/antlr:4. dev-java/antlr:3 is required for app-text/jabref, for example. equery d dev-java/antlr * These packages depend on dev-java/antlr: app-text/jabref-2.10-r2 (dev-java/antlr:3) dev-java/antlr-3.1.3-r3 (>=dev-java/antlr-2.7.7:0[java]) dev-java/jaxme-0.5.2-r1 (dev-java/antlr:0[java]) dev-java/stringtemplate-3.2.1 (>=dev-java/antlr-2.7.7:0[java]) Looks like antlr-3.x needs to be updated to current 3.5, presently 3.1.3 in tree. Though might be best if jabref is updated to use newer antlr, presently 4.5. Not sure how long 3.x will be support for, but for now still seems to be. https://github.com/antlr/antlr3 (In reply to William L. Thomson Jr. from comment #6) > Looks like antlr-3.x needs to be updated to current 3.5, presently 3.1.3 in > tree. Though might be best if jabref is updated to use newer antlr, > presently 4.5. Not sure how long 3.x will be support for, but for now still > seems to be. > > https://github.com/antlr/antlr3 Version bump for dev-java/antlr-3.5.2 is present in b.g.o (https://bugs.gentoo.org/show_bug.cgi?id=293305). Created a work around for jabref in bug 547934. Still have to see about updating antlr 3.x but this addresses the issue as far as jabref is concerned. Seems to compile and install fine. *** Bug 554884 has been marked as a duplicate of this bug. *** + 08 Aug 2015; Sebastian Pipping <sping@gentoo.org> antlr-3.1.3-r3.ebuild, + +files/antlr-3.1.3-jdk-8.patch: + Fix compilation with oracle-jdk-bin-1.8 (bug #506678) + If I missed anything, please feel free to re-open. *** Bug 556984 has been marked as a duplicate of this bug. *** |