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

Sorry for all the GNOME name mixup.   Thanks for looking into the
problem regardless of my incorrect terms!

On Fri, Jul 22, 2022 at 1:08 PM David Pirotte <david@altosw.be> wrote:
>
> 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



-- 
Andy Tai, atai@atai.org, Skype: licheng.tai, Line: andy_tai, WeChat: andytai1010
Year 2021 民國110年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能



  reply	other threads:[~2022-07-22 20:55 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
2022-07-22 20:55   ` Andy Tai [this message]
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=CAJsg1E9wNpRg0VZbhRd0DxosU1uLftHLQjoY_Kv71uVewu7iOw@mail.gmail.com \
    --to=atai@atai.org \
    --cc=david@altosw.be \
    --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).