Bug#783610: Processed: [bts-link] source package libxml-libxml-perl

Vincent Lefevre vincent at vinc17.net
Tue May 19 11:46:11 UTC 2015


Control: tags -1 - wontfix
Control: tags -1 + patch

On 2015-05-07 16:51:34 +0000, Debian Bug Tracking System wrote:
> Processing commands for control at bugs.debian.org:
> 
> > #
> > # bts-link upstream status pull for source package libxml-libxml-perl
> > # see http://lists.debian.org/debian-devel-announce/2006/05/msg00001.html
> > #
> > user bts-link-upstream at lists.alioth.debian.org
> Setting user to bts-link-upstream at lists.alioth.debian.org (was bts-link-devel at lists.alioth.debian.org).
> > # remote status report for #783610 (http://bugs.debian.org/783610)
> > # Bug title: Warning: XML::LibXML compiled against libxml2 20902, but runtime libxml2 is older 20901
> > #  * http://rt.cpan.org/Public/Bug/Display.html?id=104156
> > #  * remote status changed: (?) -> rejected
> > #  * upstream said bug is wontfix
[...]

Upstream rejected the bug because it assumed that Debian's weak
dependency was wrong. So, either Debian follows upstream and uses
a stronger dependency, or Debian should ignore what upstream is
saying here. In any case, if there is a version test in XML::LibXML,
it must be consistent with the dependency constraint from the binary
package.

Anyway, while tests like that may be useful in environments without
checks on symbol versioning, such a test is useless when the packages
are provided by a binary distribution with versioned dependencies,
like in Debian. I've attached a patch that disables the test entirely.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
-------------- next part --------------
--- a/LibXML.pm	2015-05-19 12:20:11.000000000 +0200
+++ b/LibXML.pm	2015-05-19 12:22:54.908174164 +0200
@@ -217,17 +217,6 @@
 #   our $__PROXY_NODE_REGISTRY = XML::LibXML::HashTable->new();
 # }
 
-#-------------------------------------------------------------------------#
-# test exact version (up to patch-level)                                  #
-#-------------------------------------------------------------------------#
-{
-  my ($runtime_version) = LIBXML_RUNTIME_VERSION() =~ /^(\d+)/;
-  if ( $runtime_version < LIBXML_VERSION ) {
-    warn "Warning: XML::LibXML compiled against libxml2 ".LIBXML_VERSION.
-      ", but runtime libxml2 is older $runtime_version\n";
-  }
-}
-
 
 #-------------------------------------------------------------------------#
 # parser flags                                                            #


More information about the pkg-perl-maintainers mailing list