Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178315 - dev-java/groovy-1.0 is being broken by dev-java/xstream-1.2.1 in java-experimental overlay
Summary: dev-java/groovy-1.0 is being broken by dev-java/xstream-1.2.1 in java-experim...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-13 10:58 UTC by Vytautas Jakutis
Modified: 2009-03-24 18:49 UTC (History)
0 users

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 Vytautas Jakutis 2007-05-13 10:58:23 UTC
hello,

groovy-1.0 is in portage
with xstream-1.2 in portage groovy-1.0 does compile
with xstream-1.2.1 in java-experimental groovy-1.0 does not compile

    [javac] /var/tmp/portage/dev-java/groovy-1.0/work/groovy-1.0/src/main/org/codehaus/groovy/control/SourceUnit.java:76: cannot access com.thoughtworks.xstream.XStream
    [javac] bad class file: /var/tmp/portage/dev-java/groovy-1.0/work/groovy-1.0/target/lib/xstream.jar(com/thoughtworks/xstream/XStream.class)
    [javac] class file has wrong version 50.0, should be 49.0
    [javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
    [javac] import com.thoughtworks.xstream.XStream;
    [javac]                                 ^
    [javac] 1 error

BUILD FAILED
/var/tmp/portage/dev-java/groovy-1.0/work/groovy-1.0/build.xml:41: Compile failed; see the compiler error output for details.

Total time: 1 second

!!! ERROR: dev-java/groovy-1.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-05-13 13:17:40 UTC
For now removed KEYWORDS again.
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2007-05-19 02:10:31 UTC
A couple of possibilities here:
1) xstream introduced dependency on 1.5
2) xstream's build system changed subtly such that we are no longer building the appropriate bytecode

If it's #1, we are a bit out of luck, and would need to up groovy's dependency to 1.5. This would be less than ideal.

If its #2, would just need to fix the build system.
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2009-03-24 18:49:18 UTC
groovy 1.0 is no longer in the tree. Please open a new bug if 1.5 does not work for you.