A tested fix for this is here:

diff -Nru /tmp/1SUpT4sPud/cdbs-0.4.49ubuntu1/1/class/ant.mk.in 
/tmp/ZuqDGkMS2P/cdbs-0.4.49ubuntu2/1/class/ant.mk.in
--- /tmp/1SUpT4sPud/cdbs-0.4.49ubuntu1/1/class/ant.mk.in        2007-05-21 
06:30:47.000000000 +0000
+++ /tmp/ZuqDGkMS2P/cdbs-0.4.49ubuntu2/1/class/ant.mk.in        2007-06-17 
07:08:41.000000000 +0000
@@ -43,7 +43,7 @@
        $(DEB_ANT_INVOKE) $(DEB_ANT_BUILD_TARGET)
        touch debian/stamp-ant-build

-clean:: ant-sanity-check
+clean::
        -$(DEB_ANT_INVOKE) $(DEB_ANT_CLEAN_TARGET)
        rm -f debian/stamp-ant-build

diff -Nru /tmp/1SUpT4sPud/cdbs-0.4.49ubuntu1/debian/changelog 
/tmp/ZuqDGkMS2P/cdbs-0.4.49ubuntu2/debian/changelog
--- /tmp/1SUpT4sPud/cdbs-0.4.49ubuntu1/debian/changelog 2007-05-21 
07:06:22.000000000 +0000
+++ /tmp/ZuqDGkMS2P/cdbs-0.4.49ubuntu2/debian/changelog 2007-06-17 
07:04:17.000000000 +0000
@@ -1,3 +1,9 @@
+cdbs (0.4.49ubuntu2) gutsy; urgency=low
+
+  * Don't fail on debuild -S when "ant clean" can't be executed.
+ 
+ -- Michael Koch <[EMAIL PROTECTED]>  Sun, 17 Jun 2007 07:03:22 +0000 +
 cdbs (0.4.49ubuntu1) gutsy; urgency=low

   * Merge to Debian unstable; remaining Ubuntu changes:

-- 
dont fail when building java source packages
https://bugs.launchpad.net/bugs/120793
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to