Package: libasyncns
Version: 0.8-4
Severity: normal
Tags: patch
User: [email protected]
Usertags: arm64

libasyncns fails to build on arm64 (in Ubuntu) like so:

  configure:5086: error: /bin/bash ./config.sub aarch64-linux-gnu failed

This is easily fixed by updating these files; I'd suggest using
dh-autoreconf to keep everything up to date, as in the following patch.

  * Use dh-autoreconf to bring autotools files up to date for arm64.

diff -Nru libasyncns-0.8/debian/control libasyncns-0.8/debian/control
--- libasyncns-0.8/debian/control       2011-08-09 23:01:01.000000000 +0100
+++ libasyncns-0.8/debian/control       2013-10-08 09:53:54.000000000 +0100
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: Tanguy Ortolo <[email protected]>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 8.3.1), autotools-dev, doxygen
+Build-Depends: debhelper (>= 8.3.1), dh-autoreconf, doxygen
 Standards-Version: 3.9.2
 Homepage: http://0pointer.de/lennart/projects/libasyncns/
 Vcs-Git: git://git.ortolo.eu/pkg-libasyncns.git
diff -Nru libasyncns-0.8/debian/rules libasyncns-0.8/debian/rules
--- libasyncns-0.8/debian/rules 2011-07-30 20:23:25.000000000 +0100
+++ libasyncns-0.8/debian/rules 2013-10-08 09:53:00.000000000 +0100
@@ -7,7 +7,7 @@
 export LDFLAGS=-Wl,--as-needed
 
 %:
-       dh  $@
+       dh $@ --with autoreconf
 
 override_dh_auto_configure:
        dh_auto_configure -- --docdir=/usr/share/doc/libasyncns-dev

Thanks,

-- 
Colin Watson                                       [[email protected]]


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to