From: Roel Janssen <roel@gnu.org>
To: Kei Kebreau <kei@openmailbox.org>
Cc: 27264@debbugs.gnu.org
Subject: bug#27264: gnome-shell-3.24.2 consistently dies during initialization
Date: Thu, 08 Jun 2017 20:08:05 +0200 [thread overview]
Message-ID: <87lgp2fj3u.fsf@gnu.org> (raw)
In-Reply-To: <87y3t2eki4.fsf@openmailbox.org>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-gnome-shell-Fix-run-time-crash.patch --]
[-- Type: text/x-patch, Size: 1554 bytes --]
From 7b5c3ce6386acf1f7a965d19cd6dd51c662ba5bb Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
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
[-- Attachment #2: Type: text/plain, Size: 4473 bytes --]
Kei Kebreau writes:
> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Hi Mark,
>>
>> Mark H Weaver <mhw@netris.org> skribis:
>>
>>> Roel Janssen <roel@gnu.org> writes:
>>>
>>>> Ludovic Courtès writes:
>>>>
>>>>> Hi,
>>>>>
>>>>> Mark H Weaver <mhw@netris.org> 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 <kei@openmailbox.org>
> 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
next prev parent reply other threads:[~2017-06-08 18:09 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-06 4:59 bug#27264: gnome-shell-3.24.2 consistently dies during initialization Mark H Weaver
2017-06-07 10:37 ` Ludovic Courtès
2017-06-07 13:15 ` Roel Janssen
2017-06-07 21:58 ` Mark H Weaver
2017-06-08 6:03 ` Marius Bakke
2017-06-08 6:29 ` Mark H Weaver
2017-06-08 12:35 ` Kei Kebreau
2017-06-08 16:13 ` Marius Bakke
2017-06-08 16:29 ` Marius Bakke
2017-06-09 6:23 ` Chris Marusich
2017-06-09 7:02 ` Mark H Weaver
2017-06-08 7:39 ` Ben Sturmfels
2017-06-08 6:48 ` pelzflorian (Florian Pelz)
2017-06-08 12:01 ` Ludovic Courtès
2017-06-08 12:23 ` Kei Kebreau
2017-06-08 13:09 ` Roel Janssen
2017-06-08 18:08 ` Roel Janssen [this message]
2017-06-08 18:34 ` Kei Kebreau
2017-06-08 14:01 ` Mark H Weaver
2017-06-08 14:54 ` Chris Marusich
2017-06-08 17:08 ` Leo Famulari
2017-06-08 17:19 ` Marius Bakke
2017-06-08 17:29 ` Catonano
2017-06-08 17:45 ` Leo Famulari
2017-06-08 18:12 ` Leo Famulari
2017-06-08 20:47 ` Ludovic Courtès
2017-06-11 8:57 ` Mark H Weaver
2017-06-11 13:16 ` Ludovic Courtès
2017-06-08 14:20 ` pelzflorian (Florian Pelz)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lgp2fj3u.fsf@gnu.org \
--to=roel@gnu.org \
--cc=27264@debbugs.gnu.org \
--cc=kei@openmailbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).