[GNC-dev] build fail maint and master related to scm - no code for module

John Ralls jralls at ceridwen.us
Thu Feb 27 23:23:15 EST 2020



> On Feb 27, 2020, at 4:01 PM, c.holtermann at gmx.de wrote:
> 
> Hello !
> 
> I didn't have time to work on gnucash for some time and am just now
> restarting to build current versions. I can build 3.8 but maint and
> master fail.
> 
> I'm on debian buster.
> 
> maint:
> 
>>> cmake -D CMAKE_INSTALL_PREFIX=$HOME/.local -D WITH_PYTHON=ON
>>> ../upstream-maint/
>>> make
> ...
> [ 84%] Generating
> ../../../lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/lot-viewer.go
> Backtrace:
> In system/base/target.scm:
>  59: 19 [with-target "x86_64-pc-linux-gnu" ...]
> In system/base/compile.scm:
> 152: 18 [compile-file
> "/home/christoph/Programmieren/gnucash/gnucash-git/upstream-maint/gnucash/report/standard-reports/lot-viewer.scm"
> ...]
>  43: 17 [call-once #<procedure 561d21bc1c40 at
> system/base/compile.scm:56:5 ()>]
> In ice-9/boot-9.scm:
> 174: 16 [with-throw-handler #t ...]
> In system/base/compile.scm:
>  59: 15 [#<procedure 561d21bc1c00 at system/base/compile.scm:58:9 ()>]
> 155: 14 [#<procedure 561d21bc1c80 at system/base/compile.scm:153:8
> (port)> #<closed: file 0>]
> 218: 13 [read-and-compile #<input: lot-viewer.scm 9> #:from ...]
> 234: 12 [lp (# # # # ...) #<directory # 561d21d3f360> #<directory #
> 561d21d3f360>]
> 182: 11 [lp (#<procedure compile-tree-il (x e opts)>) (use-modules #)
> ...]
> In ice-9/boot-9.scm:
> 2404: 10 [save-module-excursion #<procedure 561d21e9c4b0 at
> language/scheme/compile-tree-il.scm:29:3 ()>]
> In language/scheme/compile-tree-il.scm:
>  31: 9 [#<procedure 561d21e9c4b0 at
> language/scheme/compile-tree-il.scm:29:3 ()>]
> In ice-9/psyntax.scm:
> 1106: 8 [expand-top-sequence ((use-modules #)) () ((top)) ...]
> 989: 7 [scan ((use-modules (gnucash report business-reports))) () ...]
> 279: 6 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...]
> In ice-9/boot-9.scm:
> 3589: 5 [process-use-modules (((gnucash report business-reports)))]
> 705: 4 [map #<procedure 561d21814d00 at ice-9/boot-9.scm:3589:25
> (mif-args)> ((#))]
> 3590: 3 [#<procedure 561d21814d00 at ice-9/boot-9.scm:3589:25
> (mif-args)> (#)]
> 2870: 2 [resolve-interface (gnucash report business-reports) #:select
> ...]
> In unknown file:
>   ?: 1 [scm-error misc-error #f ...]
> In ice-9/boot-9.scm:
> 109: 0 [#<procedure 561d21bc1bc0 at ice-9/boot-9.scm:100:6 (thrown-k .
> args)> misc-error ...]
> 
> ice-9/boot-9.scm:109:20: In procedure #<procedure 561d21bc1bc0 at
> ice-9/boot-9.scm:100:6 (thrown-k . args)>:
> ice-9/boot-9.scm:109:20: no code for module (gnucash report
> business-reports)
> make[2]: ***
> [gnucash/report/standard-reports/CMakeFiles/scm-standard-reports-2.dir/build.make:195:
> lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/lot-viewer.go]
> Fehler 1
> make[1]: *** [CMakeFiles/Makefile2:12288:
> gnucash/report/standard-reports/CMakeFiles/scm-standard-reports-2.dir/all]
> Fehler 2
> make: *** [Makefile:163: all] Fehler 2
> 
> master:
> 
>>> cmake -D CMAKE_INSTALL_PREFIX=$HOME/.local -D WITH_PYTHON=ON
>>> ../upstream-master/
>>> make
> ...
> [ 66%] Generating
> ../../../lib/x86_64-linux-gnu/guile/2.0/site-ccache/gnucash/reports.go
> Backtrace:
> In system/base/target.scm:
>  59: 19 [with-target "x86_64-pc-linux-gnu" ...]
> In system/base/compile.scm:
> 152: 18 [compile-file
> "/home/christoph/Programmieren/gnucash/gnucash-git/upstream-master/gnucash/report/reports/reports.scm"
> ...]
>  43: 17 [call-once #<procedure 5582027c8c40 at
> system/base/compile.scm:56:5 ()>]
> In ice-9/boot-9.scm:
> 174: 16 [with-throw-handler #t ...]
> In system/base/compile.scm:
>  59: 15 [#<procedure 5582027c8c00 at system/base/compile.scm:58:9 ()>]
> 155: 14 [#<procedure 5582027c8c80 at system/base/compile.scm:153:8
> (port)> #<closed: file 0>]
> 218: 13 [read-and-compile #<input: reports.scm 9> #:from ...]
> 234: 12 [lp (# # # # ...) #<directory # 55820294a360> #<directory #
> 55820294a360>]
> 182: 11 [lp (#<procedure compile-tree-il (x e opts)>) (use-modules #)
> ...]
> In ice-9/boot-9.scm:
> 2404: 10 [save-module-excursion #<procedure 558202d54c60 at
> language/scheme/compile-tree-il.scm:29:3 ()>]
> In language/scheme/compile-tree-il.scm:
>  31: 9 [#<procedure 558202d54c60 at
> language/scheme/compile-tree-il.scm:29:3 ()>]
> In ice-9/psyntax.scm:
> 1106: 8 [expand-top-sequence ((use-modules (gnucash reports standard
> ...))) () ...]
> 989: 7 [scan ((use-modules (gnucash reports standard ...))) () ...]
> 279: 6 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...]
> In ice-9/boot-9.scm:
> 3589: 5 [process-use-modules (((gnucash reports standard payables)))]
> 705: 4 [map #<procedure 55820241d8c0 at ice-9/boot-9.scm:3589:25
> (mif-args)> ((#))]
> 3590: 3 [#<procedure 55820241d8c0 at ice-9/boot-9.scm:3589:25
> (mif-args)> (#)]
> 2870: 2 [resolve-interface (gnucash reports standard ...) #:select ...]
> In unknown file:
>   ?: 1 [scm-error misc-error #f ...]
> In ice-9/boot-9.scm:
> 109: 0 [#<procedure 5582027c8bc0 at ice-9/boot-9.scm:100:6 (thrown-k .
> args)> misc-error ...]
> 
> ice-9/boot-9.scm:109:20: In procedure #<procedure 5582027c8bc0 at
> ice-9/boot-9.scm:100:6 (thrown-k . args)>:
> ice-9/boot-9.scm:109:20: no code for module (gnucash reports standard
> payables)
> make[2]: ***
> [gnucash/report/reports/CMakeFiles/scm-rpt-reports.dir/build.make:61:
> lib/x86_64-linux-gnu/guile/2.0/site-ccache/gnucash/reports.go] Fehler 1
> make[1]: *** [CMakeFiles/Makefile2:12625:
> gnucash/report/reports/CMakeFiles/scm-rpt-reports.dir/all] Fehler 2
> make: *** [Makefile:163: all] Fehler 2

That kind of error usually means that the build is finding the wrong libraries and guile caches. One way around that is to uninstall GnuCash but if you keep your books on the same computer that you develop you probably don't want to do that. In that case the simplest approach is to set up a VM to develop in.

Regards,
John Ralls



More information about the gnucash-devel mailing list