From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.bugs Subject: bug#57379: GUI toolkit for Guile 3.0? Date: Sun, 28 Aug 2022 19:42:26 -0300 Message-ID: <20220828194226.1b280259@aicha> References: <87mtbtrffm.fsf@tsyesika.se> <20220824170318.70af5603@aicha> <20220825232724.6a4191ef@aicha> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/kauZw1OCZzb/mOdFBxb54VY"; protocol="application/pgp-signature"; micalg=pgp-sha512 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31622"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jessica Tallon , 57379@debbugs.gnu.org To: Lee Thomas Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Mon Aug 29 00:43:12 2022 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oSQzo-000853-Bp for guile-bugs@m.gmane-mx.org; Mon, 29 Aug 2022 00:43:12 +0200 Original-Received: from localhost ([::1]:35228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSQzm-0000hS-RG for guile-bugs@m.gmane-mx.org; Sun, 28 Aug 2022 18:43:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSQze-0000h5-Rb for bug-guile@gnu.org; Sun, 28 Aug 2022 18:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41732) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSQze-0004VN-HB for bug-guile@gnu.org; Sun, 28 Aug 2022 18:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSQze-0000IS-3R for bug-guile@gnu.org; Sun, 28 Aug 2022 18:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Pirotte Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 28 Aug 2022 22:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57379 X-GNU-PR-Package: guile Original-Received: via spool by 57379-submit@debbugs.gnu.org id=B57379.16617265591111 (code B ref 57379); Sun, 28 Aug 2022 22:43:02 +0000 Original-Received: (at 57379) by debbugs.gnu.org; 28 Aug 2022 22:42:39 +0000 Original-Received: from localhost ([127.0.0.1]:59714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSQzH-0000Hq-BV for submit@debbugs.gnu.org; Sun, 28 Aug 2022 18:42:39 -0400 Original-Received: from maximusconfessor.all2all.org ([79.99.200.102]:39020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSQzE-0000Hh-Ot for 57379@debbugs.gnu.org; Sun, 28 Aug 2022 18:42:37 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 22F981BE024A; Mon, 29 Aug 2022 00:42:34 +0200 (CEST) Original-Received: from maximusconfessor.all2all.org ([127.0.0.1]) by localhost (maximusconfessor.all2all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rYOCoCK1IIl6; Mon, 29 Aug 2022 00:42:34 +0200 (CEST) Original-Received: from aicha (unknown [179.210.48.245]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 0CB401BE01DC; Mon, 29 Aug 2022 00:42:32 +0200 (CEST) In-Reply-To: X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:10341 Archived-At: --Sig_/kauZw1OCZzb/mOdFBxb54VY Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello Lee, > Thank you greatly, David. I cleaned up my guix environment and > reinstalled G-Golf, and now the hello world script runs but hangs > after these errors: > (g-golf-hello-world.scm:494347): GLib-GObject-WARNING **: > 12:37:46.818: cannot register existing type 'GdkPixbuf' This is a guix problem, reported a few years ago already by one of my first g-golf user, the author of the nomad package. I have no idea why, nor what it takes to fix this in guix, but this error is the symptom that you (guix, not you nor g-golf) is trying to load the Gdk typelib more then once, which is 'unauthorized', by (GNOME) design. Until what causes this error is fixed, absolutely nothing can work. I am on Debian, where all examples work [1] > (g-golf-hello-world.scm:494347): GLib-GObject-CRITICAL **: > 12:37:46.818: g_type_add_interface_static: assertion > 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed This is the symptom that you are running a g-golf version that was built from the devel branch - where as this is generally ok, I am also very cautious to what I push even on the devel branch, I am in a process of re-designing re-writing the way users may register new classes, that inherit from GInterface. I also am re-designing re-writing how users interact with VFunc. For these reasons, I recommend the guix team to stick to the latest commit of the master branch for now. The hello-world example has worked 'fine', on Debian, for many years, you don't need the latest commit to run it :) - though in January 2021, I updated it (as well as other examples) to use Gtk-4.0. I see Ricardo also answered and tried, I'll also comment his message(s) ... David [1] in addition to what you need to install g-golf, to run the examples, you also need to install gir1.2-gtk-4.0:amd64 (or=20 gir1.2-gtk-4.0:xxxx for another architecture, which content is listed below, fwiw: dpkg -L gir1.2-gtk-4.0:amd64 /. /usr /usr/lib /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/girepository-1.0 /usr/lib/x86_64-linux-gnu/girepository-1.0/Gdk-4.0.typelib /usr/lib/x86_64-linux-gnu/girepository-1.0/GdkWayland-4.0.typelib /usr/lib/x86_64-linux-gnu/girepository-1.0/GdkX11-4.0.typelib /usr/lib/x86_64-linux-gnu/girepository-1.0/Gsk-4.0.typelib /usr/lib/x86_64-linux-gnu/girepository-1.0/Gtk-4.0.typelib /usr/share /usr/share/doc /usr/share/doc/gir1.2-gtk-4.0 /usr/share/doc/gir1.2-gtk-4.0/changelog.Debian.gz /usr/share/doc/gir1.2-gtk-4.0/copyright --Sig_/kauZw1OCZzb/mOdFBxb54VY Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAmML71IACgkQ83T9k6MF etc/YggA2fT0Rzt6Z1HfdpXDgHeR08B+vZpFwe8z0zqiEIvUNim7jeBtjgbJV8v1 Kh/PhPorT6fPmLyHh6RRLzFu02hHwHKNSXl0DwdaYsd6+CEWO3exQby7F+d10Cq9 bLeBVNHNy9uvbZYa+3+dONIK2vX7ixpmr/Ie1H1E0ifQRD+Hxb0xMCf5RvqzjMUr J9pkxc9L92imi4FjfW9pyhnutUalXAH+ENbef4bQfk30gNt/3SuUGCEwPTGF3dJv D9+TeEHrrGx7dREsbd64QYoAF6MuJKm9ViJ3sDF1HoOsunPoQ/dW6ecMtn4Py71j LcIYm4M25npl24QfceqUMTmvRRZeig== =jLOc -----END PGP SIGNATURE----- --Sig_/kauZw1OCZzb/mOdFBxb54VY--