GNU bug report logs - #43394
DYNAMIC-LINK is unbound when using r6rs library syntax

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Guy Gastineau <strings.stringsandstrings@HIDDEN>; dated Mon, 14 Sep 2020 05:05:02 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at 43394 <at> debbugs.gnu.org:


Received: (at 43394) by debbugs.gnu.org; 14 Sep 2020 15:47:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 14 11:47:22 2020
Received: from localhost ([127.0.0.1]:55941 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kHqhN-0005iW-Dy
	for submit <at> debbugs.gnu.org; Mon, 14 Sep 2020 11:47:22 -0400
Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:40415)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <linus.bjornstam@HIDDEN>) id 1kHknt-0002xN-0g
 for 43394 <at> debbugs.gnu.org; Mon, 14 Sep 2020 05:29:42 -0400
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47])
 by mailout.west.internal (Postfix) with ESMTP id 35B3F7DB;
 Mon, 14 Sep 2020 05:29:35 -0400 (EDT)
Received: from imap1 ([10.202.2.51])
 by compute7.internal (MEProxy); Mon, 14 Sep 2020 05:29:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=veryfast.biz; h=
 mime-version:message-id:in-reply-to:references:date:from:to
 :subject:content-type:content-transfer-encoding; s=fm3; bh=FaPP9
 hCclYVuSLvOuKVptP+VhF7RFP1JuLZRF6BQfhk=; b=dM7O17vy9vbsyEndyDU1V
 /abgMj3jM+jF0HNcRjt6xIBjA8eutuckvDk9DlxXUWicZx9IJ2KywX/BRr4iiP2k
 UV/g2lpApCNeMjAuHeZJv/GCF0/yUlNgaQO9JpHz5KSyPqlieUmVtp/zZc5C5eLd
 XQBRP+KmvubltX/jVvm/Jd0fwoP+WBCfs0nCBwVeLf3fvNff661mowjh0IV7PWqO
 JMwvjy2Kit4+qPt0V/uPt78bN3UmB0GK/cXMYvN1xLqtkur+OVeMvKqkv687cfJc
 vROvWHp6V5ti0ZT4CLg5WZY3O9nsyjv6GrSAoOUIhYD9FZvohrceFJArXVaX18wL
 w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm3; bh=FaPP9hCclYVuSLvOuKVptP+VhF7RFP1JuLZRF6BQf
 hk=; b=oVfr/p88+QwJ8VD0El+K5OTJ6j7vq9fLUzXWsjWiKNuS2XPhdrvayj+d8
 GskRhQLXmaaRUmYjCtECaEwohitiUIeTUH2NQPIM4Ho08SyrAHDj/BAaek4D2ZYN
 fziLgWt/os55EOlfeaXlMnlTsOHhF1ol2Q22sR/3OwIBLhRD9AJB+tNktfMjdbyT
 i/no/GZQJN/JJ3ptbcWWMvGbtD6oZ4dc2doemyAJN7VEmYnFLtzfmHVguvL0imGD
 xxXau35z+ZxvqVJNlAs9vuEKJCIVGVPL8v4EZ58m2SHPGueEXL0IxXNZPjLruzmg
 HktWbdx3pZbjmh7epNORAn8JEuMbA==
X-ME-Sender: <xms:_jdfX025_10BSDGsHTrGspLHM43JoUwVQnQpayN7TfZgrF5h22MAEg>
 <xme:_jdfX_EvT6eCCLjdlVXTsSyi0fWE9ZdNBQHlOUhAUDl6GqLg3W4etxvDDm14REvLJ
 7MV6nAgTlmQXPvhhg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeiiedgudeiucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtgfesth
 hqredtreerjeenucfhrhhomhepnfhinhhushgpuehjnphrnhhsthgrmhcuoehlihhnuhhs
 rdgsjhhorhhnshhtrghmsehvvghrhihfrghsthdrsghiiieqnecuggftrfgrthhtvghrnh
 epudetfeelleefudehffdttdfftefggeegvdfhtdeiteelvddtvdeiieelvdehieejnecu
 ffhomhgrihhnpegrrhgthhhlihhnuhigrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd
 enucfrrghrrghmpehmrghilhhfrhhomheplhhinhhushdrsghjohhrnhhsthgrmhesvhgv
 rhihfhgrshhtrdgsihii
