On Sun, Nov 09, 2014 at 04:39:23PM +0100, Adam Borowski wrote:
> Package: src:groovy2
> Version: 2.2.2+dfsg-3
> Severity: serious
> Justification: fails to build from source (but built successfully in the past)

Well, it FTBFS on armhf, but did it ever build on this arch?  I find
your justification dubious and would suggest to downgrade this bug to
important, as it is clearly a architecture-dependet issue.
> * What went wrong:
> Execution failed for task ':jar'.
> > Could not add file
> '/«BUILDDIR»/groovy2-2.2.2+dfsg/buildSrc/target/classes/main/JavadocFixTool.class'
> to ZIP '/«BUILDDIR»/groovy2-2.2.2+dfsg/buildSrc/target/libs/buildSrc.jar'.

So while JavadocFixTool.class is around, the buildSrc.jar looks bad:

(sid_armhf-dchroot)mbanck@asachi:~/src/groovy2-2.2.2+dfsg/buildSrc$ jar
tvf target/libs/buildSrc.jar
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:215)
        at java.util.zip.ZipFile.<init>(ZipFile.java:145)
        at java.util.zip.ZipFile.<init>(ZipFile.java:116)
        at sun.tools.jar.Main.list(Main.java:1004)
        at sun.tools.jar.Main.run(Main.java:245)
        at sun.tools.jar.Main.main(Main.java:1177)
(sid_armhf-dchroot)mbanck@asachi:~/src/groovy2-2.2.2+dfsg/buildSrc$ ls -l 
-rw-r--r-- 1 mbanck Debian 158 Nov 23 13:05 target/libs/buildSrc.jar

> Full log attached.

One thing I noticed:

> Caused by: java.lang.UnsupportedOperationException: No such file or directory 
> - 
> /«BUILDDIR»/groovy2-2.2.2+dfsg/buildSrc/target/classes/main/JavadocFixTool.class
>       at 
> org.gradle.internal.nativeplatform.filesystem.PosixUtil$POSIXHandlerImpl.error(PosixUtil.java:38)

In this line, there's a linebreak missing for a regular exception
backtrace.  When I rerouted output on asachi, I found a non-printable
character in the log:

|[ERROR] [org.gradle.BuildExceptionReporter] Caused by:
|java.lang.UnsupportedOperationException: No such file or directory -
|[ERROR] [org.gradle.BuildExceptionReporter]     at

See the ^@.  Maybe that is part of the problem.


This is the maintainer address of Debian's Java team
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to