On 07/12/2014 08:21 PM, Miguel Landaeta wrote:
> Package: src:gradle
> Version: 1.5-1
> Severity: serious
> Justification: fails to build from source (but built successfully in the past)
> I'm unable to run gradle in a clean cowbuilder chroot. It dies on me
> with a java.lang.RuntimeException error.
> Since gradle build-depends on itself this is a FTBFS bug.
> This doesn't happen when I run it outside a chroot.
> Relevant error message:
> [snip]
>  fakeroot debian/rules clean
> dh clean --with javahelper
>    dh_testdir
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/tmp/buildd/gradle-1.5'
> dh_auto_clean
> gradle --project-prop finalRelease=true --stacktrace --offline clean
> :buildSrc:clean UP-TO-DATE
> :buildSrc:compileJava UP-TO-DATE
> :buildSrc:compileGroovy FAILED
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':compileGroovy'.
>> Could not determine the local IP addresses for this machine.

Hi Miguel,

Is it possible that it's trying to make a connection to your X server?
When I try to build in a chroot from a shell where DISPLAY is set, the
build dies with an error that it cannot connect to :0.  But if I unset
DISPLAY before starting the build, it completes successfully (3x in a
row now).

I haven't looked into it in more depth, but maybe the build can just
unset DISPLAY?


Attachment: signature.asc
Description: OpenPGP digital signature

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