X-ME-Proxy: <xmx:_jdfX85HVonBkgX3meTl9laBQuqfcRZojQV0vpqJ677gmROc3G4jhg>
 <xmx:_jdfX90SCxkmgeFpFN2d_nAzagmIgsnc5KU4M5W_epYJkWghsXl72w>
 <xmx:_jdfX3FaqeLrawkHcc2i0soUJXfH8vZVzvx-l0wmpVTvbaPDU46dtA>
 <xmx:_jdfX-wPlczYC0KrleBfIcfl9lFuRtGuJBhxJE0h3X80KedDQ3YjeQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501)
 id 7D154C200A5; Mon, 14 Sep 2020 05:29:34 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.0-259-g88fbbfa-fm-20200903.003-g88fbbfa3
Mime-Version: 1.0
Message-Id: <cc5545b0-3820-44d4-9fda-b35ecd7343da@HIDDEN>
In-Reply-To: <CAHgGP-+OmbA8W5kvVjqm3URt4k9-Ub3PSFiQfWW3xdzvsdv12A@HIDDEN>
References: <CAHgGP-+OmbA8W5kvVjqm3URt4k9-Ub3PSFiQfWW3xdzvsdv12A@HIDDEN>
Date: Mon, 14 Sep 2020 11:29:09 +0200
From: =?UTF-8?Q?Linus_Bj=C3=B6rnstam?= <linus.bjornstam@HIDDEN>
To: "Guy Gastineau" <strings.stringsandstrings@HIDDEN>,
 43394 <at> debbugs.gnu.org
Subject: Re: bug#43394: DYNAMIC-LINK is unbound when using r6rs library syntax
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 43394
X-Mailman-Approved-At: Mon, 14 Sep 2020 11:47:20 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

In r6rs libraries, only r6rs is available. You need to impor whatever bi=
ndings you need from the (guile) module

--=20
  Linus Bj=C3=B6rnstam

On Mon, 14 Sep 2020, at 05:07, Guy Gastineau wrote:
> Guile version 3.0.4.38-64c894
>=20
> I am on 64 bit arch linux, and I built guile3.0 from the AUR package=20=

> guile-git on Sep 12 2020
> https://aur.archlinux.org/guile-git.git for the PKGBUILD (the config=20=

> options were practically non-existent).
>=20
> I am writing to modules that dynamically link.  DYNAMIC-LINK works in=20=

> the top level REPL, and when using DEFINE-MODULE.
> When using the r6rs library syntax DYNAMIC-LINK is considered unbound=20=

> and the compilation fails.
> The following is an example of the behavior with a minimally viable=20=

> source for reproducing the bug.
>=20
> (library (fail-link (0 1))
>   (export link)
>   (import)
>   (define link dynamic-link))
>=20
> What I get:
> ;;; note: source file /home/guy/guile-fail-link.scm                   =
 =20
>                                              =20
> ;;;       newer than compiled=20
> /home/guy/.cache/guile/ccache/3.0-LE-8-4.4/home/guy/guile-fail-link.sc=
m.go             =20
> ;;; compiling /home/guy/guile-fail-link.scm                           =
 =20
