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

Bug 159519

Summary: dev-java/groovy-1.0_rc01 does not compile, build.xml has set a wrong property (with solution :)
Product: Gentoo Linux Reporter: Jan Meier <jan>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jan Meier 2006-12-30 16:10:11 UTC
The package dev-java/groovy-1.0_rc01 fails to compile with the following output: 

Rewriting ./src/tck/build.xml (using xml-rewrite.py)
Rewriting ./build.xml (using xml-rewrite.py)
>>> Compiling source in /var/tmp/portage/groovy-1.0_rc01/work/groovy-1.0-RC-01 ...
Buildfile: build.xml

compile:
    [mkdir] Created dir: /var/tmp/portage/groovy-1.0_rc01/work/groovy-1.0-RC-01/target/classes
    [javac] Compiling 397 source files to /var/tmp/portage/groovy-1.0_rc01/work/groovy-1.0-RC-01/target/classes

BUILD FAILED
/var/tmp/portage/groovy-1.0_rc01/work/groovy-1.0-RC-01/build.xml:36: /root/.maven/repository not found.

Total time: 1 second

!!! ERROR: dev-java/groovy-1.0_rc01 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  groovy-1.0_rc01.ebuild, line 79:   Called eant '-Dnoget=true' 'jar'
  java-utils-2.eclass, line 1377:   Called die

!!! eant failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.08"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info

I took a look into the build.xml and found the following line:

<property name="libdir" value="${user.home}/.maven/repository"/>

Which is wrong and should be: 

<property name="libdir" value="${basedir}/target/lib"></property>

After changing it groovy does compile fine :)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-30 16:11:52 UTC
It's already fixed, thanks anyway :)

*** This bug has been marked as a duplicate of 159457 ***