Skip Menu |

This queue is for tickets about the Math-Symbolic CPAN distribution.

Report information
The Basics
Id: 23971
Status: open
Priority: 0/
Queue: Math-Symbolic

People
Owner: Nobody in particular
Requestors: jpierce [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.164
  • 0.504
Fixed in: (no value)



Subject: Test fails: Could not require Math::Symbolic::Parser::Precompiled
Fun stuff like the following for nearly every test: t/19misccalc.............Could not require Math::Symbolic::Parser::Precompiled. Please install the latest version of Math::Symbolic(>=0.135). at /var/rtmp/.cpan-belg4mit/build/Math-Symbolic-0.164/blib/lib/Math/Symbolic.pm line 163 Compilation failed in require at t/19misccalc.t line 11. BEGIN failed--compilation aborted at t/19misccalc.t line 11. # Looks like your test died before it could output anything. t/19misccalc.............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-11 Failed 11/11 tests, 0.00% okay Or: t/01basic................ # Failed test 'use Math::Symbolic;' # in t/01basic.t at line 7. # Tried to use 'Math::Symbolic'. # Error: Could not require Math::Symbolic::Parser::Precompiled. # Please install the latest version of Math::Symbolic(>=0.135). at /var/rtmp/.cpan-belg4mit/build/Math-Symbolic-0.504/blib/lib/Math/Symbolic.pm line 163 t/01basic................NOK 1# Compilation failed in require at (eval 3) line 2 This is perl, v5.8.0 built for sun4-solaris-64int This is perl, v5.8.4 built for sun4-solaris SunOS no-knife 5.10 Generic_118822-26 sun4u sparc SUNW,Sun-Fire-V440
On Sun Dec 17 11:58:28 2006, JPIERCE wrote: Show quoted text
> Fun stuff like the following for nearly every test:
Show quoted text
> t/01basic................ > # Failed test 'use Math::Symbolic;' > # in t/01basic.t at line 7. > # Tried to use 'Math::Symbolic'. > # Error: Could not require Math::Symbolic::Parser::Precompiled. > # Please install the latest version of Math::Symbolic(>=0.135). at >
/var/rtmp/.cpan-belg4mit/build/Math-Symbolic-0.504/blib/lib/Math/Symbolic.pm Show quoted text
> line 163
Hi Jerrad, thanks for the bug report! I haven't seen this pop up for a *long* time. (Since about version 0.12X, to be exact.) Now, what I should do is, if the precompiled parser can't be loaded, fall back to regenerating one. But this is an opportunity to debug this for good - if you are willing to help. Could you insert a $@ into the error message above? Just search for "latest version" in lib/Math/Symbolic/Parser.pm. Other than that, the next version will fall back to recreating a parser from the grammar. Cheers, Steffen
Subject: Re: [rt.cpan.org #23971] Test fails: Could not require Math::Symbolic::Parser::Precompiled
Date: Mon, 18 Dec 2006 04:45:04 -0500
To: bug-Math-Symbolic [...] rt.cpan.org
From: Jerrad Pierce <belg4mit [...] MIT.EDU>
# Please install the latest version of Math::Symbolic(>=0.135). <<Too many arguments for Parse::RecDescent::_trace at /var/rtmp/.cpan-belg4mit/build/Math-Symbolic-0.504/blib/lib/Math/Symbolic/Parser/Precompiled.pm line 86, near "$tracelevel) # " # Too many arguments for Parse::RecDescent::_trace at /var/rtmp/.cpan-belg4mit/build/Math-Symbolic-0.504/blib/lib/Math/Symbolic/Parser/Precompiled.pm line 120, near "$tracelevel) # " # Too many arguments for Parse::RecDescent::_trace at /var/rtmp/.cpan-belg4mit/build/Math-Symbolic-0.504/blib/lib/Math/Symbolic/Parser/Precompiled.pm line 133, near "$tracelevel) # " # Too many arguments for Parse::RecDescent::_trace at /var/rtmp/.cpan-belg4mit/build/Math-Symbolic-0.504/blib/lib/Math/Symbolic/Parser/Precompiled.pm line 153, near "$tracelevel) # " # BEGIN not safe after errors--compilation aborted at /var/rtmp/.cpan-belg4mit/build/Math-Symbolic-0.504/blib/lib/Math/Symbolic/Parser/Precompiled.pm line 154. # Compilation failed in require at (eval 10) line 1. # >> at /var/rtmp/.cpan-belg4mit/build/Math-Symbolic-0.504/blib/lib/Math/Symbolic.pm line 163 -- Free map of local environmental resources: http://CambridgeMA.GreenMap.org -- MOTD on Sweetmorn, the 59th of The Aftermath, in the YOLD 3172: 'scuse me while I tend to how I feel...