Package Details: gnucash 2.6.17-3

Git Clone URL: (read-only)
Package Base: gnucash
Description: A personal and small-business financial-accounting application
Upstream URL:
Licenses: GPL
Submitter: City-busz
Maintainer: Schmeidenbacher
Last Packager: Schmeidenbacher
Votes: 26
Popularity: 11.961509
First Submitted: 2017-06-30 07:39
Last Updated: 2017-07-07 14:07

Latest Comments

Schmeidenbacher commented on 2017-07-13 19:48

@corecode: I would rather not do it directly in this package, as python2 is a relatively large dependency for that, which probably not everybody using this package wants.

Before the switch to AUR4 there was a gnucash-python file, which enabled the python 2 bindings.

So i (re)created the gnucash-python package. If you want the python bindings enabled you can just install that other one. It has it's conflict field set to gnucash, so that you just need to install it and it will cleanly remove the non-python version by itself. Same is true for the other way around. If you install this package it will replace the gnucash-python one as well.

(Link the the other package:

If you want, in can orphan the python-gnucash package and let you maintain it. Just let me know if you want to.

corecode commented on 2017-07-13 13:31

could you include python scripting? I use

PYTHON=`which python2` ./configure ... --enable-python

dxu commented on 2017-07-10 02:05

With regards to the manual build, the gnucash developers are aware that the webkitgtk2 dependency needs to be dropped (in favor of webkit2gtk). It looks like they are confident work will be done soon [0].

This means this package should be able to return to the official repositories within a few months.


Schmeidenbacher commented on 2017-07-07 18:52

@dtbaumann: Interestingly enough … that doesn't seem to be the case. I just built it with both dependencies. Both went through. And both packages worked after installation. So i checked which guile libraries are actually used by both build versions of gnucash.

Turns out both were using /usr/lib/ and /usr/lib/ both being found in guile1.8 and being installed as a secondary dependency via gnucash's slib dependency.

So for now i won't change the package again. Unless it really fails to work for someone. I might change it in a future version though.

dtbaumann commented on 2017-07-07 17:32

@Schmeidenbacher ... and in this case the dependency probably has to be changed back to guile2.0 (which is what gnucash and the compilation uses)

Schmeidenbacher commented on 2017-07-07 14:09

Here as well @dtbaumann. The build ran through on my normal system without the need for a clean chroot. Added the change in the PKGBUILD.

dtbaumann commented on 2017-07-07 12:39

gnucash still uses guile2.0 but during compilation guile 2.2 is used if available. This results in the described error messages

;;; WARNING: loading compiled file /usr/lib/gnucash/scm/ccache/2.0/gnucash/engine.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"

and possibly in the segfaults.


make GUILD=/usr/bin/guild2.0

in the build() resolves the error messages. Gnucash then compiles and starts clean here (2.6.17-2)

Schmeidenbacher commented on 2017-07-05 19:33

Now i got the segfault reproduced. But only if i try to compile it on my "messy" system. So something i have installed on my machine interferes with the build process.

It works perfectly in a clean chroot on the same machine though, which also means that AUR-helpers won't do you any good with this package it seems.

For more information about clean chroots:

Here are my build steps.

I ensure that my /tmp (which is a RAM disk in my case) is suitable

sudo mount -o remount,exec,dev,suid /tmp/

Then i create a folder to keep the chroot in

mkdir /tmp/chroot/ -p

Then i create the clean chroot with only the base-devel group in it

mkarchroot /tmp/chroot/root base-devel

And then i do the build in a temporary copy of the clean chroot with the two prebuild dependencies added which aren't in the official repos and need to be added in by hand :

makechrootpkg -T -r /tmp/chroot/ -I goffice0.8-0.8.17-4-x86_64.pkg.tar.xz -I webkitgtk2-2.4.11-6-x86_64.pkg.tar.xz -- -s

This builds without any segfault on several of my machines.

uhoso commented on 2017-07-05 18:56

I got the same segmantation fault as kingcreole.

pacman -S base-devel --needed said "There is nothing to do"

Schmeidenbacher commented on 2017-07-05 10:23

If you're missing pkg-config then you haven't installed the full base-devel group.

Please do a

pacman -S base-devel --needed

before you build a package. That will install only the missing packages from the base-devel group if any are missing.

I tested the package in a clean chroot with only the base-devel group in addition to the defined dependencies installed. And that built as expected.

kingcreole commented on 2017-07-04 21:04

Hey, uhm, i'm sorry to bother you, i got a Segmentation fault, sorry for my german locale, but the german stuff is basically saying segmentationfault

/usr/bin/guild compile -o customer-summary.go customer-summary.scm
make[4]: *** [Makefile:755: customer-summary.go] Speicherzugriffsfehler (Speicherauszug erstellt)

oddly enough, 2.6.17-1 seems to have worked

update: seems like pkgconfig was necessary

Schmeidenbacher commented on 2017-07-04 19:01

@Brinox: Done

I hadn't even had time to really look at the package. Since it just came from extra i only made sure that it built in a clean chroot and that it would run.

Brinox commented on 2017-07-04 15:58

You can remove gcc and pkgconfig from makedepends as they're already part of the base-devel group and therefore don't need to be stated explicitly.

Schmeidenbacher commented on 2017-07-03 18:31

Released Version 2.6.17-1.

dajoe commented on 2017-07-02 18:35

Thank you, your comment pointed me into the right direction. I was trying to build gnucash against existing webkitgtk2 and goffice0.8. I had to remove both and build them again from aur (webkitgtk2 almost took the day). Then gnucash built just fine.

kubrick commented on 2017-07-02 09:33

@dajoe: did you try removing exiting gnucash & goffice0.8 before building the aur package?

dajoe commented on 2017-07-02 08:34

build fails (using yaourt):

/usr/bin/guild compile -o report-gnome.go report-gnome.scm
In ice-9/eval.scm:
619:8 19 (_ #(#(#<directory (guile-user) e6f140>)))
In /usr/bin/guild:
72:17 18 (main _)
In srfi/srfi-1.scm:
640:9 17 (for-each #<procedure d3e080 at scripts/compile.scm:24…> …)
In scripts/compile.scm:
251:26 16 (_ _)
In system/base/target.scm:
57:6 15 (with-target _ _)
In system/base/compile.scm:
152:6 14 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ …)
43:4 13 (call-once _)
In ice-9/boot-9.scm:
849:4 12 (with-throw-handler _ _ _)
In system/base/compile.scm:
59:11 11 (_)
155:11 10 (_ #<closed: file fb6e00>)
235:18 9 (read-and-compile #<input: report-gnome.scm 13> #:from _ …)
183:32 8 (compile-fold (#<procedure compile-tree-il (x e opts)>) …)
In ice-9/boot-9.scm:
2316:4 7 (save-module-excursion #<procedure 1874080 at language/…>)
In language/scheme/compile-tree-il.scm:
31:15 6 (_)
In ice-9/psyntax.scm:
1234:36 5 (expand-top-sequence ((cond-expand (guile-2 (# …)) #)) _ …)
1181:24 4 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
1181:24 3 (parse _ (("placeholder" placeholder)) (()) _ c (# # #) #)
284:10 2 (parse _ (("placeholder" placeholder)) ((top) #(# …) #) …)
In unknown file:
1 (load-extension "libgncmod-report-gnome" "scm_init_sw_r…")
In ice-9/boot-9.scm:
760:25 0 (dispatch-exception _ _ _)

ice-9/boot-9.scm:760:25: In procedure dispatch-exception:
ice-9/boot-9.scm:760:25: In procedure dynamic-link: file: "libgncmod-report-gnome", message: "file not found"

City-busz commented on 2017-07-01 10:27

Because it depends on insecure libwebkitgtk-1.0:

See also:

kubrick commented on 2017-07-01 10:09

Hello. Why has this package been moved from extra?