Source: lame Version: 3.99.5+repack1-3.1 Severity: normal Tags: patch User: debian-po...@lists.debian.org Usertags: ppc64el
Dear Maintainer, The package lame fails to build from source on ppc64el, because it needs several files to be updated to support the architecture. Running a full autoreconf would fix it. However, due to the use of (the deprecated) de-ANSI-fication, it breaks. In the patch attached you will find a workaround I have made so it will no longer use de-ANSI-fication. Please let me know if you do not agree with the patch. There is also a way to keep de-ANSI-fication with dh-autoreconf, but that will demand a build-dep on old automake/aclocal (v1.11). 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
diff -Nru lame-3.99.5+repack1/debian/changelog lame-3.99.5+repack1/debian/changelog --- lame-3.99.5+repack1/debian/changelog 2012-03-17 17:41:48.000000000 +0000 +++ lame-3.99.5+repack1/debian/changelog 2014-07-17 20:32:11.000000000 +0000 @@ -1,3 +1,11 @@ +lame (3.99.5+repack1-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Remove de-ANSI-fication so dh-autoreconf works + * Add dh-autoreconf so it builds on new archs (e.g ppc64el) + + -- Fernando Seiti Furusato <ferse...@br.ibm.com> Thu, 17 Jul 2014 20:31:41 +0000 + lame (3.99.5+repack1-3) unstable; urgency=low * Handle case on setting CFLAGS for systems where dpkg-dev (<< 1.15.7) diff -Nru lame-3.99.5+repack1/debian/control lame-3.99.5+repack1/debian/control --- lame-3.99.5+repack1/debian/control 2012-03-16 21:40:42.000000000 +0000 +++ lame-3.99.5+repack1/debian/control 2014-07-17 20:33:50.000000000 +0000 @@ -7,6 +7,7 @@ Reinhard Tartler <siret...@tauware.de>, Andres Mejia <ame...@debian.org> Build-Depends: + dh-autoreconf, debhelper (>= 8.1.3), libncurses5-dev, nasm [i386] diff -Nru lame-3.99.5+repack1/debian/patches/remove-de-ANSI-fication.patch lame-3.99.5+repack1/debian/patches/remove-de-ANSI-fication.patch --- lame-3.99.5+repack1/debian/patches/remove-de-ANSI-fication.patch 1970-01-01 00:00:00.000000000 +0000 +++ lame-3.99.5+repack1/debian/patches/remove-de-ANSI-fication.patch 2014-07-17 20:33:20.000000000 +0000 @@ -0,0 +1,55 @@ + lame (3.99.5+repack1-3.1) UNRELEASED; urgency=medium + . + * Non-maintainer upload. + * Remove de-ANSI-fication so dh-autoreconf works + * Add dh-autoreconf so it builds on new archs (e.g ppc64el) +Author: Fernando Seiti Furusato <ferse...@br.ibm.com> + +--- lame-3.99.5+repack1.orig/configure.in ++++ lame-3.99.5+repack1/configure.in +@@ -78,7 +78,6 @@ if test "${GCC}" = "yes"; then + fi + + dnl more automake stuff +-AM_C_PROTOTYPES + + AC_CHECK_HEADER(dmalloc.h) + if test "${ac_cv_header_dmalloc_h}" = "yes"; then +@@ -86,6 +85,7 @@ if test "${ac_cv_header_dmalloc_h}" = "y + fi + + dnl Checks for header files. ++AC_C_PROTOTYPES + AC_HEADER_STDC + AC_CHECK_HEADERS( \ + errno.h \ +--- lame-3.99.5+repack1.orig/doc/html/Makefile.am ++++ lame-3.99.5+repack1/doc/html/Makefile.am +@@ -1,6 +1,6 @@ + ## $Id: Makefile.am,v 1.7 2010/09/30 20:58:40 jaz001 Exp $ + +-AUTOMAKE_OPTIONS = foreign ansi2knr ++AUTOMAKE_OPTIONS = foreign + + docdir = $(datadir)/doc + pkgdocdir = $(docdir)/$(PACKAGE) +--- lame-3.99.5+repack1.orig/doc/man/Makefile.am ++++ lame-3.99.5+repack1/doc/man/Makefile.am +@@ -1,6 +1,6 @@ + ## $Id: Makefile.am,v 1.1 2000/10/22 11:39:44 aleidinger Exp $ + +-AUTOMAKE_OPTIONS = foreign ansi2knr ++AUTOMAKE_OPTIONS = foreign + + man_MANS = lame.1 + EXTRA_DIST = ${man_MANS} +--- lame-3.99.5+repack1.orig/libmp3lame/i386/Makefile.am ++++ lame-3.99.5+repack1/libmp3lame/i386/Makefile.am +@@ -1,6 +1,6 @@ + ## $Id: Makefile.am,v 1.26 2011/04/04 09:42:34 aleidinger Exp $ + +-AUTOMAKE_OPTIONS = foreign $(top_srcdir)/ansi2knr ++AUTOMAKE_OPTIONS = foreign + + DEFS = @DEFS@ @CONFIG_DEFS@ + diff -Nru lame-3.99.5+repack1/debian/patches/series lame-3.99.5+repack1/debian/patches/series --- lame-3.99.5+repack1/debian/patches/series 2012-03-15 21:47:42.000000000 +0000 +++ lame-3.99.5+repack1/debian/patches/series 2014-07-17 20:33:05.000000000 +0000 @@ -1,3 +1,4 @@ 07-field-width-fix.patch parallel-builds-fix.patch unbreak-ftbfs-gcc4.4.patch +remove-de-ANSI-fication.patch diff -Nru lame-3.99.5+repack1/debian/rules lame-3.99.5+repack1/debian/rules --- lame-3.99.5+repack1/debian/rules 2012-03-17 17:40:56.000000000 +0000 +++ lame-3.99.5+repack1/debian/rules 2014-07-17 20:32:43.000000000 +0000 @@ -7,7 +7,7 @@ endif %: - dh $@ --parallel + dh $@ --parallel --with autoreconf override_dh_auto_configure: dh_auto_configure -- \
_______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers