Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584142 - dev-python/cryptography-1.1.2 fails to build: ‘SSLv2_method’ redeclared as different kind of symbol
Summary: dev-python/cryptography-1.1.2 fails to build: ‘SSLv2_method’ redeclared as di...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 586134 587240 587734 588984 (view as bug list)
Depends on: 583884
Blocks:
  Show dependency tree
 
Reported: 2016-05-26 05:50 UTC by Quentin Minster
Modified: 2018-07-04 18:01 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-python/cryptography-1.1.2 build error messages (cryptography-1.1.2-build-failure.log,3.94 KB, text/x-log)
2016-05-26 05:50 UTC, Quentin Minster
Details
emerge --info '=dev-python/cryptography-1.1.2::gentoo' (emerge-info-cryptography-1.1.2.log,7.02 KB, text/x-log)
2016-05-26 05:51 UTC, Quentin Minster
Details
build.log (build.log,22.02 KB, text/x-log)
2016-06-08 21:39 UTC, Quentin Minster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Quentin Minster 2016-05-26 05:50:49 UTC
Created attachment 435418 [details]
dev-python/cryptography-1.1.2 build error messages

dev-python/cryptography-1.1.2 fails to build during upgrade, with error messages resembling:

  error: ‘SSLv2_method’ redeclared as different kind of symbol

See attached logs for more details.

This was after an upgrade to dev-libs/openssl-1.0.2h-r1[-sslv2,-sslv3].
Rebuilding dev-libs/openssl-1.0.2h-r1[sslv2,sslv3] fixes the build failure for dev-python/cryptography.
Comment 1 Quentin Minster 2016-05-26 05:51:40 UTC
Created attachment 435420 [details]
emerge --info '=dev-python/cryptography-1.1.2::gentoo'
Comment 2 Coacher 2016-05-28 22:39:04 UTC
Please attach a complete build.log
Comment 3 Quentin Minster 2016-06-08 21:39:02 UTC
Created attachment 436916 [details]
build.log

Here is the full build.log. Sorry for the delay.
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2016-06-09 11:25:27 UTC
Is there some reason you need 1.1.2? 1.3.1 should be stable on amd64, and would likely do better here.
Comment 5 Quentin Minster 2016-06-09 22:34:02 UTC
No reason really, 1.3.1 just wasn't stable at the time this issue popped up.
I just checked and it builds ok, thanks for the suggestion.

The problem still exists with 1.1.2 though.
Comment 6 SpanKY gentoo-dev 2016-06-21 02:19:23 UTC
*** Bug 586134 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2016-06-21 02:20:03 UTC
1.3.x is being stabilized in bug 583884
Comment 8 Coacher 2016-06-27 13:58:10 UTC
*** Bug 587240 has been marked as a duplicate of this bug. ***
Comment 9 Coacher 2016-06-27 16:09:19 UTC
*** Bug 587240 has been marked as a duplicate of this bug. ***
Comment 10 Jabby 2016-06-29 20:15:47 UTC
Why this bug has been closed ? Issue appears to be still there on x86.
Comment 11 Mike Gilbert gentoo-dev 2016-06-29 20:35:08 UTC
(In reply to Jabby from comment #10)
> Why this bug has been closed ? Issue appears to be still there on x86.

See comment 7.
Comment 12 Ervin Peters 2016-07-07 07:14:15 UTC
(In reply to Mike Gilbert from comment #11)
> (In reply to Jabby from comment #10)
> > Why this bug has been closed ? Issue appears to be still there on x86.
> 
> See comment 7.

1.3.2 still not stable on x86.
Comment 13 Coacher 2016-07-07 11:10:51 UTC
*** Bug 587734 has been marked as a duplicate of this bug. ***
Comment 14 Mike Gilbert gentoo-dev 2016-07-08 01:35:38 UTC
(In reply to Ervin Peters from comment #12)
> 1.3.2 still not stable on x86.

Whining about it on the wrong bug won't make it happen any faster.
Comment 15 Luke-Jr 2016-07-16 04:36:49 UTC
1.1.2 is still broken. This is the right bug, and should be reopened since it isn't fixed.
Comment 16 Coacher 2016-07-17 13:18:14 UTC
*** Bug 588984 has been marked as a duplicate of this bug. ***
Comment 17 Paul McDermott 2016-07-17 13:47:04 UTC
I agree this is still an issue on x86. Rebuilding dev-libs/openssl-1.0.2h-r2 as suggested in the original bug report does not work for me. crypotgraphy-1.3.1 is still masked on x86. Marking this bug as resolved means that it does not show up ion search when people are looking for live issues with cryptography package.
Comment 18 Paul McDermott 2016-07-18 08:33:30 UTC
Unmasking crypotgraphy-1.3.1 and building this worked for me as a work-around.
Comment 19 Rolf Eike Beer archtester 2018-07-04 18:01:56 UTC
Both 1.1.2 and 1.3.1 are no longer in tree, so this is done.