tags 748804 + pending
thanks

Dear maintainer,

This bug has been pending for a while, and needs fixing for new
ports, including arm64 which is building now:
(http://buildd.debian-ports.org/status/architecture.php?a=arm64&suite=sid).

So I've prepared an NMU for shntool (versioned as 3.0.7-1.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I should
delay it longer.

Discussion on debian-devel revealed consensus that the right way to
ensure successful builds on all new architectures was to autoreconf
packages, so that method has been used to fix this bug. This works for
all arches, even those that need libtool changes, and will continue to
work into the future without an update as each new arch comes along.
(Discussion at
https://lists.debian.org/debian-devel/2014/04/msg00383.html, thread
starting at https://lists.debian.org/debian-devel/2014/04/msg00342.html

As you can see this works fine on this package, and is a very simple
patch. 

Cheers
diff -u shntool-3.0.7/debian/rules shntool-3.0.7/debian/rules
--- shntool-3.0.7/debian/rules
+++ shntool-3.0.7/debian/rules
@@ -24,6 +24,7 @@
 build: build-stamp
 build-stamp:
 	dh_testdir
+	dh_autoreconf
 	./configure $(crossflags) --prefix=/usr --mandir=/usr/share/man
 	$(MAKE)
 	touch $@
@@ -33,6 +34,7 @@
 	dh_testroot
 	rm -f build-stamp
 	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_autoreconf_clean
 	dh_clean 
 
 install: build
diff -u shntool-3.0.7/debian/changelog shntool-3.0.7/debian/changelog
--- shntool-3.0.7/debian/changelog
+++ shntool-3.0.7/debian/changelog
@@ -1,3 +1,10 @@
+shntool (3.0.7-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use dh-autoreconf in build to support new architectures (Closes: #748804) 
+
+ -- Chen Baozi <[email protected]>  Fri, 06 Jun 2014 20:51:55 +0800
+
 shntool (3.0.7-1) unstable; urgency=low
 
   * New upstream release
diff -u shntool-3.0.7/debian/control shntool-3.0.7/debian/control
--- shntool-3.0.7/debian/control
+++ shntool-3.0.7/debian/control
@@ -2,7 +2,7 @@
 Section: utils
 Priority: extra
 Maintainer: César Gómez Martín <[email protected]>
-Build-Depends: debhelper (>= 4.0.0)
+Build-Depends: debhelper (>= 4.0.0), dh-autoreconf
 Standards-Version: 3.7.3
 Homepage: http://etree.org/shnutils/shntool/
 

Reply via email to