Package: librpcsecgss
Version: 0.19-6
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: 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-4-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 librpcsecgss-0.19/debian/control librpcsecgss-0.19/debian/control
--- librpcsecgss-0.19/debian/control	2013-11-23 19:47:39.000000000 -0500
+++ librpcsecgss-0.19/debian/control	2014-01-18 17:49:20.000000000 -0500
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Anibal Monsalve Salazar <ani...@debian.org>
-Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 9), autotools-dev, pkg-config, chrpath, libkrb5-dev, libgssglue-dev
+Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 9), dh-autoreconf, pkg-config, chrpath, libkrb5-dev, libgssglue-dev
 Standards-Version: 3.9.5
 Homepage: http://www.citi.umich.edu/projects/nfsv4/linux/
 
diff -Nru librpcsecgss-0.19/debian/rules librpcsecgss-0.19/debian/rules
--- librpcsecgss-0.19/debian/rules	2012-06-08 19:55:43.000000000 -0400
+++ librpcsecgss-0.19/debian/rules	2014-01-17 00:54:54.000000000 -0500
@@ -16,7 +16,7 @@
 
 config.status: configure
 	dh_testdir
-	cp -f /usr/share/misc/config.sub /usr/share/misc/config.guess .
+	dh_autoreconf
 	./configure --host=$(DEB_HOST_GNU_TYPE) \
 	    --build=$(DEB_BUILD_GNU_TYPE) \
 	    --prefix=/usr \
@@ -39,7 +39,7 @@
 	dh_testroot
 	rm -f build-stamp 
 	[ ! -f Makefile ] || $(MAKE) distclean
-	rm -f config.sub config.guess
+	dh_autoreconf_clean
 	dh_clean 
 
 install: build

Reply via email to