Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158251 - app-office/gnucash-2.0.4 released
Summary: app-office/gnucash-2.0.4 released
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Seemant Kulleen (RETIRED)
URL: http://www.gnucash.org/index.phtml
Whiteboard:
Keywords:
Depends on: 125468
Blocks:
  Show dependency tree
 
Reported: 2006-12-15 17:27 UTC by Mike Scarf
Modified: 2007-02-10 16:09 UTC (History)
14 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
g-wrap-diff (g-wrap-diff,1.84 KB, text/plain)
2007-01-19 15:31 UTC, Marijn Schouten (RETIRED)
Details
dev-libs/g-wrap/g-wrap-1.9.7-r1.ebuild (g-wrap-1.9.7-r1.ebuild,1.19 KB, text/plain)
2007-01-19 16:34 UTC, Marijn Schouten (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Scarf 2006-12-15 17:27:49 UTC
On 10-Dec-06, gnucash.org announced release of v2.0.3.
Release notes suggest several crashes fixed, which would assist all users.

Request ebuild generated and added to Gentoo.
Comment 1 Samuel Tardieu 2006-12-17 02:10:20 UTC
Renaming ebuild 2.0.2 into 2.0.3 is enough.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2006-12-18 11:54:33 UTC
I would like to get some of the scheme stuff in portage upgraded so that this can take advantage (new slib, guile and g-wrap).  I have the scheme team (or at least its soon to be newest member) looking at those other three packages.

Thanks for your patience :)
Comment 3 Marijn Schouten (RETIRED) gentoo-dev 2006-12-22 10:51:19 UTC
Ebuilds for dev-scheme/guile-1.6.8, dev-scheme/slib-3.1.4 and g-wrap-1.9.7 are attached to relevant bugs and are ready for testing :)

Please recat guile and slib to dev-scheme to get the ebuilds to work and use "slib" use flag for guile. Gnucash will probably need to depend on guile being built with this use flag and not at all on slib itself.

Also I have done nothing to keywords.
Comment 4 Daniel Bausch 2007-01-07 17:54:31 UTC
2.0.4 is out
Comment 5 Josh Sled 2007-01-07 19:11:08 UTC
(In reply to comment #3)
> Ebuilds for dev-scheme/guile-1.6.8, dev-scheme/slib-3.1.4 and g-wrap-1.9.7 are
> attached to relevant bugs and are ready for testing :)

FYI, gnucash has seen problems with slib 3a4 (3.1.4), so 3.1.3 or earlier might be needed, instead.  I believe debian patches slib to work, might need the same thing here.  Sorry for the scarce detail.
Comment 6 Wojciech Myrda 2007-01-12 14:13:06 UTC
(In reply to comment #2)
> I would like to get some of the scheme stuff in portage upgraded so that this
> can take advantage (new slib, guile and g-wrap).  I have the scheme team (or at
> least its soon to be newest member) looking at those other three packages.
> 
> Thanks for your patience :)
> 

In the meantime there can be simple bump of an ebuild which just works
and when the mentioned issues get resolved there may be -r1 version of the ebuild released ;)
Comment 7 Marijn Schouten (RETIRED) gentoo-dev 2007-01-12 18:01:29 UTC
(In reply to comment #6)
> In the meantime there can be simple bump of an ebuild which just works
> and when the mentioned issues get resolved there may be -r1 version of the
> ebuild released ;)

New g-wrap, slib and guile ebuilds are now in the tree. So try the simple version bump with them :)

