[GNC] "31 tests failed out of 128" in Ubuntu 24.04
John Ralls
jralls at ceridwen.us
Sun May 4 17:38:26 EDT 2025
> On May 4, 2025, at 1:41 PM, Dong Lin via gnucash-user <gnucash-user at gnucash.org> wrote:
>
> With release 5.11 under Ubuntu 24.04, all 31 failed with this error:
> Loading guile/site file from outside build tree! "/usr/share/guile/site/3.0/gnucash/options.scm"
> This used to pass in 5.9 under Ubuntu 22.04. Now even 5.9 failed with the same error in Ubuntu 24.04.
> When I disable this check, all 128 tests passed. but loading the installed version of options.scm seems wrong.
> Does this mean I must remove the installed gnucash in order to run the build binaries properly? Is there a way to run the tests strictly within the build directory?
Correct, Guile makes it impossible to test a gnucash build when there is a distro-installed Gnucash. That’s why the test is there: To ensure that you’re testing your build and not some combination of your built C libraries and the installed Guile code.
You might be able to construct a chroot jail that excludes the installed GnuCash. If you manage it please write up a wiki page to guide others.
Regards,
John Ralls
More information about the gnucash-user
mailing list