Bug#744070: buddy: use dh-autoreconf instead of autotools-dev to fix FTBFS on ppc64el
Package: buddy
Version: 2.4-9
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: jessie/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.13.0-23-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 buddy-2.4/debian/control buddy-2.4/debian/control
--- buddy-2.4/debian/control 2014-01-20 17:08:28.000000000 -0500
+++ buddy-2.4/debian/control 2014-04-09 13:47:53.000000000 -0400
@@ -2,7 +2,7 @@
Section: devel
Priority: optional
Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: debhelper (>= 9), libtool, autotools-dev
+Build-Depends: debhelper (>= 9), libtool, dh-autoreconf
Standards-Version: 3.9.5
Vcs-Hg: http://hg.debian.org/hg/collab-maint/libbdd
Homepage: http://buddy.sourceforge.net
diff -Nru buddy-2.4/debian/rules buddy-2.4/debian/rules
--- buddy-2.4/debian/rules 2014-01-20 17:12:36.000000000 -0500
+++ buddy-2.4/debian/rules 2014-03-25 16:50:33.000000000 -0400
@@ -16,8 +16,7 @@
configure: configure-stamp
configure-stamp:
dh_testdir
- ln -sf /usr/share/misc/config.sub tools/config.sub
- ln -sf /usr/share/misc/config.guess tools/config.guess
+ dh_autoreconf
./configure --prefix=/usr
touch $@
@@ -35,7 +34,7 @@
dh_testroot
libtool --mode=clean rm
[ ! -f Makefile ] || $(MAKE) distclean
- rm -f *-stamp tools/config.sub tools/config.guess
+ dh_autoreconf_clean
dh_clean
install: install-stamp
Reply to: