Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874615 - net-wireless/blueman requires gtk compiled with X USE flag
Summary: net-wireless/blueman requires gtk compiled with X USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-03 10:19 UTC by bugs.gentoo.org.3642l
Modified: 2022-10-04 19:04 UTC (History)
1 user (show)

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


Attachments
emerge --info (emergeinfo.txt,6.90 KB, text/plain)
2022-10-03 10:19 UTC, bugs.gentoo.org.3642l
Details
Exception message from blueman-applet (blueman-python-exception-trace.txt,2.45 KB, text/plain)
2022-10-04 05:06 UTC, bugs.gentoo.org.3642l
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugs.gentoo.org.3642l 2022-10-03 10:19:41 UTC
Created attachment 817546 [details]
emerge --info

A plugin imports GdkX11 from gi.repository:

https://github.com/blueman-project/blueman/blob/main/blueman/plugins/applet/GameControllerWakelock.py#L13

blueman-applet cannot be started without GdkX11.
This will cause blueman-manager to become unable to start, since it requires the applet.
Comment 1 Sander Sweers 2022-10-03 18:31:15 UTC
It doesn't require GdkX11 and it should skip that plugin. Post a proper error er python backtrace.
Comment 2 bugs.gentoo.org.3642l 2022-10-04 05:06:44 UTC
Created attachment 818413 [details]
Exception message from blueman-applet

x11-libs/gtk+-3.24.34:3::gentoo  USE="... -X* ..."
gui-libs/gtk-4.8.0:4::gentoo  USE="... -X* ..."
dev-cpp/gtkmm-3.24.7:3.0::gentoo  USE="... -X* ..."

Above is a list of packages I reinstalled with -X USE, to make the error appear.

I added the exception message as attachment. The exception output is from blueman-applet, and the process exits with code 1 after the exception message.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-10-04 07:04:12 UTC
Thanks for the report.  This probably wasn't desired upstream but I honestly doubt there are any non-source distros with non-X11 GTK+ builds right now.
Comment 4 Larry the Git Cow gentoo-dev 2022-10-04 07:05:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c11d1fb1489b953df87955be358f3651685dba7

commit 9c11d1fb1489b953df87955be358f3651685dba7
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-10-04 07:04:13 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-10-04 07:05:56 +0000

    net-wireless/blueman: Require gtk+[X]
    
    Closes: https://bugs.gentoo.org/874615
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 net-wireless/blueman/{blueman-2.3.2.ebuild => blueman-2.3.2-r1.ebuild} | 2 +-
 net-wireless/blueman/blueman-9999.ebuild                               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 5 Sander Sweers 2022-10-04 19:04:45 UTC
(In reply to Michał Górny from comment #3)
> Thanks for the report.  This probably wasn't desired upstream but I honestly
> doubt there are any non-source distros with non-X11 GTK+ builds right now.

It's not. I'll push out a fix before the next release.