Package: concordance
Version: 1.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. This is because we need new libtool macros for
ppc64el.

In Ubuntu, the attached patch was applied to achieve the following:

  * Use dh-autoreconf to get new libtool macros for ppc64el.
  * Disable -Werror for automake to fix FTBFS while autoreconfing in
libconcord.

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
=== added file 'debian/autoreconf'
--- debian/autoreconf	1970-01-01 00:00:00 +0000
+++ debian/autoreconf	2014-02-12 17:20:29 +0000
@@ -0,0 +1,2 @@
+concordance
+libconcord

=== modified file 'debian/control'
--- debian/control	2014-02-04 19:24:48 +0000
+++ debian/control	2014-03-03 19:23:13 +0000
@@ -2,8 +2,8 @@
 Section: utils
 Priority: optional
 Homepage: http://sourceforge.net/projects/concordance
 Maintainer: Mathieu Trudel-Lapierre <[email protected]>
-Build-Depends: debhelper (>= 9), libusb-dev, python-all-dev (>= 2.6.6-3~), libzzip-dev
+Build-Depends: debhelper (>= 9), libusb-dev, python-all-dev (>= 2.6.6-3~), libzzip-dev, dh-autoreconf
 Standards-Version: 3.9.3
 
 Package: concordance

=== added file 'debian/patches/03-automake-Werror.diff'
--- debian/patches/03-automake-Werror.diff	1970-01-01 00:00:00 +0000
+++ debian/patches/03-automake-Werror.diff	2014-02-12 17:20:29 +0000
@@ -0,0 +1,9 @@
+--- a/libconcord/configure.ac
++++ b/libconcord/configure.ac
+@@ -1,5 +1,5 @@
+ AC_INIT([libconcord], [1.0], [[email protected]])
+-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
++AM_INIT_AUTOMAKE([-Wall foreign])
+ AC_CONFIG_MACRO_DIR([m4])
+ AC_PROG_LIBTOOL
+ AC_PROG_CXX

=== modified file 'debian/patches/series'
--- debian/patches/series	2014-02-04 19:24:48 +0000
+++ debian/patches/series	2014-02-12 17:21:12 +0000
@@ -1,3 +1,4 @@
 01-fix-manpage-disclaimer-errors.diff
 02-manpage-hyphen-as-minus-errors.diff
 conditionally_run_iptables.patch
+03-automake-Werror.diff

=== modified file 'debian/rules'
--- debian/rules	2013-06-15 15:28:39 +0000
+++ debian/rules	2014-02-12 17:20:29 +0000
@@ -8,7 +8,7 @@
 DEBIAN_DIR := $(shell echo ${MAKEFILE_LIST} | awk '{print $$1}' | xargs dirname )
 
 %:
-	dh $@ --with python2
+	dh $@ --with python2,autoreconf
 
 override_dh_auto_clean:
 	( cd libconcord/ && [ ! -f Makefile ] || $(MAKE) clean )

Reply via email to