FS#54270 - [gnucash] ERROR: In procedure make_objcode_from_file: bad header on object file
Attached to Project:
Arch Linux
Opened by AMM (amish) - Friday, 02 June 2017, 11:27 GMT
Last edited by Jürgen Hötzel (juergen) - Tuesday, 20 June 2017, 16:59 GMT
Opened by AMM (amish) - Friday, 02 June 2017, 11:27 GMT
Last edited by Jürgen Hötzel (juergen) - Tuesday, 20 June 2017, 16:59 GMT
|
Details
Description:
Running gnucash gives lots of errors like this. ;;; WARNING: loading compiled file /usr/lib/gnucash/scm/ccache/2.0/gnucash/report/utility-reports.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" Additional info: * package version(s) 2.6.16-1 and 2.6.16-2 * config and/or log files etc. Happens for the "go" files /usr/lib/gnucash/scm/ccache/2.0/ Steps to reproduce: run gnucash More details: https://bbs.archlinux.org/viewtopic.php?id=225581 and https://forum.manjaro.org/t/gnucash-2-6-16-1-update-issues/24750 Solution: As per manjaro.org and based on recent changes to PKGBUILD Following seems to be solution: depends change from guile2.0 back to just guile and remove --with-guile=2.0 i.e. revert this commit made on 2017-04-02 https://git.archlinux.org/svntogit/packages.git/commit/trunk/PKGBUILD?h=packages/gnucash&id=9ede568ac253df357e38c1dbbb046fb454720f1d PS: I am not sure if this ERROR affects anything runtime. But if it does then it may corrupt gnucash file which can cause loss of important financial/monetary data OR create wrong reports. Hence to not take any chance I have set severity to High. |
This task depends upon
Closed by Jürgen Hötzel (juergen)
Tuesday, 20 June 2017, 16:59 GMT
Reason for closing: Fixed
Additional comments about closing: I apologize for the inconvenience
In line with your suggestion I removed "--with-guile=2.0" and released gnucash-2.6.16-3-
Tuesday, 20 June 2017, 16:59 GMT
Reason for closing: Fixed
Additional comments about closing: I apologize for the inconvenience
In line with your suggestion I removed "--with-guile=2.0" and released gnucash-2.6.16-3-
Please check two links I posted .. there are atleast 4 people who have same issue. Two (including me) using Arch and other two using Manjaro (which is Arch based)
Also I have also pasted link to commit after which error has appeared.
> pacman -Qkk gnucash guile guile1.8 guile2.0
gnucash: 1449 total files, 0 altered files
guile: 856 total files, 0 altered files
guile1.8: 312 total files, 0 altered files
guile2.0: 763 total files, 0 altered files
Related packages used are AS IS. No change is done by me.
Error, it appears, occurs because packager (TU) uses guile2.0 when compiling the package.
But when gnucash runs - it uses guile2.2 (the latest version) and starts showing errors due to version incompatibilities.