[Debian-med-packaging] Bug#533896: FTBFS: Probably because of missing build dependency

Onkar Shinde onkarshinde at ubuntu.com
Wed Jun 24 07:53:08 UTC 2009


On Wed, Jun 24, 2009 at 11:09 AM, Andreas Tille<tillea at rki.de> wrote:
> Here is the patch I injected into packaging SVN:
>
> http://svn.debian.org/wsvn/debian-med/trunk/packages/biojava/trunk/debian/control?op=diff&rev=0&sc=0

This is exactly the change I tried while doing local build in
pbuilder. But there is one small mistake in your commit. You removed
the comma after libbytecode-java build-dep. Not sure if that is
causing the build problem.

>
> It might be that
>
>    openjdk-6-jdk|sun-java6-jdk|sun-java5-jdk|sun-j2sdk1.4|java2-compiler
>
> will be resolved by different JDKs.  I'm no Java expert at all but I
> have the feeling that this might be the source of the problem.  I attached
> the full build log of the build which leaded to an error on my side.

The virtual package java2-compiler is provided by all the different
java compilers in repositories. But considering that non-virtual
package openjdk-6-jdk comes first in the build dependencies, I don't
see a reason why pbuilder would pick other compiler.

Can you please make sure that your pbuilder chroot does not have a
non-sun java compiler installed inside ex. gcj or kaffe etc. The error
you mentioned about mising API will come form such a compiler.


Onkar





More information about the Debian-med-packaging mailing list