Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 576154 - dev-lang/python: ssl module is broken after updating to dev-libs/openssl-1.0.2g
Summary: dev-lang/python: ssl module is broken after updating to dev-libs/openssl-1.0.2g
Status: RESOLVED DUPLICATE of bug 576128
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-01 19:18 UTC by Nikolaj Šujskij
Modified: 2016-03-01 21:19 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaj Šujskij 2016-03-01 19:18:38 UTC
After updating to dev-libs/openssl-1.0.2g I experience this:

 % python3 -c 'import ssl' 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python3.5/ssl.py", line 98, in <module>
    import _ssl             # if we can't import it, let the error propagate
ImportError: /usr/lib64/python3.5/lib-dynload/_ssl.cpython-35m-x86_64-linux-gnu.so: undefined symbol: SSLv2_method

This is true for ~amd64 versions of Python 2.7, 3.4 and 3.5. Simple rebuild solves the issue, but it's caught by neither `@preserved-rebuild` nor `revdep-rebuild nor autorebuilding emerge machinery.
Comment 1 Toralf Förster gentoo-dev 2016-03-01 19:44:27 UTC
got 12 reports at my tinderbox related to this issue within 2 hours.
Comment 2 Ryoto Yayame 2016-03-01 21:06:06 UTC
(In reply to Nikolaj Sjujskij from comment #0)
> After updating to dev-libs/openssl-1.0.2g I experience this:

Latest app-portage/layman-2.3.0-r1 and stable net-p2p/deluge-1.3.12 were crashing after upgrading openssl.


Layman with:

SSLError was:Can't connect to HTTPS URL because the SSL module is not available.


Deluge with:

ImportError: /usr/lib64/python2.7/lib-dynload/_ssl.so: undefined symbol: SSLv2_method


Rebuilding my versions of Python solved this. Thanks!
Comment 3 Matthias Maier gentoo-dev 2016-03-01 21:19:02 UTC
Let's unify those bug reports.

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