| Summary: | cryptography-1.1.2 won't compile due to redeclarations | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Paul McDermott <pmcdermott98> |
| Component: | Current packages | Assignee: | 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: | --- | |
*** This bug has been marked as a duplicate of bug 584142 *** |
I currently have dev-python/cryptography-1.1.2 installed. But a @world update is forcing it to be recompiled, which is failing due to redefinitions of declarations from /usr/include/opensll/ssl.h which appears to be from dev-libs/openssl-1.0.2h-r2. creating /var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7 i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fPIC -I/usr/include/python2.7 -c /var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/_openssl.c -o /var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/_openssl.o /var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/_openssl.c:2096:15: error: ‘SSLv2_method’ redeclared as different kind of symbol SSL_METHOD* (*SSLv2_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: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 * ERROR: dev-python/cryptography-1.1.2::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 133: Called src_compile * environment, line 3630: Called distutils-r1_src_compile * environment, line 925: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 325: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3165: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2274: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2272: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 592: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 916: Called distutils-r1_python_compile * environment, line 791: Called esetup.py 'build' * environment, line 1418: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/cryptography-1.1.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/cryptography-1.1.2::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/cryptography-1.1.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/cryptography-1.1.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2' * S: '/var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2' >>> Failed to emerge dev-python/cryptography-1.1.2, Log file: >>> '/var/tmp/portage/dev-python/cryptography-1.1.2/temp/build.log'