Package: fakechroot
Version: 2.16-1
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: arm64

fakechroot's config.guess/config.sub are out of date for the forthcoming
arm64 port.  Given that it seems to use a fairly sane modern Autotools
setup, the best way to ensure that you don't have to be bothered by this
type of bug for future ports seems to be to run your ./autogen.sh at
build time via dh_autoreconf, so that you don't have to update your
package every time somebody's bringing up a new architecture.  Patch
follows.

  * Use dh_autoreconf to update config.guess and config.sub for arm64.

diff -Nru fakechroot-2.16/debian/control fakechroot-2.16/debian/control
--- fakechroot-2.16/debian/control      2011-11-20 19:03:00.000000000 +0000
+++ fakechroot-2.16/debian/control      2013-10-12 23:35:46.000000000 +0100
@@ -3,7 +3,7 @@
 Section: utils
 Priority: optional
 Standards-Version: 3.9.2
-Build-Depends: debhelper (>= 8.1.3)
+Build-Depends: debhelper (>= 8.1.3), dh-autoreconf
 Homepage: http://fakechroot.alioth.debian.org/
 Vcs-Browser: http://bazaar.launchpad.net/~dexter/fakechroot/sid/files
 Vcs-Bzr: lp:fakechroot
diff -Nru fakechroot-2.16/debian/rules fakechroot-2.16/debian/rules
--- fakechroot-2.16/debian/rules        2011-12-04 19:34:41.000000000 +0000
+++ fakechroot-2.16/debian/rules        2013-10-12 23:35:13.000000000 +0100
@@ -3,7 +3,10 @@
 DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
-       dh $@ --parallel
+       dh $@ --parallel --with autoreconf
+
+override_dh_autoreconf:
+       dh_autoreconf -- ./autogen.sh
 
 override_dh_auto_configure:
        dh_auto_configure -- --enable-dependency-tracking --with-libpath=no

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to