Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339127 - net-voip/telepathy-butterfly-0.5.14 doesn't work with USE="-libproxy"
Summary: net-voip/telepathy-butterfly-0.5.14 doesn't work with USE="-libproxy"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-29 14:25 UTC by Priit Laes (IRC: plaes)
Modified: 2010-09-29 18:56 UTC (History)
1 user (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 Priit Laes (IRC: plaes) 2010-09-29 14:25:30 UTC
I'm getting following error when trying to connect to a msn account with empathy:
[snip]
request_connection_cb: RequestConnection failed: org.freedesktop.DBus.Python.ValueError: Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib64/python2.6/site-packages/telepathy/server/connmgr.py", line 69, in RequestConnection
    conn = self._protos[proto](self, parameters)
  File "/usr/lib64/python2.6/site-packages/butterfly/connection.py", line 105, in __init__
    self._fill_suggested_proxies()
  File "/usr/lib64/python2.6/site-packages/butterfly/connection.py", line 171, in _fill_suggested_proxies
    proxies = factory.getProxies('http://gateway.messenger.msn.com/')
  File "/usr/lib64/python2.6/site-packages/libproxy.py", line 105, in getProxies
    while array[i]:
ValueError: NULL pointer access
[/snip]
Comment 1 Pacho Ramos gentoo-dev 2010-09-29 17:00:15 UTC
Please report this to upstream since it shouldn't be a hard depend as can be read in NEWS file:
https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2010-09-29 17:13:43 UTC
Let's just make it a hard depend, libproxy will be a dep of glib 2.26 anyway.
Comment 3 Olivier Crete (RETIRED) gentoo-dev 2010-09-29 17:19:16 UTC
Btw, building with -libproxy doesn't disable proxy support, it just doesn't depend on libproxy, but if its installed, it will be used.
Comment 4 Olivier Crete (RETIRED) gentoo-dev 2010-09-29 17:19:32 UTC
Which version of libproxy do you have installed ?
Comment 5 Olivier Crete (RETIRED) gentoo-dev 2010-09-29 17:20:49 UTC
versions of libproxy <0.4.2 are known to be broken...
Comment 6 Pacho Ramos gentoo-dev 2010-09-29 17:22:25 UTC
I updated ebuild to require newer one, then, I guess he is using 0.4.2 (that is the only 0.4 version in portage... if anybody want to help on bug #333189 any help is highly appreciated :-))
Comment 7 Priit Laes (IRC: plaes) 2010-09-29 17:27:22 UTC
(In reply to comment #4)
> Which version of libproxy do you have installed ?

net-libs/libproxy-0.4.2
USE="gnome networkmanager perl python webkit xulrunner -debug -kde -vala"
Comment 8 Olivier Crete (RETIRED) gentoo-dev 2010-09-29 17:30:31 UTC
Btw, if you build with -libproxy but happen to have the python bindings of an older version, it will break. So we probably want !<libproxy-0.4.2
Comment 9 Priit Laes (IRC: plaes) 2010-09-29 17:49:24 UTC
(In reply to comment #8)
> Btw, if you build with -libproxy but happen to have the python bindings of an
> older version, it will break. So we probably want !<libproxy-0.4.2
> 

It also breaks with =libproxy-0.4.2 (with USE=-libproxy)
Comment 10 Pacho Ramos gentoo-dev 2010-09-29 18:56:21 UTC
+  29 Sep 2010; Pacho Ramos <pacho@gentoo.org>
+  telepathy-butterfly-0.5.14.ebuild, metadata.xml:
+  libproxy RDEPEND is not really optional as reported in bug #339127 by
+  Priit Laes.
+