Bug#378511: [xml/sgml-pkgs] Bug#378511: libxml2-dev: libxml2.la's dependency_libs contains -lz, but zlib1g-dev|libz-dev is not depended upon anymore

Mike Hommey mh at glandium.org
Mon Jul 17 17:45:03 UTC 2006


tag 378511 wontfix
thanks

On Mon, Jul 17, 2006 at 01:45:59AM +0200, Nicolas Boullis <nboullis at debian.org> wrote:
> Package: libxml2-dev
> Version: 2.6.26.dfsg-2
> Severity: important
> 
> Hi,
> 
> This is clearly related to #374017; the fix to this bug was incomplete.
> It causes FTBFS in packages that build-depend on libxml2-dev but not
> zlib1g-dev|libz-dev, and that use libtool. (See for example #378374.)

In the meanwhile, I remembered that libxslt, that I built with the new
libxml2 to verify the changes to libxml2-dev dependencies don't break
everything, also uses libtool. So, wondering what was the matter, I also
remembered libxslt is autoreconfed.

To solve the problem, then, all you have to do is relibtoolize your
package. This can be achieved by running autoreconf. You will need
libtool, autoconf2.13 and automake1.9. That solves the issue much better
than adding useless build-dep AND dependency on zlib.

I'm going to tag this bug wontfix, and will leave it open for
documentation purpose. I may send a mail to maintainers of reverse
dependencies.

For other cases, check the autoconf version used by upstream by grepping
"Generated by" in configure, and the automake version by grepping
"generated by" in Makefile.in.

Cheers

Mike




More information about the debian-xml-sgml-pkgs mailing list