GNU bug report logs - #78537
GIMP startup crash on minimal xorg/wm unless gtk+ in profile

Previous Next

Package: guix;

Reported by: Runciter <runciter <at> whispers-vpn.org>

Date: Wed, 21 May 2025 15:36:03 UTC

Severity: normal

Merged with 78667

To reply to this bug, email your comments to 78537 AT debbugs.gnu.org.

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

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


Report forwarded to bug-guix <at> gnu.org:
bug#78537; Package guix. (Wed, 21 May 2025 15:36:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Runciter <runciter <at> whispers-vpn.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 21 May 2025 15:36:04 GMT) Full text and rfc822 format available.

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

From: Runciter <runciter <at> whispers-vpn.org>
To: bug-guix <at> gnu.org
Subject: GIMP startup crash on minimal xorg/wm unless gtk+ in profile
Date: Wed, 21 May 2025 15:34:39 +0000
Hello Guix,

I've noticed that the new Gimp version 3.0.0 crashed on startup for me.
The error message is:

(gimp:5025): GLib-GIO-ERROR **: 22:39:28.588: Settings schema 'org.gtk.Settings.FileChooser' is not installed
/gnu/store/vk8xddd7cr2dcsqjwvvyrhidg1brdsaq-gimp-3.0.0/lib/gimp/3.0/plug-ins/script-fu/script-fu: fatal error: GIMP crashed
Trace/breakpoint trap

Or a variant thereof.

This probably happens because my GUI is a relatively minimal Xorg + dwm.
If I install the package gtk+ onto my home profile, then Gimp 3.0.0
starts, and its file chooser apparently works.

Anyway, I don't want to have dbus in my profile anymore, and although
I've seen on the news that Gimp is now a full-blown Gtk app, it *still*
does not seem to want to play completely nice with my window
manager. Well, that is to say, its main window doesn't tile. So, I put
my foot down, no Gimp for Runciter in the near future.

Still, it occurs to me that gtk+ should probably be a propagated
input of gimp-3. Some Package(s) which probably have a similar run-time
dependency situation seem to proceed like this; such as zathura having a
propagated input to girara having a propagated input to gtk+.

I'm going to submit a patch, in case it is helpful.

Regards,
Runciter





Information forwarded to bug-guix <at> gnu.org:
bug#78537; Package guix. (Wed, 21 May 2025 15:59:01 GMT) Full text and rfc822 format available.

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

From: Runciter <runciter <at> whispers-vpn.org>
To: 78537 <at> debbugs.gnu.org
Cc: Runciter <runciter <at> whispers-vpn.org>
Subject: [PATCH v1] gnu: gimp-3: make gtk+ a propagated input.
Date: Wed, 21 May 2025 15:57:37 +0000
*  gnu/packages/gimp.scm (gimp-3) [inputs]: Remove gtk+.
   [propagated-inputs]: Add gtk+.

Signed-off-by: Runciter <runciter <at> whispers-vpn.org>
---
 gnu/packages/gimp.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index 08f71b9b1f..d059b2ac86 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -471,14 +471,15 @@ (define-public gimp-3
                                 (lambda (_ stat)
                                   (eq? 'regular (stat:type stat))))))))))
     (inputs (modify-inputs (package-inputs gimp-2)
-              (replace "gtk+" gtk+)
+              (delete "gtk+")
               (prepend libxmu libxt)
               (prepend python python-pygobject gjs)
               (prepend libxslt)))
     (native-inputs (modify-inputs (package-native-inputs gimp-2)
                      (prepend appstream-glib
                               gi-docgen
-                              libarchive)))))
+                              libarchive)))
+    (propagated-inputs (list gtk+))))
 
 (define-public gimp gimp-3)
 (define-public gimp-next

base-commit: 646fef769d995122cca8f2aa2c82fa4cd32fb609
-- 
2.49.0






Information forwarded to bug-guix <at> gnu.org:
bug#78537; Package guix. (Tue, 03 Jun 2025 10:56:06 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Runciter via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: Runciter <runciter <at> whispers-vpn.org>, 78537 <at> debbugs.gnu.org
Subject: Re: bug#78537: GIMP startup crash on minimal xorg/wm unless gtk+ in
 profile
Date: Tue, 03 Jun 2025 19:54:53 +0900
Hi,

Runciter via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:

> Hello Guix,
>
> I've noticed that the new Gimp version 3.0.0 crashed on startup for me.
> The error message is:
>
> (gimp:5025): GLib-GIO-ERROR **: 22:39:28.588: Settings schema
> 'org.gtk.Settings.FileChooser' is not installed
> /gnu/store/vk8xddd7cr2dcsqjwvvyrhidg1brdsaq-gimp-3.0.0/lib/gimp/3.0/plug-ins/script-fu/script-fu:
> fatal error: GIMP crashed
> Trace/breakpoint trap

[...]

> Still, it occurs to me that gtk+ should probably be a propagated
> input of gimp-3. Some Package(s) which probably have a similar run-time
> dependency situation seem to proceed like this; such as zathura having a
> propagated input to girara having a propagated input to gtk+.
>
> I'm going to submit a patch, in case it is helpful.

Wrapping the gimp binary should be preferred.  I think it already is but
maybe something is missing?

-- 
Thanks,
Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#78537; Package guix. (Tue, 03 Jun 2025 10:56:08 GMT) Full text and rfc822 format available.

Merged 78537 78667. Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 03 Jun 2025 10:56:09 GMT) Full text and rfc822 format available.

This bug report was last modified 10 days ago.

Previous Next


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