"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.

So repro recipe for your environment is:

  with 3.0.10, build gnucash 5.13 from source and run it.

  then, build 3.0.11 and replace the 3.0.10 build with it

  next, build gnucash 5.13 again

>> /tmp/work/finance/gnucash/work/gnucash-5.13/gnucash/report/test/test-commodity-utils.scm
>>   ice-9/boot-9.scm:1705:22: In procedure raise-exception:
>>   Syntax error:
>>   unknown location: lambda: bad lambda in form (lambda ())
>>   ninja: build stopped: subcommand failed.
>>   *** Error code 1
>
> An empty lambda could mean that a macro is missing in dependencies. Does
> the build have GUILE_LOAD_COMPILED_PATH set (to find the existing *.go
> files)? I think I stumbled over something similar, but only with
> wisp-code, so I thought it was a local hack gone wrong.

gnucash's build has, on the cmake line

GUILE_LOAD_COMPILED_PATH=/tmp/work/finance/gnucash/work/gnucash-5.13/cmake-pkgsrc-build/gnucash/report/test:/tmp/work/finance/gnucash/work/gnucash-5.13/cmake-pkgsrc-build/lib/guile/3.0/site-ccache:/tmp/work/finance/gnucash/work/gnucash-5.13/cmake-pkgsrc-build/lib/guile/3.0/site-ccache/gnucash/deprecated

Reply via email to