From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andy Tai Newsgroups: gmane.lisp.guile.user Subject: Re: G-Golf - handling of unresloved symbols in gobject-inspection Date: Fri, 22 Jul 2022 13:55:18 -0700 Message-ID: References: <20220722170758.6ef928a5@aicha> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11018"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user@gnu.org To: David Pirotte Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Jul 22 22:56:15 2022 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 1oEzh1-0002fY-0i for guile-user@m.gmane-mx.org; Fri, 22 Jul 2022 22:56:15 +0200 Original-Received: from localhost ([::1]:58484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEzgz-00023J-Lr for guile-user@m.gmane-mx.org; Fri, 22 Jul 2022 16:56:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEzgl-000234-AF for guile-user@gnu.org; Fri, 22 Jul 2022 16:55:59 -0400 Original-Received: from mail-il1-x130.google.com ([2607:f8b0:4864:20::130]:41759) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEzgh-0006eX-FX for guile-user@gnu.org; Fri, 22 Jul 2022 16:55:58 -0400 Original-Received: by mail-il1-x130.google.com with SMTP id d4so2856696ilc.8 for ; Fri, 22 Jul 2022 13:55:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atai-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=uXqpDyCGFeBZwDPUZtxorwXCOdFbFk2FSw4rGSD8stU=; b=Hnlyxp0WC0K4t+uHK0l16neuysIoSB4dl8HL7uBUnEB2iogFwZcIpEXx5ViGD+Nqhp FiMdnVasQqv1xyc6UBU5/TyreBdCLN4SRhclilzbtVEWBJClOXhVai9XiH4nKXHt72Ml LX2APBo6PsaCQ4a8uWcla/Iw9QxRN/MOYk8C2PdMzIQibxbt6U4wyATN2aqhnH/5t6Ih VA5mIapgHA61lTvGgQiqM/YMi/GfJTQOeFzSvuQZVerOB9M0vb1KjRKgziIJQXM6Ja64 b+XDhSNjFVTZU/vJ7/gUFuhJveazuLuqAvLCbDa8DaLzjEJuFGg6vhJcJmPQ3bwIdJ4A tdZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=uXqpDyCGFeBZwDPUZtxorwXCOdFbFk2FSw4rGSD8stU=; b=2zkeLJBF33s5Nw96NeOqkX5Rd9MD/bk8iJcHkXTlA2geppFCAMWX//YeIs6v7wYUsy imT3Ikmhv9XiHNLTvBH1b0wZe4azcXXU9oodXITKozLaxo+ZhaLQlxFkuoFoJMivLhB6 //xSQ1ZlPeoToU3xcBvHK4+zVtgQgdesSs5k2GXoqKnkUG6kanSmyNk76WL6jB/yQXh1 UXWt7qc1Iluq0k9cXqhdkhn2Y22DS7BQbLUYE8Xg7InfqFfN9EtKBSoIGmIzc7KW4Y6l gUDOxOaRwTEGnBX3YqO1uKDud6ItYriesw6OpNGsfIWjOB6k7QDP1kWUDr6c7r52qa8b KACw== X-Gm-Message-State: AJIora8kAyJ5SWLdLkU2NAngM2ncRyU6JNvn3g4eWr0ryrM38z0AIuOc SvZ4bHqGDjxlIS4gy9UeFunfoPDaQNiar6LhRvekRD98 X-Google-Smtp-Source: AGRyM1sQadcgOE/JIRhvTVH7w//NwrICH+zqVfvf7zv9Hgkl5sM6UpXi8Id2Xd9C4MlISl/8ycrZN2E0fIQl2tJ5xNw= X-Received: by 2002:a05:6e02:1522:b0:2dd:191e:8a80 with SMTP id i2-20020a056e02152200b002dd191e8a80mr683848ilu.312.1658523354228; Fri, 22 Jul 2022 13:55:54 -0700 (PDT) In-Reply-To: <20220722170758.6ef928a5@aicha> Received-SPF: pass client-ip=2607:f8b0:4864:20::130; envelope-from=lichengtai@gmail.com; helo=mail-il1-x130.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" Xref: news.gmane.io gmane.lisp.guile.user:18449 Archived-At: 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 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/libgirepositor= y-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 --=20 Andy Tai, atai@atai.org, Skype: licheng.tai, Line: andy_tai, WeChat: andyta= i1010 Year 2021 =E6=B0=91=E5=9C=8B110=E5=B9=B4 =E8=87=AA=E5=8B=95=E7=9A=84=E7=B2=BE=E7=A5=9E=E5=8A=9B=E6=98=AF=E4=BF=A1=E4= =BB=B0=E8=88=87=E8=A6=BA=E6=82=9F =E8=87=AA=E5=8B=95=E7=9A=84=E8=A1=8C=E7=82=BA=E5=8A=9B=E6=98=AF=E5=8B=9E=E5= =8B=95=E8=88=87=E6=8A=80=E8=83=BD