Package: libantlr3c
Version: 3.2-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: 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 libantlr3c-3.2/debian/control libantlr3c-3.2/debian/control
--- libantlr3c-3.2/debian/control 2011-06-13 05:48:18.000000000 -0400
+++ libantlr3c-3.2/debian/control 2014-01-03 01:44:54.000000000 -0500
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Julien BLACHE <[email protected]>
Standards-Version: 3.9.2
-Build-Depends: debhelper (>= 8.1.3), dpkg-dev (>= 1.15.4), autotools-dev
+Build-Depends: debhelper (>= 8.1.3), dpkg-dev (>= 1.15.4), dh-autoreconf
Homepage: http://www.antlr.org/wiki/display/ANTLR3/ANTLR3+Code+Generation+-+C
Package: libantlr3c-dev
diff -Nru libantlr3c-3.2/debian/rules libantlr3c-3.2/debian/rules
--- libantlr3c-3.2/debian/rules 2011-06-13 06:32:26.000000000 -0400
+++ libantlr3c-3.2/debian/rules 2014-01-01 00:07:24.000000000 -0500
@@ -26,17 +26,10 @@
ENABLE_64BIT = --enable-64bit
endif
-autotools: autotools-stamp
-autotools-stamp:
- -rm -f config.sub config.guess
- ln -s /usr/share/misc/config.sub config.sub
- ln -s /usr/share/misc/config.guess config.guess
- touch autotools-stamp
-
configure: configure-stamp
-configure-stamp: autotools-stamp
+configure-stamp:
dh_testdir
-
+ dh_autoreconf
# Configure with ANTLR remote debugger enabled
mkdir build-dbg
( cd build-dbg; \
@@ -66,13 +59,13 @@
clean:
dh_testdir
dh_testroot
- rm -f autotools-stamp configure-stamp build-stamp
+ rm -f configure-stamp build-stamp
# Add here commands to clean up after the build process.
rm -rf build-dbg debian/tmp-dbg
rm -rf build-nodbg
- rm -f config.sub config.guess
+ dh_autoreconf_clean
dh_clean