>>> Compiling source in /var/tmp/portage/dev-java/xerces-2.12.1/work ... * Compiling ... org/apache/xerces/dom/ElementImpl.java:24: error: cannot find symbol import org.w3c.dom.ElementTraversal; ^ symbol: class ElementTraversal ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-20210410-191300 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.3.0 * clang version 11.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.1.0 Python 3.8.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.51.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Tue Apr 13 15:20:34 UTC 2021 emerge -qpvO dev-java/xerces [ebuild U ] dev-java/xerces-2.12.1 [2.12.0] USE="-doc -source"
Created attachment 699690 [details] emerge-info.txt
Created attachment 699693 [details] dev-java:xerces-2.12.1:20210413-154732.log
Created attachment 699696 [details] emerge-history.txt
Created attachment 699699 [details] environment
Created attachment 699702 [details] etc.portage.tar.bz2
Created attachment 699705 [details] logs.tar.bz2
compiles fine with openjdk-11 but fails both with openjdk-8 and openjdk-bin-8. looking at the docs, the failing interface has been added in java 9 and is not available in java 8: https://docs.oracle.com/javase/9/docs/api/org/w3c/dom/ElementTraversal.html
(In reply to Miroslav Šulc from comment #7) > compiles fine with openjdk-11 but fails both with openjdk-8 and > openjdk-bin-8. looking at the docs, the failing interface has been added in > java 9 and is not available in java 8: > https://docs.oracle.com/javase/9/docs/api/org/w3c/dom/ElementTraversal.html openjdk-11 is not handled by eselect java-vm currently, so xerces will either see openjdk-8 or icedtea-8...
(In reply to Attila Tóth from comment #8) > openjdk-11 is not handled by eselect java-vm currently, so xerces will > either see openjdk-8 or icedtea-8... unless you unmasked it, like i did. but that does not solve the issue with the class missing in java 8.
The obvious solution here is to mask dev-java/xerces-2.12.1 as well.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80c00b937ad6968617149b560678177c3eaef33b commit 80c00b937ad6968617149b560678177c3eaef33b Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2022-02-02 17:36:53 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2022-02-03 12:00:19 +0000 dev-java/xerces: Drop 2.12.1 Closes: https://bugs.gentoo.org/783417 Closes: https://bugs.gentoo.org/782697 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/xerces/Manifest | 1 - dev-java/xerces/xerces-2.12.1.ebuild | 42 ------------------------------------ 2 files changed, 43 deletions(-)