[GNC-dev] I need help building GnuCash on master

John Ralls jralls at ceridwen.us
Tue May 26 18:28:04 EDT 2020



> On May 26, 2020, at 1:34 PM, Christian Gruber <christian.gruber at posteo.de> wrote:
> 
> Hi,
> 
> I tried to build GnuCash from master (currently fde6be6e0) for the first time. Before I always built from maint.
> 
> I get a strange build error:
> 
> Scanning dependencies of target scm-engine-2
> [ 30%] Generating ../../lib/x86_64-linux-gnu/guile/2.2/site-ccache/gnucash/utilities.go
> Backtrace:
> In scripts/compile.scm:
>    264:26 19 (_ _)
> In system/base/target.scm:
>      57:6 18 (with-target _ _)
> In system/base/compile.scm:
>     152:6 17 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ …)
>      43:4 16 (call-once _)
> In ice-9/boot-9.scm:
>     841:4 15 (with-throw-handler _ _ _)
> In system/base/compile.scm:
>     59:11 14 (_)
>    155:11 13 (_ #<closed: file 561e90479230>)
>    235:18 12 (read-and-compile #<input: utilities.scm 13> #:from _ # …)
>    183:32 11 (compile-fold (#<procedure compile-tree-il (x e opts)>) …)
> In ice-9/boot-9.scm:
>    2312:4 10 (save-module-excursion #<procedure 561e90548800 at lang…>)
> In language/scheme/compile-tree-il.scm:
>     31:15  9 (_)
> In ice-9/psyntax.scm:
>   1262:36  8 (expand-top-sequence ((use-modules (gnucash #))) _ _ #f …)
>   1209:24  7 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
>    285:10  6 (parse _ (("placeholder" placeholder)) (()) _ c&e (# #) #)
> In ice-9/boot-9.scm:
>   3377:20  5 (process-use-modules _)
>    222:17  4 (map1 (((gnucash core-utils))))
>   3378:31  3 (_ ((gnucash core-utils)))
>    2803:6  2 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
> In unknown file:
>            1 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)
> In ice-9/boot-9.scm:
>    752:25  0 (dispatch-exception _ _ _)
> 
> ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
> no code for module (gnucash core-utils)
> 
> 
> 
> I get the same build error even when using earlier commits from master, tag 3.902 for instance.
> 
> Do I do something wrong?

Christian,

Did you remember to uninstall GnuCash and build in a completely clean (as in rm -rf *) build directory?

Regards,
John Ralls



More information about the gnucash-devel mailing list