Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 333597

Summary: deluge-gtk fails at startup due to lack of sslv2
Product: Gentoo Linux Reporter: Tiago Batista <a19944>
Component: Current packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 333555    

Description Tiago Batista 2010-08-20 09:38:35 UTC
Just instaled a new ~x86. When starting deluge-1.3.0_rc1, I got:

$ deluge-gtk 
Traceback (most recent call last):
  File "/usr/bin/deluge-gtk", line 9, in <module>
    load_entry_point('deluge==1.3.0-rc1', 'console_scripts', 'deluge-gtk')()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 306, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2245, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1955, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.6/site-packages/deluge/ui/gtkui/__init__.py", line 1, in <module>
    from gtkui import start
  File "/usr/lib/python2.6/site-packages/deluge/ui/gtkui/gtkui.py", line 66, in <module>
    from deluge.ui.client import client
  File "/usr/lib/python2.6/site-packages/deluge/ui/client.py", line 37, in <module>
    from twisted.internet import reactor, ssl, defer
  File "/usr/lib/python2.6/site-packages/twisted/internet/ssl.py", line 46, in <module>
    from OpenSSL import SSL
  File "/usr/lib/python2.6/site-packages/OpenSSL/__init__.py", line 11, in <module>
    import rand, crypto, SSL, tsafe
ImportError: /usr/lib/python2.6/site-packages/OpenSSL/SSL.so: undefined symbol: SSLv2_method


I did not have the sslv2 flag for openssl. I expect that to be the problem.

I am currently experimenting with it, and will post the results

Reproducible: Always

Steps to Reproduce:
1.buid new system with minimal useflags (or just opensssl -sslv2 I expect)
2.run deluge-gtk
3.read traceback!

Actual Results:  
deluge-gtk crashes due to the lack of sslv2


Just finished emerging openssl +sslv2, and it solved the problem. Is it possible to add 'dev-libs/openssl sslv2' as a dependency for deluge?
Comment 1 SpanKY gentoo-dev 2010-08-20 16:55:20 UTC

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