In order to emerge net-dns/avahi (AFAICT any version, but the one I tested was 0.6.1) you must already have emerged dev-python/pygtk as avahi's configuration step will fail without it, but it does not appear to be automatically pulled in; my USE flags for this package are: -dbus -doc +gdbm +gtk +howl-compat -mdnsresponder-compat -mono +python -qt Looking at the ebuild, this is SUPPOSED to work right. -:sigma.SB
Works for me... # USE=gtk emerge -pv avahi These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-libs/fontconfig-2.2.3 732 kB [ebuild N ] x11-apps/ttmkfdir-3.0.9-r3 19 kB [ebuild N ] x11-base/xorg-x11-6.8.2-r6 -3dfx +3dnow -bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers -ipv6 -minimal +mmx +nls -nocxx -opengl +pam -sdk +sse -static -truetype-fonts -type1-fonts (-uclibc) -xprint -xv 45,134 kB [ebuild N ] sys-apps/utempter-0.5.5.6 20 kB [ebuild N ] x11-terms/xterm-204 -Xaw3d -toolbar +truetype +unicode 698 kB [ebuild N ] virtual/x11-6.8 0 kB [ebuild N ] x11-libs/pango-1.8.1-r1 -debug -doc -static 973 kB [ebuild N ] dev-util/intltool-0.34.1 127 kB [ebuild N ] x11-misc/shared-mime-info-0.16 735 kB [ebuild N ] dev-libs/atk-1.10.1 -debug -doc -static 480 kB [ebuild N ] x11-libs/gtk+-2.6.10-r1 -doc +jpeg +tiff 11,255 kB [ebuild N ] dev-python/numeric-23.7 708 kB [ebuild N ] dev-python/pygtk-2.6.1 -doc -gnome -opengl 712 kB <--- !!! [ebuild N ] gnome-base/libglade-2.5.1 -debug -doc 310 kB [ebuild N ] dev-libs/libdaemon-0.8 -doc 323 kB [ebuild N ] net-dns/avahi-0.6.1 -dbus -doc +gdbm +gtk -howl-compat -mdnsresponder-compat -mono +python -qt 830 kB Reopen with emerge --info and emerge -ptv avahi output.
Created attachment 93535 [details] emerge --info
Created attachment 93536 [details] emerge --eptv avahi avahi depends on pygtk
Created attachment 93537 [details] config.log for failed emerge avahi-0.6.10 portage asked me to attach
this fails on a fresh gentoo-2006.0 installation avahi-0.6.10 and avahi-0.6.12 both failed detecting pygtk, but not depending it maybe more than "unset DISPLAY" is needed in ebuild?
I updated to pycairo-1.2.0 and now avahi works with pygtk. I ran cairo-1.2.2 and pycairo-1.0.x when avahi failed. I think the mismatch caused pygtk to fail config since pycairo's a dependency.