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

Bug 150179

Summary: dev-python/xmpppy should DEPEND on dev-python/dnspython or be patched
Product: Gentoo Linux Reporter: Dustin J. Mitchell <dustin>
Component: New packagesAssignee: Stefan Briesenick (RETIRED) <sbriesen>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Highest    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 106985    
Bug Blocks:    

Description Dustin J. Mitchell 2006-10-05 10:04:45 UTC
If dnspython is not installed, xmpppy prints "Could not load one of the supported DNS libraries (dnspython or pydns). SRV records will not be queried and you may need to set custom hostname/port for some servers to be accessible." to stderr on import.

Solutions:
 * DEPEND on dev-python/dnspython (even though xmpppy will work without it)
 * patch xmpppy to not print the above message

Thoughts?
Comment 1 Stefan Briesenick (RETIRED) gentoo-dev 2006-10-05 15:05:56 UTC
I'll take the dependency ;-)

but it seems, that I also have to add this to portage to make it complete:
http://pydns.sourceforge.net/

*g*

stay tuned...
Comment 2 Dustin J. Mitchell 2006-10-05 20:41:57 UTC
Does it need both?  The error message, and a look at the import/try/except code that produces it, suggests that just dnspython will do the trick.
Comment 3 Stefan Briesenick (RETIRED) gentoo-dev 2006-10-06 00:57:00 UTC
no, it needs only one of them. But it's no problem to depend on "either or".

so, quick fix: depend only on dnspython
best fix: put pydns in portage also and depend on "dnspython || pydns".

it's no problem... ;-)
Comment 4 Dustin J. Mitchell 2006-10-06 09:03:59 UTC
New pydns ebuild is in #150296
Comment 5 Stefan Briesenick (RETIRED) gentoo-dev 2006-10-06 15:11:06 UTC
already comitted pydns.
Comment 6 Stefan Briesenick (RETIRED) gentoo-dev 2006-10-06 15:14:26 UTC
in CVS.