Bug#733097: jenkins: FTBFS when built against Groovy 2.2.1

Miguel Landaeta nomadium at debian.org
Wed Dec 25 12:47:41 UTC 2013


Package: src:jenkins
Version: 1.509.2+dfsg-2
Severity: important

I rebuilt this package in experimental to check its compatibility with
Groovy 2.2.1 and I found this error during build time.

(I'm including a complete build log attached)

Relevant error messages:

[...]
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 883 source files to /home/miguel/jenkins-1.509.2+dfsg/core/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/miguel/jenkins-1.509.2+dfsg/core/src/main/java/hudson/util/spring/BeanBuilder.java:[133,46] error: no suitable method found for parse(InputStream)
[ERROR]     method GroovyShell.parse(Reader) is not applicable
      (actual argument InputStream cannot be converted to Reader by method invocation conversion)
    method GroovyShell.parse(String,String) is not applicable
      (actual and formal argument lists differ in length)
    method GroovyShell.parse(String) is not applicable
      (actual argument InputStream cannot be converted to String by method invocation conversion)
    method GroovyShell.parse(File) is not applicable
      (actual argument InputStream cannot be converted to File by method invocation conversion)
    method GroovyShell.parse(GroovyCodeSource) is not applicable
      (actual argument InputStream cannot be converted to GroovyCodeSource by method invocation conversion)
    method GroovyShell.parse(Reader,String) is not applicable
      (actual and formal argument lists differ in length)
/home/miguel/jenkins-1.509.2+dfsg/core/src/main/java/hudson/util/spring/BeanBuilder.java:[337,17] error: no suitable method found for evaluate(InputStream)
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/miguel/jenkins-1.509.2+dfsg/core/src/main/java/hudson/util/spring/BeanBuilder.java:[133,46] error: no suitable method found for parse(InputStream)
    method GroovyShell.parse(Reader) is not applicable
      (actual argument InputStream cannot be converted to Reader by method invocation conversion)
    method GroovyShell.parse(String,String) is not applicable
      (actual and formal argument lists differ in length)
    method GroovyShell.parse(String) is not applicable
      (actual argument InputStream cannot be converted to String by method invocation conversion)
    method GroovyShell.parse(File) is not applicable
      (actual argument InputStream cannot be converted to File by method invocation conversion)
    method GroovyShell.parse(GroovyCodeSource) is not applicable
      (actual argument InputStream cannot be converted to GroovyCodeSource by method invocation conversion)
    method GroovyShell.parse(Reader,String) is not applicable
      (actual and formal argument lists differ in length)
/home/miguel/jenkins-1.509.2+dfsg/core/src/main/java/hudson/util/spring/BeanBuilder.java:[337,17] error: no suitable method found for evaluate(InputStream)

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
	at org.debian.maven.Wrapper.main(Wrapper.java:89)
	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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
	at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:729)
	at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
	... 18 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 53 seconds
[INFO] Finished at: Tue Dec 24 22:01:07 UTC 2013
[INFO] Final Memory: 28M/289M
[INFO] ------------------------------------------------------------------------
make: *** [mvn-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2


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

Kernel: Linux 3.2.0-4-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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jenkins_1.509.2+dfsg-2_amd64.build.gz
Type: application/octet-stream
Size: 3239 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20131225/843dd900/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20131225/843dd900/attachment-0001.sig>


More information about the pkg-java-maintainers mailing list