[pkg-wml] Bug#724418: Please stop build depending on automake1.4, automake1.9 and automake1.10

Axel Beckert abe at debian.org
Mon Sep 23 23:27:27 UTC 2013


Hi Eric,

Eric Dorland wrote:
> In many cases these dependencies are unnecessary as there is typically
> no build time dependency on automake for most packages. If it is
> required, you should update the dependency to "automake" or
> "automake1.11". If you need any assistance with making your package
> work with a newer version of automake, please let me know, but it
> should be relatively painless for the most part.

I tried the following patch:

diff --git a/debian/control b/debian/control
index b484dd4..a11073a 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,6 @@ Maintainer: Debian WML Packaging Team <pkg-wml-maintainers at lists.alioth.debian.o
 Uploaders: Axel Beckert <abe at debian.org>
 Standards-Version: 3.9.4
 Build-Depends: autoconf (>= 2.57~),
-               automake1.9,
                debhelper (>= 9~),
                dh-autoreconf,
                dpkg (>= 1.16.2),
diff --git a/debian/rules b/debian/rules
index 8f718ef..4ac0c98 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,7 +30,7 @@ override_dh_auto_configure:
                cp -f /usr/share/gettext/po/$$f po/; \
        done
 
-       ACLOCAL=aclocal-1.9 AUTOMAKE=automake-1.9 dh_autoreconf
+       dh_autoreconf
 
        dh_auto_configure -- \
            --without-included-ltdl \
@@ -39,7 +39,7 @@ override_dh_auto_configure:
 
 override_dh_auto_clean:
        -tar cvf debian/needed-after-clean.tar ABOUT-NLS po/Makefile.in.in
-       ACLOCAL=aclocal-1.9 AUTOMAKE=automake-1.9 dh_autoreconf_clean
+       dh_autoreconf_clean
        # PO stuff
        cd po && rm -f ${GETTEXT_PO_FILES} stamp-po POTFILES Makefile.in
        rm -f ${GETTEXT_TOP_FILES}

But the package then FTBFS as follows:

[...]
dh_autoreconf
configure.ac:32: error: automatic de-ANSI-fication support has been removed
/usr/share/aclocal-1.14/obsolete.m4:26: AM_C_PROTOTYPES is expanded from...
configure.ac:32: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
dh_autoreconf: autoreconf -f -i returned exit code 1
make[1]: *** [override_dh_auto_configure] Error 2
make[1]: Leaving directory `/tmp/buildd/mp4h-1.3.1'

I think that is somehow related to the removal of ansi2knr, but so far
I see "ansi2knr" only in aclocal.m4 and configure which both get
overwritten by dh_autoreconf. So I'm slightly out of ideas where that
may still come from. Any hints?

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



More information about the pkg-wml-maintainers mailing list