Package: src:skalibs
Version: 0.47-1
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
--------------------------------------------------------------------------------

The build-arch and build-indep targets are mandatory.

Previously, dpkg had a hack to make this work, but the hack has been recently
removed and this is now considered a serious bug.

Fortunately, this is easy to fix. The following patch should suffice.

Thanks.

--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,8 @@ configure-stamp:
        echo 'diet -v -Os gcc' >diet/skalibs/conf-compile/conf-ld
        touch configure-stamp
 
+build-arch: build
+build-indep: build
 build: deb-checkdir build-stamp
 build-stamp: configure-stamp
        (cd skalibs && package/compile)
@@ -89,7 +91,7 @@ binary-arch: install-arch skalibs-dev.deb
 
 binary: binary-indep binary-arch
 
-.PHONY: configure build clean install-indep install-arch install binary-indep \
+.PHONY: configure build build-arch build-indep clean install-indep 
install-arch install binary-indep \
          binary-arch binary
 
 include debian/implicit

Reply via email to