GNOME Bugzilla – Bug 643910
build of gnome-shell fails with st/test-theme.c:429:16: Fehler: ignoring return value of »clutter_init«
Last modified: 2011-03-13 18:35:14 UTC
Building gnome-shell with the jhbuild tool leads to the following error message when building the gnome-shell portion: st/test-theme.c:429:16: Fehler: ignoring return value of »clutter_init«, declared with attribute warn_unused_result
I have a fix for this as the first attachment in: https://bugzilla.gnome.org/show_bug.cgi?id=643768
You're trying to build against clutter master. gnome-shell now builds against the clutter-1.6 branch
I asked for the bug to be filed, since we'll eventually have to fix up for clutter 1.7, even if we aren't supporting it currently.
Colin pushed: http://git.gnome.org/browse/gnome-shell/commit ?id=c2d400846b4e678f2f926a313280f840072b1f57 http://git.gnome.org/browse/gnome-shell/commit/?id=bdebaa986b5eea44dcf20fb53a1e109ed7120a78 But I didn't quit like the approach of a g_error() if, e.g., DISPlAY is unset, so I pushed: http://git.gnome.org/browse/gnome-shell/commit/?id=d3703516d979ce98c95ae66979f4ded8606eb8f1 (See http://bugzilla.clutter-project.org/show_bug.cgi?id=2598 for some discussion about whether clutter_init() fails noisily or silently. It was fixed to consistently fail noisily.)