Hello Santiago,

On Thu, 2016-03-10 at 10:01 +0000, Santiago Vila wrote:
> 
> I can diagnose this for you: This is what I found in debian/rules:
> 
> binary-indep: build-indep install-indep
> 
> but the target is empty otherwise.
> 
> Since there is no dh_builddeb anywhere in such target, no
> architecture
> independent .deb is created at all.
> 
> Please do actually try "dpkg-buildpackage -A" before considering this
> fixed, you don't need any special tools for that, nor you need
> anybody
> else to do it for you.

This should be fixed now with the attached patch. If you want, you can
verify and confirm with the patch (attached).

As you mentioned, I checked the build with `dpkg-buildpackage -A` and
it is building fine now.


-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System
From 6b4d2b2e44db1f9e5120c027b475532a8e54fa41 Mon Sep 17 00:00:00 2001
From: Ritesh Raj Sarraf <r...@debian.org>
Date: Thu, 10 Mar 2016 16:09:25 +0530
Subject: [PATCH] Build binary independent deb package in respective target

Earlier, we were building it, but not buildign a .deb package.

Thanks: Santiago Vila
Closes: #806082
---
 debian/rules | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 94e3aab..56333a6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,7 +27,9 @@ include /usr/share/dpkg/buildflags.mk
 build: build-arch build-indep
 
 build-arch: build-multipath-udeb-stamp build-stamp
-build-indep: 
+build-indep:
+	# Nothing to do here.
+	touch $@
 
 build-stamp:
 	dh_testdir
@@ -91,6 +93,21 @@ install: install-indep
 	dh_install -Xkpartx_id -X.rules -X.service -X.socket --fail-missing -pmultipath-udeb --sourcedir=$(CURDIR)/debian/tmp-multipath-udeb
 
 binary-indep: build-indep install-indep
+	dh_testdir
+	dh_testroot
+	dh_installdirs
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_installinit -pmultipath-tools --name=multipath-tools-boot --no-start -- start 21 S .
+	dh_installdebconf -pmultipath-tools-boot
+	dh_installman
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
 
 # Build architecture-dependent files here.
 binary-arch: build install
@@ -102,13 +119,11 @@ binary-arch: build install
 	dh_lintian
 	dh_systemd_enable -pmultipath-tools multipathd.service
 	dh_installinit -pmultipath-tools
-	dh_installinit -pmultipath-tools --name=multipath-tools-boot --no-start -- start 21 S .
 	dh_installudev -pkpartx
 	dh_installudev -pmultipath-tools --name=multipath
 	dh_link lib/systemd/system/multipathd.service \
 		lib/systemd/system/multipath-tools.service
 	dh_systemd_start -pmultipath-tools multipathd.service
-	dh_installdebconf -pmultipath-tools-boot
 	dh_installman
 	dh_makeshlibs --add-udeb=multipath-udeb
 	dh_link
-- 
2.7.0

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to