Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558312 - dev-vcs/subversion-1.9.0 fails to emerge with USE=java : Incorrect bytecode version found
Summary: dev-vcs/subversion-1.9.0 fails to emerge with USE=java : Incorrect bytecode v...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-20 21:29 UTC by William L. Thomson Jr.
Modified: 2018-04-04 14:08 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 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