[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#740651: rapidsvn: use dh-autoreconf instead of autotools-dev to fix FTBFS on ppc64el



Package: rapidsvn
Version: 0.12.1dfsg-1
Severity: normal
Tags: patch
User: ubuntu-devel@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-14-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 rapidsvn-0.12.1dfsg/debian/control rapidsvn-0.12.1dfsg/debian/control
--- rapidsvn-0.12.1dfsg/debian/control	2013-07-06 05:53:41.000000000 -0400
+++ rapidsvn-0.12.1dfsg/debian/control	2014-03-03 14:43:03.000000000 -0500
@@ -2,7 +2,7 @@
 Section: vcs
 Priority: optional
 Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: debhelper (>= 9), libneon27-gnutls-dev, libsvn-dev (>= 1.4.4), libsasl2-dev, libwxgtk2.8-dev, xsltproc, docbook-xsl, doxygen, autotools-dev, python, hardening-wrapper
+Build-Depends: debhelper (>= 9), libneon27-gnutls-dev, libsvn-dev (>= 1.4.4), libsasl2-dev, libwxgtk2.8-dev, xsltproc, docbook-xsl, doxygen, dh-autoreconf, python, hardening-wrapper
 Homepage: http://rapidsvn.tigris.org/
 Standards-Version: 3.9.4
 
diff -Nru rapidsvn-0.12.1dfsg/debian/rules rapidsvn-0.12.1dfsg/debian/rules
--- rapidsvn-0.12.1dfsg/debian/rules	2013-07-05 06:07:25.000000000 -0400
+++ rapidsvn-0.12.1dfsg/debian/rules	2014-02-20 12:38:41.000000000 -0500
@@ -40,9 +40,7 @@
 
 configure-stamp:
 	dh_testdir
-
-	cp -p /usr/share/misc/config.sub config.sub
-	cp -p /usr/share/misc/config.guess config.guess
+	dh_autoreconf
 
 # configure using --disable-shared,
 # so we don't have to package the library as well ...
@@ -77,9 +75,7 @@
 	rm -rf doc/svncpp/html/*
 	rm -f src/locale/Makefile doc/manpage/Makefile doc/svncpp/Makefile
 
-	rm -f config.sub
-	rm -f config.guess
-
+	dh_autoreconf_clean
 	dh_clean 
 
 install: build

Reply to: