Source: libid3tag Version: 0.15.1b-10 Severity: normal Tags: patch User: [email protected] Usertags: autoreconf User: [email protected] Usertags: ppc64el
Dear Maintainer, The package libid3tag fails to build from source on ppc64el. The usage of dh-autoreconf would fix that issue, but some modifications are needed in order to enable it into the package. * Use quilt rather than dpatch (deprecated) * Include m4 directory to configure.ac in order to expand macros properly * Add build-dep on dh-autoreconf and quilt After such modifications, included in the patch attached, the package builds successfully. Thanks and regards. Fernando -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: ppc64el (ppc64le) Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- libid3tag-0.15.1b/debian/patches/00list +++ /dev/null @@ -1,3 +0,0 @@ -10_a_capella -10_utf16 -11_unknown_encoding diff -u libid3tag-0.15.1b/debian/control libid3tag-0.15.1b/debian/control --- libid3tag-0.15.1b/debian/control +++ libid3tag-0.15.1b/debian/control @@ -1,7 +1,7 @@ Source: libid3tag Priority: optional Section: sound -Build-Depends: cdbs, dpatch, debhelper (>= 4.1.0), gettext, zlib1g-dev, gperf +Build-Depends: cdbs, dh-autoreconf, quilt, debhelper (>= 4.1.0), gettext, zlib1g-dev, gperf Maintainer: Mad Maintainers <[email protected]> Uploaders: Sam Clegg <[email protected]>, Kurt Roeckx <[email protected]>, Clément Stenac <[email protected]> Standards-Version: 3.6.1 diff -u libid3tag-0.15.1b/debian/rules libid3tag-0.15.1b/debian/rules --- libid3tag-0.15.1b/debian/rules +++ libid3tag-0.15.1b/debian/rules @@ -7,8 +7,9 @@ DEB_DH_MAKESHLIBS_ARGS_libid3tag0 = -V 'libid3tag0 (>= 0.15.1b)' include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/autoreconf.mk include /usr/share/cdbs/1/class/autotools.mk -include /usr/share/cdbs/1/rules/dpatch.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk DEB_CONFIGURE_EXTRA_FLAGS=--enable-shared only in patch2: unchanged: --- libid3tag-0.15.1b.orig/debian/patches/add-m4-directory.patch +++ libid3tag-0.15.1b/debian/patches/add-m4-directory.patch @@ -0,0 +1,26 @@ +Index: libid3tag-0.15.1b/Makefile.am +=================================================================== +--- libid3tag-0.15.1b.orig/Makefile.am 2004-02-17 02:11:28.000000000 +0000 ++++ libid3tag-0.15.1b/Makefile.am 2014-07-21 18:54:38.960002534 +0000 +@@ -21,6 +21,7 @@ + + ## Process this file with automake to produce Makefile.in + ++ACLOCAL_AMFLAGS = -I m4 + SUBDIRS = + DIST_SUBDIRS = msvc++ + +Index: libid3tag-0.15.1b/configure.ac +=================================================================== +--- libid3tag-0.15.1b.orig/configure.ac 2004-01-23 23:22:46.000000000 +0000 ++++ libid3tag-0.15.1b/configure.ac 2014-07-21 18:54:38.950002536 +0000 +@@ -26,7 +26,8 @@ + + AC_CONFIG_SRCDIR([id3tag.h]) + +-AM_INIT_AUTOMAKE ++AM_INIT_AUTOMAKE([foreign]) ++AC_CONFIG_MACRO_DIR([m4]) + + AM_CONFIG_HEADER([config.h]) + only in patch2: unchanged: --- libid3tag-0.15.1b.orig/debian/patches/series +++ libid3tag-0.15.1b/debian/patches/series @@ -0,0 +1,4 @@ +10_a_capella.dpatch +10_utf16.dpatch +11_unknown_encoding.dpatch +add-m4-directory.patch

