Package: testng
Version: 5.9+dfsg-1
Severity: serious

I've added support for ant to the new version of debhelper
(currently in experimental, but unstable soon). Unfortunatly, it makes
this package fail to build.

Your rules file has:

build-stamp: patch
        dh build
        $(ANT) compile-15 compile-14 dist-no3rdparty javadocs

Previously, the 'dh build' was a no-op, because it didn't
know how to build, and the command just did nothing in that case.
But now, dh_auto_build tries to run ant:


sh-3.2# dh_auto_build -v
        ant
Buildfile: build.xml

prepare:

validate:

copy-resources:

compile-14:
     [echo]                                  -- Compiling 1.4 sources --
    [javac] Compiling 223 source files to /tmp/testng-5.9+dfsg/build/jdk14

BUILD FAILED
/tmp/testng-5.9+dfsg/build.xml:115: /tmp/testng-5.9+dfsg/3rdparty not found.



To fix this, you can  override dh_auto_build and manually call ant
with the necessary options:

override_dh_auto_build
        $(ANT) compile-15 compile-14 dist-no3rdparty javadocs


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to