Skip Menu |
 

This queue is for tickets about the JavaScript-JSLint CPAN distribution.

Report information
The Basics
Id: 48699
Status: resolved
Priority: 0/
Queue: JavaScript-JSLint

People
Owner: SPJW [...] cpan.org
Requestors: gsxrtim76 [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.06
Fixed in: (no value)



Subject: install errors
Download (untitled) / with headers
text/plain 2.3k
JavaScript-JSLint-0.06 This is perl, v5.10.0 built for x86_64-linux-thread-multi Linux 2.6.18-128.1.6.el5.xs5.5.0.50xen #1 SMP Thu Apr 16 14:26:31 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux Unable to install. Errors listed below. [user@server JavaScript-JSLint-0.06]$ perl Build.PL Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Deleting Build Removed previous script 'Build' Creating new 'Build' script for 'JavaScript-JSLint' version '0.06' [user@server JavaScript-JSLint-0.06]$ ./Build test t/JavaScript-JSLint.t .. 1/12 # Failed test 'missing semicolon' # at t/JavaScript-JSLint.t line 129. # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = HASH(0x108a9e80) # @errors = (); # Failed test 'missing semicolon and late declaration' # at t/JavaScript-JSLint.t line 129. # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = HASH(0x10bb2890) # @errors = (); # Failed test 'nested comment, like prototype.js' # at t/JavaScript-JSLint.t line 129. # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = HASH(0x10bb2b00) # @errors = (); # Failed test 'disallow undefined variables' # at t/JavaScript-JSLint.t line 129. # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = HASH(0x10bb2e78) # @errors = (); # Looks like you failed 4 tests of 12. JS API usage error: 1 contexts left in runtime upon JS_DestroyRuntime. JS engine warning: 121 atoms remain after destroying the JSRuntime. These atoms may point to freed memory. Things reachable through them have not been finalized. JS engine warning: leaking GC root 'res->input' at 0x108af1c0 JS engine warning: 1 GC root remains after destroying the JSRuntime. This root may point to freed memory. Objects reachable through it have not been finalized. t/JavaScript-JSLint.t .. Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/12 subtests Test Summary Report ------------------- t/JavaScript-JSLint.t (Wstat: 1024 Tests: 12 Failed: 4) Failed tests: 5-7, 9 Non-zero exit status: 4 Files=1, Tests=12, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.13 cusr 0.01 csys = 0.18 CPU) Result: FAIL Failed 1/1 test programs. 4/12 subtests failed.
Download (untitled) / with headers
text/plain 430b
On Fri Aug 14 03:06:51 2009, x5150 wrote: Show quoted text
> JavaScript-JSLint-0.06 > > This is perl, v5.10.0 built for x86_64-linux-thread-multi > > Linux 2.6.18-128.1.6.el5.xs5.5.0.50xen #1 SMP Thu Apr 16 14:26:31 EDT > 2009 x86_64 x86_64 x86_64 GNU/Linux > > > Unable to install. Errors listed below.
Many thanks for this report. Could I ask — do you know what version of the spidermonkey libraries you have installed? Thanks, -Dom
Subject: RE: [rt.cpan.org #48699] install errors
Date: Fri, 14 Aug 2009 08:10:52 -0700
To: <bug-javascript-jslint [...] rt.cpan.org>
From: tim chan <gsxrtim76 [...] hotmail.com>
Hello, I am using, js-1.7.0 other info: JavaScript-SpiderMonkey-0.19 JavaScript-1.12 -Tim Show quoted text
> Subject: [rt.cpan.org #48699] install errors > From: bug-JavaScript-JSLint@rt.cpan.org > To: gsxrtim76@hotmail.com > Date: Fri, 14 Aug 2009 03:47:00 -0400 > > <URL: https://rt.cpan.org/Ticket/Display.html?id=48699 > > > On Fri Aug 14 03:06:51 2009, x5150 wrote:
> > JavaScript-JSLint-0.06 > > > > This is perl, v5.10.0 built for x86_64-linux-thread-multi > > > > Linux 2.6.18-128.1.6.el5.xs5.5.0.50xen #1 SMP Thu Apr 16 14:26:31 EDT > > 2009 x86_64 x86_64 x86_64 GNU/Linux > > > > > > Unable to install. Errors listed below.
> > Many thanks for this report. Could I ask — do you know what version of the spidermonkey > libraries you have installed? > > Thanks, > -Dom
Show quoted text
_________________________________________________________________ Get back to school stuff for them and cashback for you. http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1
Download (untitled) / with headers
text/plain 527b
On Fri Aug 14 11:11:16 2009, x5150 wrote: Show quoted text
> Hello, > > I am using, > > js-1.7.0 > > other info: > > JavaScript-SpiderMonkey-0.19 > > JavaScript-1.12
Thanks, Tim. I've tracked the problem down to some change in spidermonkey since I last looked at this. It's now die'ing with a complaint about being unable to find the "lex" function. I'm going to try and find out why it's complaining. Looking back, it seems like I was using a much older version when I wrote this. I'll get back to you when I have more news. -Dom
Subject: RE: [rt.cpan.org #48699] install errors
Date: Mon, 17 Aug 2009 09:31:56 -0700
To: <bug-javascript-jslint [...] rt.cpan.org>
From: tim chan <gsxrtim76 [...] hotmail.com>
Ok, thanks Dom. -Tim Show quoted text
> Subject: [rt.cpan.org #48699] install errors > From: bug-JavaScript-JSLint@rt.cpan.org > To: gsxrtim76@hotmail.com > Date: Mon, 17 Aug 2009 09:39:58 -0400 > > <URL: https://rt.cpan.org/Ticket/Display.html?id=48699 > > > On Fri Aug 14 11:11:16 2009, x5150 wrote:
> > Hello, > > > > I am using, > > > > js-1.7.0 > > > > other info: > > > > JavaScript-SpiderMonkey-0.19 > > > > JavaScript-1.12
> > Thanks, Tim. > > I've tracked the problem down to some change in spidermonkey since I last looked at this. > It's now die'ing with a complaint about being unable to find the "lex" function. > > I'm going to try and find out why it's complaining. Looking back, it seems like I was using a > much older version when I wrote this. > > I'll get back to you when I have more news. > > -Dom
Show quoted text
_________________________________________________________________ Windows Live: Make it easier for your friends to see what you’re up to on Facebook. http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_facebook:082009
Download (untitled) / with headers
text/plain 1.8k
FYI I have a fix for this in the works, as well as some new features for 0.07 at: https://github.com/spjwebster/perl-javascript-jslint It seems that the JavaScript module is a little buggy when compiled with SpiderMonkey >= 1.7.0, where calls to JSLint via JavaScript::Context->call() fail with runtime errors. I've managed to work around this issue by creating the JavaScript string necessary to make the call and then using JavaScript::Context->eval() instead, which doesn't trigger the runtime. My plan is to try to get 0.07 out within the next week. You can follow progress at: https://github.com/spjwebster/perl-javascript-jslint/issues?milestone=1&state=open Cheers, Steve On Mon Aug 17 12:32:19 2009, x5150 wrote: Show quoted text
> > Ok, thanks Dom. > > > > -Tim >
> > Subject: [rt.cpan.org #48699] install errors > > From: bug-JavaScript-JSLint@rt.cpan.org > > To: gsxrtim76@hotmail.com > > Date: Mon, 17 Aug 2009 09:39:58 -0400 > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=48699 > > > > > On Fri Aug 14 11:11:16 2009, x5150 wrote:
> > > Hello, > > > > > > I am using, > > > > > > js-1.7.0 > > > > > > other info: > > > > > > JavaScript-SpiderMonkey-0.19 > > > > > > JavaScript-1.12
> > > > Thanks, Tim. > > > > I've tracked the problem down to some change in spidermonkey since I
> last looked at this.
> > It's now die'ing with a complaint about being unable to find the
> "lex" function.
> > > > I'm going to try and find out why it's complaining. Looking back, it
> seems like I was using a
> > much older version when I wrote this. > > > > I'll get back to you when I have more news. > > > > -Dom
> > _________________________________________________________________ > Windows Live: Make it easier for your friends to see what you’re up to > on Facebook. > http://windowslive.com/Campaign/SocialNetworking?
ocid=PID23285::T:WLMTAGL:ON:WL:en- Show quoted text
> US:SI_SB_facebook:082009
Download (untitled) / with headers
text/plain 227b
Today I released JavaScript::JSLint 0.07, with up-to-date JSLint and (importantly) the aforementioned workaround for this issue. However, the JSLint update does significantly alter the kinds of checks performed on your code.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.