avahi-discover fails to launch. When started from a terminal, I receive the following error: Traceback (most recent call last): File "/usr/bin/avahi-discover", line 288, in <module> main() File "/usr/bin/avahi-discover", line 284, in main main_window = Main_window() File "/usr/bin/avahi-discover", line 64, in __init__ self.ui.add_from_file(path) glib.GError: Failed to open file '/usr/share/avahi/interfaces/avahi-discover.ui': No such file or directory Reproducible: Always Steps to Reproduce: 1.launch avahi-discover from terminal or application icon 2.fails silently unless started from terminal 3. Expected Results: start the avahi-discover gui running unstable gnome from overlay
Created attachment 266573 [details] Output of emerge --info
Which version of net-dns/avahi is that?
(In reply to comment #2) > Which version of net-dns/avahi is that? net-dns/avahi-0.6.28-r300 or net-dns/avahi-0.6.29-r300
(In reply to comment #3) > (In reply to comment #2) > > Which version of net-dns/avahi is that? > > net-dns/avahi-0.6.28-r300 or net-dns/avahi-0.6.29-r300 Apparently this is from gnome-overlay ^^ But I am also getting the same issue with currentl avahi-0.6.30-r1 in gx86.
I got this too, the file /usr/share/avahi/interfaces/avahi-discover.ui is only installed if you enable the "utils" useflags. It should be installed by the same flag combination that gets avahi-discover installed. Please fix this. Also, fix 0.6.28-r1 which doesnt install/build with gtk useflag for about a month now. (I know, wrong bug, but possibly same team.)
still a problem with 0.6.30-r1. need to fix the "utils" flag; just "python" and "gtk" aren't enough to get the graphical browser.
The description of the local "utils" USE flag is "Install the avahi gtk+ utils avahi-discover, bssh, and bvnc", so I guess /usr/bin/avahi-discover and /usr/share/applications/avahi-discover.desktop ought not be installed unless this USE flag is set.
I can confirm this bug. I build avahi with the following USE flags: net-dns/avahi-0.6.30-r3 USE="(autoipd) dbus gdbm gtk (gtk3) howl-compat introspection ipv6 mdnsresponder-compat mono python qt4 -bookmarks -doc -test -utils" and again with the same USE flags but enabled utils flag. The following files are additions if (in this combination: e.g. enabled gtk, enabled bython) USE flag utils is (also) enabled +/usr/bin/avahi-discover-standalone +/usr/bin/bshell +/usr/bin/bssh +/usr/bin/bvnc +/usr/lib/debug/usr/bin/avahi-discover-standalone.debug +/usr/lib/debug/usr/bin/bssh.debug +/usr/share/applications/bssh.desktop +/usr/share/applications/bvnc.desktop +/usr/share/avahi/interfaces/avahi-discover.ui The python avahi-discover needs the avahi-discover.ui, so it does not make any sense to install the one without the other.
Created attachment 309761 [details, diff] Patch to disable install of /usr/bin/avahi-discover This patch disables installing /usr/bin/avahi-discover when the appropriate use flags are disabled. It basically disables the install of any relevant files in the same way avahi-discover-standalone is disabled. The man page/desktop file is also disabled.
(In reply to Matthew Dawson from comment #9) > Created attachment 309761 [details, diff] [details, diff] > Patch to disable install of /usr/bin/avahi-discover > > This patch disables installing /usr/bin/avahi-discover when the appropriate > use flags are disabled. It basically disables the install of any relevant > files in the same way avahi-discover-standalone is disabled. The man > page/desktop file is also disabled. This should be fixed in avahi-0.6.31-r2. Please test and reopen this bug if there's still a problem.