On 30/11/2010 01:52, Jonathan E. Magen wrote:
> Package: nodejs
> Version: 0.2.0-1
> Severity: important
> 
> 
> Software designed to run on node v0.2.0 expects that node will have a
> certain version of libv8, namely the version included in the node
> source tree. The version of node included in Debian Squeeze seems to
> use the system libv8 which is incorrect and therefore node does not
> function properly.
> 
> As an example, node v0.2.0 expects at least libv8 v2.3.5 where they
> added "Object initialisers and dot-notation property access now allows
> keywords.". An example of this feature not being present is as
> follows:
> 
> yonkeltron@Akiba:~ $ cat > deltest.js
> var a = {delete: true};
> yonkeltron@Akiba:~ $ node deltest.js 
> 
> /home/yonkeltron/deltest.js:1
>  a = {delete: tr
>         ^^^^^^
> SyntaxError: Unexpected token delete
>     at Module._compile (node.js:457:37)
>     at Module._loadScriptSync (node.js:468:10)
>     at Module.loadSync (node.js:338:12)
>     at Object.runMain (node.js:521:24)
>     at node.js:751:10
> yonkeltron@Akiba:~ $ node --version
> v0.2.0
> 
> The above error would not occur if node has a version of libv8 which
> implemented ES5 property names.
> 
> Is this bug truly caused because node has been patched to use the
> system v8? If so, the bug can be fixed by compiling node with the
> included version of libv8 and all will be well.

It is.
libv8 2.5.x is coming into debian (it's in NEW), nodejs 0.2.6 compiled against 
it
will follow just after, fixing the issue.

Regards,
Jérémy Lal





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to