>                                              =20
> ;;; guile-fail-link.scm:4:2: warning: possibly unbound variable=20
> `dynamic-link'                                       =20
> ;;; compiled=20
> /home/guy/.cache/guile/ccache/3.0-LE-8-4.4/home/guy/guile-fail-link.sc=
m.go                              =20
> ice-9/boot-9.scm:1669:16: In procedure raise-exception:               =
 =20
>                                              =20
> Unbound variable: dynamic-link
>=20
> What I expect:
> ;;; note: source file /home/guy/guile-fail-link.scm                   =
 =20
>                                              =20
> ;;;       newer than compiled=20
> /home/guy/.cache/guile/ccache/3.0-LE-8-4.4/home/guy/guile-fail-link.sc=
m.go             =20
> ;;; compiling /home/guy/guile-fail-link.scm                           =
 =20
>                                              =20
> ;;; compiled=20
> /home/guy/.cache/guile/ccache/3.0-LE-8-4.4/home/guy/guile-fail-link.sc=
m.go
>=20
> Additional information:
> After I load the failing library I lose a bunch of top level=20
> definitions and syntax.  Like IMPORT is no longer recognized and I hav=
e=20
> to `,q`
> in order to get the REPL in a usable state again.
>=20
> I can just use DEFINE-MODULE, but honestly I like the r6rs syntax. =20=

> Even though imports between schemes differ enough (and FFI anyway)
> that none of these libraries will end up being portable, I still like=20=

> r6rs library syntax.
>=20
> If I need to find extra information for to help you all figure out wha=
t=20
> is happening, please just let me know.
>=20
> Also, thank you all for your hard work.  I am excited to have this=20
> snappy Guile 3 on my system now ;)
>=20
> - Guy Gastineau




Information forwarded to bug-guile@HIDDEN:
bug#43394; Package guile. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Sep 2020 05:04:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 14 01:04:23 2020
Received: from localhost ([127.0.0.1]:52273 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kHgf7-0006do-OO
	for submit <at> debbugs.gnu.org; Mon, 14 Sep 2020 01:04:23 -0400
Received: from lists.gnu.org ([209.51.188.17]:56104)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <strings.stringsandstrings@HIDDEN>)
 id 1kHeqC-0003pc-9j
 for submit <at> debbugs.gnu.org; Sun, 13 Sep 2020 23:07:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40118)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <strings.stringsandstrings@HIDDEN>)
 id 1kHeqC-0002nv-5E
 for bug-guile@HIDDEN; Sun, 13 Sep 2020 23:07:40 -0400
Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]:41174)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <strings.stringsandstrings@HIDDEN>)
 id 1kHeqA-00086Y-70
 for bug-guile@HIDDEN; Sun, 13 Sep 2020 23:07:39 -0400
Received: by mail-qt1-x831.google.com with SMTP id t20so12432136qtr.8
 for <bug-guile@HIDDEN>; Sun, 13 Sep 2020 20:07:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=t5G/iXfQhMLUDnyMCxGm8JKUWGAAUPxoRmKbIHHygso=;
 b=PDEdJG9AAia0u4H5GUkNB92Q0ATCQKPoL8Eh3OiQJgKY8UL6AwKcKnplhNHuHicqZX
 4/ZEAT4YuCfP/0+KozmI9uEwduqzxefrXbeqJp/nkKHVMgXyf6gQuXbSDeDI1doTsvlP
 +xiTjHw/Y7kgaDpP1j3GycbFVMckLVWRRvSgVA7E7RZIm+fAIxs18v06XRmqXGLXLBi+
 tSTKs76DQ7kTiuBu8+WbsF9d1pl+j45qfEc1gOEpu5zrpTU03JZ4OIzZVhWZ5cXXPqBp
 1DoeWCBBFm+wYZAZy+MrqK1HNnK3avE3DYKChe8/cnjc55xnzaSbegKYp982jtIhRu3k
 A8FQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=t5G/iXfQhMLUDnyMCxGm8JKUWGAAUPxoRmKbIHHygso=;
 b=cGAInwcUSB/takTLQAZNmVRSAz6Hz0aWHepScYoN6sQpvKzkkgrfYKXS7TAIKntuqJ
 Se4gIyjdBGc2sImhri+LsUiIZbpXcXD1Kyp+xqGCWJAKfD18WXdjvzBPEaByW2NkMUkw
 uxa/2n0ppNw7RKuCjDTfD9XWyBMsDqm1Jthfn/SYqc3mtM5GdOQfxPjy17byfaC5Zydi
 SUpa9JW1n75s0xENnzPzVE0yYiXDUX3ZdoC1GORsYZnaWPExzNUoMkPIlXIzmS/1G6zc
 RtbG9t/rYVbrTFiqBLYuEqd31PiuVhx71MPADTp0/7KyEJBU1KS1ziW1a7dohwMOOsUb
 j77g==
X-Gm-Message-State: AOAM533LzskwcKgxB1VKdV0o9+e6+VN/Q9R8Pq3Mb50i3G/42IWp9Enz
 HKeN/ZtUl7Gw+sOBawlBJeCdG1kY0p9K5FR6Nw5u7UsAYD1G2w==
X-Google-Smtp-Source: ABdhPJzicngOeW7xn2qXl4bt5kB050RB79JAZfqQ4QSLBOIACL2BQF8B4COtgiUM+va36cxTKsm0IKuMihqrllK/pHk=
X-Received: by 2002:ac8:32b6:: with SMTP id z51mr6805491qta.303.1600052856847; 
 Sun, 13 Sep 2020 20:07:36 -0700 (PDT)
MIME-Version: 1.0
From: Guy Gastineau <strings.stringsandstrings@HIDDEN>
Date: Sun, 13 Sep 2020 23:07:26 -0400
Message-ID: <CAHgGP-+OmbA8W5kvVjqm3URt4k9-Ub3PSFiQfWW3xdzvsdv12A@HIDDEN>
Subject: DYNAMIC-LINK is unbound when using r6rs library syntax
To: bug-guile@HIDDEN
Content-Type: multipart/alternative; boundary="00000000000027819a05af3d56f4"
Received-SPF: pass client-ip=2607:f8b0:4864:20::831;
 envelope-from=strings.stringsandstrings@HIDDEN;
 helo=mail-qt1-x831.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 14 Sep 2020 01:04:20 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--00000000000027819a05af3d56f4
Content-Type: text/plain; charset="UTF-8"

Guile version 3.0.4.38-64c894

I am on 64 bit arch linux, and I built guile3.0 from the AUR package
guile-git on Sep 12 2020
https://aur.archlinux.org/guile-git.git for the PKGBUILD (the config
options were practically non-existent).

I am writing to modules that dynamically link.  DYNAMIC-LINK works in the
top level REPL, and when using DEFINE-MODULE.
When using the r6rs library syntax DYNAMIC-LINK is considered unbound and
the compilation fails.
The following is an example of the behavior with a minimally viable source
for reproducing the bug.

(library (fail-link (0 1))
  (export link)
  (import)
  (define link dynamic-link))

What I get:
;;; note: source file /home/guy/guile-fail-link.scm

;;;       newer than compiled
/home/guy/.cache/guile/ccache/3.0-LE-8-4.4/home/guy/guile-fail-link.scm.go

;;; compiling /home/guy/guile-fail-link.scm

;;; guile-fail-link.scm:4:2: warning: possibly unbound variable
`dynamic-link'
;;; compiled
/home/guy/.cache/guile/ccache/3.0-LE-8-4.4/home/guy/guile-fail-link.scm.go

