Your message dated Thu, 8 May 2014 13:14:16 -0300
with message-id <20140508161416.ga20...@alice.nomadium.lan>
and subject line Re: gradle: FTBFS: java.lang.OutOfMemoryError: Java heap space
has caused the Debian Bug report #744337,
regarding gradle: FTBFS: java.lang.OutOfMemoryError: Java heap space
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
744337: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744337
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:gradle
Version: 1.4-2
Severity: serious
Justification: fails to build from source (but built successfully in the past)


I tried to build some package with Gradle and it failed.
So, I checked gradle itself and I'm unable to build it as well.

It dies on me with some memory errors:


  dpkg-source -b gradle-1.4
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building gradle using existing ./gradle_1.4.orig.tar.gz
dpkg-source: info: building gradle in gradle_1.4-2.debian.tar.xz
dpkg-source: info: building gradle in gradle_1.4-2.dsc
 debian/rules build
dh build --with javahelper
   dh_testdir
   dh_auto_configure
   jh_linkjars
   debian/rules override_dh_auto_build
make[1]: Entering directory `/tmp/buildd/gradle-1.4'
find /usr/share/gradle -type l ! -exec test -r {} \; -print
mkdir /tmp/buildd/gradle-1.4/.gradlehome
gradle --project-prop finalRelease=true --stacktrace --offline assemble
java.lang.OutOfMemoryError: Java heap space
        at java.util.ArrayList.<init>(ArrayList.java:144)
        at 
org.codehaus.groovy.reflection.GeneratedMetaMethod$DgmMethodRecord.loadDgmInfo(GeneratedMetaMethod.java:193)
        at 
org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.registerMethods(MetaClassRegistryImpl.java:155)
        at 
org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:83)
        at 
org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:61)
        at groovy.lang.GroovySystem.<clinit>(GroovySystem.java:29)
        at 
org.gradle.api.internal.AbstractClassGenerator.generate(AbstractClassGenerator.java:100)
        at 
org.gradle.api.internal.ClassGeneratorBackedInstantiator.newInstance(ClassGeneratorBackedInstantiator.java:36)
        at 
org.gradle.initialization.DefaultGradleLauncherFactory.doNewInstance(DefaultGradleLauncherFactory.java:126)
        at 
org.gradle.initialization.DefaultGradleLauncherFactory.newInstance(DefaultGradleLauncherFactory.java:99)
        at 
org.gradle.initialization.DefaultGradleLauncherFactory.newInstance(DefaultGradleLauncherFactory.java:46)
        at 
org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:38)
        at 
org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:25)
        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)
        at 
org.gradle.api.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
        at 
org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)
        at 
org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)
        at 
org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)
        at 
org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
        at 
org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
        at 
org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
        at org.gradle.launcher.Main.doAction(Main.java:48)
        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
        at org.gradle.launcher.Main.main(Main.java:39)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
        at 
org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
        at org.gradle.launcher.GradleMain.main(GradleMain.java:26)

FAILURE: Build failed with an exception.

* What went wrong:
Build aborted because of an internal error.

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.GradleException: Build aborted because of an internal error.
        at org.gradle.BuildResult.rethrowFailure(BuildResult.java:49)
        at 
org.gradle.initialization.BuildSourceBuilder$BuildSrcUpdateFactory.create(BuildSourceBuilder.java:142)
        at 
org.gradle.initialization.BuildSourceBuilder$BuildSrcUpdateFactory.create(BuildSourceBuilder.java:127)
        at 
org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:124)
        at 
org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:130)
        at 
org.gradle.cache.internal.DelegateOnDemandPersistentDirectoryCache$1.create(DelegateOnDemandPersistentDirectoryCache.java:51)
        at 
org.gradle.cache.internal.DelegateOnDemandPersistentDirectoryCache.runWithOpenedCache(DelegateOnDemandPersistentDirectoryCache.java:86)
        at 
org.gradle.cache.internal.DelegateOnDemandPersistentDirectoryCache.useCache(DelegateOnDemandPersistentDirectoryCache.java:49)
        at 
org.gradle.initialization.BuildSourceBuilder.createBuildSourceClasspath(BuildSourceBuilder.java:86)
        at 
org.gradle.initialization.BuildSourceBuilder.buildAndCreateClassLoader(BuildSourceBuilder.java:62)
        at 
org.gradle.initialization.SettingsHandler.findSettingsAndLoadIfAppropriate(SettingsHandler.java:90)
        at 
org.gradle.initialization.SettingsHandler.findAndLoadSettings(SettingsHandler.java:45)
        at 
org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:134)
        at 
org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:113)
        at 
org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:81)
        at 
org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:38)
        at 
org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:39)
        at 
org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:25)
        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)
        at 
org.gradle.api.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
        at 
org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)
        at 
org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)
        at 
org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)
        at 
org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
        at 
org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
        at 
org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
        at org.gradle.launcher.Main.doAction(Main.java:48)
        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
        at org.gradle.launcher.Main.main(Main.java:39)
        at 
org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
        at 
org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
        at org.gradle.launcher.GradleMain.main(GradleMain.java:26)
Caused by: groovy.lang.MissingMethodException: No signature of method: 
org.gradle.util.MutableURLClassLoader.invokeMethod() is applicable for argument 
types: (java.lang.String, [Ljava.lang.Object;) values: [defineClass, 
[org.gradle.initialization.SettingsScript_Decorated, ...]]
        at org.gradle.util.ReflectionUtil.invoke(ReflectionUtil.groovy:23)
        at 
org.gradle.groovy.scripts.internal.AsmBackedEmptyScriptGenerator.generateEmptyScriptClass(AsmBackedEmptyScriptGenerator.java:80)
        at 
org.gradle.groovy.scripts.internal.AsmBackedEmptyScriptGenerator.generate(AsmBackedEmptyScriptGenerator.java:34)
        at 
org.gradle.groovy.scripts.internal.ShortCircuitEmptyScriptCompiler.compile(ShortCircuitEmptyScriptCompiler.java:33)
        at 
org.gradle.groovy.scripts.internal.CachingScriptClassCompiler.compile(CachingScriptClassCompiler.java:36)
        at 
org.gradle.groovy.scripts.DefaultScriptCompilerFactory$ScriptCompilerImpl.compile(DefaultScriptCompilerFactory.java:60)
        at 
org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:114)
        at 
org.gradle.initialization.ScriptEvaluatingSettingsProcessor.applySettingsScript(ScriptEvaluatingSettingsProcessor.java:68)
        at 
org.gradle.initialization.ScriptEvaluatingSettingsProcessor.process(ScriptEvaluatingSettingsProcessor.java:59)
        at 
org.gradle.initialization.PropertiesLoadingSettingsProcessor.process(PropertiesLoadingSettingsProcessor.java:38)
        at 
org.gradle.initialization.SettingsHandler.loadSettings(SettingsHandler.java:101)
        at 
org.gradle.initialization.SettingsHandler.findSettingsAndLoadIfAppropriate(SettingsHandler.java:92)
        at 
org.gradle.initialization.SettingsHandler.findAndLoadSettings(SettingsHandler.java:45)
        at 
org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:134)
        at 
org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:113)
        at 
org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:81)
        ... 31 more


BUILD FAILED

Total time: 2.77 secs
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/tmp/buildd/gradle-1.4'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
 -> Cleaning COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.21460 


-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-0.bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Miguel Landaeta, nomadium at debian.org
secure email with PGP 0x6E608B637D8967E9 available at
http://db.debian.org/fetchkey.cgi?fingerprint=4CB7FE1E280ECC90F29A597E6E608B637D8967E9
"Faith means not wanting to know what is true." -- Nietzsche

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
groovy 1.8.6-3 fixed this issue.
I verified gradle is not FTBFS anymore.

-- 
Miguel Landaeta, nomadium at debian.org
secure email with PGP 0x6E608B637D8967E9 available at
http://db.debian.org/fetchkey.cgi?fingerprint=4CB7FE1E280ECC90F29A597E6E608B637D8967E9
"Faith means not wanting to know what is true." -- Nietzsche

Attachment: signature.asc
Description: Digital signature


--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to