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

Bug #2051970 reported by Dan Bungert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libimage-info-perl (Debian)
Fix Released
Unknown
libimage-info-perl (Ubuntu)
Fix Released
Undecided
Dan Bungert

Bug Description

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.

Dan Bungert (dbungert)
Changed in libimage-info-perl (Ubuntu):
assignee: nobody → Dan Bungert (dbungert)
status: New → Fix Committed
status: Fix Committed → In Progress
Dan Bungert (dbungert)
Changed in libimage-info-perl (Ubuntu):
status: In Progress → Fix Committed
Changed in libimage-info-perl (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libimage-info-perl - 1.44-1ubuntu1

---------------
libimage-info-perl (1.44-1ubuntu1) noble; urgency=medium

  * d/control: Declare a dependency on both libxml-libxml-perl and
    libxml-simple-perl, as both are referenced from
    l/I/I/S/XMLLibXMLReader.pm. (LP: #2051970)

 -- Dan Bungert <email address hidden> Thu, 01 Feb 2024 10:11:07 -0700

Changed in libimage-info-perl (Ubuntu):
status: Fix Committed → Fix Released
Changed in libimage-info-perl (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.