ice-9/boot-9.scm:1669:16: In procedure raise-exception:

Unbound variable: dynamic-link

What I expect:
;;; note: source file /home/guy/guile-fail-link.scm

;;;       newer than compiled
/home/guy/.cache/guile/ccache/3.0-LE-8-4.4/home/guy/guile-fail-link.scm.go

;;; compiling /home/guy/guile-fail-link.scm

;;; compiled
/home/guy/.cache/guile/ccache/3.0-LE-8-4.4/home/guy/guile-fail-link.scm.go

Additional information:
After I load the failing library I lose a bunch of top level definitions
and syntax.  Like IMPORT is no longer recognized and I have to `,q`
in order to get the REPL in a usable state again.

I can just use DEFINE-MODULE, but honestly I like the r6rs syntax.  Even
though imports between schemes differ enough (and FFI anyway)
that none of these libraries will end up being portable, I still like r6rs
library syntax.

If I need to find extra information for to help you all figure out what is
happening, please just let me know.

Also, thank you all for your hard work.  I am excited to have this snappy
Guile 3 on my system now ;)

- Guy Gastineau

--00000000000027819a05af3d56f4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Guile version 3.0.4.38-64c894</div><div><br></div><di=
v>I am on 64 bit arch linux, and I built guile3.0 from the AUR package guil=
e-git on Sep 12 2020</div><div><a href=3D"https://aur.archlinux.org/guile-g=
it.git">https://aur.archlinux.org/guile-git.git</a> for the PKGBUILD (the c=
onfig options were practically non-existent).</div><div><br></div><div>I am=
 writing to modules that dynamically link.=C2=A0 DYNAMIC-LINK works in the =
