Bug#627159: Not suggest but recommend libio-socket-inet6-perl, add libsocket6-perl

Dominic Hargreaves dom at earth.li
Wed May 18 11:08:39 UTC 2011


On Wed, May 18, 2011 at 11:54:02AM +0200, Thijs Kinkhorst wrote:
> When I installed 'sympa' I got the following error messages in my log:
> 
> [Mon May 16 17:06:13 2011] [warn] [client 137.56.126.19] mod_fcgid: stderr: Can't locate Socket6.pm in @INC (@INC contains: /usr/share/sympa/lib 
> /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 
> /usr/local/lib/site_perl .) at /usr/share/perl5/IO/Socket/SSL.pm line 73., referer:
> 
> After installing libsocket6-perl:
> 
> [Tue May 17 17:51:07 2011] [warn] [client 137.56.126.19] mod_fcgid: stderr: Can't locate IO/Socket/INET6.pm in @INC (@INC contains: 
> /usr/share/sympa/lib /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 
> /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/perl5/IO/Socket/SSL.pm line 75., referer:
> 
> Sympa recommends libio-socket-ssl-perl, so I got that automatically, however,
> I failed to get libio-socket-inet6-perl because libio-socket-ssl-perl only
> suggests that. There is no way to find out that you need to install these
> two packages when installing sympa and you can only get to this indirectly.
> Afterall, users hardly ever install libio-socket-ssl-perl directly, and only
> in that case will they see its Suggests.
> 
> It seems libsocket6-perl is missing altogether. Attached patch adds both
> as a recommends for libio-socket-ssl-perl. This means they will get the
> full functionality by default. I think that IPv6 is now at a point and/or
> will definately get to such a point in our next release that a
> default-supported policy makes sense. Recommends still allows you to remove
> it if you don't want it.

This is a similar case to
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615281>

Because there's no way for a package to say "I depend on foo
only if the system is configured with IPv6" I actually think this
should be a Depends rather than Recommends, if it breaks without just
because IPv6 is configured on the system.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)





More information about the pkg-perl-maintainers mailing list