I added 'amd64' to gnucash-1.8.8.ebuild, and had to also did the same for the dependencies which were also masked (dev-libs/g-wrap, dev-libs/slib, gnome-extra/gal, gnome-extra/gtkhtml and gnome-extra/guppi). The package all compiled fine, but when I start the program I get the following: bash-2.05b$ gnucash ERROR: In procedure dynamic-link: ERROR: file: "libgw-gnc", message: "/usr/lib/libgw-gnc.a: invalid ELF header" Reproducible: Always Steps to Reproduce: 1. See details 2. 3. Actual Results: bash-2.05b$ gnucash ERROR: In procedure dynamic-link: ERROR: file: "libgw-gnc", message: "/usr/lib/libgw-gnc.a: invalid ELF header" Expected Results: I was hoping to run gnucash
*** Bug 39938 has been marked as a duplicate of this bug. ***
amd64 team, can you somehow convey to your users that they shouldn't file amd64 related bugs with us or any herd other than amd64 (i guess we're not the only herd seeing this behaviour).
Created attachment 24873 [details] log of emerge gnucash on an amd64 showing link failure The file contains the output of emerge cut after the error. It lists as a Warning but something is failing to put in the -L/usr/X11R6/lib flag during the configure. It can't find the X related libs for linking.
There seems to be a workaround here: http://forums.gentoo.org/viewtopic.php?t=146792 Can one of the AMD64 devs confirm this?
I don't see any mention of that workaround resolving this issue. Can anyone confirm this please?
Gnucash-1.8.9 in bug #47679 has same issue.
The workaround proposed here: http://forums.gentoo.org/viewtopic.php?t=146792&highlight=gnucash+amd64 works perfectly for me, so I can confirm the workaround, although I'm not an amd64 developer. The steps to install gnucash-1.8.8 or -1.8.9 are (as mentioned): 1. add (~)amd64 KEYWORD to app-office/gnucash/gnucash-1.8.x.ebuild 2. edit gnucash-1.8.x ebuild to include CFLAGS="-L/usr/X11R6/lib" in global section 3. edit gnucash-1.8.x ebuild to include LDFLAGS="-L/usr/X11R6/lib" in global section 4. add (~)amd64 KEYWORD to dev-util/guile/guile-1.6.4-r1.ebuild 5. add --enable-deprecation=no to guile-1.6.4-r1.ebuild econf section 6. emerge =guile-1.6.4-r1 7. emerge =gnucash-1.8.x With these modifications, gnucash starts and works without errors. I did not have to install guile-gtk, gnucash works without this library on my machine.
I just want to confirm that the workaround listed in comment #7 works :) -Dan
In CVS now. Just in time, best before time's already in the past...