Hi Dne Wed, 03 Mar 2010 16:56:23 +0100 Giovanni Mascellani <mascell...@poisson.phc.unipi.it> napsal(a):
> On Wed, 3 Mar 2010 14:39:50 +0100, Michal Čihař <ni...@debian.org> wrote: > > No, please read: > > > http://www.debian.org/doc/debian-policy/ch-relationships.html#s-sourcebinarydeps > > > > The problem is that default-jdk is listed in Build-Depends-Indep, while > > it should be in Build-Depends because it is also required for clean > > target of debian/rules. > > I'm not sure: my packages build-depend on maven-debian-helper, which > in turn depends on openjdk-6-jre | java2-runtime. Right now, I have no > possibility But maven-debian-helper does not depend default-jdk and you set JAVA_HOME to path provided by default-jdk. And you call maven in clean rule, at which time Build-Depends-Indep does not have to be provided, so it is missing and maven fails. -- Michal Čihař | http://cihar.com | http://blog.cihar.com
signature.asc
Description: PGP signature