Bug#622917: checkgmail: Missing dependency on libio-socket-ssl-perl

Salvatore Bonaccorso carnil at debian.org
Tue Jul 31 06:38:47 UTC 2012


Hi Jakub

Many thanks for reviewing this, is really apreciated!

On Mon, Jul 30, 2012 at 11:39:30PM +0200, Jakub Wilk wrote:
> * Salvatore Bonaccorso <carnil at debian.org>, 2012-07-30, 16:04:
> >>Since libio-socket-ssl-perl depends on libcrypt-ssleay-perl, I'm
> >>not going to introduce a circular dependency now. But we should
> >>find out what's going on there ...
> 
> Given that both libio-socket-ssl-perl and libcrypt-ssleay-perl
> provide independent SSL socket implementations, dependency in either
> way sounds like a bug to me.
> 
> Also, I'm afraid that installing libio-socket-ssl-perl fixes
> checkgmail's problem only because LWP prefers IO::Socket::SSL over
> Net::SSL (i.e.: libcrypt-ssleay-perl is not used at all).
> 
> To check this, export PERL_NET_HTTPS_SSL_SOCKET_CLASS=Net::SSL and
> notice that the problem reappears.

Hmm, I think you are right here. I don't know the exact history behind
the package liblwp-protocol-https-perl in the Debian Perl group, but
we have explicitly the Depends on:

libio-socket-ssl-perl (>= 1.54), libnet-http-perl

which forces for Net::HTTPS the preference on IO::Socket::SSL, this is
true.

> >libio-socket-ssl-perl depends on libnet-ssleay-perl AFAICS, so
> >adding a dependency for libcrypt-ssleay-perl on
> >liblwp-protocol-https-perl should be fine.
> 
> That still introduces a circular dependency:
> 
> libcrypt-ssleay-perl -> liblwp-protocol-https-perl ->
> libio-socket-ssl-perl -> libnet-ssleay-perl

Could you help me here? I don't get it yet. libcrypt-ssleay-perl and
libnet-ssleay-perl are from two different source packages.

Thanks and regards,
Salvatore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20120731/64980997/attachment.pgp>


More information about the pkg-perl-maintainers mailing list