Sam James 72dbf2ec40 app-office/gnucash: don't use installed copy of gnucash for build or tests
Per https://www.gnu.org/software/guile/manual/html_node/Foreign-Libraries.html,
newer guile (>= 3.0.6) will respect GUILE_EXTENSIONS_PATH when looking up paths for
`dlopen` for `load-extension` -> `load-foreign-library`. Older guiles will use
`LTDL_LIBRARY_PATH` instead.

Without this set, the system paths are checked instead (maybe falling back
to another variable if not found on the system, unclear), and we end up
with build failures when we try to mix system and just-built gnucash (this
is also obviously a problem for testing as well).

For tests, we additionally have to do a "fake install" in ${BUILD_DIR}/whatever
and we set the path to that in the ebuild with GENTOO_TEMPORARY_TEST_INSTALLDIR.

https://www.gnu.org/software/guile/manual/html_node/Load-Paths.html and
https://www.gnu.org/software/guile/manual/html_node/Environment-Variables.html were
also a lot of help.

(When testing w/ guile-2.2 briefly, it didn't seem that we needed
to set LTDL_LIBRARY_PATH, but someone can add that if it turns out to be
needed, or I may later.)

(With regard to GUILE_AUTO_COMPILE=0, dropped that as it doesn't seem
necessary. Plan is to also add GUILE_AUTO_COMPILE=fresh to the eclass,
am discussing it w/ Arsen.)

Bug: https://bugs.gnucash.org/show_bug.cgi?id=799159
Bug: https://bugs.gentoo.org/359033
Bug: https://bugs.gentoo.org/371264
Bug: https://bugs.gentoo.org/734286
Bug: https://bugs.gentoo.org/946927
Closes: https://bugs.gentoo.org/941426
Signed-off-by: Sam James <sam@gentoo.org>
2024-12-26 09:55:46 +00:00
2024-12-26 11:49:39 +02:00
2024-12-22 01:27:47 +00:00
2024-12-22 10:57:35 +01:00
2024-12-24 14:23:56 -08:00
2024-12-15 21:29:18 +01:00
2024-12-22 13:20:40 -08:00
2024-12-23 23:23:19 +01:00
2024-12-21 22:27:18 +01:00
2024-12-05 07:34:44 +01:00
2024-12-16 14:44:33 -05:00
2024-12-24 14:41:49 +01:00
2024-12-24 11:08:27 +00:00
2024-12-26 09:04:15 +01:00
2024-12-24 10:31:52 +01:00
2024-12-25 15:52:14 +01:00
2024-12-24 09:15:34 +01:00
2024-12-17 23:52:17 -05:00
2024-12-26 07:33:15 +01:00
2024-12-24 05:46:21 +00:00
2024-12-09 17:50:18 +01:00
2024-12-24 11:08:27 +00:00
2024-12-25 17:58:17 +01:00
2024-12-26 00:12:33 -05:00
2024-11-25 23:39:17 -05:00
S
Description
No description provided
9.8 GiB
Languages
Shell 97.9%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%