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

Onkar Shinde onkarshinde at ubuntu.com
Sun Jun 21 11:59:40 UTC 2009


Package: biojava-live
Version: 1.7.svn.20090419-1
Severity: important

*** Please type your report below this line ***
The package currently fails to build in pbuilder chroot for unstable
with following error.

compile-tests:
    [javac] Compiling 173 source files to
/tmp/buildd/biojava-live-1.7.svn.20090419/ant-build/classes/tests
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

runtests:
     [echo] Running tests:           **

BUILD FAILED
/tmp/buildd/biojava-live-1.7.svn.20090419/build.xml:510: Problem:
failed to create task or type junit
Cause: the class
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask was not found.
        This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
        -/usr/share/ant/lib
        -/root/.ant/lib
        -a directory added on the command line with the -lib argument

Do not panic, this is a common problem.
The commonest cause is a missing JAR.

This is not a bug; it is a configuration problem


Total time: 5 minutes 24 seconds
make: *** [install] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//15848 and its subdirectories

The reason seems to be missing build dependency ant-optional. I
haven't actually checked if adding this
build dependency fixes the build.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.26-2-powerpc
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the Debian-med-packaging mailing list