Package: libspf2
Version: 1.2.10-2
Severity: normal
Tags: patch
User: ubuntu-de...@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 libspf2-1.2.10/debian/control libspf2-1.2.10/debian/control
--- libspf2-1.2.10/debian/control	2013-06-13 17:59:38.000000000 -0400
+++ libspf2-1.2.10/debian/control	2014-01-04 19:04:12.000000000 -0500
@@ -2,7 +2,7 @@
 Priority: optional
 Section: libs
 Maintainer: Magnus Holmgren <holmg...@debian.org>
-Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 7), autotools-dev,
+Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 7), dh-autoreconf,
  perl, libstring-escape-perl
 Standards-Version: 3.9.4
 Vcs-Svn: svn://svn.kibibyte.se/libspf2/trunk
diff -Nru libspf2-1.2.10/debian/rules libspf2-1.2.10/debian/rules
--- libspf2-1.2.10/debian/rules	2013-06-13 17:44:22.000000000 -0400
+++ libspf2-1.2.10/debian/rules	2014-01-03 15:56:14.000000000 -0500
@@ -24,7 +24,7 @@
 config.status: configure
 	dh_testdir
 	# Add here commands to configure the package.
-	dh_autotools-dev_updateconfig
+	dh_autoreconf
 	./configure --prefix=/usr $(buildflags)
 
 build: build-arch
@@ -48,7 +48,7 @@
 	[ ! -f Makefile ] || $(MAKE) distclean
 	[ ! -f perl/Makefile ] || $(MAKE) -C perl realclean
 
-	dh_autotools-dev_restoreconfig
+	dh_autoreconf_clean
 	dh_clean
 
 install: build-arch

Reply via email to