--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libofa: use dh-autoreconf to fix FTBFS on ppc64el
- From: Logan Rosen <logan@ubuntu.com>
- Date: Sat, 04 Jan 2014 19:21:01 -0500
- Message-id: <20140105002101.6364.86760.reportbug@logan-VirtualBox>
Package: libofa
Version: 0.9.3-5
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}).
* Use LTDL_INIT([convenience]) instead of AC_LIBLTDL_CONVENIENCE to fix
FTBFS while autoreconfing, and build-depend on libltdl-dev.
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 libofa-0.9.3/debian/control libofa-0.9.3/debian/control
--- libofa-0.9.3/debian/control 2011-10-03 14:52:23.000000000 -0400
+++ libofa-0.9.3/debian/control 2014-01-04 19:20:08.000000000 -0500
@@ -1,7 +1,7 @@
Source: libofa
Priority: optional
Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: debhelper (>= 8), cdbs, libfftw3-dev, libcurl4-openssl-dev, libexpat1-dev, autotools-dev
+Build-Depends: debhelper (>= 8), cdbs, libfftw3-dev, libcurl4-openssl-dev, libexpat1-dev, dh-autoreconf, libltdl-dev
Standards-Version: 3.9.2
Section: libs
Homepage: http://code.google.com/p/musicip-libofa/
diff -Nru libofa-0.9.3/debian/patches/07_libltdl.diff libofa-0.9.3/debian/patches/07_libltdl.diff
--- libofa-0.9.3/debian/patches/07_libltdl.diff 1969-12-31 19:00:00.000000000 -0500
+++ libofa-0.9.3/debian/patches/07_libltdl.diff 2014-01-04 16:50:09.000000000 -0500
@@ -0,0 +1,17 @@
+Description: use new macro for initializing libltdl
+ Use LTDL_INIT([convenience]) instead of AC_LIBLTDL_CONVENIENCE to fix FTBFS
+ while autoreconfing.
+Author: Logan Rosen <logan@ubuntu.com>
+Last-Update: <2014-01-04>
+
+--- libofa-0.9.3.orig/configure.in
++++ libofa-0.9.3/configure.in
+@@ -28,7 +28,7 @@ dnl Checks for programs.
+ AC_PREREQ(2.52)
+ AC_PROG_AWK
+ AC_PROG_CC
+-AC_LIBLTDL_CONVENIENCE
++LTDL_INIT([convenience])
+ AM_PROG_LIBTOOL
+ AC_SUBST(LIBTOOL_DEPS)
+ AC_PROG_CXX
diff -Nru libofa-0.9.3/debian/patches/series libofa-0.9.3/debian/patches/series
--- libofa-0.9.3/debian/patches/series 2012-04-17 02:01:39.000000000 -0400
+++ libofa-0.9.3/debian/patches/series 2014-01-04 16:51:02.000000000 -0500
@@ -6,3 +6,4 @@
06_gcc44.diff
fix_ftbfs.diff
fix-ftbfs-gcc4.7.diff
+07_libltdl.diff
diff -Nru libofa-0.9.3/debian/rules libofa-0.9.3/debian/rules
--- libofa-0.9.3/debian/rules 2011-10-03 14:44:57.000000000 -0400
+++ libofa-0.9.3/debian/rules 2014-01-04 16:39:31.000000000 -0500
@@ -3,5 +3,6 @@
include /usr/share/cdbs/1/rules/buildcore.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
DEB_DH_MAKESHLIBS_ARGS = -V
--- End Message ---
--- Begin Message ---
Source: libofa
Source-Version: 0.9.3-6
Fixed with this upload, forgot to close it in the changelog.
2014-08-02 16:51 GMT+01:00 Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
>
>
> Accepted:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Format: 1.8
> Date: Sat, 02 Aug 2014 16:12:13 +0100
> Source: libofa
> Binary: libofa0-dev libofa0
> Architecture: source amd64
> Version: 0.9.3-6
> Distribution: unstable
> Urgency: medium
> Maintainer: Debian QA Group <packages@qa.debian.org>
> Changed-By: Manuel A. Fernandez Montecelo <mafm@debian.org>
> Description:
> libofa0 - Library for acoustic fingerprinting
> libofa0-dev - Library for acoustic fingerprinting - development files
> Changes:
> libofa (0.9.3-6) unstable; urgency=medium
> .
> * QA upload.
> .
> [ Logan Rosen ]
> * Use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el by
> getting new libtool macros (still updates config.{sub,guess}).
> * Use LTDL_INIT([convenience]) instead of AC_LIBLTDL_CONVENIENCE to fix
> FTBFS while autoreconfing, and build-depend on libltdl-dev.
> Checksums-Sha1:
> 07bdc58cade01e4755d7068b687651bffb61ccb6 1888 libofa_0.9.3-6.dsc
> a0a51824dbab8efebf495279312fbb7d0f1c303f 17240 libofa_0.9.3-6.debian.tar.xz
> 1051648c21547cc2c6930140cd4f916cae98c31b 55764 libofa0-dev_0.9.3-6_amd64.deb
> ba1d24c962e5edf8017fe287fce5a1f947cb6be9 48524 libofa0_0.9.3-6_amd64.deb
> Checksums-Sha256:
> 1f008be8dd20a95457708ff78f1a9415dbddf4445c3a4e1cdb30e1dfe1985771 1888 libofa_0.9.3-6.dsc
> 5247411f636c10bea9696ad58c0bfa1cbb8b83d96461fd9c2c89df685f43ba90 17240 libofa_0.9.3-6.debian.tar.xz
> 26ced323e8c760f83d5e0d19a36c2af99cd64fa4753e0055c2dd81cfa7022346 55764 libofa0-dev_0.9.3-6_amd64.deb
> c26b8aed3cdbade9fd9b2239bf73455d85fffc66529511e74f2f8b1190afb4c0 48524 libofa0_0.9.3-6_amd64.deb
> Files:
> 3edda0c8cbef344ebbc50833fc9844c9 55764 libdevel optional libofa0-dev_0.9.3-6_amd64.deb
> 5a5186a249184de33ec5fe34f62dc35d 48524 libs optional libofa0_0.9.3-6_amd64.deb
> e4688d294c4a30e9928b265f46f5cce1 1888 libs optional libofa_0.9.3-6.dsc
> 8444a759d1d259d26e57fe8ffae43bd9 17240 libs optional libofa_0.9.3-6.debian.tar.xz
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQIcBAEBCgAGBQJT3QE8AAoJEH92BqRF3KgOREsP/RB/kG6c8UcpkyHD1UIlT1Ic
> U8xZKKi+k6hnzFJ651yH1knzDsXVM2KYsODRs0qysZFNznouSzl5fZTm5Xn1tQ9+
> AuCOIYnjkL0eSWuM/h1R8t33E5ieaaaC1XhhBLx4VeSEvBRn7UjB5POs4JnX19bw
> won+5tS3ucZ2RlQdBphvyHuXhg+uuZs7U3tpowe/We1tGOnc/QnlKrxrFYqyvcA9
> irkMtcUxD66AeCfkzrIJWxonUr1rk/imIMNKQcCIqhchrXgAyLLG0WZkvWrKT9PK
> qnGvz3lOTUhwyf2lAZ2BQ9D6YSuqEBzLRdPX03gFiE4d6IqqgHtwpBRMOmwviKe8
> ATHrs5nXTlOmKBjtnZjAgMk3G8jqiKvuwIgxu5CABZ6p+XQiHzNyi0jb+rgzK16p
> 8a8SOgzrHM9Pzhj8tHVqebl70IabGJVvPL7OLzS82bqeDWONDH/U2e6lJRbBXTjG
> GCzLVvX3q4OOLDxsqsAZto/61wNEoqoGA/WH/7Sd3JLuplB67Tu0YaX9qzuIqfRj
> 4oWaZGner1EF7RmkjYtYyK40GUDV4KtcMcV07+GX8S7prXxuQgUjsAMcSITnkhXt
> rjsh7887IwNQ5n03JPgbiinkG2/M+0C1CeXO9y1qQ8ubIKgBPaFXiTcjChaP1gdn
> F7FHNokZZRYxykj1Ha5k
> =U868
> -----END PGP SIGNATURE-----
>
>
> Thank you for your contribution to Debian.
--
Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>
--- End Message ---