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: G-Golf - handling of unresloved symbols in gobject-inspection Date: Thu, 21 Jul 2022 23:31:06 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37831"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Jul 22 08:33:39 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 1oEmEF-0009iB-NT for guile-user@m.gmane-mx.org; Fri, 22 Jul 2022 08:33:39 +0200 Original-Received: from localhost ([::1]:56424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEmED-0006Yp-QE for guile-user@m.gmane-mx.org; Fri, 22 Jul 2022 02:33:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEmCR-0006Xl-QI for guile-user@gnu.org; Fri, 22 Jul 2022 02:31:47 -0400 Original-Received: from mail-il1-x12f.google.com ([2607:f8b0:4864:20::12f]:41770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEmCP-0000IQ-HD for guile-user@gnu.org; Fri, 22 Jul 2022 02:31:47 -0400 Original-Received: by mail-il1-x12f.google.com with SMTP id d4so1912146ilc.8 for ; Thu, 21 Jul 2022 23:31:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atai-org.20210112.gappssmtp.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=vxZ5q9i1LzVUf/amAeUT899VGwyx+BJll6tnEbKEOK0=; b=esDzeHWJ/rl0f+3jMp3YUVuT9egwqmwHW2kTaKo5h6FQW9Q6dQOmbdix60K+xZ5m5e e0POxEqTSvph4BkrX5pFeziuspHNDwVN6irECDJ9wVUyEb/uECKVKIUWSLWNOf/CM6Nx m5r+9Lp3LviZNT6pZxsFDXtiPRMRquM+73kZ91vAeQ0LTDkvk1C0yayqJvDuI6zdJg8V 5QQ9K4vtTNBu0kswa57KOey+CR76emDoLHIsigtlMm49PkY3ss6XkOrt/FnSsdYQAr4f GtYHK6L2ijHNvTfiKz0q38J7UTYYEdrUVve7wkpMfUBl1/g7yME2AMf/RNFLG/BwSDOl LBHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vxZ5q9i1LzVUf/amAeUT899VGwyx+BJll6tnEbKEOK0=; b=iMGgNEFDXlTvRBO30fQg4NkP4ZF+2fRS8MtCNrZB5D9cuJrSEMPmq8GXxPpJys63hH zitIWoaq+uZ0H2XuEJBQiVVIUZ3Fnq6z/oTtezap2pQHhQZocaCDZy6eua5SHyRPzIM0 C0AIetgkIU5opEB8l9YiAQ9cIgNFQ3KdzmlEZhetoeN+Y46MFjXCkImO4ytreGtGidXl tOVYssBzf9xoZBOWGlEIBFSwU2KY1ffJiOKad6wicwKL7+9JUNLDk2BSfyJ+GOab60jU cFjVmv6rOMP/6FlClDmLBITj/QFxkHZcMmWOBBz2wG7yLjW5nQiKcFxqZROLKJzozjjh A89w== X-Gm-Message-State: AJIora/DjHiDANwZ1TyLmKdlGx2E5S6o42ghaDtuP6ucsyPi0iKwgwse 2jwXbWuVvoPLEeeJYro+lzAWzm1iqXWWV5zEJ/ChFkFn4IQ= X-Google-Smtp-Source: AGRyM1uZnfe/nJQCjCH45pZ/e572CEcChlnOrql9ywMeVfMMJ+W9gXBjEFNWuBG31gGYBMT8V+zNkBsrZoxY+ebhbsk= X-Received: by 2002:a05:6e02:1522:b0:2dd:191e:8a80 with SMTP id i2-20020a056e02152200b002dd191e8a80mr814985ilu.312.1658471502711; Thu, 21 Jul 2022 23:31:42 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::12f; envelope-from=lichengtai@gmail.com; helo=mail-il1-x12f.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:18445 Archived-At: 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. 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" As different GNU/Linux distributions may ship older versions of GI, this will prevent G-Golf-using programs from working on them, even if the functions that are unresolved may be unused and unneeded Is it possible for G-Golf to ignore such unresolve symbol error and continue? Thanks for info on this.