Package: libyahoo2
Version: 1.0.1-1
Severity: normal
Tags: patch
User: [email protected]
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.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 libyahoo2-1.0.1/debian/control libyahoo2-1.0.1/debian/control
--- libyahoo2-1.0.1/debian/control	2010-08-01 08:45:14.000000000 -0400
+++ libyahoo2-1.0.1/debian/control	2014-01-07 20:40:23.000000000 -0500
@@ -4,7 +4,7 @@
 Maintainer: Kartik Mistry <[email protected]>
 Uploaders: Jaldhar H. Vyas <[email protected]>
 Build-Depends: debhelper (>= 7),
-               autotools-dev,
+               dh-autoreconf,
                chrpath,
                libssl-dev,
                libglib2.0-dev
diff -Nru libyahoo2-1.0.1/debian/rules libyahoo2-1.0.1/debian/rules
--- libyahoo2-1.0.1/debian/rules	2010-08-01 08:44:56.000000000 -0400
+++ libyahoo2-1.0.1/debian/rules	2014-01-06 02:37:45.000000000 -0500
@@ -16,14 +16,7 @@
 
 config.status: configure
 	dh_testdir
-
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
-
+	dh_autoreconf
 	./configure CFLAGS="$(CFLAGS)" \
 		    --host=$(DEB_HOST_GNU_TYPE) \
 		    --build=$(DEB_BUILD_GNU_TYPE) \
@@ -39,8 +32,8 @@
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp
-	rm -f config.sub config.guess
 	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_autoreconf_clean
 	dh_clean
 
 install: build

Reply via email to