From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: bug#27264: gnome-shell-3.24.2 consistently dies during initialization Date: Thu, 08 Jun 2017 20:08:05 +0200 Message-ID: <87lgp2fj3u.fsf@gnu.org> References: <87o9u13e4i.fsf@netris.org> <8760g8t769.fsf@gnu.org> <87shjbwjdc.fsf@netris.org> <87ink6zo19.fsf@gnu.org> <87y3t2eki4.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJ1rl-0007G4-Rx for bug-guix@gnu.org; Thu, 08 Jun 2017 14:09:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJ1ri-0006VO-9z for bug-guix@gnu.org; Thu, 08 Jun 2017 14:09:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60968) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJ1ri-0006VD-5i for bug-guix@gnu.org; Thu, 08 Jun 2017 14:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dJ1rh-0007bJ-US for bug-guix@gnu.org; Thu, 08 Jun 2017 14:09:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87y3t2eki4.fsf@openmailbox.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Kei Kebreau Cc: 27264@debbugs.gnu.org --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-gnome-shell-Fix-run-time-crash.patch >From 7b5c3ce6386acf1f7a965d19cd6dd51c662ba5bb Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Thu, 8 Jun 2017 20:04:04 +0200 Subject: [PATCH] gnu: gnome-shell: Fix run-time crash. * gnu/packages/gnome.scm (gnome-shell): Add geoclue and librsvg inputs. --- gnu/packages/gnome.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 84ae1cf2f..65f022750 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -2634,7 +2634,8 @@ output devices.") (("/bin/true") (which "true")))))))) (native-inputs `(("pkg-config" ,pkg-config) - ("intltool" ,intltool))) + ("intltool" ,intltool) + ("gobject-introspection" ,gobject-introspection))) (inputs `(("avahi" ,avahi) ("glib" ,glib) @@ -5091,6 +5092,8 @@ properties, screen resolution, and other GNOME parameters.") ("gcr" ,gcr) ("gdm" ,gdm) ("gjs" ,gjs) + ("geoclue" ,geoclue) + ("geocode-glib" ,geocode-glib) ("gnome-bluetooth" ,gnome-bluetooth) ("gnome-control-center" ,gnome-control-center) ("gnome-desktop" ,gnome-desktop) @@ -5101,6 +5104,7 @@ properties, screen resolution, and other GNOME parameters.") ("libcroco" ,libcroco) ("libgweather" ,libgweather) ("libsoup" ,libsoup) + ("librsvg" ,librsvg) ("mesa-headers" ,mesa-headers) ("mutter" ,mutter) ("network-manager-applet" ,network-manager-applet) -- 2.13.0 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Kei Kebreau writes: > ludo@gnu.org (Ludovic Courtès) writes: > >> Hi Mark, >> >> Mark H Weaver skribis: >> >>> Roel Janssen writes: >>> >>>> Ludovic Courtès writes: >>>> >>>>> Hi, >>>>> >>>>> Mark H Weaver skribis: >>>>> >>>>>> (.gnome-shell-real:11698): Gjs-WARNING **: JS ERROR: Error: >>>>> Requiring Rsvg, version none: Typelib file for namespace 'Rsvg' >>>>> (any version) not found >>>>> >>>>> Looks like the librsvg JS bindings are missing. Would it help to add >>>>> librsvg as an input to ‘gnome-shell’? >>>>> >>>>> Ludo’. >>>> >>>> Adding librsvg to gnome-shell solves this problem, however, a similar >>>> error for Geoclue2 occurs. I added 'geoclue' to the inputs, but that >>>> doesn't solve the problem. > > I've found that adding gobject-introspection as a native-input to > geoclue first allows geoclue to generate the required typelib > file. FWIW, I'm writing this in an instance of gnome-shell. > >>> >>> Thanks. >> >> Great, could you this fix if you haven’t already? >> >>> I have a question: Does GNOME 3 work for *anyone* in Guix now? If so, >>> that would be useful information. If not, I wonder why this got merged >>> into master. >> >> I think many of us use GTK+/GNOME applications, but fewer use GNOME, so >> I suppose we just didn’t test a full GNOME setup. >> >> Next time we should probably do that or, even better, have an automated >> test that logs in, takes a screenshot, and does some OCR to check >> whether we got something that looks like a GNOME screen. >> >> WDYT? >> >> Ludo’. > > I definitely agree. To get gnome-shell running on machine required the > at least the attached patch (the librsvg upgrade is not necessary to my > knowledge). I get more warnings about gnome-shell trying and failing to > run the "ibus-daemon" command, a suggestion for geoclue to use > glib-networking for TLS/SSL support. > > From ed08a066c075bf19f1ea92f4abd0d20dc61d59eb Mon Sep 17 00:00:00 2001 > From: Kei Kebreau > Date: Thu, 8 Jun 2017 08:15:53 -0400 > Subject: [PATCH] Fix gnome-shell. > > --- > gnu/packages/gnome.scm | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm > index 84ae1cf2f..6528221a8 100644 > --- a/gnu/packages/gnome.scm > +++ b/gnu/packages/gnome.scm > @@ -1066,7 +1066,7 @@ dealing with different structured file formats.") > (define-public librsvg > (package > (name "librsvg") > - (version "2.40.16") > + (version "2.40.17") > (source (origin > (method url-fetch) > (uri (string-append "mirror://gnome/sources/" name "/" > @@ -1074,7 +1074,7 @@ dealing with different structured file formats.") > name "-" version ".tar.xz")) > (sha256 > (base32 > - "0bpz6gsq8xi1pb5k9ax6vinph460v14znch3y5yz167s0dmwz2yl")))) > + "1k39gyf7f5m9x0jvpcxvfcqswdb04xhm1lbwbjabn1f4xk5wbxp6")))) > (build-system gnu-build-system) > (arguments > `(#:phases > @@ -2633,7 +2633,8 @@ output devices.") > (substitute* "configure" > (("/bin/true") (which "true")))))))) > (native-inputs > - `(("pkg-config" ,pkg-config) > + `(("gobject-introspection" ,gobject-introspection) > + ("pkg-config" ,pkg-config) > ("intltool" ,intltool))) > (inputs > `(("avahi" ,avahi) > @@ -5090,6 +5091,7 @@ properties, screen resolution, and other GNOME parameters.") > ("evolution-data-server" ,evolution-data-server) > ("gcr" ,gcr) > ("gdm" ,gdm) > + ("geoclue" ,geoclue) > ("gjs" ,gjs) > ("gnome-bluetooth" ,gnome-bluetooth) > ("gnome-control-center" ,gnome-control-center) > @@ -5100,6 +5102,7 @@ properties, screen resolution, and other GNOME parameters.") > ("libcanberra" ,libcanberra) > ("libcroco" ,libcroco) > ("libgweather" ,libgweather) > + ("librsvg" ,librsvg) > ("libsoup" ,libsoup) > ("mesa-headers" ,mesa-headers) > ("mutter" ,mutter) I attached your patch plus adding geoclue-glib to the minus the librsvg upgrade. I can confirm gnome-shell works again. I don't get any geoclue-related warnings/errors. I do get warnings about missing a "org.freedesktop.impl.portal.PermissionStore" service. Kind regards, Roel Janssen --=-=-=--