Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 782697 - dev-java/xerces-2.12.1 - org/.../ElementImpl.java:24: error: cannot find symbol
Summary: dev-java/xerces-2.12.1 - org/.../ElementImpl.java:24: error: cannot find symbol
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 783417
Blocks:
  Show dependency tree
 
Reported: 2021-04-13 17:58 UTC by Toralf Förster
Modified: 2022-02-03 12:00 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.77 KB, text/plain)
2021-04-13 17:58 UTC, Toralf Förster
Details
dev-java:xerces-2.12.1:20210413-154732.log (dev-java:xerces-2.12.1:20210413-154732.log,2.85 KB, text/plain)
2021-04-13 17:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,111.92 KB, text/plain)
2021-04-13 17:58 UTC, Toralf Förster
Details
environment (environment,83.93 KB, text/plain)
2021-04-13 17:58 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.82 KB, application/x-bzip)
2021-04-13 17:58 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,2.08 KB, application/x-bzip)
2021-04-13 17:58 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-04-13 17:58:10 UTC
>>> 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"
Comment 1 Toralf Förster gentoo-dev 2021-04-13 17:58:11 UTC
Created attachment 699690 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-13 17:58:12 UTC
Created attachment 699693 [details]
dev-java:xerces-2.12.1:20210413-154732.log
Comment 3 Toralf Förster gentoo-dev 2021-04-13 17:58:14 UTC
Created attachment 699696 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-13 17:58:15 UTC
Created attachment 699699 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-13 17:58:16 UTC
Created attachment 699702 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-13 17:58:17 UTC
Created attachment 699705 [details]
logs.tar.bz2
Comment 7 Miroslav Šulc gentoo-dev 2021-04-13 18:18:15 UTC
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
Comment 8 Attila Tóth 2021-04-14 10:48:50 UTC
(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...
Comment 9 Miroslav Šulc gentoo-dev 2021-04-14 12:12:50 UTC
(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.
Comment 10 Andreas Sturmlechner gentoo-dev 2021-04-15 11:51:49 UTC
The obvious solution here is to mask dev-java/xerces-2.12.1 as well.
Comment 11 Larry the Git Cow gentoo-dev 2022-02-03 12:00:24 UTC
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(-)