help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting up a development environment for guile-g-golf based software


From: Ricardo Wurmus
Subject: Re: Setting up a development environment for guile-g-golf based software in KDE
Date: Fri, 02 Sep 2022 13:36:33 +0200
User-agent: mu4e 1.8.7; emacs 28.1

Jérémy Korwin-Zmijowski <jeremy@korwin-zmijowski.fr> writes:

> I want to build a GUI for Gnome (using guile-g-golf (and gtk)).
>
> When under Gnome my small "Hello World" (from the manual example
> script) window shows up.
>
> When under KDE (Plasma) nothing shows up but errors in the terminal :
>
>    $ guix shell guile gtk guile-g-golf -- ./hello-world
>    (guile:10978): GLib-GObject-WARNING **: 12:19:06.388: cannot
>    register existing type 'GdkPixbuf'
>    (guile:10978): GLib-GObject-CRITICAL **: 12:19:06.388:
>    g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE
>    (instance_type)' failed
>    (guile:10978): GLib-GObject-CRITICAL **: 12:19:06.388:
>    g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE
>    (instance_type)' failed
>    (guile:10978): GLib-CRITICAL **: 12:19:06.388: g_once_init_leave:
>    assertion 'result != 0' failed

When using g-golf make sure to disable grafts:

  guix shell --pure --no-grafts \
    guile guile-g-golf gtk@4

The same problem was found in guile-gi first:

  https://github.com/spk121/guile-gi/issues/96

-- 
Ricardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]