After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 637935 - When gnome-bluetooth introspection is not available, gnome-shell doesn't start
When gnome-bluetooth introspection is not available, gnome-shell doesn't start
Status: RESOLVED NOTABUG
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal critical
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2010-12-24 11:01 UTC by Vincent Untz
Modified: 2012-08-27 19:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
configure: check for introspection support in gnome-bluetooth (2.05 KB, patch)
2010-12-29 14:02 UTC, Giovanni Campagna
rejected Details | Review

Description Vincent Untz 2010-12-24 11:01:32 UTC
While smoketesting 2.91.4, it appeared that gnome-bluetooth was built without introspection support for the first time. And when I started gnome-shell, it complained in .xsession-errors about some missing introspection bits (GnomeBluetoothApplet, iirc).

The issue is that it somehow complelety broke gnome-shell: nothing was visible.

GNOME Shell should be able to survive this, imho.
Comment 1 Giovanni Campagna 2010-12-29 14:02:19 UTC
Created attachment 177191 [details] [review]
configure: check for introspection support in gnome-bluetooth

gnome-bluetooth can be built with --disable-introspection, but in
that case it is useless for the shell, and it makes us crash.
Consider that case as if gnome-bluetooth was not available, and
print a warning.
Comment 2 Vincent Untz 2010-12-29 14:24:34 UTC
It'd be better if this could be done at runtime. Or it needs to be well-documented for packagers that gnome-bluetooth is a runtime hard dependency.
Comment 3 Dan Winship 2010-12-29 17:41:28 UTC
gnome-bluetooth is a hard dependency on all platforms where it can be built (which at the moment means just Linux), and not used on platforms where it can't be built (obviously). There is no case where it's supposed to be a soft/runtime/configurable/whatever dependency.
Comment 4 Dan Winship 2010-12-29 17:42:42 UTC
Comment on attachment 177191 [details] [review]
configure: check for introspection support in gnome-bluetooth

thus, this patch is wrong; if gnome-bluetooth exists, it MUST have introspection support
Comment 5 Vincent Untz 2010-12-29 17:57:50 UTC
So maybe we should add a big warning to gnome-bluetooth's configure.ac when introspection support is disabled.
Comment 6 aaahaaap 2011-05-26 20:08:39 UTC
Why is gnome-bluetooth a hard dependency for gnome-shell?
That just seems wrong (not everybody has bluetooth!)
Comment 7 Milan Bouchet-Valat 2011-05-26 21:13:26 UTC
Well, you just only need to install/build it, that's not a big deal. If you have no Bluetooth device, or don't use it, it won't harm you. Are a few KB so expensive for you?
Comment 8 Giovanni Campagna 2012-08-27 19:36:35 UTC
The fact that gnome-bluetooth is built with without introspection is a packaging problem, and the fact that we depend on it is not a bug.
I don't think anyone would complain that we crash if shared libraries are missing, so closing.