Bug#1062527: libimage-info-perl: ADT failure if libxml-simple-perl chosen instead of libxml-libxml-perl
Dan Bungert
daniel.bungert at canonical.com
Thu Feb 1 18:33:31 GMT 2024
Package: libimage-info-perl
Severity: normal
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu noble
X-Debbugs-Cc: daniel.bungert at canonical.com
Dear Maintainer,
I believe the following dependency is not quite correct. Today it says:
Depends: ... libxml-libxml-perl | libxml-simple-perl
If autopkgtest is run and libxml-libxml-perl is not installed, you get:
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;
I'm not an expert on this package, or perl in general, so if you think the
handling of libxml-simpler-perl is not quite correct, please implement
otherwise. But the depend on libxml-libxml-perl seems quite firm. For Ubuntu
I have uploaded the `and` version of this dependency in place of the `or`.
This bug report was also filed in Ubuntu and can be found at
https://launchpad.net/bugs/2051970
-Dan
More information about the pkg-perl-maintainers
mailing list