Earlier bug #632030 says it doesn't, and I guess at some point the requirement was dropped, but when I ran the package's binary (wfica) I got the following: $ wfica launch.ica Gtk-Message: 12:15:12.002: Failed to load module "canberra-gtk-module" Gtk-Message: 12:15:13.366: Failed to load module "canberra-gtk-module" Enabling the "gtk" useflag (I already had "gtk3" enabled) for media-libs/libcanberra (I have version 0.30-r5) did the trick and the error went away.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=045488f09d792adcd03ddb91e391c94ae2c6d225 commit 045488f09d792adcd03ddb91e391c94ae2c6d225 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2022-04-12 03:10:52 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-04-12 03:15:44 +0000 media-libs/libcanberra: Change IUSE=+gtk to IUSE=gtk2 Bug: https://bugs.gentoo.org/769464 Bug: https://bugs.gentoo.org/834685 Closes: https://bugs.gentoo.org/811531 Signed-off-by: Matt Turner <mattst88@gentoo.org> .../{libcanberra-0.30-r5.ebuild => libcanberra-0.30-r6.ebuild} | 8 ++++---- media-libs/libcanberra/metadata.xml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-)
this really just is a warning, being a prebuilt binary it probes and supports serveral versions of libs or did you see an impact on usabilty/features?
i could repro that .. saw that message ... but it does not seem to hurt in any way
Yeah, I don't recall experiencing any adverse effects from not having canberra-gtk-module. But I also don't like warnings :) Perhaps this could be an ebuild message for icaclient? Suggest to the user that these "Gtk-Message" warnings may be addressed by enabling the appropriate useflag (now gtk2, since it was renamed), but that there is no known adverse effect if left as-is. BTW I am also now seeing a similar Gtk-Message for failing to load "appmenu-gtk-module", and that one can be addressed by enabling the gtk2 useflag for x11-misc/appmenu-gtk-module.
Well in fact the package has several implementations for certain things and probes at runtime which implementation can be used to enable a certain feature. i.e. there are two implementations for kerberos auth, and multiple implementations for "audio" and so on. That is kind of cool but also causes such warnings and gentoo QA check warnings. i.e. https://bugs.gentoo.org/792090 I guess your best bet is to not look too much into the details, maybe https://bugs.gentoo.org/844022 helps there because "wfica" will run in the background. See it like any java application scrolling things like java.lang.NullPointerException and still working ;) The errors scroll but are part of the probing feature. The application brings a shell script called "workspacecheck.sh". You could call that and see if your "problem" is indeed one. I already thought about trying to put that into a src_test but did not try that yet and doubt it can be trusted to provide good return values for automated testing. It could also be mentioned via a pkg_postinst + einfo to tell users to expect warnings and check that before opening a bug. As a maintainer i have to deal with several bugs about "weird warnings", but the volume is still low enough so i rather answer individually and receive those bugs instead of trying to prevent them. So far i have not seen any real problems where the application did not work for people. Thanks for the report but i will close. Please keep opening such bugs, especially when the application does not work for you. More "weird warning" bugs are also welcome, but mainly for documentation purposes, they might also be just closed.
Sure thing, and thank you very very much for your efforts in maintaining the package in Gentoo. I use Citrix for remote work, and though it may be over-engineered, bloated, and sometimes quite annoying, when it's working it still provides a better experience for me than RDP (using xfreerdp)!
I wonder if optfeature has its place in here.