Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216835 - net-dns/Avahi-0.6.20-r2: requires gtk and dbus useflags for python useflag to be effective
Summary: net-dns/Avahi-0.6.20-r2: requires gtk and dbus useflags for python useflag to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-08 07:51 UTC by Vietor Davis
Modified: 2008-04-11 19:17 UTC (History)
0 users

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 Vietor Davis 2008-04-08 07:51:02 UTC
Emerge of avahi with the "python" use flag produces an 'avahi' package in the python site-packages directory, but it is lacking critical files which are required for it to function.

This is an upstream problem as their python support is very sketchy. Problem remains in their current head at the time of this writing.

Bug is being reported so that other Gentoo users will be able to use avahi from python if they do not also happen to have the gtk use flag enabled.

Reproducible: Always

Steps to Reproduce:
1. Emerge avahi with dbus and python use flags, but not the gtk use flag
2. Attempt to use the avahi python module


Actual Results:  
Execution of Python program will fail reporting that there is no avahi module


Expected Results:  
Avahi should be accessible from python using dbus if only the python and dbus use flags are enabled.



Suggest Avahi ebuild emit warning that python support is non-functional if python use flag is enabled but either of the dbus or gtk use flags are missing.

Cause of the problem can be seen here:
http://avahi.org/browser/trunk/avahi-python/avahi/Makefile.am?rev=1540
around lines 55-58
Comment 1 Sven Wegener gentoo-dev 2008-04-11 19:17:58 UTC
The ebuild now checks for these flags.