top level REPL, and when using DEFINE-MODULE.</div><div>When using the r6rs=
 library syntax DYNAMIC-LINK is considered unbound and the compilation fail=
s.</div><div>The following is an example of the behavior with a minimally v=
iable source for reproducing the bug.</div><div><br></div><div>(library (fa=
il-link (0 1))</div><div>=C2=A0 (export link)</div><div>=C2=A0 (import)</di=
v><div>=C2=A0 (define link dynamic-link))</div><div><br></div><div>What I g=
et:</div><div>;;; note: source file /home/guy/guile-fail-link.scm =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 <br>;;; =C2=A0 =C2=A0 =C2=A0 newer than compiled /home/guy/.cache/guile=
/ccache/3.0-LE-8-4.4/home/guy/guile-fail-link.scm.go =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0<br>;;; compiling /home/guy/guile-fail-link.scm =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br>;;; guile-fail-link.scm:4:2: war=
ning: possibly unbound variable `dynamic-link&#39; =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<br>;;; compiled /home/guy/.cache/=
guile/ccache/3.0-LE-8-4.4/home/guy/guile-fail-link.scm.go =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 <br>ice-9/boot-9.scm:1669:16: In procedure raise-exception: =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br>U=
nbound variable: dynamic-link</div><div><br></div><div>What I expect:</div>=
<div>;;; note: source file /home/guy/guile-fail-link.scm =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br>;;; =
=C2=A0 =C2=A0 =C2=A0 newer than compiled /home/guy/.cache/guile/ccache/3.0-=
LE-8-4.4/home/guy/guile-fail-link.scm.go =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0<br>;;; compiling /home/guy/guile-fail-link.scm =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 <br>;;; compiled /home/guy/.cache/guile/ccache/3.0=
-LE-8-4.4/home/guy/guile-fail-link.scm.go</div><div><br></div><div>Addition=
al information:</div><div>After I load the failing library I lose a bunch o=
f top level definitions and syntax.=C2=A0 Like IMPORT is no longer recogniz=
ed and I have to `,q`</div><div>in order to get the REPL in a usable state =
again.</div><div><br></div><div>I can just use DEFINE-MODULE, but honestly =
I like the r6rs syntax.=C2=A0 Even though imports between schemes differ en=
ough (and FFI anyway)</div><div>that none of these libraries will end up be=
ing portable, I still like r6rs library syntax.</div><div><br></div><div>If=
 I need to find extra information for to help you all figure out what is ha=
ppening, please just let me know.</div><div><br></div><div>Also, thank you =
all for your hard work.=C2=A0 I am excited to have this snappy Guile 3 on m=
y system now ;)</div><div><br></div><div>- Guy Gastineau<br></div></div>

--00000000000027819a05af3d56f4--




Acknowledgement sent to Guy Gastineau <strings.stringsandstrings@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#43394; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 14 Sep 2020 16:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.