FS#48474 - [python2-m2crypto] undefined symbol SSLv2_method

Attached to Project: Community Packages
Opened by Thomas Haider (gothmog.todi) - Sunday, 06 March 2016, 13:40 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 08 March 2016, 14:12 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
When using /usr/bin/tlsa from package hash-slinger (in AUR) it fails:


Traceback (most recent call last):
File "/usr/bin/tlsa", line 34, in <module>
from M2Crypto import X509, SSL, BIO, m2
File "/usr/lib/python2.7/site-packages/M2Crypto/__init__.py", line 22, in <module>
import _m2crypto
File "/usr/lib/python2.7/site-packages/M2Crypto/_m2crypto.py", line 28, in <module>
__m2crypto = swig_import_helper()
File "/usr/lib/python2.7/site-packages/M2Crypto/_m2crypto.py", line 24, in swig_import_helper
_mod = imp.load_module('__m2crypto', fp, pathname, description)
ImportError: /usr/lib/python2.7/site-packages/M2Crypto/__m2crypto.so: undefined symbol: SSLv2_method

The cause seems to be that the new openssl package removed SSLv2 but python2-m2crypto still uses it somehow.

Additional info:
python2-m2crypto 0.22.5-2
openssl 1.0.2.g-3
hash-slinger 2.7-1
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 08 March 2016, 14:12 GMT
Reason for closing:  Fixed
Comment by Nail (nail) - Sunday, 06 March 2016, 16:42 GMT
The same problen with /usr/bin/acestream-engine from AUR!
-----------------------------------------------------------
Child process initialized
Acestream engine running.
2016-03-06 19:38:06,116|MainThread|acestream|error during startup
Traceback (most recent call last):
File "core.c", line 1146, in
File "core.c", line 48, in
File "core.c", line 61, in
File "/usr/lib/python2.7/site-packages/M2Crypto/__init__.py", line 22, in <module>
import _m2crypto
File "/usr/lib/python2.7/site-packages/M2Crypto/_m2crypto.py", line 28, in <module>
__m2crypto = swig_import_helper()
File "/usr/lib/python2.7/site-packages/M2Crypto/_m2crypto.py", line 24, in swig_import_helper
_mod = imp.load_module('__m2crypto', fp, pathname, description)
ImportError: /usr/lib/python2.7/site-packages/M2Crypto/__m2crypto.so: undefined symbol: SSLv2_method
Error authenticating to Acestream!
Media Player not running...

parent is shutting down, bye...

-----------------------------------------------------------
Comment by Sergej Pupykin (sergej) - Monday, 07 March 2016, 13:50 GMT
please try python2-m2crypto-0.23.0
Comment by Thomas Haider (gothmog.todi) - Monday, 07 March 2016, 16:31 GMT
no change for me with python2-m2crypto-0.23.0-1
Comment by Sergej Pupykin (sergej) - Monday, 07 March 2016, 17:58 GMT
tlsa --create --insecure fedoraproject.org

command from man page does something, but there is no "undefined symbol: SSLv2_method" error mentioned above
Comment by Thomas Haider (gothmog.todi) - Tuesday, 08 March 2016, 05:22 GMT
Which version of openssl do you have installed? After downgrading to 1.0.2.f-1 it works for me too. But with 1.0.2.g-3 the above error is still there.
Comment by Josip Ponjavic (metak) - Tuesday, 08 March 2016, 06:04 GMT
openssl in arch is also build without SSLv3 and that was also fixed in m2crypto.
https://gitlab.com/m2crypto/m2crypto/commit/d6b509030dfa12ee299f0de623fb78f2223e6579

Building m2crypto from git fixes this issue for me (osc-Command line client for the openSUSE Build Service).
Patching this stable version with that commit above also works.
Comment by Sergej Pupykin (sergej) - Tuesday, 08 March 2016, 07:25 GMT
please try python2-m2crypto-0.23.0-2
Comment by Thomas Haider (gothmog.todi) - Tuesday, 08 March 2016, 11:35 GMT
works for me with python2-m2crypto-0.23.0-2
Comment by Nail (nail) - Tuesday, 08 March 2016, 12:19 GMT
works for me TOO!
Thanks, Sergej
PS: спасибо за оперативность! )

Loading...