[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#803946: ImportError: /usr/lib/python2.7/dist-packages/M2Crypto/__m2crypto.so: undefined symbol: SSLv3_method



Control: severity -1 serious

On Tue, 3 Nov 2015 15:42:39 +0100 Simon Ruderich <simon@ruderich.org> wrote:
> Package: python-m2crypto
> Version: 0.21.1-4+b1
> Severity: normal
> 
> Hello,
> 
> Since the binary update, salt fails with the following error when
> importing M2Crypto:
> 
>     salt-master[12449]: Traceback (most recent call last):
>     salt-master[12449]: File "/usr/bin/salt-master", line 10, in <module>
>     salt-master[12449]: salt_master()
>     salt-master[12449]: File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 50, in salt_master
>     salt-master[12449]: master.start()
>     salt-master[12449]: File "/usr/lib/python2.7/dist-packages/salt/cli/daemons.py", line 149, in start
>     salt-master[12449]: self.prepare()
>     salt-master[12449]: File "/usr/lib/python2.7/dist-packages/salt/cli/daemons.py", line 129, in prepare
>     salt-master[12449]: import salt.master
>     salt-master[12449]: File "/usr/lib/python2.7/dist-packages/salt/master.py", line 26, in <module>
>     salt-master[12449]: from M2Crypto import RSA
>     salt-master[12449]: File "/usr/lib/python2.7/dist-packages/M2Crypto/__init__.py", line 22, in <module>
>     salt-master[12449]: import __m2crypto
>     salt-master[12449]: ImportError: /usr/lib/python2.7/dist-packages/M2Crypto/__m2crypto.so: undefined symbol: SSLv3_method

This clearly is RC, bumping severity.

>From the build logs:

SWIG/_m2crypto_wrap.c: In function '_wrap_sslv3_method':
SWIG/_m2crypto_wrap.c:15934:26: warning: implicit declaration of function
'SSLv3_method' [-Wimplicit-function-declaration]
   result = (SSL_METHOD *)SSLv3_method();
                          ^

See
https://buildd.debian.org/status/fetch.php?pkg=m2crypto&arch=amd64&ver=0.21.1-4%2Bb1&stamp=1446510479

That should have failed to build. Note that openssl has dropped SSLv3 support.

Cheers,
Emilio


Reply to: