Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405933 - dev-dotnet/ikvm-0.46.0.2 fails to build with dev-java/icedtea:7
Summary: dev-dotnet/ikvm-0.46.0.2 fails to build with dev-java/icedtea:7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: jdk7-stabilization
  Show dependency tree
 
Reported: 2012-02-26 17:20 UTC by Dennis Schridde
Modified: 2012-02-28 08:30 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2012-02-26 17:20:08 UTC
When building dev-dotnet/ikvm-0.46.0.2 with dev-java/icedtea:7 I get lots and lots of these:
                 [exec] Warning IKVMC0101: unable to compile class "..."
                 [exec]     (class format error "51.0")

A quick web search suggests that the copy of OpenJDK included in IKVM does not yet recognize classes compiled with Java 7. I suggest depending on virtual/jdk:1.6 instead of >=virtual/jdk-1.6. An alternative would be to unbundle IKVM's copy of OpenJDK - which would probably be a nice idea in any case.

Reproducible: Always
Comment 1 Ralph Sennhauser (RETIRED) gentoo-dev 2012-02-27 12:21:38 UTC
depending on virtual/jdk:1.6 would be a workaround, reassigning to dotnet.
Comment 2 Pacho Ramos gentoo-dev 2012-02-27 19:35:33 UTC

*** This bug has been marked as a duplicate of bug 399729 ***
Comment 3 Dennis Schridde 2012-02-27 20:44:50 UTC
No, it is not a duplicate of bug #399729 as that bug is about the unmapable character and this bug is about the included copy of openjdk being unable to use the classfiles compiled with the system jdk.
Comment 4 Pacho Ramos gentoo-dev 2012-02-27 21:29:29 UTC
In that case, please report this also to upstream. Will fix dependency to :1.6 when I have time 

Thanks
Comment 5 Pacho Ramos gentoo-dev 2012-02-28 08:20:45 UTC
No need to report to upstream as 0.46.x versions are for jdk:6 and future "7" versions for jdk:1.7
Comment 6 Pacho Ramos gentoo-dev 2012-02-28 08:30:20 UTC
+  28 Feb 2012; Pacho Ramos <pacho@gentoo.org>
+  +files/ikvm-0.46.0.2-unmappable-character.patch, ikvm-0.46.0.2.ebuild:
+  Fix unmappable character for encoding ASCII, bug #399729 by Dennis Schridde;
+  restrict to jdk:1.6, bug #405933
+