Package: libtpl
Version: 1.5-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 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.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 libtpl-1.5/debian/control libtpl-1.5/debian/control
--- libtpl-1.5/debian/control 2010-06-04 13:04:55.000000000 -0400
+++ libtpl-1.5/debian/control 2014-01-08 02:20:57.000000000 -0500
@@ -2,7 +2,7 @@
Section: devel
Priority: extra
Maintainer: Kari Pahula <[email protected]>
-Build-Depends: cdbs, debhelper (>= 7.0.50~), autotools-dev
+Build-Depends: cdbs, debhelper (>= 7.0.50~), dh-autoreconf
Standards-Version: 3.8.4
Homepage: http://tpl.sourceforge.net/
diff -Nru libtpl-1.5/debian/patches/automake-foreign.patch libtpl-1.5/debian/patches/automake-foreign.patch
--- libtpl-1.5/debian/patches/automake-foreign.patch 1969-12-31 19:00:00.000000000 -0500
+++ libtpl-1.5/debian/patches/automake-foreign.patch 2014-01-04 23:05:42.000000000 -0500
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -4,7 +4,7 @@
+ AC_CONFIG_SRCDIR(src/tpl.c)
+ AC_CONFIG_AUX_DIR(config)
+ AC_CONFIG_HEADERS(config/config.h)
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])
+ AC_PROG_CC
+ dnl next 4 lines are a hack to avoid libtool's
+ dnl needless checks for C++ and Fortran compilers
diff -Nru libtpl-1.5/debian/patches/series libtpl-1.5/debian/patches/series
--- libtpl-1.5/debian/patches/series 1969-12-31 19:00:00.000000000 -0500
+++ libtpl-1.5/debian/patches/series 2014-01-04 23:04:42.000000000 -0500
@@ -0,0 +1 @@
+automake-foreign.patch
diff -Nru libtpl-1.5/debian/rules libtpl-1.5/debian/rules
--- libtpl-1.5/debian/rules 2010-06-03 15:58:06.000000000 -0400
+++ libtpl-1.5/debian/rules 2014-01-04 23:01:51.000000000 -0500
@@ -4,14 +4,9 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
clean::
- rm -f config/config.guess
- rm -f config/config.sub
rm -rf autom4te.cache
-post-patches::
- cp /usr/share/misc/config.sub config/
- cp /usr/share/misc/config.guess config/
-
# Add here any variable or target overrides you need.