Comment 8 Boyd 2007-01-17 07:29:54 UTC
Also requires Fianance-Quote 1.13
Comment 9 Josh Sled 2007-01-18 21:28:37 UTC
(In reply to comment #8)
> Also requires Fianance-Quote 1.13

No, it doesn't, though new Finance-Quote versions are always nice.
Comment 10 Josh Sled 2007-01-19 01:39:33 UTC
(In reply to comment #7)
> New g-wrap, slib and guile ebuilds are now in the tree. So try the simple
> version bump with them :)

- guile-1.6.7, g-wrap-1.9.6, slib-2.4.6, gnucash-2.0.[1234] is known 
  good [I'd been running this forever.]

- guile-1.6.7, g-wrap-1.9.6, slib-3.1.1, gnucash-2.0.[1234] is good.
  [I'm running this now.]

- guile-1.6.7, g-wrap-1.3.4, slib-3.1.1, gnucash-2.0.[1234] should be 
  fine; given that g-wrap-1.9.6 isn't in portage, this is probably the 
  "best" combination right now.

- g-wrap-1.9.7 will NOT (presently) work with gnucash-2.0.x; gnucash will build, but on gnucash startup result in the error message:

jsled@phoenix [~]$ gnucash
Backtrace:
In current input:
   1: 0* [gnc:report-menu-setup]
   ?: 1  (letrec (# # # ...) (gnc:add-extension income-expense-menu) ...)
In /usr/share/gnucash/guile-modules/gnucash/report/report-gnome.scm:
 118: 2* [gnc:hook-run-danglers "hook_report" . #f]
In /usr/share/gnucash/scm/hooks.scm:
  22: 3  [gnc:hook-run-danglers-real "hook_report" #f]

/usr/share/gnucash/scm/hooks.scm:22:3: In procedure gnc:hook-run-danglers-real in expression (gnc:hook-run-danglers-real hook args):
/usr/share/gnucash/scm/hooks.scm:22:3: Wrong type argument in position 2: #f

Comment 11 Urs Joss 2007-01-19 04:33:50 UTC
Thanks Josh (Comment #10)

That was the right hint at the right time ;-).

Even though Josh writes it implicitly, I want to word it out:

Gnucash didn't compile with guile-1.6.8 on my machine.

I'm running
- guile-1.6.7, g-wrap-1.9.6, slib-3.1.1, gnucash-2.0.4 is good.

as well
Comment 12 Josh Sled 2007-01-19 15:17:07 UTC
(In reply to comment #11)
> Gnucash didn't compile with guile-1.6.8 on my machine.

Was it guile-1.6.8, or slib-3.1.1 that prevented it compiling?
Comment 13 Marijn Schouten (RETIRED) gentoo-dev 2007-01-19 15:31:49 UTC
Created attachment 107455 [details]
g-wrap-diff

g-wrap-1.9.[67] install some libs in a slightly different location. Maybe that is all that is making gnucash fail.
Comment 14 Marijn Schouten (RETIRED) gentoo-dev 2007-01-19 16:34:15 UTC
Created attachment 107461 [details]
dev-libs/g-wrap/g-wrap-1.9.7-r1.ebuild

ebuild which adds

# gnucash compatibility stuff
mv ${D}/usr/$(get_libdir)/g-wrap/modules/* ${D}/usr/$(get_libdir)/
rmdir ${D}/usr/$(get_libdir)/g-wrap/modules/ && dosym ../.. usr/$(get_libdir)/g-wrap/modules

to src_install. No idea if it makes gnucash happy.
Comment 15 Marijn Schouten (RETIRED) gentoo-dev 2007-01-19 17:11:29 UTC
Comment on attachment 107461 [details]
dev-libs/g-wrap/g-wrap-1.9.7-r1.ebuild

the symlink should point to /usr/lib
Comment 16 Urs Joss 2007-01-19 20:35:24 UTC
In reply to comment #12:

guile-1.6.8 has borked compilation of "my" gnucash.

I'm currently successfully using the following combination:
- slib-3.1.1 (compiled with 3.1.4 but did not run)
- g-wrap-1.9.6 (not in portage) (compiled but did not run with 1.9.7 and 1.9.7-r1)
- guile-1.6.7 (did not compile with 1.6.8)
- gnucash-2.0.4 (not in portage)

I might not have tried all variations systematically, but I can tell you that I have recompiled several of them repeatedly... ;-)
Comment 17 Mikael Cluseau 2007-01-21 03:20:23 UTC
Since portage updates the packages, older versions of gnucash doesn't work too. We need some masking.

gnucash doesn't work with =slib-3.1.4 nor =g-wrap-1.9.7 nor =g-wrap-1.9.6. So, we have to fall back on =g-wrap-1.3.4-r1 and =slib-3.1.1. =slib-3.1.1 doesn't work with dev-scheme/guile-1.6.8, so we have to fall back on guile-1.6.7.

Hence, the quick fix for people is :

cat >>/etc/portage/package.mask <<EOF
=dev-scheme/slib-3.1.4
=dev-scheme/guile-1.6.8
=dev-libs/g-wrap-1.9.6
=dev-libs/g-wrap-1.9.7-r1
EOF

emerge -1 guile slib g-wrap

This way, I have gnucash-2.0.4 working without changing the ebuild, and I can type emerge -u world...
Comment 18 Seemant Kulleen (RETIRED) gentoo-dev 2007-01-24 20:09:15 UTC
version bumped.
Comment 19 Randall Nortman 2007-02-07 17:13:53 UTC
I'm sorry, in what way is this fixed?  I am still having the problem.  Is the "fix" that I'm supposed to mask certain package versions manually, or what?
Comment 20 Joerg Schaible 2007-02-07 17:44:38 UTC
A new ebuild goes never straight into stable. Fixed means it is available in the tree and it is keyword masked, so it basically seems to work and early adopters might give it a try. And if no further severe problem arises it might get stable at the earliest in 4 weeks (if any of the ebuilds it depends on are stable then also). And if I look at the deps and the necessary use flags, it might even take longer. It's working for me though, thanks Seemant!
Comment 21 Randall Nortman 2007-02-07 17:49:15 UTC
I'm talking about the various problems with slib, g-wrap, and guile.  I've got all of these things marked ~amd64 to get the testing versions, but these versions are not compatible with each other.  At the moment, I'm using masking to try various combinations to see if I can get something that works, but "out of the box" ~amd64 does not work (for me).
Comment 22 Randall Nortman 2007-02-07 18:10:27 UTC
FYI: I just got gnucash-2.0.4 to compile and run, using this combination of versions:

app-office/gnucash-2.0.4  USE="hbci nls ofx -chipcard -debug -doc -quotes"
dev-scheme/slib-3.1.1-r1
dev-libs/g-wrap-1.9.6-r1
dev-scheme/guile-1.6.7

I could not get gnucash-2.0.4-r1 to compile, because I ran into bug #165713.  None of the other combinations of versions I tried worked, including combinations that seem to have worked for others commenting on this bug.
Comment 23 Seemant Kulleen (RETIRED) gentoo-dev 2007-02-07 18:13:22 UTC
Out of the box, you need to mask anything above slib-3.1.1, but that should be it.  Once you upgrade guile, you should then remerge slib and g-wrap, and *then* emerge gnucash.  I'm sorry that's how it is, but our hands are a little tied by the fact that upstream's gnucash will NOT build with slib-3.1.4.
Comment 24 Joerg Schaible 2007-02-07 18:17:33 UTC
Mine is running for ~x86 with:

[ebuild   R   ] app-office/gnucash-2.0.4-r1  USE="doc hbci nls -chipcard -debug -ofx -quotes" 0 kB
[ebuild   R   ] dev-scheme/slib-3.1.1-r1  0 kB
[ebuild   R   ] dev-libs/g-wrap-1.9.6-r1  0 kB
[ebuild   R   ] dev-scheme/guile-1.8.1-r1  USE="deprecated discouraged nls regex -debug -debug-freelist -debug-malloc -elisp -networking -threads" 0 kB

revdep-rebuild was necessary though
Comment 25 Randall Nortman 2007-02-07 20:18:46 UTC
The combination of comments #23 and #24 seems to work.  I upgraded guile, then built slib and g-wrap, then ran revdep-rebuild, which wanted to build g-wrap *again*, and then I was able to build and run gnucash.  I did the slib and g-wrap builds together, so I'm not sure what order emerge did them in, but I guess maybe g-wrap needs to be built after slib.  My versions are same as in comment #24.
Comment 26 Urs Joss 2007-02-07 22:38:16 UTC
Ok, after having read comments #23 to #25, I gave it another try (coming from a working gnucash as described in comment #11.

Eventually, I can confirm Randalls statement (comment #25). However, I had to do the following

emerge =dev-scheme/guile-1.8.1-r1 =dev-scheme/slib-3.1.1-r1 dev-libs/g-wrap-1.9.6-r1 dev-scheme/guile-1.8.1-r1 =dev-libs/g-wrap-1.9.6-r1 dev-scheme/slib-3.1.1-r1 app-office/gnucash-2.0.4-r1

I guess it is crucial to recompile guile ans slib after having emerged g-wrap-1.9.6-r1.

gnucash is still compiling, but before having emerged g-wrap the second time - and subsequently slib the second time, the emerge process didn't even get past configure.
Comment 27 Urs Joss 2007-02-10 16:09:48 UTC
To be slightly more precise than in comment #26: When redoing the procedure on another computer, I did the following:

I used the following use flags for guile:
dev-scheme/guile deprecated discouraged nls regex

Then I ran the following two commands:


emerge -va =dev-scheme/guile-1.8.1-r1 =dev-scheme/slib-3.1.1-r1 =dev-libs/g-wrap-1.9.6-r1

emerge -va =dev-scheme/guile-1.8.1-r1 =dev-libs/g-wrap-1.9.6-r1 =dev-scheme/slib-3.1.1-r1 =app-office/gnucash-2.0.4-r1

HTH, Urs