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

<a>debian-java@lists.debian.org</a> for discussions and questions.<br></blockquote><div><br></div><div>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.</div>
<div><br></div><div>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.</div>
<div><br></div><div><div>USER</div><div>HOME</div><div>XDG_SESSION_COOKIE</div><div>SCHROOT_CHROOT_NAME</div><div>SCHROOT_UID</div><div>LOGNAME</div><div>TERM</div><div>USERNAME</div><div>PATH</div><div>SCHROOT_COMMAND</div>
<div>SCHROOT_SESSION_ID</div><div>SCHROOT_ALIAS_NAME</div><div>SCHROOT_GROUP</div><div>SCHROOT_USER</div><div>SHELL</div><div>PWD</div><div>SCHROOT_GID</div></div><div><br></div><div>--</div><div>Andres</div><br><br>-- <br>
~ Andres<br>