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

Bálint Réczey balint at balintreczey.hu
Thu Apr 17 22:51:38 UTC 2014


Hi Miguel,

2014-04-17 20:33 GMT+02:00 Miguel Landaeta <nomadium at debian.org>:
> tags 733234 + moreinfo
> thanks
>
> Hi Bálint,
>
> On Fri, Dec 27, 2013 at 04:28:39PM +0100, Bálint Réczey wrote:
>> Package: groovy
>> Version: 1.8.6-1
>> Severity: normal
>>
>> Hi,
>>
>> Using groovy to generate code in XBMC build fails.
>
> Sorry for my delay to handle this bug.
> To be honest, I'm not an expert about groovy or xbmc internals, so I
> was wondering if you can provide me with a more succint explanation
> about what you think is broken with groovy.
>
> In your first message I saw you satisfied xbmc build-depends from
> experimental but your classpath had references to the version from
> unstable.
>
> Right now I have a grave bug in groovy/gradle (#744337) since it
> looks like I'm unable to build a working package for 1.8.6 release
> with current default JDK and libraries from unstable.
>
> 1.8.6-1 used to work for a long time but as soon as I recompiled for
> 1.8.6-2 I'm seeing breakage in several places so I'm unable to even
> reproduce this bug right now.
>
> Maybe this is just 1.8.6 showing its age and I should focus on getting
> 2.x in unstable on time for jessie.
>
> Sorry I can't be more useful for this bug at this moment.
I tried building groovy 2.2.1 on testing and it failed, too. I agree
that 2.x is the way to go and I think you could find a state of sid on
snapshots.debian.org, which lets you build 2.2.1 (2.2.2?) and latest
gradle as well.

When there is a groovy - gradle pair in the archive which can build
itself I'll check back to this problem again.

Cheers,
Balint

BTW I started playing with this patch to disable the DGM stuff, but
since groovy itself does not build I will return to this later:

--- src/main/org/codehaus/groovy/runtime/metaclass/MetaClassRegistryImpl.java.orig
   2014-04-17 21:57:53.386313813 +0200
+++ src/main/org/codehaus/groovy/runtime/metaclass/MetaClassRegistryImpl.java
   2014-04-17 21:58:42.353618465 +0200
@@ -90,7 +90,7 @@
             final Map<CachedClass, List<MetaMethod>> map = new
HashMap<CachedClass, List<MetaMethod>>();

             // let's register the default methods
-            registerMethods(null, true, true, map);
+            registerMethods(null, false, true, map);
             final Class[] additionals = DefaultGroovyMethods.additionals;
             for (int i = 0; i != additionals.length; ++i) {
                 createMetaMethodFromClass(map, additionals[i]);



More information about the pkg-java-maintainers mailing list