Subject: pkg/28522: finance/gnucash crashes after every input line [AHA]
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Andreas Hallmann <hallmann@hallhard.darktech.org>
List: pkgsrc-bugs
Date: 12/03/2004 08:36:00
>Number:         28522
>Category:       pkg
>Synopsis:       finance/gnucash crashes after every input line [AHA] <math/guppi>
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 03 08:36:00 +0000 2004
>Originator:     Andreas Hallmann
>Release:        NetBSD 1.6.2_STABLE
>Organization:
>Environment:
System: NetBSD nda 1.6.2_STABLE NetBSD 1.6.2_STABLE (AHAv8#2) #8: Mon Jun 21 15:16:26 CEST 2004 toor@nda:/amd/nda/mounts/netbsd/src/sys/arch/sparc/compile/AHAv8#2 sparc
Architecture: sparc
Machine: sparc
>Description:
	At least on sparc, gnucash is not in a working condition for a long time now.
        It compiles, can be started, but crashes after every new line checked into an account.
	Moreover, it throws a lot gtk-related error-messages and warnings.

	Im not picking on the maintainer. He is doinging a great job. Pulling up any new revision.

	Due to my analysis, guppi, guile-slib, guile-gtk and g-wrap needs to be modernised and all dependencies
	to guile14 should be replaced by guile.

>How-To-Repeat:
	compile and try to enter a few lines of data into an account

>Fix:

	It was a lot of work, to build a set of patches to fix this.
	Applying them results in a rock stable gnucash (again at least on sparc)
	Please, apply them before the freeze.

	A series of patches follow. Marked by [AHA] and i.e. <math/guppi> for your convinience.
	All should be applied from your pkgsrc root. (again for your convinience.)
	OK, first fix is trivial.

	Here it goes:

cd /usr/pkgsrc

Patch to math/guppi
###################
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/math/guppi/Makefile,v
retrieving revision 1.43
diff -r1.43 Makefile
5c5
< PKGREVISION=	12
---
> PKGREVISION=	13
28c28
< .include "../../lang/guile14/buildlink3.mk"
---
> .include "../../lang/guile/buildlink3.mk"
Index: buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/math/guppi/buildlink3.mk,v
retrieving revision 1.2
diff -r1.2 buildlink3.mk
23c23
< .include "../../lang/guile14/buildlink3.mk"
---
> .include "../../lang/guile/buildlink3.mk"