GNU bug report logs - #61103
(no subject)

Previous Next

Package: guix-patches;

Reported by: Maya Tomasek <maya.tomasek <at> disroot.org>

Date: Fri, 27 Jan 2023 19:37:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61103 in the body.
You can then email your comments to 61103 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#61103; Package guix-patches. (Fri, 27 Jan 2023 19:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maya Tomasek <maya.tomasek <at> disroot.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org.

Your message did not contain a Subject field. They are recommended and useful because the title of a $gBug is determined using this field. Please remember to include a Subject field in your messages in future.

(Fri, 27 Jan 2023 19:37:02 GMT) Full text and rfc822 format available.


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maya Tomasek <maya.tomasek <at> disroot.org>
To: guix-patches <at> gnu.org
Date: Fri, 27 Jan 2023 20:36:44 +0100
From: Maya Tomasek <maya.tomasek <at> 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(-)

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
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61103; Package guix-patches. (Fri, 03 Feb 2023 23:05:02 GMT) Full text and rfc822 format available.

Message #8 received at 61103 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Maya Tomasek <maya.tomasek <at> disroot.org>, 61103 <at> debbugs.gnu.org
Subject: Re: No Subject
Date: Sat, 04 Feb 2023 00:04:00 +0100
Hi,

Am Freitag, dem 27.01.2023 um 20:36 +0100 schrieb Maya Tomasek:
> From: Maya Tomasek <maya.tomasek <at> 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




Information forwarded to guix-patches <at> gnu.org:
bug#61103; Package guix-patches. (Sat, 04 Feb 2023 10:51:01 GMT) Full text and rfc822 format available.

Message #11 received at 61103 <at> debbugs.gnu.org (full text, mbox):

From: Mája Tomášek <maya.tomasek <at> disroot.org>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, 61103 <at> debbugs.gnu.org
Subject: Re: No Subject
Date: Sat, 04 Feb 2023 11:50:50 +0100
Liliana Marie Prikler <liliana.prikler <at> 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




Information forwarded to guix-patches <at> gnu.org:
bug#61103; Package guix-patches. (Sat, 04 Feb 2023 17:28:02 GMT) Full text and rfc822 format available.

Message #14 received at 61103 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Mája Tomášek <maya.tomasek <at> disroot.org>, 
 61103 <at> debbugs.gnu.org
Subject: Re: No Subject
Date: Sat, 04 Feb 2023 18:26:56 +0100
Am Samstag, dem 04.02.2023 um 11:50 +0100 schrieb Mája Tomášek:
> Liliana Marie Prikler <liliana.prikler <at> 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




Information forwarded to guix-patches <at> gnu.org:
bug#61103; Package guix-patches. (Sat, 11 Feb 2023 14:16:02 GMT) Full text and rfc822 format available.

Message #17 received at 61103 <at> debbugs.gnu.org (full text, mbox):

From: Mája Tomášek <maya.tomasek <at> disroot.org>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, 61103 <at> debbugs.gnu.org
Subject: Re: No Subject
Date: Sat, 11 Feb 2023 15:14:55 +0100
Liliana Marie Prikler <liliana.prikler <at> 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




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 22 Mar 2023 02:02:02 GMT) Full text and rfc822 format available.

Notification sent to Maya Tomasek <maya.tomasek <at> disroot.org>:
bug acknowledged by developer. (Wed, 22 Mar 2023 02:02:02 GMT) Full text and rfc822 format available.

Message #22 received at 61103-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Mája Tomášek <maya.tomasek <at> disroot.org>
Cc: 61103-done <at> debbugs.gnu.org,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: Re: bug#61103: (no subject)
Date: Tue, 21 Mar 2023 22:01:35 -0400
Hi,

Mája Tomášek <maya.tomasek <at> disroot.org> writes:

> Liliana Marie Prikler <liliana.prikler <at> 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.

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 19 Apr 2023 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 6 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.