On Sun, 03 Mar 2013 14:42:09 +0100, gregor herrmann wrote: > As mentioned earlier in this bug log by Matteo, building with > openjdk-7-jdk works in the same setup.
Not anymore:
[junit] Running org.jdesktop.application.TaskMonitorTest
[junit] Testsuite: org.jdesktop.application.TaskMonitorTest
[junit] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 0.429 sec
[junit] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 0.429 sec
[junit]
[junit] Testcase:
testMessageSucceeded(org.jdesktop.application.TaskMonitorTest): FAILED
[junit] doInBackground
[junit] junit.framework.AssertionFailedError: doInBackground
[junit] at
org.jdesktop.application.TaskMonitorTest.testMessageSucceeded(Unknown Source)
[junit]
[junit]
BUILD FAILED
/tmp/buildd/bsaf-1.9/build.xml:68: Test
org.jdesktop.application.TaskMonitorTest failed
I'm attaching the debdiff I've been using ...
(also failed without xvfb).
Oh, and it works in a wheezy chroot. Now this is interesting ...
Cheers,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Tracy Chapman: Cold Feet
diff -Nru bsaf-1.9/debian/changelog bsaf-1.9/debian/changelog --- bsaf-1.9/debian/changelog 2011-07-14 00:21:31.000000000 +0200 +++ bsaf-1.9/debian/changelog 2013-03-06 22:12:23.000000000 +0100 @@ -1,3 +1,11 @@ +bsaf (1.9-3.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Fix "FTBFS: Test org.jdesktop.application.TaskMonitorTest failed" + (Closes: #690152) + + -- gregor herrmann <[email protected]> Wed, 06 Mar 2013 22:12:11 +0100 + bsaf (1.9-3) unstable; urgency=low * Team upload. diff -Nru bsaf-1.9/debian/control bsaf-1.9/debian/control --- bsaf-1.9/debian/control 2011-07-14 00:21:31.000000000 +0200 +++ bsaf-1.9/debian/control 2013-03-06 22:20:53.000000000 +0100 @@ -3,8 +3,8 @@ Priority: optional Maintainer: Debian Java Maintainers <[email protected]> Uploaders: Andres Mejia <[email protected]>, Andrew Ross <[email protected]> -Build-Depends: debhelper (>= 7.0.50~), javahelper, default-jdk, ant, - ant-optional, junit4, libnetx-java +Build-Depends: debhelper (>= 7.0.50~), javahelper, openjdk-7-jdk, ant, + ant-optional, junit4, libnetx-java, xvfb, xauth Standards-Version: 3.9.2 Homepage: http://kenai.com/projects/bsaf Vcs-Browser: http://git.debian.org/?p=pkg-java/bsaf.git diff -Nru bsaf-1.9/debian/rules bsaf-1.9/debian/rules --- bsaf-1.9/debian/rules 2011-07-14 00:21:31.000000000 +0200 +++ bsaf-1.9/debian/rules 2013-03-06 22:30:13.000000000 +0100 @@ -1,7 +1,12 @@ #!/usr/bin/make -f -export JAVA_HOME=/usr/lib/jvm/default-java +include /usr/share/javahelper/java-vars.mk + +export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-$(JAVA_ARCH) export CLASSPATH=/usr/share/java/junit4.jar:/usr/share/java/netx.jar %: dh $@ --with javahelper + +override_dh_auto_build: + xvfb-run -a dh_auto_build
signature.asc
Description: Digital signature
__ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use [email protected] for discussions and questions.

