ports/50089: GnuCash-1.8.1_3 fails at startup: scm date util
inexact->exact
Joe Marcus Clarke
marcus at FreeBSD.org
Fri Apr 4 13:40:51 PST 2003
On Fri, 2003-04-04 at 01:04, Glenn Johnson wrote:
> On Thu, Apr 03, 2003 at 11:56:11PM -0500, Joe Marcus Clarke wrote:
>
> > On Thu, 2003-04-03 at 17:07, Glenn Johnson wrote:
> >
> > > On Thu, Apr 03, 2003 at 04:55:11PM -0500, Joe Marcus Clarke wrote:
> > >
> > > > On Thu, 2003-04-03 at 16:40, Glenn Johnson wrote:
> > > >
> > > > > On Wed, Apr 02, 2003 at 07:05:10PM -0800, Joe Marcus Clarke
> > > > > wrote:
> > > > >
> > > > > > Synopsis: GnuCash-1.8.1_3 fails at startup: scm date util
> > > > > > inexact->exact
> > > > > >
> > > > > > 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.
> > > > >
> > > > > It is not fixed. I believe this is a problem with -current.
> > > > > I have been using FreeBSD 5-current lately and as of about a
> > > > > week ago gnucash was working fine with it. After a couple of
> > > > > -current updates I went to use gnucash and discovered that the
> > > > > dates were messed up for transactions. I rebuilt guile and now
> > > > > I can no longer even launch gnucash because I get the problem
> > > > > reported in this PR.
> > > > >
> > > > > Unfortunately I do not know _exactly_ when it broke. I do know
> > > > > that updating to gnucash-1.8.2 does _not_ fix the problem on
> > > > > -current.
> > > >
> > > > I just built GnuCash on -CURRENT a few hours ago, and it works
> > > > just fine. I tried with and without extra malloc options.
> > >
> > > You tested transaction entries and the dates were okay? That was
> > > the problem I was having. It may not be immediately noticeable.
> > >
> > > > I suggested Chris do a portupgrade -Rf gnucash\*, as I just built
> > > > all of the GnuCash direct dependencies from scratch today (except
> > > > guile and popt).
> > >
> > > Well, gnucash was sort of working, just the dates were wrong, until
> > > I rebuilt guile. When I did that gnucash would no longer start. I
> > > mention that again because you say above that you did not rebuild
> > > guile. In any event, I will rebuild _all_ of the dependencies and
> > > see what happens. I will let you know one way or the other.
> >
> > This should be fixed now. I think the implementation of isfinite() is
> > broken in -CURRENT. I've sent the submitter of that code an email to
> > ask for his help and clarification. In the meantime, I've fixed guile
> > to use the known working isfinite() code.
>
> Well, not quite. This gets gnucash to launch for me again but the dates
> are messed up. Here is a brief description:
>
> The '+' key will not increment the date, the '-' key will decrement the
> date by 2 days (supposed to be 1). Selecting a date on the drop-down
> calendar will result in a different date actually entered in the date
> field, usually 1-2 days prior to that selected. Entering the date
> manually does not work either because as soon as I tab to the next
> field, the date changes. Even just selecting an existing transaction
> will change the date of that transaction.
>
> So try some of the above in an account register. If you do not see this
> behavior than I must have something else messed up on my machine.
I found the bug. It's in strptime() after March 29. If you revert to
rev 1.31 of src/lib/libc/stdtime/strptime.c, this will be fixed. I've
emailed the committer that introduced the bug.
Joe
--
Joe Marcus Clarke
FreeBSD GNOME Team :: marcus at FreeBSD.org
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030404/d3d988cb/attachment.bin
More information about the freebsd-gnome
mailing list