Re: Wacky MPFR error with latest build

2012-05-22 Thread Craig Earls
I have MPFR 3.1.0-p3 installed via macports. I think I am going to nuke macports again and build the libraries from scratch I am having too may other issue with macports. I am not very proficient with gdb and the follwoing trace doesn't show much to me: (gdb) run Starting program:

Re: Wacky MPFR error with latest build

2012-05-22 Thread Craig Earls
I completely nuked /usr/local/lib and /opt/ and reinstall macports MPFR and Boost. Then I rebuilt ledger. Then I ran the MathTests suite and got 69 errors. Maybe this helps: 08:19:19 ~/ledger (next) ./MathTests Running 53 test cases... /Users/cpearls/ledger/test/unit/t_amount.cc:67: error in

Re: Wacky MPFR error with latest build

2012-05-22 Thread Craig Earls
OK, this is getting worse and worse, now I am finding that ledger is not parsing amounts correctly. I have a $2350 transaction that is being parsed as a $1763.65 transaction...Other transactions are being read incorrectly but not always in the same way (different ratio/differences) I downloaded

Re: Wacky MPFR error with latest build

2012-05-22 Thread Craig Earls
This was a local problem. I don't really understand what was going on but I finally ditched macports (again) and built mpfr, gmp, and boost from source then ledger worked as it always has. On Tue, May 22, 2012 at 10:53 AM, Craig Earls ender...@gmail.com wrote: OK, this is getting worse and

Re: Wacky MPFR error with latest build

2012-05-22 Thread John Wiegley
Craig Earls enderw88-re5jqeeqqe8avxtiumw...@public.gmane.org writes: This was a local problem. I don't really understand what was going on but I finally ditched macports (again) and built mpfr, gmp, and boost from source then ledger worked as it always has. That is really super odd! I had

Wacky MPFR error with latest build

2012-05-21 Thread Craig Earls
I can decide whether this is ledger or MPFR. I can execute commands some commands just fine: 0:37:09 ~/FinanceData (master) ledger cleared Joint $ 362.10 $ 3664.262012/05/19Assets:VWCU:Joint 0:38:35 ~/FinanceData (master) ledger cleared Joint U:Grace $ 1269.10

Re: Wacky MPFR error with latest build

2012-05-21 Thread Craig Earls
This appears to be a ledger bug, but I am at a loss to explain it, so here goes: The MPFR assertion failure is caused when I have both the following transactions in my ledger: 2012/03/29 * (DD) Travel Reimburse Expenses:Millennium:Travel$ -5495.49 ;Trip: 2012-03-05

Re: Wacky MPFR error with latest build

2012-05-21 Thread Craig Earls
Well, this one is killing me. The MPFR assertion failure is cropping up in enough places that my entire workflow has been trashed. Any suggestions would be appreciated. What version of MPFR is the latest build meant to use? On Mon, May 21, 2012 at 11:42 AM, Craig Earls ender...@gmail.com