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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 2429
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.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-26882-1250236019-1823.48699-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 430
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
X-Originalarrivaltime: 14 Aug 2009 15:10:52.0841 (UTC) FILETIME=[6A3AB990:01CA1CF1]
MIME-Version: 1.0
X-Spam-Status: No, hits=0.0 required=8.0 tests=HTML_MESSAGE,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-26882-1250236019-1823.48699-6-0 [...] rt.cpan.org>
Importance: Normal
References: <RT-Ticket-48699 [...] rt.cpan.org> <rt-3.6.HEAD-26882-1250236019-1823.48699-6-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
Message-ID: <SNT104-W57F02C801A55E8B784B1BA0020 [...] phx.gbl>
Content-Type: multipart/alternative; boundary="_cee98ae0-d13d-4771-aa1e-298b43345d3c_"
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by diesel.bestpractical.com (Postfix) with SMTP id 8FE7D19B82D6 for <bug-javascript-jslint [...] rt.cpan.org>; Fri, 14 Aug 2009 11:11:06 -0400 (EDT)
Received: (qmail 8860 invoked by uid 103); 14 Aug 2009 15:11:06 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 14 Aug 2009 15:11:06 -0000
Received: from snt0-omc1-s11.snt0.hotmail.com (HELO snt0-omc1-s11.snt0.hotmail.com) (65.55.90.22) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Fri, 14 Aug 2009 08:11:00 -0700
Received: from SNT104-W5 ([65.55.90.9]) by snt0-omc1-s11.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 14 Aug 2009 08:10:52 -0700
Delivered-To: cpan-bug+javascript-jslint [...] diesel.bestpractical.com
Subject: RE: [rt.cpan.org #48699] install errors
Return-Path: <gsxrtim76 [...] hotmail.com>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-javascript-jslint [...] rt.cpan.org
Date: Fri, 14 Aug 2009 08:10:52 -0700
X-Spam-Level: *
X-Originating-Ip: [70.187.132.23]
To: <bug-javascript-jslint [...] rt.cpan.org>
From: tim chan <gsxrtim76 [...] hotmail.com>
RT-Message-ID: <rt-3.6.HEAD-26882-1250262676-740.48699-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 1039
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
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 1468
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-26882-1250262676-740.48699-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
References: <RT-Ticket-48699 [...] rt.cpan.org> <rt-3.6.HEAD-26882-1250236019-1823.48699-6-0 [...] rt.cpan.org> <SNT104-W57F02C801A55E8B784B1BA0020 [...] phx.gbl> <rt-3.6.HEAD-26882-1250262676-740.48699-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-1109-1250516398-1804.48699-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 527
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
X-Originalarrivaltime: 17 Aug 2009 16:31:56.0898 (UTC) FILETIME=[3CAC2C20:01CA1F58]
MIME-Version: 1.0
X-Spam-Status: No, hits=0.0 required=8.0 tests=HTML_MESSAGE,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-1109-1250516398-1804.48699-6-0 [...] rt.cpan.org>
Importance: Normal
References: <RT-Ticket-48699 [...] rt.cpan.org> <rt-3.6.HEAD-26882-1250236019-1823.48699-6-0 [...] rt.cpan.org> <SNT104-W57F02C801A55E8B784B1BA0020 [...] phx.gbl> <rt-3.6.HEAD-26882-1250262676-740.48699-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-1109-1250516398-1804.48699-6-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
Message-ID: <SNT104-W73A78B685B8D5008A0A30A0010 [...] phx.gbl>
Content-Type: multipart/alternative; boundary="_6acd4fa0-7a96-411d-81ae-6f3381368b73_"
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by diesel.bestpractical.com (Postfix) with SMTP id A258F19B82C1 for <bug-javascript-jslint [...] rt.cpan.org>; Mon, 17 Aug 2009 12:32:09 -0400 (EDT)
Received: (qmail 12086 invoked by uid 103); 17 Aug 2009 16:32:09 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 17 Aug 2009 16:32:09 -0000
Received: from snt0-omc1-s27.snt0.hotmail.com (HELO snt0-omc1-s27.snt0.hotmail.com) (65.55.90.38) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Mon, 17 Aug 2009 09:32:03 -0700
Received: from SNT104-W7 ([65.55.90.9]) by snt0-omc1-s27.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 17 Aug 2009 09:31:56 -0700
Delivered-To: cpan-bug+javascript-jslint [...] diesel.bestpractical.com
Subject: RE: [rt.cpan.org #48699] install errors
Return-Path: <gsxrtim76 [...] hotmail.com>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-javascript-jslint [...] rt.cpan.org
Date: Mon, 17 Aug 2009 09:31:56 -0700
X-Spam-Level: *
X-Originating-Ip: [67.120.61.30]
To: <bug-javascript-jslint [...] rt.cpan.org>
From: tim chan <gsxrtim76 [...] hotmail.com>
RT-Message-ID: <rt-3.6.HEAD-1109-1250526739-1960.48699-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 1085
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
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 1495
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-1109-1250526739-1960.48699-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <RT-Ticket-48699 [...] rt.cpan.org> <rt-3.6.HEAD-26882-1250236019-1823.48699-6-0 [...] rt.cpan.org> <SNT104-W57F02C801A55E8B784B1BA0020 [...] phx.gbl> <rt-3.6.HEAD-26882-1250262676-740.48699-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-1109-1250516398-1804.48699-6-0 [...] rt.cpan.org> <SNT104-W73A78B685B8D5008A0A30A0010 [...] phx.gbl> <rt-3.6.HEAD-1109-1250526739-1960.48699-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2597-1319886835-377.48699-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1898
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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2603-1320267835-953.48699-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 227
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.