[Debian-ha-maintainers] Bug#898747: ldirectord lacks a dependency on libio-socket-inet6-perl

Florian Schlichting fsfs at debian.org
Tue May 15 17:00:46 BST 2018


Source: resource-agents
Version: 1:4.1.1-1
Severity: normal or higher
Control: affects -1 src:libnet-dns-perl
User: debian-ci at lists.debian.org
Usertags: needs-update


Hi all,

On Tue, May 15, 2018 at 04:05:08PM +0200, Paul Gevers wrote:
> >> May 15 04:18:39 resource-agents-1526357771 ldirectord[3095]: Can't locate IO/Socket/INET6.pm in @INC (you may need to install the IO::Socket::INET6 module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.2 /usr/local/share/perl/5.26.2 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/sbin/ldirectord line 3172.
> >> May 15 04:18:39 resource-agents-1526357771 ldirectord[3095]: BEGIN failed--compilation aborted at /usr/sbin/ldirectord line 3172.
> >>
> >> Does this have to do with the libnet-dns-perl migration?
> 
> It very much does. In the following commit, libnet-dns-perl dropped the
> dependency on libio-socket-inet6-perl:
> https://salsa.debian.org/perl-team/modules/packages/libnet-dns-perl/commit/63eba12c74ffaec59cd951a1aac491a54de5c637
> 
> Either the autopkgtest of resource-agents relied on
> libio-socket-inet6-perl being installed, or worse, resource-agents
> relies on it. Either this change should be reverted (looks like it was
> done very much on purpose, so I don't think so) or resource-agents must
> add it to the Depends list (in the case the whole package needs it) and
> this issue is RC

this. As can be seen from the error message, ldirectord uses it
unconditionally in line 3172, as part of sub check_nntp. The ldirectord
package lacks a dependency on libio-socket-inet6-perl.

Net::DNS switched from IO::Socket::INET6 to IO::Socket::IP, which is
shipped as part of Perl core since oldstable (Jessie), and deprecated
the use of IO::Socket::INET6, so I dropped the dependency.

Florian

(message re-sent to BTS with proper headers...)



More information about the Debian-ha-maintainers mailing list