dev-java/relaxngcc-1.12-r2 does not build if the eselected system java-vm is a JDK 1.8. The reason is that 1.8 needs the jar containing the interface definition for org.iso_relax.verifier.VerifierHandler in its build path. Reproducible: Always Steps to Reproduce: 1. eselect java-vm set system oracle-jdk-bin-1.8 2. ebuild /usr/portage/dev-java/relaxngcc/relaxngcc-1.12-r2.ebuild clean install Actual Results: [javac] /var/tmp/portage/dev-java/relaxngcc-1.12-r2/work/relaxngcc-0031218/src/relaxngcc/runtime/NGCCTypedContentHandler.java:141: error: cannot access VerifierHandler [javac] protected Locator getLocator() { return _ngcc_reader.getLocator(); } [javac] ^ [javac] class file for org.iso_relax.verifier.VerifierHandler not found [javac] 1 error This can easily be fixed by adding the jar from iso-relax to the build path. A patch is provided as an attachment.
Created attachment 401274 [details, diff] A patch to fix the ebuild
*** Bug 557316 has been marked as a duplicate of this bug. ***
Last release is .. 13 years old (!). I would prefer punting this package tbh but the dependency mish-mash it's in goes all the way to netbeans.
*** Bug 557378 has been marked as a duplicate of this bug. ***
| Author: Patrice Clement <monsieurp@gentoo.org> | Date: Thu Aug 13 01:26:28 2015 +0000 | | dev-java/relaxngcc: Add dev-java/iso-relax to classpath to get package to compile with JDK 1.8, courtesy of Dominik Diesch. Fixes bug 546638. | | Package-Manager: portage-2.2.18 | Signed-off-by: Patrice Clement <monsieurp@gentoo.org> | | create mode 100644 dev-java/relaxngcc/files/relaxngcc-1.12-SwitchBlockInfo.java.patch | create mode 100644 dev-java/relaxngcc/relaxngcc-1.12-r3.ebuild