--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libast: use dh-autoreconf instead of autotools-dev to fix FTBFS on ppc64el
- From: Logan Rosen <logan@ubuntu.com>
- Date: Mon, 13 Jan 2014 15:55:56 -0500
- Message-id: <20140113205556.6477.85800.reportbug@logan-VirtualBox>
Package: libast
Version: 0.7-6
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
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}).
* Add m4_include([libast.m4]) to configure.in to fix FTBFS.
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-2-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 libast-0.7/debian/control libast-0.7/debian/control
--- libast-0.7/debian/control 2011-08-26 11:49:18.000000000 -0400
+++ libast-0.7/debian/control 2014-01-13 15:55:19.000000000 -0500
@@ -2,7 +2,7 @@
Section: libs
Priority: optional
Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: libimlib2-dev, libxt-dev, libxt-dev, cdbs (>= 0.4.93), debhelper (>= 8.3.1), autotools-dev, chrpath
+Build-Depends: libimlib2-dev, libxt-dev, libxt-dev, cdbs (>= 0.4.93), debhelper (>= 8.3.1), dh-autoreconf, chrpath
Standards-Version: 3.9.2
Homepage: http://www.eterm.org/
diff -Nru libast-0.7/debian/patches/m4_include.patch libast-0.7/debian/patches/m4_include.patch
--- libast-0.7/debian/patches/m4_include.patch 1969-12-31 19:00:00.000000000 -0500
+++ libast-0.7/debian/patches/m4_include.patch 2014-01-11 15:22:55.000000000 -0500
@@ -0,0 +1,10 @@
+--- a/configure.in
++++ b/configure.in
+@@ -22,6 +22,7 @@
+ AM_INIT_AUTOMAKE(libast, 0.7)
+ AC_DEFINE_UNQUOTED(LIBAST_VERSION, "$VERSION", [Version])
+ AM_CONFIG_HEADER(config.h include/libast/sysdefs.h)
++m4_include([libast.m4])
+
+ LIBTOOLIZE="${SAVE_LIBTOOLIZE:-libtoolize}"
+ ACLOCAL="${SAVE_ACLOCAL:-aclocal}"
diff -Nru libast-0.7/debian/patches/series libast-0.7/debian/patches/series
--- libast-0.7/debian/patches/series 1969-12-31 19:00:00.000000000 -0500
+++ libast-0.7/debian/patches/series 2014-01-11 15:22:15.000000000 -0500
@@ -0,0 +1 @@
+m4_include.patch
diff -Nru libast-0.7/debian/rules libast-0.7/debian/rules
--- libast-0.7/debian/rules 2011-08-29 08:43:09.000000000 -0400
+++ libast-0.7/debian/rules 2014-01-11 15:18:25.000000000 -0500
@@ -2,6 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
DEB_DESTDIR = $(CURDIR)/debian/tmp
DEB_CONFIGURE_EXTRA_FLAGS = --enable-mmx=no
@@ -10,18 +11,6 @@
DEB_DH_MAKESHLIBS_ARGS_libast2 = --version-info="libast2 (>= 0.7)"
DEB_SHLIBDEPS_LIBRARY_package = libast2
-makebuilddir::
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
- cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
- cp -f /usr/share/misc/config.guess config.guess
-endif
-
-clean::
- rm -f config.sub
- rm -f config.guess
-
$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
for file in $(wildcard debian/$(cdbs_curpkg)/usr/lib/*/*.so*); do \
chrpath -d $$file ; \
--- End Message ---
--- Begin Message ---
Source: libast
Source-Version: 0.7-7
We believe that the bug you reported is fixed in the latest version of
libast, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 735214@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ralf Treinen <treinen@debian.org> (supplier of updated libast package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 13 Oct 2014 20:49:15 +0200
Source: libast
Binary: libast2 libast2-dev
Architecture: source amd64
Version: 0.7-7
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Ralf Treinen <treinen@debian.org>
Description:
libast2 - Library of Assorted Spiffy Things
libast2-dev - libast2 development files
Closes: 735214
Changes:
libast (0.7-7) unstable; urgency=medium
.
* QA upload
* debian/rules: use autoreconf in order to fix FTBFS on new architecures.
Thanks to Logan Rosen for the patch! Closes: #735214.
Checksums-Sha1:
eeb4b80984ed36751bc6807781b288542b42f4de 1785 libast_0.7-7.dsc
a58a354c6023bbb6d799c7e8ab0106baa1cc9219 4536 libast_0.7-7.debian.tar.xz
56f35975e8fb1a3f278780ff6a18c1f5b2768d80 85140 libast2_0.7-7_amd64.deb
d870758b55e80ec57ed23c4ffc972e620cf25bc3 128814 libast2-dev_0.7-7_amd64.deb
Checksums-Sha256:
c32be6ef54c15310e55a6e6c9e7568503eb9824f6b29bf7d281cb0e5b503bc69 1785 libast_0.7-7.dsc
ee622c50ded8c4e0bb9b03d982169c600e72cc3ee20f378f4afb8b1bf9516279 4536 libast_0.7-7.debian.tar.xz
a3a94ec7efe139bed29927fb73d318cac84cb7fdde74d69c7bbcba3c35788791 85140 libast2_0.7-7_amd64.deb
c0fe6d878a810d9d6b5d6285ea6f8c4bc496b8f22f6831cca095a70a06f784de 128814 libast2-dev_0.7-7_amd64.deb
Files:
cf3b085baf73e928e4af814780a2fcce 1785 libs optional libast_0.7-7.dsc
b411fd17d99ccd092fb0b75d7b4a0b66 4536 libs optional libast_0.7-7.debian.tar.xz
023f9a738eb04d02e0be50758b036e95 85140 libs optional libast2_0.7-7_amd64.deb
f52c889385bed475e472bd99d7f262cd 128814 libdevel optional libast2-dev_0.7-7_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJUPCBIAAoJEHRcR2bUys3/MnQP/0XnIBoKjNEgKTCNMOjZpFRP
tDnku8tQSeOA4LUSuKlA8edJkp4+dKW33w7Q0fHTlJ4ws1IMkU0Sq0TYk165cPmR
vvzLrPZr8Z6oiYeWAwJMOizVklbHMg1str3ySqympM+SenwOwP9EByJ9toxBItfz
tyNWRgdSXgunOeEyThq4BwPDy4aCjjbyGqkncMLjakmXYlcKediUsEbJEkoBl3bp
H6u+MnxpM/Iguv9Jg+cH75pMg5r4bQFY9+HwcDiy+x6hAR35HCDaiu8aIp4LS9yp
MyzAykfox2KbDo4W0R++6tZTEpRCs01ziAqVPxOzI7L1H8+ocL7VlHO5LazoPk/1
2YaXuPJY0SK4s8eeCsVoYtASllfFst2KpmvDeggTycSWZYfw38UyQ9daXgFaQSf5
OzhSMkSxmPeBtkh8EFOIo33SsddS9vSLghNUTYcY4wLyjjqO0EqpbcT4NoIncvy6
AGAprleQkbzMuuXtam6Lvqgziy8b5JTUqxc0qChSsoRvCjD949ML2oJdJqNd/HW/
7vhxDW0azofychv/p1TUCXz0QCZDT6CcPSNVgywRTIEvRKgWRNR3UmkgfMh7nFuC
iEcuHv8AbvE1oOxRnMlHZFf4ymfaxhzeSIXvyHiUOUhS8D1fyNL6Oyi5DxrSWk/B
BL8SPvM81V/ufj2+tJZl
=5kYL
-----END PGP SIGNATURE-----
--- End Message ---