Bug#690152: bsaf: FTBFS: Test org.jdesktop.application.TaskMonitorTest failed

Andres Mejia amejia004 at gmail.com
Sun Mar 3 00:12:32 UTC 2013


On Monday, January 7, 2013, Joost Yervante Damad wrote:

> On 01/07/2013 07:48 PM, gregor herrmann wrote:
>
>> On Sat, 15 Dec 2012 16:13:35 +0100, Joost Yervante Damad wrote:
>>
>>  I tried rebuilding the bsaf software in wheezy with default-jdk,
>>> which uses the openjdk from openjdk-6-jre-headless_6b24.
>>> It builds just fine.
>>> Is this really still an issue?
>>>
>>
>> It still fails to build for me in wheezy and sid chroots
>> - without my earlier patch because of
>>    "Can't connect to X11 window server using ':0' as the value of the
>> DISPLAY variable."
>> - with the patch with the long java.beans stack trace
>>
>> I guess you had DISPLAY unset during the build and the problematic
>> tests were skipped?
>>
>
> Indeed, I did not have DISPLAY set. Unfortunately I forgot to keep a log
> of the build around.
>
> Joost
>
> __
> This is the maintainer address of Debian's Java team
> <http://lists.alioth.debian.**org/cgi-bin/mailman/listinfo/**
> pkg-java-maintainers<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>>.
> Please use
> debian-java at lists.debian.org for discussions and questions.
>

I just rebuilt bsaf on my machine that has the DISPLAY environment variable
set and on a sid and wheezy chroot via sbuild-shell (which in turn uses
schroot) that does not have DISPLAY set. All builds succeeded and passed
the test suite.

The chroot environment will not have DISPLAY set of course. In fact, there
should be a small number of environment variables set in an chroot
environment using schroot. My chroot environment has the following
variables set.

USER
HOME
XDG_SESSION_COOKIE
SCHROOT_CHROOT_NAME
SCHROOT_UID
LOGNAME
TERM
USERNAME
PATH
SCHROOT_COMMAND
SCHROOT_SESSION_ID
SCHROOT_ALIAS_NAME
SCHROOT_GROUP
SCHROOT_USER
SHELL
PWD
SCHROOT_GID

--
Andres


-- 
~ Andres
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20130302/2ccb6182/attachment.html>


More information about the pkg-java-maintainers mailing list