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

Jakub Wilk jwilk at debian.org
Mon Jul 30 21:39:30 UTC 2012


* 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.

>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

-- 
Jakub Wilk



More information about the pkg-perl-maintainers mailing list