[opensuse-buildservice] osc doesn't work on new installation: M2Crypto is needed to access https://api.opensuse.org in a secure way

Dear all! On a freshly installed LEAP PC I'm seeing this issue invoking osc commands:
osc up /usr/lib64/python2.7/site-packages/M2Crypto/__m2crypto.so: undefined symbol: SSLv2_method M2Crypto is needed to access https://api.opensuse.org in a secure way. Please install python-m2crypto.
Of course python-m2crypto is already installed. Very similar issues can be found at https://lists.opensuse.org/opensuse-buildservice/2015-09/msg00015.html https://lists.opensuse.org/opensuse-buildservice/2015-09/msg00014.html - unfortunately there is no solution. As response to those messages, here you find the items asked for:
type -p python /usr/bin/python
rpm --verify python-base # no output
rpm -V python-M2Crypto # no output
python -c "from httplib import HTTPSConnection" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: cannot import name HTTPSConnection
-- Johannes Weberhofer Weberhofer GmbH, Austria, Vienna -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

On Tue, Apr 12, 2016 at 09:13:28AM +0200, Johannes Weberhofer wrote:
Dear all!
On a freshly installed LEAP PC I'm seeing this issue invoking osc commands:
osc up /usr/lib64/python2.7/site-packages/M2Crypto/__m2crypto.so: undefined symbol: SSLv2_method M2Crypto is needed to access https://api.opensuse.org in a secure way. Please install python-m2crypto.
Of course python-m2crypto is already installed. Very similar issues can be found at https://lists.opensuse.org/opensuse-buildservice/2015-09/msg00015.html https://lists.opensuse.org/opensuse-buildservice/2015-09/msg00014.html - unfortunately there is no solution. As response to those messages, here you find the items asked for:
type -p python /usr/bin/python
rpm --verify python-base # no output
rpm -V python-M2Crypto # no output
python -c "from httplib import HTTPSConnection" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: cannot import name HTTPSConnection
We have an update running for this, openSUSE:Maintenance:4951, so it will be fixed soon(tm). Ciao, Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Am 12.04.2016 um 09:21 schrieb Marcus Meissner:
On Tue, Apr 12, 2016 at 09:13:28AM +0200, Johannes Weberhofer wrote:
Dear all!
On a freshly installed LEAP PC I'm seeing this issue invoking osc commands:
osc up /usr/lib64/python2.7/site-packages/M2Crypto/__m2crypto.so: undefined symbol: SSLv2_method M2Crypto is needed to access https://api.opensuse.org in a secure way. Please install python-m2crypto.
Of course python-m2crypto is already installed. Very similar issues can be found at https://lists.opensuse.org/opensuse-buildservice/2015-09/msg00015.html https://lists.opensuse.org/opensuse-buildservice/2015-09/msg00014.html - unfortunately there is no solution. As response to those messages, here you find the items asked for:
type -p python /usr/bin/python
rpm --verify python-base # no output
rpm -V python-M2Crypto # no output
python -c "from httplib import HTTPSConnection" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: cannot import name HTTPSConnection
We have an update running for this, openSUSE:Maintenance:4951, so it will be fixed soon(tm).
Ciao, Marcus
Dear Markus et al! This issue is still present on my system. IMHO the problem resides in the python libraries itself. I can not even import the ssl module:
python -c "import ssl" Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python2.7/ssl.py", line 97, in <module> import _ssl # if we can't import it, let the error propagate ImportError: /usr/lib64/python2.7/lib-dynload/_ssl.so: undefined symbol: SSLv2_method
Unfortunately I'm not able to solve that issue here. Having a look at the pyhon in openSUSE:Factory, I have seen that _ssl.so had completely been removed from the spec file with the update to 2.7.12. -- Johannes Weberhofer Weberhofer GmbH, Austria, Vienna -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

