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.user Subject: Re: GNU G-Golf 0.8.0-rc-3 available for testing Date: Sat, 20 Apr 2024 01:51:58 -0300 Message-ID: <20240420015158.50031f08@tintin> References: <20240417025615.0b6c50f5@tintin> <871q73vcz4.fsf@pelzflorian.de> <20240418192132.245200a9@tintin> <87cyql1e56.fsf@pelzflorian.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/N3VIwzx/OctlPWyHbiyf37i"; protocol="application/pgp-signature"; micalg=pgp-sha512 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24197"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user To: "pelzflorian (Florian Pelz)" Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Apr 20 06:52:49 2024 Return-path: Envelope-to: guile-user@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 1ry2iW-00064F-FR for guile-user@m.gmane-mx.org; Sat, 20 Apr 2024 06:52:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ry2i1-0002Fr-Vn; Sat, 20 Apr 2024 00:52:18 -0400 Original-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 ) id 1ry2i0-0002Fh-UW for guile-user@gnu.org; Sat, 20 Apr 2024 00:52:16 -0400 Original-Received: from pop.all2all.org ([79.99.200.14] helo=moses.all2all.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ry2hy-00076j-QK for guile-user@gnu.org; Sat, 20 Apr 2024 00:52:16 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by moses.all2all.org (Postfix) with ESMTP id 7AFEB67C007A; Sat, 20 Apr 2024 06:52:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at moses.all2all.org Original-Received: from moses.all2all.org ([127.0.0.1]) by localhost (moses.all2all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r48OVdqkBghE; Sat, 20 Apr 2024 06:52:07 +0200 (CEST) Original-Received: from tintin (unknown [168.227.184.156]) by moses.all2all.org (Postfix) with ESMTPSA id DF56A67C0074; Sat, 20 Apr 2024 06:52:05 +0200 (CEST) In-Reply-To: <87cyql1e56.fsf@pelzflorian.de> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) Received-SPF: pass client-ip=79.99.200.14; envelope-from=david@altosw.be; helo=moses.all2all.org X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19543 Archived-At: --Sig_/N3VIwzx/OctlPWyHbiyf37i Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Florian, Before i get to the other points of your email, let me exceptionally raise the last point first: > https://ci.guix.gnu.org/build/3767854/details This refers to g-golf-0.8.0-a.1 Can you re-ensure me and confirm you are using the latest version, 0.8.0-rc-3, because a number of critical bugs have been fixed on the way to and one in 0.8.0-rc-3 ? > This is a bug in Guix territory; not your g-golf. Right - > I have successfully run gtk-4/hello-world.scm, fully responsive > ... Great - Can you 'permanently' fix the problem, in guix i mean, and 'for all', or is it something every user has(will have to) to know about and 'do', for every session? > drawing-widget.scm continued segfaulting, even during the time when > hello-world.scm worked. Hum, it is a short and simple example, however, it uses (it has to) define-vfunc, and this is very likely where the problem is, we'll see ... But for now, if you don't mind, let's focus on all examples but: drawing-widget.scm simple-paintable.scm animated-paintable.scm All other gtk-4 example should work, under the condition you set to successfully run the hello-world.scm example The adw-1 examples should work as well, both the hello-world.scm and the adw1-demo.scm > ... > My hope was you knew debugging tricks. After fruitless debug attempts > with Guile=E2=80=99s ,trace meta-command, I began attaching GDB to Guile, > where I then run > ... I don't have any debugging 'special' tricks or tips - in debian (you'll have to adapt for guix ofc): sudo apt-get install systemd-coredump then, when facing such a segfault problem, run the example, which produces a coredump, then: cd /var/lib/systemd/coredump/ # list the files and grab the id of the last coredump, if # more then one ... for example ... 1670341 =09 # install the missing symbols sudo -- sh -c 'rm -f core ; \ coredumpctl dump 1670341 > core ; \ find-dbgsym-packages --install core ; \ rm -f core' # get a backtrace sudo coredumpctl debug 1670341 ... (gdb) bt > ... > scheme@(guile-user)> (load "/home/florian/src/g-golf/examples/gtk-4/hello= -world.scm") > scheme@(guile-user)> (main '("guile")) No big deal, but i usually run using/calling: (main '()) > I=E2=80=99m rarely on IRC and prefer asynchronous communication. Fine, ping me if you do ... (my nick is daviid) > The Adwaita hello-world fails in the same way as GTK hello-world It should not, nor the adw1-demo, under the circumstances that makes the gtk-4 hello-world running fine that is ... > thank you for advising me to use Adwaita; I did not know it is a good > idea to use it over plain GTK). Welcome - You definitely should learn and use adwaita ... and use gtk-4 for what ever is not in adwaita ofc ... > Thank you for confirming the real error is this > > (hello-world.scm:12627): GLib-GObject-CRITICAL **: 23:59:51.067: > > cannot register existing type 'GdkPixbuf' =20 I don't think 'it matters', the thing is to understand and solve is why gui= x is trying to load more then once (any of) the typelib(s) involved in the session/example you are 'running' -=20 > The warning when not running d-bus > (guile:3310): Gtk-WARNING **: 17:06:29.832: Unable to acquire session > bus: Failed to execute child process =E2=80=9Cdbus-launch=E2=80=9D (No su= ch file or > directory) =20 > occurs for gnome-calculator as well and is not fatal to it. Also it, > strangely, disappeared for g-golf=E2=80=99s hello-world.scm, at the time = when > it worked. But you should try to solve this, with the help of guix guru ... g-golf does not depend on dbus, but indirectly, gtk-4 (and or Gio, i can't recall the full details now) do, to (notably) register the application ...) Guix g-golf users should be able to assume a zero warning, zero error on all provided g-golf examples - unless reproducible in other distro ofc. > There are no per-package services in Guix, so it cannot be guaranteed > d-bus is running everywhere (and missing d-bus is not fatal). I did > try in a Guix System=E2=80=99s GNOME desktop environment and D-Bus and > something A11Y run there by default. But the GdkPixbuf error was > still present. Caution - the warning that leads to the recommendation to either solve or set the GTK_A11Y env var has nothing to do with the GdkPixbuf error > ... > Now run ./configure [--prefix=3D/your/prefix] [--with-guile-site] > $ ./configure --with-guile-site > configure: error: cannot find install-sh, install.sh, or shtool in > build-aux "."/build-aux I'll let you solve this with guix wizard(s) =20 > But the g-golf Guix package does run configure and make check > successfully after some workarounds. Their log file is at > https://bordeaux.guix.gnu.org/build/c6bd0e09-70cc-4b78-8b78-808b6bb9d9b1 The above link doesn't work for me: 502 Bad Gateway > https://ci.guix.gnu.org/build/3767854/details This refers to g-golf-0.8.0-a.1 David --Sig_/N3VIwzx/OctlPWyHbiyf37i Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAmYjSe8ACgkQ83T9k6MF etdJlAgAo49YNyB6Hn1F5Hnfc7+TL3NTbZ3hbAzdCOEHBOb+8SrzDF4DvixAeK+6 KlSU5X+uKn1V70bFDoF2DKFQngQjRDKuqZ7rmqAJ6DnbJYJLlJLlTqx671Qpr2dK oj5HSn0N/JRuj1l9O9+T2I4n9l9uI982FCJPpR0NYuXVTgt+6g8qnNlFekU28FYO yqr79pOBa4/hRHL3leG7HTmvZA8bkofuF4KCNCmXWIAxmX4l2x70IZyw0eLURKwa HPYg+IJP/EwW5pJA/NVwWUWjQ4jmRngiQKFzNIJSI/HYk7iJiCzWKfD4p3ZDl/vi hGOE/EEOEYgVnfKspYi2RNZbjDhHrg== =NOKF -----END PGP SIGNATURE----- --Sig_/N3VIwzx/OctlPWyHbiyf37i--