Package: obby
Version: 0.4.8-1
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-2-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 obby-0.4.8/debian/control obby-0.4.8/debian/control
--- obby-0.4.8/debian/control	2011-02-09 17:19:48.000000000 -0500
+++ obby-0.4.8/debian/control	2014-01-14 21:54:11.000000000 -0500
@@ -2,7 +2,7 @@
 Section: net
 Priority: optional
 Maintainer: Philipp Kern <pk...@debian.org>
-Build-Depends: debhelper (>= 5.0.0), autotools-dev, gettext, libsigc++-2.0-dev (>= 2.0.16-2), libnet6-1.3-dev (>= 1:1.3.4), libavahi-client-dev
+Build-Depends: debhelper (>= 5.0.0), dh-autoreconf, gettext, libsigc++-2.0-dev (>= 2.0.16-2), libnet6-1.3-dev (>= 1:1.3.4), libavahi-client-dev
 Standards-Version: 3.9.1
 Homepage: http://gobby.0x539.de
 
diff -Nru obby-0.4.8/debian/rules obby-0.4.8/debian/rules
--- obby-0.4.8/debian/rules	2011-02-09 17:06:22.000000000 -0500
+++ obby-0.4.8/debian/rules	2014-01-13 17:56:38.000000000 -0500
@@ -31,12 +31,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 --prefix=/usr \
 		--host=$(DEB_HOST_GNU_TYPE) \
 		--build=$(DEB_BUILD_GNU_TYPE) \
@@ -62,7 +57,7 @@
 	rm -f build-stamp
 	[ ! -f Makefile ] || $(MAKE) distclean
 	# Remove the auto-generated files so that they do not enter the diff.
-	rm -rf config.guess config.log config.sub
+	dh_autoreconf_clean
 	dh_clean
 
 install: build-stamp

Reply via email to