Bug#783610: Warning: XML::LibXML compiled against libxml2 20902, but runtime libxml2 is older 20901

Salvatore Bonaccorso carnil at debian.org
Tue Apr 28 14:38:18 UTC 2015


Control: severity -1 normal

Hi Vincent,

Thanks for your report.

On Tue, Apr 28, 2015 at 01:31:19PM +0200, Vincent Lefevre wrote:
> Package: libxml-libxml-perl
> Version: 2.0116+dfsg-2
> Severity: grave
> Justification: renders package unusable
> 
> I get the following warning, which makes one of my scripts fail:
> 
> Warning: XML::LibXML compiled against libxml2 20902, but runtime libxml2 is older 20901
> 
> It has not been compiled correctly!
> 
> Or a missing dependency?

I disagree somehow on the severity, since this is just a warning, when
libxml-libxml-perl uses an older libxml2 runtime than XML::LibXML was
compiled against (which looks correct as you seem to have
2.9.1+dfsg1-3 installed, whereas the recent upload was build against
the version in unstable).

But since the symbols file guards us already against incompatibilities
I think we should just patch away this test in the Debian shipped
module.

(the other possibility would be to build in a mechanism in the package
build to have stricter dependencies only to the version it was built
against, but as long libxml2 is newer than 2.7.4 this is actually fine
in the current case).

Regards,
Salvatore



More information about the pkg-perl-maintainers mailing list