Bug#517472: libxml-libxml-perl: Missing versioned dependency on libxml2 - Causes runtime warnings

Niko Tyni ntyni at debian.org
Sun Mar 15 21:05:13 UTC 2009


On Sat, Feb 28, 2009 at 12:27:56AM +0100, Sven Mueller wrote:
> Package: libxml-libxml-perl
> Version: 1.66-1+b1
> Severity: normal
> 
> On a system only partially upgraded to lenny (from etch), XML::LibXML causes
> the following warning upon each invocation:
> Warning: XML::LibXML compiled against libxml2 20632, but runtime libxml2 is older 20627
> 
> While it doesn't really cause any error, this caused the relevant system to
> emit a new email every 5 minutes due to an otherwise silent cron job (which
> was fhem2rrd.pl). Quite annoying to find that many mails in your inbox from
> a system that runs quite fine in any other way ;-)
> 
> Please either suppress the warning (unless it is actually relevant), or add a
> versioned dependency against the version of libxml2 you built against.

The package was indeed built against libxml2 2.6.32. The dependency
on libxml2 (>= 2.6.27) is generated by dpkg-shlibdeps(1) based on the
information in /var/lib/dpkg/info/libxml2.symbols .

I think we should suppress the warning rather than try to outguess
the libxml2 maintainer's statement about binary compatibility. 

IMO this should be discussed with XML-LibXML upstream first, ideally with
a proposed patch that introduces a build-time switch that distributors
can use to suppress the runtime warning.
-- 
Niko Tyni   ntyni at debian.org





More information about the pkg-perl-maintainers mailing list