Package: mpfi
Version: 1.5.1-2
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 also fix FTBFS on ppc64el by
getting new libtool macros (still updates config.{sub,guess}).
* Disable -Werror in automake to fix FTBFS while autoreconfing.
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 mpfi-1.5.1/debian/control mpfi-1.5.1/debian/control
--- mpfi-1.5.1/debian/control 2012-05-25 21:52:32.000000000 -0400
+++ mpfi-1.5.1/debian/control 2014-01-08 02:24:42.000000000 -0500
@@ -1,7 +1,7 @@
Source: mpfi
Priority: optional
Maintainer: Laurent Fousse <[email protected]>
-Build-Depends: debhelper (>= 7.0.0), autotools-dev, libmpfr-dev (>= 2.2.0.dfsg.1), libgmp-dev, texinfo
+Build-Depends: debhelper (>= 7.0.0), dh-autoreconf, libmpfr-dev (>= 2.2.0.dfsg.1), libgmp-dev, texinfo
Standards-Version: 3.9.0
Section: math
Homepage: http://mpfi.gforge.inria.fr/
diff -Nru mpfi-1.5.1/debian/patches/disable-Werror.patch mpfi-1.5.1/debian/patches/disable-Werror.patch
--- mpfi-1.5.1/debian/patches/disable-Werror.patch 1969-12-31 19:00:00.000000000 -0500
+++ mpfi-1.5.1/debian/patches/disable-Werror.patch 2014-01-04 22:01:11.000000000 -0500
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -7,7 +7,7 @@
+ AC_CONFIG_HEADERS([mpfi_config.h])
+
+ AC_CONFIG_MACRO_DIR([m4])
+-AM_INIT_AUTOMAKE([1.9 -Wall -Werror dist-bzip2 dist-zip])
++AM_INIT_AUTOMAKE([1.9 -Wall dist-bzip2 dist-zip])
+
+ dnl Extra arguments to configure
+ AC_ARG_WITH([mpfr_include],
diff -Nru mpfi-1.5.1/debian/patches/series mpfi-1.5.1/debian/patches/series
--- mpfi-1.5.1/debian/patches/series 1969-12-31 19:00:00.000000000 -0500
+++ mpfi-1.5.1/debian/patches/series 2014-01-04 22:00:55.000000000 -0500
@@ -0,0 +1 @@
+disable-Werror.patch
diff -Nru mpfi-1.5.1/debian/rules mpfi-1.5.1/debian/rules
--- mpfi-1.5.1/debian/rules 2013-11-13 23:38:28.000000000 -0500
+++ mpfi-1.5.1/debian/rules 2014-01-04 21:50:54.000000000 -0500
@@ -5,4 +5,4 @@
endif
%:
- dh $@ --with autotools_dev
+ dh $@ --with autoreconf