[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#733837: liblouisxml: use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el



Package: liblouisxml
Version: 2.4.0-4
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

For the ppc64el architecture in Ubuntu, since this package uses libtool, a full
autoreconf is necessary instead of just config.{sub,guess} updates with
autotools-dev. This is because we need new libtool macros for ppc64el.

In Ubuntu, the attached patch was applied to achieve the following:

  * Use dh-autoreconf instead of autotools-dev to fix FTBFS on ppc64el.

Thanks for considering the patch.

Logan Rosen



-- System Information:
Debian Release: wheezy/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12.0-7-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru liblouisxml-2.4.0/debian/control liblouisxml-2.4.0/debian/control
--- liblouisxml-2.4.0/debian/control	2013-07-13 13:43:16.000000000 -0400
+++ liblouisxml-2.4.0/debian/control	2013-12-31 23:40:57.000000000 -0500
@@ -2,7 +2,7 @@
 Priority: extra
 Maintainer: Debian Accessibility Team <debian-accessibility@lists.debian.org>
 Uploaders: Samuel Thibault <sthibault@debian.org>
-Build-Depends: debhelper (>= 7), autotools-dev, pkg-config, liblouis-dev (>= 2.0.0), libxml2-dev, texinfo, chrpath, help2man, dpkg-dev (>= 1.16), hardening-wrapper
+Build-Depends: debhelper (>= 7), dh-autoreconf, pkg-config, liblouis-dev (>= 2.0.0), libxml2-dev, texinfo, chrpath, help2man, dpkg-dev (>= 1.16), hardening-wrapper
 Standards-Version: 3.9.4
 Section: libs
 Vcs-Git: git://git.debian.org/git/pkg-a11y/liblouisxml
diff -Nru liblouisxml-2.4.0/debian/rules liblouisxml-2.4.0/debian/rules
--- liblouisxml-2.4.0/debian/rules	2011-11-06 18:17:09.000000000 -0500
+++ liblouisxml-2.4.0/debian/rules	2013-12-31 18:25:06.000000000 -0500
@@ -20,8 +20,7 @@
 
 config.status: configure
 	dh_testdir
-	cp -f /usr/share/misc/config.sub build-aux/config.sub
-	cp -f /usr/share/misc/config.guess build-aux/config.guess
+	dh_autoreconf
 	./configure $(CROSS) --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
 
 
@@ -39,8 +38,7 @@
 	rm -f build-stamp 
 	[ ! -f Makefile ] || $(MAKE) distclean
 	rm -f doc/liblouisxml.info doc/stamp-vti doc/version.texi
-	rm -f build-aux/config.sub
-	rm -f build-aux/config.guess
+	dh_autoreconf_clean
 	dh_clean 
 
 install: build

Reply to: