Public bug reported:

libimage-info-perl contains the following dependency declaration:

Depends: ... libxml-libxml-perl | libxml-simple-perl

If libxml-libxml-perl is installed at time of autopkgtest, everything is
fine.

If libxml-libxml-perl is not installed, then:
414s     # Can't locate XML/LibXML/Reader.pm in @INC (you may need to install 
the XML::LibXML::Reader module) (@INC contains: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 
/usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 
/usr/share/perl/5.36 /usr/local/lib/site_perl) at 
/usr/share/perl5/Image/Info/SVG/XMLLibXMLReader.pm line 21.

To address this, the dependency list should change to say libxml AND
simple.  The justification for that is based on code inspection of
l/I/I/S/XMLLibXMLReader.pm, which says:

use XML::LibXML::Reader;
...
require XML::Simple;

The package TODO also mentions the XML::Simple dependency, so if that
reference were dropped then the depends list could likely be reduced to
libxml-libxml-perl excluslively.

** Affects: libimage-info-perl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libimage-info-perl in Ubuntu.
https://bugs.launchpad.net/bugs/2051970

Title:
  ADT failure if libxml-simple-perl chosen instead of libxml-libxml-perl

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libimage-info-perl/+bug/2051970/+subscriptions


_______________________________________________
Mailing list: https://launchpad.net/~pkg-perl-maintainers
Post to     : pkg-perl-maintainers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~pkg-perl-maintainers
More help   : https://help.launchpad.net/ListHelp

Reply via email to