Re: GNU Guile 3.0.11 released

Matt Wette <[email protected]> Sun, 14 Dec 2025 18:13:08 -0800
Newsgroups gmane.lisp.guile.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------SXDPrLrA0zYbz00s1wODTuno
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

On 12/14/25 1:26 PM, Tomas Volf wrote:
> Rob Browning<[email protected]> writes:
>
>> Greg Troxel<[email protected]> writes:
>>
>>> "Dr. Arne Babenhauserheide"<[email protected]> writes:
>>>
>>>> Greg Troxel<[email protected]> writes:
>>>>
>>>>> tl:dr: gnucash is not happy with new guile, and I wonder if anybody else
>>>>> is seeing this.  I realize this is perhaps a latent bug in gnucash.
>>>> Can you give instructions for reproducing this?
>>> What I did is:
>>>
>>>    NetBSD 10 amd64
>>>    all packages built from pkgsrc-current
>>>    locally update lang/guile30 from 3.0.10 to 3.0.11, and install it
>>>    try to build finance/gnucash (5.13)
>>>
>>> with 3.0.11 installed, I get the error I included.   With 3.0.10
>>> installed, and nothing else changed, it builds and starts.
>> I think Matt Wette figured this out.  The crash appears to be caused by
>> a change in our overhauled SRFI-64 that expands test-group forms
>> without a body differently, e.g.:
>>
>>    (test-group "some-group")
>>
>>
The root cause of the error message is, I believe, a bug in the gnucash 
code,
which included the finalizer in the body.  I guess that is unintended.

I am curious if that code has been fixed in gnucash.

The form is iIRC (test-group-with-finalizer name (body ...) finalizer).
Most of the ten cases look like this but the last two look like
(test-group-with-finalizer name (body .... finalizer)), and so it looks
to the maco expander that there is no body, but just the finalizer (body 
... finalizer).

Matt
--------------SXDPrLrA0zYbz00s1wODTuno
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 12/14/25 1:26 PM, Tomas Volf wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:[email protected]">
      <pre wrap="" class="moz-quote-pre">Rob Browning <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> writes:

</pre>
      <blockquote type="cite">
        <pre wrap="" class="moz-quote-pre">Greg Troxel <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> writes:

</pre>
        <blockquote type="cite">
          <pre wrap="" class="moz-quote-pre">"Dr. Arne Babenhauserheide" <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> writes:

</pre>
          <blockquote type="cite">
            <pre wrap="" class="moz-quote-pre">Greg Troxel <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> writes:

</pre>
            <blockquote type="cite">
              <pre wrap="" class="moz-quote-pre">tl:dr: gnucash is not happy with new guile, and I wonder if anybody else
is seeing this.  I realize this is perhaps a latent bug in gnucash.
</pre>
            </blockquote>
            <pre wrap="" class="moz-quote-pre">
Can you give instructions for reproducing this?
</pre>
          </blockquote>
          <pre wrap="" class="moz-quote-pre">
What I did is:

  NetBSD 10 amd64
  all packages built from pkgsrc-current
  locally update lang/guile30 from 3.0.10 to 3.0.11, and install it
  try to build finance/gnucash (5.13)

with 3.0.11 installed, I get the error I included.   With 3.0.10
installed, and nothing else changed, it builds and starts.
</pre>
        </blockquote>
        <pre wrap="" class="moz-quote-pre">
I think Matt Wette figured this out.  The crash appears to be caused by
a change in our overhauled SRFI-64 that expands test-group forms
without a body differently, e.g.:

  (test-group "some-group")


</pre>
      </blockquote>
    </blockquote>
    The root cause of the error message is, I believe, a bug in the
    gnucash code,<br>
    which included the finalizer in the body.  I guess that is
    unintended.<br>
    <br>
    I am curious if that code has been fixed in gnucash.<br>
    <br>
    The form is iIRC (test-group-with-finalizer name (body ...)
    finalizer).<br>
    Most of the ten cases look like this but the last two look like<br>
    (test-group-with-finalizer name (body .... finalizer)), and so it
    looks<br>
    to the maco expander that there is no body, but just the finalizer
    (body ... finalizer).<br>
    <br>
    Matt
  </body>
</html>

--------------SXDPrLrA0zYbz00s1wODTuno--