Package: rxp
Version: 1.5.0-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 for automake to fix FTBFS while autoreconfing.
Thanks for considering the patch.
Logan Rosen
-- System Information:
Debian Release: wheezy/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 rxp-1.5.0/debian/control rxp-1.5.0/debian/control
--- rxp-1.5.0/debian/control 2013-07-10 19:42:19.000000000 -0400
+++ rxp-1.5.0/debian/control 2013-12-30 23:32:43.000000000 -0500
@@ -1,7 +1,7 @@
Source: rxp
Priority: optional
Maintainer: NIIBE Yutaka <[email protected]>
-Build-Depends: debhelper (>= 9), autotools-dev
+Build-Depends: debhelper (>= 9), dh-autoreconf
Standards-Version: 3.9.4
Section: text
Homepage: http://www.cogsci.ed.ac.uk/~richard/rxp.html
diff -Nru rxp-1.5.0/debian/patches/02_automake_Werror.diff rxp-1.5.0/debian/patches/02_automake_Werror.diff
--- rxp-1.5.0/debian/patches/02_automake_Werror.diff 1969-12-31 19:00:00.000000000 -0500
+++ rxp-1.5.0/debian/patches/02_automake_Werror.diff 2013-12-29 22:09:33.000000000 -0500
@@ -0,0 +1,9 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,5 +1,5 @@
+ AC_INIT(rxp, 1.5.0)
+-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
++AM_INIT_AUTOMAKE([-Wall foreign])
+
+ AC_TYPE_LONG_LONG_INT
+ AC_TYPE_LONG_DOUBLE
diff -Nru rxp-1.5.0/debian/patches/series rxp-1.5.0/debian/patches/series
--- rxp-1.5.0/debian/patches/series 2013-07-10 20:49:48.000000000 -0400
+++ rxp-1.5.0/debian/patches/series 2013-12-29 22:09:20.000000000 -0500
@@ -1 +1,2 @@
01_lp64_fixes.diff
+02_automake_Werror.diff
diff -Nru rxp-1.5.0/debian/rules rxp-1.5.0/debian/rules
--- rxp-1.5.0/debian/rules 2013-07-10 19:34:53.000000000 -0400
+++ rxp-1.5.0/debian/rules 2013-12-29 22:03:13.000000000 -0500
@@ -5,4 +5,4 @@
#export DH_VERBOSE=1
%:
- dh $@ --with autotools-dev
+ dh $@ --with autoreconf