[Build-common-hackers] Bug#267254: cdbs: DEB_AUTO_UPDATE_LIBTOOL is a broken by design. it cannot work.

Andreas Metzler Andreas Metzler <ametzler@downhill.at.eu.org>, 267254@bugs.debian.org
Sun, 22 Aug 2004 16:14:17 +0200

On 2004-08-21 Andreas Metzler <ametzler@downhill.at.eu.org> wrote:
> Offering DEB_AUTO_UPDATE_LIBTOOL as a separate option is broken by
> design. You cannot update the libtool code in a package by simply
> running "libtoolize -c -f" or "cp -f /usr/bin/libtool
> $(DEB_SRCDIR)/libtool". This *will* break stuff, updating libtool
> requires that the corresponding libtool.m4 is used by autoconf. -
> aclocal and autoconf are a must.

I've asked the libtool maintainer (Scott James Remnant) for a comment
on this. - He agrees that running "libtoolize -c -f" without aclocal
and autoconf is severly broken (i.e. DEB_AUTO_UPDATE_LIBTOOL=pre).

OTOH cp -f /usr/bin/libtool $(DEB_SRCDIR)/libtool"
(DEB_AUTO_UPDATE_LIBTOOL=post) should not cause breakage.
               cu andreas
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"