Summary: | dev-java/ant-core: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer; | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | gentoo, proxy-maint, sam, tharvik |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=846782 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 net-vpn:i2p-1.6.1:20220116-005951.log temp.tar.bz2 |
Description
Toralf Förster
![]() Created attachment 762279 [details]
emerge-info.txt
Created attachment 762280 [details]
emerge-history.txt
Created attachment 762281 [details]
environment
Created attachment 762282 [details]
etc.portage.tar.bz2
Created attachment 762283 [details]
net-vpn:i2p-1.6.1:20220116-005951.log
Created attachment 762284 [details]
temp.tar.bz2
!!! When you file a bug report, please include the following information: GENTOO_VM=openjdk-bin-8 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-8.312_p07" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="javac" (extracted from one of the attachments) (In reply to Volkmar W. Pogatzki from comment #7) > !!! When you file a bug report, please include the following information: > GENTOO_VM=openjdk-bin-8 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-8.312_p07" > JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="javac" > > (extracted from one of the attachments) pls read # comment0 Hi, Any news regarding this bug ? I tried to bump to latest (1.7.0) but the exact same build error is present on my system (amd64 / bdver2) Thanks (In reply to David Duchesne from comment #9) > Hi, > Any news regarding this bug ? > I tried to bump to latest (1.7.0) but the exact same build error is present > on my system (amd64 / bdver2) Does this article help? https://www.morling.dev/blog/bytebuffer-and-the-dreaded-nosuchmethoderror/ Are you able to emerge i2p after "emerge -1 ant-core"? I suspect this may be caused by invoking ant with Java 8 while ant itself was build with Java >= 11. If this is the case, then it's not really related to the i2p build, but rather to dev-java/ant-core. Fixed with https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9826d526b71e87c2ec94a7ea7dce4952cd8a79f (Unfortunately I used the wrong bug # in the Closes git trailer) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b24498c7e502a18bac9b4f42e94bf479bb96a34c commit b24498c7e502a18bac9b4f42e94bf479bb96a34c Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2022-05-21 18:17:55 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2022-05-21 18:17:55 +0000 dev-java/ant-core: lower min Java to 8 again Turns out that raising ant-core's min Java requirement to 9, while fixing bug #831290, renders ant unable to build pure Java 8 packages (of which we have a few, most prominently jna), see bug #846782. We go back to Java 8 again, until we find a better solution. Bug: https://bugs.gentoo.org/846782 Bug: https://bugs.gentoo.org/831290 Signed-off-by: Florian Schmaus <flow@gentoo.org> .../ant-core/{ant-core-1.10.9-r4.ebuild => ant-core-1.10.9-r5.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Re-open, as we had to lower ant-core to Java 8 again (due to bug #846782). *** This bug has been marked as a duplicate of bug 846782 *** |