Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 558312

Summary: dev-vcs/subversion-1.9.0 fails to emerge with USE=java : Incorrect bytecode version found
Product: Gentoo Linux Reporter: William L. Thomson Jr. <wlt-ml>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED INVALID    
Severity: normal CC: candrews
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description William L. Thomson Jr. 2015-08-20 21:29:03 UTC
Incorrect bytecode version found
 * in file: /tmp/portage/dev-vcs/subversion-1.9.0/image/usr/lib64/svn-javahl/svn-javahl.jar
 * See /tmp/portage/dev-vcs/subversion-1.9.0/temp/class-version-verify.log for more details.
 * ERROR: dev-vcs/subversion-1.9.0::gentoo failed (install phase):
 *   Incorrect bytecode found


GENTOO_VM=oracle-jdk-bin-1.8  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.51"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info =subversion-1.9.0


Likely need to increase the deps to likley 1.7 from 1.5, >=virtual/jdk-1.7. In theory could go with 1.6. Since that is being phased out, I would recommend 1.7, to prevent the same issue later on. Pretty sure that is where this problem is coming from, but might be something else.
Comment 1 William L. Thomson Jr. 2015-08-20 21:40:13 UTC
Just modified it locally to >=virtual/jre-1.7 and >=virtual/jdk-1.7 and merged fine. I would likely make that change to all versions in tree.
Comment 2 William L. Thomson Jr. 2015-08-20 22:29:45 UTC
I was wrong, recompiled on wrong system without use flag set. It fails even with that increased to 1.7, need to look further as to why.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-08-27 22:08:26 UTC
Please attach the complete build log and /tmp/portage/dev-vcs/subversion-1.9.0/temp/class-version-verify.log
Comment 4 Thomas Sachau gentoo-dev 2016-08-06 17:08:27 UTC
Re-assigning to the maintainer for >=subversion-1.8