Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116663 - net-dns/avahi depends on dev-python/pygtk but doesn't.
Summary: net-dns/avahi depends on dev-python/pygtk but doesn't.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-24 22:01 UTC by Solra Bizna
Modified: 2006-08-24 14:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,2.65 KB, text/plain)
2006-08-05 12:54 UTC, brad walker
Details
emerge --eptv avahi (emerge--eptv-avahi.txt,18.64 KB, text/plain)
2006-08-05 12:55 UTC, brad walker
Details
config.log for failed emerge avahi-0.6.10 (config.log,134.60 KB, text/plain)
2006-08-05 12:57 UTC, brad walker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Solra Bizna 2005-12-24 22:01:35 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-25 03:29:06 UTC
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. 
Comment 2 brad walker 2006-08-05 12:54:32 UTC
Created attachment 93535 [details]
emerge --info
Comment 3 brad walker 2006-08-05 12:55:25 UTC
Created attachment 93536 [details]
emerge --eptv avahi

avahi depends on pygtk
Comment 4 brad walker 2006-08-05 12:57:01 UTC
Created attachment 93537 [details]
config.log for failed emerge avahi-0.6.10

portage asked me to attach
Comment 5 brad walker 2006-08-05 13:02:32 UTC
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?
Comment 6 brad walker 2006-08-24 14:59:49 UTC
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.