Package: libtextwrap
Version: 0.1-13build1
Severity: normal
Tags: patch
User: [email protected]
Usertags: arm64
libtextwrap's debian/rules attempts to copy in updated versions of
config.guess and config.sub from autotools-dev. Unfortunately, it
copies them to the wrong place; "AC_CONFIG_AUX_DIR(config)" means that
configure looks for them in the config/ directory, not in the top level.
As a result, libtextwrap fails to build on arm64. Here's a patch.
* Update config.guess and config.sub in the correct directory.
diff -Nru libtextwrap-0.1/debian/rules libtextwrap-0.1/debian/rules
--- libtextwrap-0.1/debian/rules 2011-10-24 10:47:17.000000000 +0100
+++ libtextwrap-0.1/debian/rules 2013-02-12 01:49:10.000000000 +0000
@@ -37,7 +37,7 @@
configure-stamp:
dh_testdir
touch NEWS AUTHORS ChangeLog
- cp -f /usr/share/misc/config.sub /usr/share/misc/config.guess .
+ cp -f /usr/share/misc/config.sub /usr/share/misc/config.guess config/
./configure $(CROSS) --prefix=/usr --mandir=/usr/share/man
touch configure-stamp
@@ -53,7 +53,7 @@
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
- rm -f config.sub config.guess
+ rm -f config/config.sub config/config.guess
[ ! -f Makefile ] || $(MAKE) distclean
dh_clean
rm -f COPYING INSTALL config.cache config.status
Thanks,
--
Colin Watson [[email protected]]
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]