unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: David Pirotte <david@altosw.be>
To: Andy Tai <atai@atai.org>
Cc: guile-user@gnu.org
Subject: Re: G-Golf - handling of unresloved symbols in gobject-inspection
Date: Fri, 22 Jul 2022 17:07:58 -0300	[thread overview]
Message-ID: <20220722170758.6ef928a5@aicha> (raw)
In-Reply-To: <CAJsg1E9P7R10PySDwuTE4ve=ozBTaUsRB6OxmDcw_hHCRcHyCw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1402 bytes --]

Hello Andy,

> G-Golf seems to assume the GObject Inspection (GI) present is the
> latest (0.72) and will fail to load if the GI version is older.

I understand what made you write this, as you found a bug that I will
fix and let you know, thanks, but actually the minimal GObject
Introspection version is 1.48.0 (you probably meant to write 1.72.0
here above, and probably also meant to  write GObject Introspection,
because there is a GObject Inspector, which you can activate to inspect
your app, but this is a totally different 'beast').

> For example, on GNU Guix, the GI version is for now at 0.64.  So
> G-Golf, when invoked from a guile program using it,  would fail with

> ;;; In procedure dlsym: Error resolving
> "g_callable_info_create_closure":
> "/gnu/store/g6gxhcy7lcmnx14jrinmh6vhanx8rh79-profile/lib/libgirepository-1.0.so:
> undefined symbol: g_callable_info_create_closure"

You probably meant 1.64.0 but I get the message of course, thanks. You
you are right wrt to g_callable_info_create_closure, introduced in GI
1.71.0, earlier version should use g_callable_info_prepare_closure, and
actually, G-Golf checks for the GI version in use and dispatch its
call accordingly, but so far at runtime 'only': I just added the 'low
level' binding, which also need a check of course, will fix this,
thanks.

I will let you know,
Thanks for the report,
David

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2022-07-22 20:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-22  6:31 G-Golf - handling of unresloved symbols in gobject-inspection Andy Tai
2022-07-22 20:07 ` David Pirotte [this message]
2022-07-22 20:55   ` Andy Tai
2022-07-28  1:23   ` David Pirotte
2022-07-28 14:58     ` Andy Tai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220722170758.6ef928a5@aicha \
    --to=david@altosw.be \
    --cc=atai@atai.org \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).