[GNC-dev] Need help - several tests fail
Christian Gruber
christian.gruber at posteo.de
Wed Aug 21 18:28:39 EDT 2019
Am 19.08.19 um 00:54 schrieb John Ralls:
>
>> On Aug 18, 2019, at 1:20 PM, Christian Gruber <christian.gruber at posteo.de> wrote:
>>
>> Hi,
>>
>> Since I'm new to GnuCash development, I still need some help getting everything running. Several tests currently fail on my platform:
>>
>> 1 - test-exp-parser (Failed)
>> 2 - test-link-module-app-utils (Failed)
>> 4 - test-scm-query-string (Failed)
>> 8 - test-date-utilities (Failed)
>> 9 - test-options (Failed)
>> 10 - test-app-utils (Failed)
>> 15 - test-load-example-account (Failed)
>> 36 - test-qof (Child aborted)
>> 59 - test-gnc-numeric (Failed)
>> 64 - test-scm-query (Failed)
>> 65 - test-business-core (Failed)
>> 81 - test-libgnucash-scm-utilities (Failed)
>> 83 - test-link-module-gnome-utils (Failed)
>> 85 - test-import-parse (Failed)
>> 93 - test-qif-imp (Failed)
>> 94 - test-qif-parse (Failed)
>> 95 - test-qif-merge-groups (Failed)
>> 99 - test-invoice (Failed)
>> 100 - test-owner-report (Failed)
>> 102 - test-link-module-report-gnome (Failed)
>> 104 - test-link-module-report-system (Failed)
>> 106 - test-test-extras (Failed)
>> 107 - test-commodity-utils (Failed)
>> 108 - test-report-utilities (Failed)
>> 109 - test-html-utilities-srfi64 (Failed)
>> 110 - test-html-fonts (Failed)
>> 111 - test-report-html (Failed)
>> 112 - test-report-system (Failed)
>> 113 - test-standard-category-report (Failed)
>> 114 - test-standard-net-linechart (Failed)
>> 115 - test-standard-net-barchart (Failed)
>> 116 - test-cashflow-barchart (Failed)
>> 117 - test-charts (Failed)
>> 118 - test-transaction (Failed)
>> 119 - test-balsheet-pnl (Failed)
>> 120 - test-income-gst (Failed)
>> 121 - test-budget (Failed)
>> 122 - test-register (Failed)
>> 123 - test-average-balance (Failed)
>> 124 - test-stress-options (Failed)
>> 125 - test-cash-flow (Failed)
>>
>> At many tests I saw the following or similar output:
>>
>> 1: ;;; WARNING: loading compiled file /home/christian/dev/build/gnucash/lib/gnucash/scm/ccache/2.0/fin.go failed:
>> 1: ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: "\x7fELF\x02\x01\x01�\x00\x00\x00\x00\x00\x00\x00\x00"
>> [...]
>> 1: ERROR: In procedure primitive-load-path: Unable to find file "fin" in load path
>>
>> There is always a warning, that some *.go files could not be loaded. Next there is an error about "bad header on object file". And at the end there is another error, that the file, which could not be loaded before, could not be found in the the load path or that there is no code for this module.
>>
>> Any ideas?
>>
>> My system is an Ubuntu 19.04.
> That's a symptom of stale guile caches. If "make clean && make && make check" doesn't resolve the problem go hunting for .go files outside your build dir. ~/.caches/guile is a common hiding place. If you have an installed GnuCash make sure that Guile can't find its .go files.
>
> Regards,
> John Ralls
>
Ok, that was a useful hint. Clearing the guile cache helped. I'm one
step further. I have no idea, what led to this situation. I couldn't
reproduce this again.
Next problem is that still several tests fail with the following output:
ERROR: no code for module (gnucash engine test srfi64-extras)
More information about the gnucash-devel
mailing list