Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 587240

Summary: dev-python/cryptography requires sslv2 flag for openssl
Product: Gentoo Linux Reporter: Andrew <andruhamurz>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew 2016-06-27 13:27:44 UTC
dev-python/cryptography requires sslv2 flag for openssl, if this flag is not set, emerge fails with:


In file included from /var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/_openssl.c:520:0:
/usr/include/openssl/ssl.h:2349:19: note: previous declaration of ‘SSLv2_method’ was here
 const SSL_METHOD *SSLv2_method(void); /* SSLv2 */
                   ^
/var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/_openssl.c:2097:15: error: ‘SSLv2_client_method’ redeclared as different kind of symbol
 SSL_METHOD* (*SSLv2_client_method)(void) = NULL;
               ^
In file included from /var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/_openssl.c:520:0:
/usr/include/openssl/ssl.h:2351:19: note: previous declaration of ‘SSLv2_client_method’ was here
 const SSL_METHOD *SSLv2_client_method(void); /* SSLv2 */
                   ^
/var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/_openssl.c:2098:15: error: ‘SSLv2_server_method’ redeclared as different kind of symbol
 SSL_METHOD* (*SSLv2_server_method)(void) = NULL;
               ^
In file included from /var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/_openssl.c:520:0:
/usr/include/openssl/ssl.h:2350:19: note: previous declaration of ‘SSLv2_server_method’ was here
 const SSL_METHOD *SSLv2_server_method(void); /* SSLv2 */
                   ^
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1



How to reproduce:
emerge openssl with "-sslv2" and try to emerge dev-python/cryptography
Comment 1 Coacher 2016-06-27 13:58:10 UTC

*** This bug has been marked as a duplicate of bug 584142 ***
Comment 2 Andrew 2016-06-27 14:15:40 UTC
It is fixed  for amd64, because 1.3.1 is stable on amd64, but for x86 latest stable is 1.1.2 and it has a bug (not compiling with "openssl -sslv2").

Guess ebuild should ask for use changes.
Comment 3 Coacher 2016-06-27 16:09:19 UTC
(In reply to Andrew from comment #2)
> It is fixed  for amd64, because 1.3.1 is stable on amd64, but for x86 latest
> stable is 1.1.2 and it has a bug (not compiling with "openssl -sslv2").
Then please wait patiently while it's being stabilized on x86.
Track bug #583884 for more info.

Developers already aware of this problem, the bug is fixed in a newer version that is already being stabilized. There's no need for another duplicate bug report.

*** This bug has been marked as a duplicate of bug 584142 ***