On 2016-07-18 08:02:56 +0200, Johannes Weberhofer wrote:
Am 12.04.2016 um 09:21 schrieb Marcus Meissner:
On Tue, Apr 12, 2016 at 09:13:28AM +0200, Johannes Weberhofer wrote:
Dear all!
On a freshly installed LEAP PC I'm seeing this issue invoking osc commands:
osc up /usr/lib64/python2.7/site-packages/M2Crypto/__m2crypto.so: undefined symbol: SSLv2_method M2Crypto is needed to access https://api.opensuse.org in a secure way. Please install python-m2crypto.
Of course python-m2crypto is already installed. Very similar issues can be found at https://lists.opensuse.org/opensuse-buildservice/2015-09/msg00015.html https://lists.opensuse.org/opensuse-buildservice/2015-09/msg00014.html - unfortunately there is no solution. As response to those messages, here you find the items asked for:
type -p python /usr/bin/python
rpm --verify python-base # no output
rpm -V python-M2Crypto # no output
python -c "from httplib import HTTPSConnection" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: cannot import name HTTPSConnection
We have an update running for this, openSUSE:Maintenance:4951, so it will be fixed soon(tm).
Ciao, Marcus
Dear Markus et al!
This issue is still present on my system. IMHO the problem resides in the python libraries itself. I can not even import the ssl module:
python -c "import ssl" Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python2.7/ssl.py", line 97, in <module> import _ssl # if we can't import it, let the error propagate ImportError: /usr/lib64/python2.7/lib-dynload/_ssl.so: undefined symbol: SSLv2_method
This looks like your installed python version doesn't fit to your installed libopenssl1_0_0 (or the other way around). What's the output of rpm -q python libopenssl1_0_0 What distribution are you running (TW, Leap...)?
Unfortunately I'm not able to solve that issue here. Having a look at the pyhon in openSUSE:Factory, I have seen that _ssl.so had completely been removed from the spec file with the update to 2.7.12.
Huh? r119 ships the _ssl.so Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Am 18.07.2016 um 16:44 schrieb Marcus Hüwe:
Dear Markus et al!
This issue is still present on my system. IMHO the problem resides in the python libraries itself. I can not even import the ssl module:
python -c "import ssl" Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python2.7/ssl.py", line 97, in <module> import _ssl # if we can't import it, let the error propagate ImportError: /usr/lib64/python2.7/lib-dynload/_ssl.so: undefined symbol: SSLv2_method
This looks like your installed python version doesn't fit to your installed libopenssl1_0_0 (or the other way around). What's the output of rpm -q python libopenssl1_0_0
What distribution are you running (TW, Leap...)?
Unfortunately I'm not able to solve that issue here. Having a look at the pyhon in openSUSE:Factory, I have seen that _ssl.so had completely been removed from the spec file with the update to 2.7.12.
Huh? r119 ships the _ssl.so
Marcus, you are great! You are right, I had a libopenssl1_0_0 library for another openSUSE version (13.2) installed. When I remember right, I have had a wrong update repo (to 13.2) installed some month ago. As 13.2's libopenssl library is newer than Leap's (1.0.1k vs 1.0.1i), it did update to the other version. Don't know, why all the other things on the PC are running properly :-) Thank you for your support, Johannes -- Johannes Weberhofer Weberhofer GmbH, Austria, Vienna -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

On Montag, 18. Juli 2016 18:58:37 Johannes Weberhofer wrote:
Am 18.07.2016 um 16:44 schrieb Marcus Hüwe:
Dear Markus et al!
This issue is still present on my system. IMHO the problem resides in the python libraries itself. I can not even import the ssl module:
python -c "import ssl"
Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python2.7/ssl.py", line 97, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: /usr/lib64/python2.7/lib-dynload/_ssl.so: undefined symbol: SSLv2_method> This looks like your installed python version doesn't fit to your installed libopenssl1_0_0 (or the other way around). What's the output of rpm -q python libopenssl1_0_0
What distribution are you running (TW, Leap...)?
Unfortunately I'm not able to solve that issue here. Having a look at the pyhon in openSUSE:Factory, I have seen that _ssl.so had completely been removed from the spec file with the update to 2.7.12.> Huh? r119 ships the _ssl.so
Marcus, you are great! You are right, I had a libopenssl1_0_0 library for another openSUSE version (13.2) installed. When I remember right, I have had a wrong update repo (to 13.2) installed some month ago. As 13.2's libopenssl library is newer than Leap's (1.0.1k vs 1.0.1i), it did update to the other version. Don't know, why all the other things on the PC are running properly :-)
Things, that zypper up will not want to update are suspicious (but usual for complex repo setups). A "careful" zypper dup might help you in this respect, since that would have downgraded that package after the repo fix. zypper dup is dangerous in the wrong hands, but a real live saver for those, that know, what they're doing... Pete -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (4)
-
Hans-Peter Jansen
-
Johannes Weberhofer
-
Marcus Hüwe
-
Marcus Meissner