Bug#733234: Groovy fails with groovy.lang.MissingMethodException

Balint Reczey balint at balintreczey.hu
Fri Dec 27 20:12:03 UTC 2013


Hi,

On 12/27/2013 04:28 PM, Bálint Réczey wrote:
> Package: groovy
> Version: 1.8.6-1
> Severity: normal
> 
> Hi,
> 
> Using groovy to generate code in XBMC build fails.
> 
> Steps to reproduce:
> apt-get -t experimental groovy
> apt-get build-dep xbmc
> dget http://http.debian.net/debian/pool/main/x/xbmc/xbmc_12.3+dfsg1-1.dsc
> # if extraction fails
> dpkg-source -x xbmc_12.3+dfsg1-1.dsc
> cd xbmc-12.3+dfsg1/
> sed -i 's/groovyc/# groovyc/' codegenerator.mk
> make -f codegenerator.mk
> 
> Result:
...
> groovy 1.8.6-1 from unstable fails differently:
> ...
> groovy -cp "/usr/share/java/groovy-all-1.8.6.jar:/usr/share/java/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python"
> \
>         ./tools/codegenerator/Generator.groovy
> xbmc/interfaces/python/generated/AddonModuleXbmc.xml
> xbmc/interfaces/python/PythonSwig.cpp.template
> xbmc/interfaces/python/generated/AddonModuleXbmc.cpp
> xbmc/interfaces/python/generated/doxygenxml
> org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
> /root/xbmc-12.3+dfsg1/tools/codegenerator/Generator.groovy: 26: unable
> to resolve class Helper
>  @ line 26, column 1.
>    import Helper
>    ^
> 
> 1 error
> 
> make: *** [xbmc/interfaces/python/generated/AddonModuleXbmc.cpp] Error 1

Based on suggestion at http://trac.xbmc.org/ticket/13394 I tried
removing the '+' sign from the directory name and it solved the problem
for 1.8.6, but not for 2.2.1.

Cheers,
Balint


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20131227/e76fcf19/attachment.sig>


More information about the pkg-java-maintainers mailing list