Summary: | dev-java/eclipse-ecj-4.21 - ./.../TypeElementImpl.java:36: error: cannot find symbol RecordComponentElement | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | daniel.koszta, jcl.aciman, sam |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/25501 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-java:eclipse-ecj-4.21:20220120-042155.log emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 |
Description
Toralf Förster
2022-01-20 09:17:19 UTC
Created attachment 762780 [details]
emerge-info.txt
Created attachment 762781 [details]
dev-java:eclipse-ecj-4.21:20220120-042155.log
Created attachment 762782 [details]
emerge-history.txt
Created attachment 762783 [details]
environment
Created attachment 762784 [details]
etc.portage.tar.bz2
Created attachment 762785 [details]
logs.tar.bz2
*** Bug 832171 has been marked as a duplicate of this bug. *** I think this might work with OpenJDK 17 but _not_ 11. I just encountered this same bug with eclipse-ecj-4.22 using openjdk-bin:11 to (fail to) build it. I wouldn't be surprised if this did succeed with JDK 17, since records were first introduced in version 14 of Java. However, since I can't seem to switch to version 17 through eselect, I can't check for myself if it'll build. Workaround that makes it compile after recompiling openjdk (though I'm not sure if its correct or not): /etc/portage/profile/package.use.mask: dev-java/openjdk:17 -gentoo-vm /etc/portage/package.use: dev-java/openjdk:17 gentoo-vm /etc/portage/env/java17.conf: JAVA_PKG_FORCE_VM="openjdk-17" /etc/portage/package.env: dev-java/eclipse-ecj java17.conf The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b2992fd44c5df1a80931e28cb8c1faa7ed2bb89 commit 7b2992fd44c5df1a80931e28cb8c1faa7ed2bb89 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2022-05-15 11:33:58 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2022-05-30 08:36:04 +0000 dev-java/eclipse-ecj: virtual/jdk-11:*" -> -17:* Bug: https://bugs.gentoo.org/831559 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/25501 Signed-off-by: Florian Schmaus <flow@gentoo.org> dev-java/eclipse-ecj/eclipse-ecj-4.22-r1.ebuild | 72 +++++++++++++++++++++++++ 1 file changed, 72 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebf1a8c251eefb23889ac984b0b033e4957df894 commit ebf1a8c251eefb23889ac984b0b033e4957df894 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2022-05-15 11:27:40 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2022-05-30 08:36:04 +0000 dev-java/ant-eclipse-ecj: virtual/jdk-11:*" -> -17:* Bug: https://bugs.gentoo.org/831559 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Florian Schmaus <flow@gentoo.org> .../ant-eclipse-ecj/ant-eclipse-ecj-4.22-r1.ebuild | 53 ++++++++++++++++++++++ dev-java/ant-eclipse-ecj/files/ecj-4.22-r1 | 7 +++ 2 files changed, 60 insertions(+) Affected version has gone. Closing. |