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

Frank H. Ellenberger frank.h.ellenberger at gmail.com
Sat May 30 08:57:37 EDT 2020


Hi,

I watched a similar issue yesterday, wich each call of ninja/make I got
a bit further. So I suspect the dependencies between the guile modules
are not properly declared leading to such errors, when building parallel.

After several trials (and probably other things) suddenly it built again
without errors.

Regards
Frank

Am 30.05.20 um 14:45 schrieb Mark:
> FYI, I just did a pull from git and tried to build maint and master as you
> suggested. Cleaned the guile cache first, clean build folder, cmake Debug
> build, etc.
> *Maint* built without any problems.
> *Master* got to about 32%, then failed, like so:
> ...
> Scanning dependencies of target gncmod-backend-dbi
> [ 32%] Building CXX object
> libgnucash/backend/dbi/CMakeFiles/gncmod-backend-dbi.dir/gnc-backend-dbi.cpp.o
> [ 32%] Building CXX object
> libgnucash/backend/dbi/CMakeFiles/gncmod-backend-dbi.dir/gnc-dbisqlresult.cpp.o
> [ 32%] Building CXX object
> libgnucash/backend/dbi/CMakeFiles/gncmod-backend-dbi.dir/gnc-dbisqlconnection.cpp.o
> [ 32%] Linking CXX shared library
> ../../../lib/gnucash/libgncmod-backend-dbi.so
> [ 32%] Built target gncmod-backend-dbi
> Scanning dependencies of target scm-engine-0
> [ 32%] Generating
> ../../lib/x86_64-linux-gnu/guile/2.0/site-ccache/gnucash/engine/commodity-table.go
> wrote
> `/newdata/dev/git/clone/gnucash/build_make_2020-05-30/lib/x86_64-linux-gnu/guile/2.0/site-ccache/gnucash/engine/commodity-table.go'
> [ 32%] Generating
> ../../lib/x86_64-linux-gnu/guile/2.0/site-ccache/gnucash/engine/gnc-numeric.go
> wrote
> `/newdata/dev/git/clone/gnucash/build_make_2020-05-30/lib/x86_64-linux-gnu/guile/2.0/site-ccache/gnucash/engine/gnc-numeric.go'
> [ 32%] Generating
> ../../lib/x86_64-linux-gnu/guile/2.0/site-ccache/gnucash/engine/business-core.go
> wrote
> `/newdata/dev/git/clone/gnucash/build_make_2020-05-30/lib/x86_64-linux-gnu/guile/2.0/site-ccache/gnucash/engine/business-core.go'
> [ 32%] Built target scm-engine-0
> Scanning dependencies of target scm-engine-1
> [ 32%] Generating
> ../../lib/x86_64-linux-gnu/guile/2.0/site-ccache/gnucash/engine.go
> wrote
> `/newdata/dev/git/clone/gnucash/build_make_2020-05-30/lib/x86_64-linux-gnu/guile/2.0/site-ccache/gnucash/engine.go'
> [ 32%] Built target scm-engine-1
> Scanning dependencies of target scm-engine-2
> [ 32%] Generating
> ../../lib/x86_64-linux-gnu/guile/2.0/site-ccache/gnucash/utilities.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
> "/newdata/dev/git/clone/gnucash/bindings/guile/utilities.scm" ...]
>   43: 17 [call-once #<procedure 560062681c40 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 560062681c00 at system/base/compile.scm:58:9 ()>]
>  155: 14 [#<procedure 560062681c80 at system/base/compile.scm:153:8 (port)>
> #<closed: file 0>]
>  218: 13 [read-and-compile #<input: utilities.scm 9> #:from ...]
>  234: 12 [lp (# #) #<directory # 56006281e360> #<directory # 56006281e360>]
>  182: 11 [lp (#<procedure compile-tree-il (x e opts)>) (use-modules #) ...]
> In ice-9/boot-9.scm:
> 2404: 10 [save-module-excursion #<procedure 5600624a6930 at
> language/scheme/compile-tree-il.scm:29:3 ()>]
> In language/scheme/compile-tree-il.scm:
>   31: 9 [#<procedure 5600624a6930 at
> language/scheme/compile-tree-il.scm:29:3 ()>]
> In ice-9/psyntax.scm:
> 1106: 8 [expand-top-sequence ((use-modules (gnucash core-utils))) () ...]
>  989: 7 [scan ((use-modules (gnucash core-utils))) () ...]
>  279: 6 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...]
> In ice-9/boot-9.scm:
> 3589: 5 [process-use-modules (((gnucash core-utils)))]
>  705: 4 [map #<procedure 5600622dcd40 at ice-9/boot-9.scm:3589:25
> (mif-args)> ((#))]
> 3590: 3 [#<procedure 5600622dcd40 at ice-9/boot-9.scm:3589:25 (mif-args)>
> (#)]
> 2870: 2 [resolve-interface (gnucash core-utils) #:select ...]
> In unknown file:
>    ?: 1 [scm-error misc-error #f ...]
> In ice-9/boot-9.scm:
>  109: 0 [#<procedure 560062681bc0 at ice-9/boot-9.scm:100:6 (thrown-k .
> args)> misc-error ...]
> 
> ice-9/boot-9.scm:109:20: In procedure #<procedure 560062681bc0 at
> ice-9/boot-9.scm:100:6 (thrown-k . args)>:
> ice-9/boot-9.scm:109:20: no code for module (gnucash core-utils)
> bindings/guile/CMakeFiles/scm-engine-2.dir/build.make:64: recipe for target
> 'lib/x86_64-linux-gnu/guile/2.0/site-ccache/gnucash/utilities.go' failed
> make[2]: ***
> [lib/x86_64-linux-gnu/guile/2.0/site-ccache/gnucash/utilities.go] Error 1
> CMakeFiles/Makefile2:14384: recipe for target
> 'bindings/guile/CMakeFiles/scm-engine-2.dir/all' failed
> make[1]: *** [bindings/guile/CMakeFiles/scm-engine-2.dir/all] Error 2
> Makefile:162: recipe for target 'all' failed
> make: *** [all] Error 2
> I am on Linux Mint 19.3
> cheers,
> 
> *Mark Sattolo*
> *epistemik at gmail.com <epistemik at gmail.com>*
> *(613) 447-5385*
> 
> 
> 
> On Sat, May 30, 2020 at 7:53 AM Christian Gruber <christian.gruber at posteo.de>
> wrote:
> 
>>
>> Am 27.05.20 um 02:49 schrieb David Cousens:
>>> Christian
>>>
>>>  From memory I think that error occurs when you have a problem with the
>> cmake
>>> relative addressing from the build directory to the gnucash source
>> directory
>>> although that should be the same no matter whether you have the master or
>>> maint checked out with git.
>> Thanks for the tip, David. But the build error really occurs only when
>> building from master branch, not from maint branch.
>>>
>>> David Cousens
>>>
>>>
>>>
>>> -----
>>> David Cousens
>>> --
>>> Sent from:
>> http://gnucash.1415818.n4.nabble.com/GnuCash-Dev-f1435356.html
>>> _______________________________________________
>>> gnucash-devel mailing list
>>> gnucash-devel at gnucash.org
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>> _______________________________________________
>> gnucash-devel mailing list
>> gnucash-devel at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> 


More information about the gnucash-devel mailing list