[GNC-dev] I need help building GnuCash on master
Christian Gruber
christian.gruber at posteo.de
Wed May 27 17:15:49 EDT 2020
Am 27.05.20 um 22:16 schrieb John Ralls:
>
>> On May 27, 2020, at 1:09 PM, Christian Gruber <christian.gruber at posteo.de> wrote:
>>
>>
>> Am 27.05.20 um 00:28 schrieb John Ralls:
>>>> 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?
>> Yes, I do remember. And I already did uninstall GnuCash and built in a completely clean build directory. Nevertheless I still get this build error. Maybe the uninstall process was not complete and there are some files left.
>>
>> I have to search for left *.go files, right? There are a lot in /usr/lib/x86_64-linux-gnu/guile/2.2/ccache. Can I remove the complete directory without hesitation?
> Yes, but if they're in /usr that should mean that you have at least the remnants of a package manager installation. You should probably check that the package manager thinks that you've uninstalled gnucash.
I checked, that the package manager does not expect an existing GnuCash
installation and removed the complete directory
/usr/lib/x86_64-linux-gnu/guile/2.2/ccache. But it seems, that this was
too much. Now I see a lot of the following warnings for different *.scm
files:
;;; WARNING: compilation of
/usr/share/guile/2.2/language/bytecode/spec.scm failed:
;;; no such language bytecode
>
> Regards,
> John Ralls
>
More information about the gnucash-devel
mailing list