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

Bálint Réczey balint at balintreczey.hu
Thu May 8 21:41:08 UTC 2014


Hi Miguel,

2014-05-08 23:17 GMT+02:00 Miguel Landaeta <nomadium at debian.org>:
> On Fri, Apr 18, 2014 at 12:51:38AM +0200, Bálint Réczey wrote:
>>
>> When there is a groovy - gradle pair in the archive which can build
>> itself I'll check back to this problem again.
>
> I believe gradle and groovy are now fixed in unstable, so please
> ping me when you have the chance to revisit this issue.
The attached patch still makes the issue reproducible on xbmc 2:13.0+dfsg1-1:

...
touch xbmc/interfaces/python/generated/doxygenxml
mkdir -p xbmc/interfaces/python/generated
/usr/bin/swig -w401 -c++ -o
xbmc/interfaces/python/generated/AddonModuleXbmc.xml -xml -I./xbmc
-xmllang python xbmc/interfaces/swig/AddonModuleXbmc.i
# Work around potential groovy bug reported at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733234
# groovyc -cp "/usr/share/java/groovy.jar:/usr/share/java/commons-lang-2.6.jar:./tools/codegenerator:xbmc/interfaces/python"
-d tools/codegenerator tools/codegenerator/Helper.groovy
tools/codegenerator/SwigTypeParser.groovy
xbmc/interfaces/python/MethodType.groovy
xbmc/interfaces/python/PythonTools.groovy
groovy -cp "/usr/share/java/groovy.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:
/«BUILDDIR»/xbmc-13.0+dfsg1/tools/codegenerator/Generator.groovy: 25:
unable to resolve class Helper
 @ line 25, column 1.
   import Helper
   ^

1 error

make[2]: *** [xbmc/interfaces/python/generated/AddonModuleXbmc.cpp] Error 1
codegenerator.mk:35: recipe for target
'xbmc/interfaces/python/generated/AddonModuleXbmc.cpp' failed
rm xbmc/interfaces/python/generated/AddonModuleXbmc.xml
...

Cheers,
Balint
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-XXX-disable-groovy-workaround.patch
Type: text/x-patch
Size: 2078 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20140508/c48a3347/attachment-0001.bin>


More information about the pkg-java-maintainers mailing list