[GNC] compiling 3.3

John Ralls jralls at ceridwen.fremont.ca.us
Sat Nov 17 20:24:47 EST 2018



> On Nov 18, 2018, at 9:20 AM, John Griessen <john at industromatic.com> wrote:
> 
> On 11/17/18 5:50 PM, John Ralls wrote:
>> not enough of the error block to show what object file has a bad header.
> 
> This is an excerpt of the message stream for every startup of:
> 
> /home/john/.local/gnucash-3.3/bin/gnucash
> 
> ;;; WARNING: loading compiled file /home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/balance-sheet.go failed:
> ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: "\x7fELF\x02\x01\x01ÿ\x00\x00\x00\x00\x00\x00\x00\x00"
> ;;; compiling /home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/balance-sheet.scm
> ;;; compiled /home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/balance-sheet.scm.go
> ;;; WARNING: loading compiled file /home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/equity-statement.go failed:
> ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: "\x7fELF\x02\x01\x01ÿ\x00\x00\x00\x00\x00\x00\x00\x00"
> ;;; compiling /home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/equity-statement.scm
> ;;; gnucash/report/standard-reports/equity-statement.scm:278:9: warning: non-literal format string
> ;;; gnucash/report/standard-reports/equity-statement.scm:345:31: warning: non-literal format string
> ;;; compiled /home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/equity-statement.scm.go
> ;;; WARNING: loading compiled file /home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/price-scatter.go failed:
> ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: "\x7fELF\x02\x01\x01ÿ\x00\x00\x00\x00\x00\x00\x00\x00"
> ;;; compiling /home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/price-scatter.scm
> ;;; compiled /home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/price-scatter.scm.go
> ;;; WARNING: loading compiled file /home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/budget-barchart.go failed:
> ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: "\x7fELF\x02\x01\x01ÿ\x00\x00\x00\x00\x00\x00\x00\x00"
> ;;; compiling /home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/budget-barchart.scm
> ;;; compiled /home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/budget-barchart.scm.go
> ;;; WARNING: loading compiled file /home/john/.local/gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/standard-reports/account-piecharts.go failed:
> ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: "\x7fELF\x02\x01\x01ÿ\x00\x00\x00\x00\x00\x00\x00\x00"
> ;;; compiling /home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/account-piecharts.scm
> ;;; compiled /home/john/.cache/guile/ccache/2.0-LE-8-2.0/home/john/.local/gnucash-3.3/share/gnucash/scm/gnucash/report/standard-reports/account-piecharts.scm.go

That’s telling you that the compiled guile files from your build are defective for some reason and that guile is rebuilding them in the location listed. While that’s a bunch of noise it’s not what’s crashing GnuCash. It does suggest that there’s something wrong with Guile on your machine and it’s possible that the rebuilt .go files are also invalid.

What OS/Distro and version are you running? How did you set up the build environment? Do you have more than one version of Guile installed?

Regards,
John Ralls


More information about the gnucash-user mailing list