tags 727275 + pending
thanks

Dear maintainer,

This bug has been pending for some time, 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 libfile-rsyncp-perl (versioned as
0.70-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. 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

However this package does not autoreconf cleanly so the simpler
autotools-dev update of config.{sub,guess} has been used, which covers
most cases.

As you can see is a nice clean patch. 

Regards.
diff -u libfile-rsyncp-perl-0.70/debian/control libfile-rsyncp-perl-0.70/debian/control
--- libfile-rsyncp-perl-0.70/debian/control
+++ libfile-rsyncp-perl-0.70/debian/control
@@ -2,7 +2,7 @@
 Section: perl
 Priority: optional
 Maintainer: Ludovic Drolez <[email protected]>
-Build-Depends: debhelper (>> 4.0.0)
+Build-Depends: debhelper (>> 4.0.0), autotools-dev
 Standards-Version: 3.9.3
 
 Package: libfile-rsyncp-perl
diff -u libfile-rsyncp-perl-0.70/debian/rules libfile-rsyncp-perl-0.70/debian/rules
--- libfile-rsyncp-perl-0.70/debian/rules
+++ libfile-rsyncp-perl-0.70/debian/rules
@@ -20,6 +20,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
+	dh_autotools-dev_updateconfig
 	# Add here commands to configure the package.
 	perl Makefile.PL INSTALLDIRS=vendor
 	touch configure-stamp
@@ -44,6 +45,7 @@
 	# Add here commands to clean up after the build process.
 	-$(MAKE) clean
 	rm -f Makefile.old Digest/Makefile.old FileList/Makefile.old
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 install: build
diff -u libfile-rsyncp-perl-0.70/debian/changelog libfile-rsyncp-perl-0.70/debian/changelog
--- libfile-rsyncp-perl-0.70/debian/changelog
+++ libfile-rsyncp-perl-0.70/debian/changelog
@@ -1,3 +1,11 @@
+libfile-rsyncp-perl (0.70-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use autotools-dev in build to support new architectures
+    dh-autoreconf cannot be used as there is no confiure.{in,ac} (Closes: #727275)
+
+ -- Chen Baozi <[email protected]>  Fri, 06 Jun 2014 17:18:08 +0800
+
 libfile-rsyncp-perl (0.70-1) unstable; urgency=low
 
   * New upstream release

Reply via email to