Message ID | 7730eb7a4bbe3bde3de772349901ba21.maya.tomasek@disroot.org |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6C8AE27BBEB; Fri, 27 Jan 2023 19:37:31 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AD9BF27BBE9 for <patchwork@mira.cbaines.net>; Fri, 27 Jan 2023 19:37:29 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1pLUX2-0003xU-Jx; Fri, 27 Jan 2023 14:37:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1pLUX1-0003xE-7d for guix-patches@gnu.org; Fri, 27 Jan 2023 14:37:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1pLUX0-0007aM-WD for guix-patches@gnu.org; Fri, 27 Jan 2023 14:37:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1pLUX0-0004m8-Bv for guix-patches@gnu.org; Fri, 27 Jan 2023 14:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61103] (no subject) Resent-From: Maya Tomasek <maya.tomasek@disroot.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 Jan 2023 19:37:02 +0000 Resent-Message-ID: <handler.61103.B.167484821918345@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61103 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 61103@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167484821918345 (code B ref -1); Fri, 27 Jan 2023 19:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jan 2023 19:36:59 +0000 Received: from localhost ([127.0.0.1]:38528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1pLUWw-0004lp-QC for submit@debbugs.gnu.org; Fri, 27 Jan 2023 14:36:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:41934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maya.tomasek@disroot.org>) id 1pLUWr-0004lb-7h for submit@debbugs.gnu.org; Fri, 27 Jan 2023 14:36:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <maya.tomasek@disroot.org>) id 1pLUWr-0003ws-1j for guix-patches@gnu.org; Fri, 27 Jan 2023 14:36:53 -0500 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <maya.tomasek@disroot.org>) id 1pLUWo-0007ZQ-HU for guix-patches@gnu.org; Fri, 27 Jan 2023 14:36:52 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id AD81D41135 for <guix-patches@gnu.org>; Fri, 27 Jan 2023 20:36:46 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nrcTaSwZLg12 for <guix-patches@gnu.org>; Fri, 27 Jan 2023 20:36:45 +0100 (CET) Date: Fri, 27 Jan 2023 20:36:44 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1674848205; bh=zkR/0dRuWV/PQE4dQAN7CJryW7abfikIOE7slM+cDEM=; h=Date:From:To; b=ZAdfimaC6xFuloghCepdqctVL68oaedfRzUCvoI/dMk50sbvw/CFlaCSx7f9rx1Q0 nSde3nBDMlPdGLbjfYJU1jdBbRFEbOI5p2Q5eqRJfvXeqH9DQksJ3avRZMiOEzpG9p hYu5bjGA29auqiK+0rjzpWwx1fgJbHuUARSvw/nej9drj2VSyDhOXbU3W/50gUrlcI VVKYOUR36ZrGDDQgpaPGEkJhKRLBdVM9xyvy6tEPnK/528bqoBUmFVKSaUyTPwnwcQ pWy8UMUGCbIMaJ1M0NaJzW9FUVC+NVUry40+URxXMj0TyYj+r/X/DI0AlNQN6G3dkZ PZTTIgz3tK+qA== Message-ID: <7730eb7a4bbe3bde3de772349901ba21.maya.tomasek@disroot.org> Received-SPF: pass client-ip=178.21.23.139; envelope-from=maya.tomasek@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MISSING_SUBJECT=1.799, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: Maya Tomasek <maya.tomasek@disroot.org> X-ACL-Warn: , Maya Tomasek via Guix-patches <guix-patches@gnu.org> From: Maya Tomasek via Guix-patches via <guix-patches@gnu.org> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#61103] (no subject)
|
|
Commit Message
Maya Tomasek
Jan. 27, 2023, 7:36 p.m. UTC
From: Maya Tomasek <maya.tomasek@disroot.org>
Date: Fri, 27 Jan 2023 20:26:11 +0100
Subject: [PATCH] gnu: Move dconf-editor native-input glib:bin to
propagated-inputs
dconf-editor crashes with "No GSettings schemas are installed on the system",
this provides the expected schemas.
---
Hi,
I have noticed that dconf-editor by default crashes as it has no schemas.
This is probably undesired, as most users install dconf-editor to edit
settings on gnome. But there is no indication that the actual error is
missing glib:bin. The issue isn't fixed by moving glib:bin to inputs.
It has to be in propagated inputs.
Kind regards,
Maya
gnu/packages/gnome.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Comments
Hi, Am Freitag, dem 27.01.2023 um 20:36 +0100 schrieb Maya Tomasek: > From: Maya Tomasek <maya.tomasek@disroot.org> > Date: Fri, 27 Jan 2023 20:26:11 +0100 > Subject: [PATCH] gnu: Move dconf-editor native-input glib:bin to > propagated-inputs > > dconf-editor crashes with "No GSettings schemas are installed on the > system", this provides the expected schemas. > --- > Hi, > > I have noticed that dconf-editor by default crashes as it has no > schemas. This is probably undesired, as most users install dconf- > editor to edit settings on gnome. But there is no indication that the > actual error is missing glib:bin. The issue isn't fixed by moving > glib:bin to inputs. It has to be in propagated inputs. > > Kind regards, > Maya I am fairly certain that by default, dconf-editor does not crash when using gnome-desktop-service-type (i.e. the "default" configuration). Now fair enough, it might still break in the way you described *outside of gnome*, but in any case, propagating inputs is no solution and in this case, you're breaking cross-compilation to rely on a side effect. The package you do want is most likely gsettings-desktop-schemas, and I think it ought to be possible to fix dconf-editor without propagating it. Cheers
Liliana Marie Prikler <liliana.prikler@gmail.com> writes: > I am fairly certain that by default, dconf-editor does not crash when > using gnome-desktop-service-type (i.e. the "default" configuration). I'm afraid that it does. At least on my system it does. I use gnome-desktop-service-type. > Now fair enough, it might still break in the way you described *outside > of gnome*, but in any case, propagating inputs is no solution and in > this case, you're breaking cross-compilation to rely on a side effect. I understand that it is not an optimal solution. I didn't like it either, but I didn't find any other solution > The package you do want is most likely gsettings-desktop-schemas I have now tried the following: --- $ guix shell --pure gsettings-desktop-schemas dconf-editor $ dconf-editor (dconf-editor:4990): dbind-WARNING **: 11:46:30.355: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files (dconf-editor:4990): GLib-GIO-ERROR **: 11:46:30.369: No GSettings schemas are installed on the system zsh: trace trap dconf-editor --- and --- $ guix shell gsettings-desktop-schemas dconf-editor $ dconf-editor (dconf-editor:5048): GLib-GIO-ERROR **: 11:47:58.518: Settings schema 'ca.desrt.dconf-editor.Lib' is not installed zsh: trace trap dconf-editor --- Both resulting in an error. Yes the error is different but I'm not knowledgeable enough to fix this issue. > think it ought to be possible to fix dconf-editor without propagating That would be great! Regards, Maya
Am Samstag, dem 04.02.2023 um 11:50 +0100 schrieb Mája Tomášek: > Liliana Marie Prikler <liliana.prikler@gmail.com> writes: > > > I am fairly certain that by default, dconf-editor does not crash > > when using gnome-desktop-service-type (i.e. the "default" > > configuration). > > I'm afraid that it does. At least on my system it does. I use gnome- > desktop-service-type. I just tested it in a VM and for me it behaves as I would expect. Now, you could have corrupt dconf data that make it act up (try with ~/.config/dconf and ~/.cache/dconf moved to different locations) or a corrupt dconf/gsettings package (try guix build --repair), but as far as gnome-desktop-service-type is concerned, this is not an expected error mode with intact packages. > Cheers
Liliana Marie Prikler <liliana.prikler@gmail.com> writes: > I just tested it in a VM and for me it behaves as I would expect. Well, that means that it really is issue on my side then. > you could have corrupt dconf data that make it act up (try with > ~/.config/dconf and ~/.cache/dconf moved to different locations) or a > corrupt dconf/gsettings package (try guix build --repair), I have tried all of them, but the issue persists. At least if it isn't a global issue, I'm happy. Cheers
Hi, Mája Tomášek <maya.tomasek@disroot.org> writes: > Liliana Marie Prikler <liliana.prikler@gmail.com> writes: > >> I am fairly certain that by default, dconf-editor does not crash when >> using gnome-desktop-service-type (i.e. the "default" configuration). > > I'm afraid that it does. At least on my system it does. I use gnome-desktop-service-type. > >> Now fair enough, it might still break in the way you described *outside >> of gnome*, but in any case, propagating inputs is no solution and in >> this case, you're breaking cross-compilation to rely on a side effect. > > I understand that it is not an optimal solution. I didn't like it > either, but I didn't find any other solution > >> The package you do want is most likely gsettings-desktop-schemas > > I have now tried the following: > > --- > $ guix shell --pure gsettings-desktop-schemas dconf-editor > $ dconf-editor > > (dconf-editor:4990): dbind-WARNING **: 11:46:30.355: AT-SPI: Error > retrieving accessibility bus address: > org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was > not provided by any .service files > > (dconf-editor:4990): GLib-GIO-ERROR **: 11:46:30.369: No GSettings schemas are installed on the system > zsh: trace trap dconf-editor > --- > > and > --- > $ guix shell gsettings-desktop-schemas dconf-editor > $ dconf-editor > > (dconf-editor:5048): GLib-GIO-ERROR **: 11:47:58.518: Settings schema > 'ca.desrt.dconf-editor.Lib' is not installed > zsh: trace trap dconf-editor > --- > > Both resulting in an error. Yes the error is different but I'm not > knowledgeable enough to fix this issue. > >> think it ought to be possible to fix dconf-editor without propagating > > That would be great! I don't see anything to fix; dconf-editor complains an throws an error when there are no schemas found. Schemas are found via a native-search-path defined on glib (XDG_DATA_DIRS). Fixing #22138 would probably help to some degree but otherwise that's normal Guix behavior, I think. Thus, closing.
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index de5b5df450..fd74b7df2d 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -10035,13 +10035,14 @@ (define-public dconf-editor (arguments (list #:meson meson-0.60)) (native-inputs - `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0. - ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache + `(("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache ("intltool" ,intltool) ("pkg-config" ,pkg-config) ("vala" ,vala))) (inputs (list dconf gtk+ libxml2)) + (propagated-inputs + (list `(,glib "bin"))) (home-page "https://gitlab.gnome.org/GNOME/dconf-editor") (synopsis "Graphical editor for GNOME's dconf configuration system") (description