Package: xfsdump
Version: 3.1.1
Severity: normal
Tags: patch
User: [email protected]
Usertags: ppc64el
User: [email protected]
Usertags: autoreconf

Hi,

Currently xfsdump doesn't not build on new architectures because the config.sub
and config.guess files are outdated.  A log of the build on the new ppc64el
architecture could be found at:

http://deb1.ltc.br.ibm.com/wanna-buildd-upstream/builds/xfsdump_3.1.1_ppc64el.build

So, this patch fixes the problem, but I am not sure this is the best way to
solve it. I based this patch on the patch provided by Colin on bug 726074. Let
me know if you want a different solution for the problem.

Thank you,
Breno



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: xfsdump-3.1.1/debian/rules
===================================================================
--- xfsdump-3.1.1.orig/debian/rules	2012-09-18 05:26:37.000000000 +0000
+++ xfsdump-3.1.1/debian/rules	2014-05-01 00:58:26.000000000 +0000
@@ -18,15 +18,21 @@
 	$(MAKE) default
 	touch built
 
+autoreconf:
+	autoreconf -f -i
+	cp -f /usr/share/misc/config.guess /usr/share/misc/config.sub ./
+
 config: .census
 .census:
 	@echo "== dpkg-buildpackage: configure" 1>&2
+	dh_autoreconf debian/rules -- autoreconf
 	$(checkdir)
 	$(options) $(MAKE) include/config.h
 	touch .census
 
 clean:
 	@echo "== dpkg-buildpackage: clean" 1>&2
+	dh_autoreconf_clean
 	$(checkdir)
 	-rm -f built .census
 	$(MAKE) distclean
Index: xfsdump-3.1.1/debian/control
===================================================================
--- xfsdump-3.1.1.orig/debian/control	2012-09-18 05:26:37.000000000 +0000
+++ xfsdump-3.1.1/debian/control	2014-05-01 00:59:18.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Nathan Scott <[email protected]>
 Uploaders: Anibal Monsalve Salazar <[email protected]>
-Build-Depends: xfslibs-dev (>= 3.0.0), uuid-dev, libattr1-dev (>= 2.4.14), libncurses-dev, autoconf, debhelper (>= 5), gettext, libtool
+Build-Depends: xfslibs-dev (>= 3.0.0), uuid-dev, libattr1-dev (>= 2.4.14), libncurses-dev, autoconf, debhelper (>= 5), gettext, libtool, dh_autoreconf
 Standards-Version: 3.8.1
 Homepage: http://oss.sgi.com/projects/xfs/
 

Reply via email to