Package: src:djbdns
Version: 1:1.05-8
Severity: serious
Tags: patch

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
make: *** No rule to make target 'build-indep'.  Stop.
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

This kind of bug is now considered RC (see Bug #830997 for details).

I recommend switching to "dh", but in the meantime a simple patch
like the appended should probably work.

Thanks.

--- a/djbdns-1.05/debian/rules
+++ b/djbdns-1.05/debian/rules
@@ -28,6 +28,8 @@ dbndns/patch-stamp: configure-stamp
        done
        touch dbndns/patch-stamp
 
+build-arch: build
+build-indep: build
 build: deb-checkdir build-stamp dbndns/build-stamp
 build-stamp: patch-stamp
        test -r conf-home'{orig}' || cp -f conf-home conf-home'{orig}'
@@ -129,7 +131,7 @@ binary-indep: install-indep dnscache-run.deb
        dpkg-gencontrol -isp -pdnscache-run -P'$(DIRCACHERUN)'
        dpkg -b '$(DIRCACHERUN)' ..
 
-.PHONY: configure patch dbndns/patch build dbndns/build clean install \
+.PHONY: configure patch dbndns/patch build build-arch build-indep dbndns/build 
clean install \
   binary-indep binary-arch binary
 
 include debian/implicit

Reply via email to