-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/03/2010 09:56 AM, Michal Čihař wrote: >> Okay, I'm probably doing something wrong here, but it fails to >> build: > >> dh_testroot >> You must specify a valid JAVA_HOME or JAVACMD! >> make: *** [maven-sanity-check] Error 1 >> dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit >> status 2 > >> Full pbuilder log: > >> http://tmp.cihar.com/freehep-xml_2.1.2+dfsg1-2_amd64.build > >> The debian/rules seem to set JAVA_HOME := /usr/lib/jvm/default-java, >> which is non existing on my system. > > Okay, the bug is that default-jdk should be in Build-Depends and not in > Build-Depends-Indep, because it is required for clean. It seems you're not satisfying build dependencies (d-bp with "-d" option?). /usr/lib/jvm/default-java is included in default-jre-headless and default-jdk is a builddep that depends on default-jre that depends on default-jre-headless.
default-jdk default-jre default-jre-headless All freehep-* packages build fine in a chroot. Sweethome3d too. Cheers, Gabriele -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuOQ3EACgkQp3cdCbVcnCsHzwCfT2c/j92f3QANqUUCp7Sf8e+r q1MAn3ykC80UfGRvrMS9nZb+TcrpN231 =7HBu -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4b8e437e.8010...@gmail.com