From chris@Shenton.Org  Mon Mar 17 19:29:17 2003
Return-Path: <chris@Shenton.Org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 044E137B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Mar 2003 19:29:17 -0800 (PST)
Received: from Shenton.org (23.ebbed1.client.atlantech.net [209.190.235.35])
	by mx1.FreeBSD.org (Postfix) with SMTP id 7801143F85
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Mar 2003 19:29:13 -0800 (PST)
	(envelope-from chris@Shenton.Org)
Received: (qmail 6048 invoked by uid 1000); 18 Mar 2003 03:29:11 -0000
Message-Id: <20030318032911.6044.qmail@PECTOPAH.shenton.org>
Date: 18 Mar 2003 03:29:11 -0000
From: Chris Shenton <chris@Shenton.Org>
Reply-To: Chris Shenton <chris@Shenton.Org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: GnuCash-1.8.1_3 fails at startup: scm date util inexact->exact
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50089
>Category:       ports
>Synopsis:       GnuCash-1.8.1_3 fails at startup: scm date util inexact->exact
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 17 19:30:01 PST 2003
>Closed-Date:    Wed Apr 02 19:05:11 PST 2003
>Last-Modified:  Wed Apr 02 19:05:11 PST 2003
>Originator:     Chris Shenton
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD Pectopah.shenton.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Feb 19 17:08:39 EST 2003 chris@Pectopah.shenton.org:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:

Built gnucash from ports.  Did a portupgrade -R gnucash-1'*' to make
sure.  Had to comment out /usr/include/math.h:40 which defines
INFINITY clashing with guppi's use of it (see PR ports/48839).

chris@Pectopah<102>  pkg_info -c gnucash'*'
Information for gnucash-1.8.1_3:

>How-To-Repeat:

Start it up on command line with "gnucash".  Splash screen comes up
then it dies with the following trace:

chris@Pectopah<101> gnucash
;;; The module name (ice-9 and-let*) is deprecated.
;;; Use (ice-9 and-let-star) instead.

Backtrace:
12  (or (try-module-linked name) (try-module-autoload name) ...)
13* [try-module-autoload (gnucash report taxtxf)]
14  (let* (# # # #) (resolve-module dir-hint-module-name #f) (and # #))
    ...
15  (let ((didit #f)) (dynamic-wind (lambda () #) (lambda () #) ...) ...)
16* [dynamic-wind #<procedure ()> #<procedure ()> #<procedure ()>]
17* [#<procedure ()>]
18* (let ((full #)) (if full (begin # #)))
19  (if full (begin (save-module-excursion (lambda () #)) (set! didit #t)))
20  (begin (save-module-excursion (lambda () #)) (set! didit #t))
21* [save-module-excursion #<procedure ()>]
22  (let (# #) (dynamic-wind # thunk #))
23  [dynamic-wind #<procedure ()> #<procedure ()> #<procedure ()>]
24* [#<procedure ()>]
25* [primitive-load "/usr/X11R6/share/gnome/gnucash/guile-modules/gnucash/repo$
26* (define bdtm (let ((result #)) (set-tm:mday result 16) ...))
27* (let ((result (gnc:timepair->date today))) (set-tm:mday result 16) ...)
28* [gnc:timepair->date (1047920400 . 0)]
29  [localtime ...
30* [gnc:timepair->secs (1047920400 . 0)]
31  [inexact->exact 1047920400.0]

/usr/X11R6/share/gnome/gnucash/scm/date-utilities.scm:25:3: In procedure inexact->exact in expression (inexact->exact (+ # #)):
/usr/X11R6/share/gnome/gnucash/scm/date-utilities.scm:25:3: Numerical overflow

>Fix:

I have no idea what the above LISP mutation is telling me, sorry :-(



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: nork 
Responsible-Changed-When: Wed Mar 19 08:19:24 PST 2003 
Responsible-Changed-Why:  
Anyone, please check this PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50089 
State-Changed-From-To: open->feedback 
State-Changed-By: marcus 
State-Changed-When: Wed Mar 19 08:21:27 PST 2003 
State-Changed-Why:  
I am unable to reproduce this problem, and I know other users that 
also have no problems with GnuCash 1.8.1.  Make sure your ports are all 
up-to-date (especially guile), then you might try updating to GnuCash 1.8.2 
after applying the patch from http://www.marcuscom.com/downloads/freeze/. 
Let me know if that fixes it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50089 
State-Changed-From-To: feedback->closed 
State-Changed-By: marcus 
State-Changed-When: Wed Apr 2 19:04:52 PST 2003 
State-Changed-Why:  
This should now be fixed in GnuCash 1.8.2. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50089 
>Unformatted:
