Skip Menu |

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

Report information
The Basics
Id: 90834
Status: new
Priority: 0/
Queue: JavaScript-SpiderMonkey

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

Bug Information
Severity: (no value)
Broken in: 0.21
Fixed in: (no value)



Subject: does not build with mozjs-24.1.0
~/.cpanm/work/1385475965.7801/JavaScript-SpiderMonkey-0.21$ perl Makefile.PL INC=-I/tmp/mozjs/include/mozjs-24.1 --JS_LIB_DIR=/tmp/mozjs/lib --JS_LIB_NAME=mozjs-24.1 JS_LIB_DIR: /tmp/mozjs/lib JS_INCL_DIR: /tmp/mozjs/lib JS_LIB_NAME: mozjs-24.1 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for JavaScript::SpiderMonkey Writing MYMETA.yml and MYMETA.json ~/.cpanm/work/1385475965.7801/JavaScript-SpiderMonkey-0.21$ LANG=C make cc -c -I/tmp/mozjs/include/mozjs-24.1 -D_REENTRANT -D_GNU_SOURCE -fPIC -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/home/ldieckow/local/share/perlbrew/perls/perl_for_13_1/lib/5.14.4/x86_64-linux-thread-multi-ld/CORE" -DXP_UNIX SpiderMonkey.c In file included from /tmp/mozjs/include/mozjs-24.1/mozilla/Casting.h:12:0, from /tmp/mozjs/include/mozjs-24.1/mozilla/FloatingPoint.h:13, from /tmp/mozjs/include/mozjs-24.1/jsapi.h:12, from SpiderMonkey.xs:15: /tmp/mozjs/include/mozjs-24.1/mozilla/TypeTraits.h:19:1: error: unknown type name 'namespace' namespace mozilla { ^ /tmp/mozjs/include/mozjs-24.1/mozilla/TypeTraits.h:19:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace mozilla { ^ In file included from /tmp/mozjs/include/mozjs-24.1/mozilla/FloatingPoint.h:13:0, from /tmp/mozjs/include/mozjs-24.1/jsapi.h:12, from SpiderMonkey.xs:15: /tmp/mozjs/include/mozjs-24.1/mozilla/Casting.h:16:1: error: unknown type name 'namespace' namespace mozilla { ^ /tmp/mozjs/include/mozjs-24.1/mozilla/Casting.h:16:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace mozilla { ^ In file included from /tmp/mozjs/include/mozjs-24.1/jsapi.h:12:0, from SpiderMonkey.xs:15: /tmp/mozjs/include/mozjs-24.1/mozilla/FloatingPoint.h:16:1: error: unknown type name 'namespace' namespace mozilla { ^ /tmp/mozjs/include/mozjs-24.1/mozilla/FloatingPoint.h:16:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace mozilla { ^ In file included from /tmp/mozjs/include/mozjs-24.1/jsapi.h:13:0, from SpiderMonkey.xs:15: /tmp/mozjs/include/mozjs-24.1/mozilla/RangedPtr.h:18:1: error: unknown type name 'namespace' namespace mozilla { ^ /tmp/mozjs/include/mozjs-24.1/mozilla/RangedPtr.h:18:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace mozilla { ^ In file included from /tmp/mozjs/include/mozjs-24.1/jsapi.h:15:0, from SpiderMonkey.xs:15: /tmp/mozjs/include/mozjs-24.1/mozilla/ThreadLocal.h:32:1: error: unknown type name 'namespace' namespace mozilla { ^ /tmp/mozjs/include/mozjs-24.1/mozilla/ThreadLocal.h:32:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace mozilla { ^ In file included from /tmp/mozjs/include/mozjs-24.1/js/Utility.h:13:0, from /tmp/mozjs/include/mozjs-24.1/jsalloc.h:10, from /tmp/mozjs/include/mozjs-24.1/jsapi.h:23, from SpiderMonkey.xs:15: /tmp/mozjs/include/mozjs-24.1/mozilla/Scoped.h:56:1: error: unknown type name 'namespace' namespace mozilla { ^ /tmp/mozjs/include/mozjs-24.1/mozilla/Scoped.h:56:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace mozilla { ^ In file included from /tmp/mozjs/include/mozjs-24.1/js/Utility.h:25:0, from /tmp/mozjs/include/mozjs-24.1/jsalloc.h:10, from /tmp/mozjs/include/mozjs-24.1/jsapi.h:23, from SpiderMonkey.xs:15: /tmp/mozjs/include/mozjs-24.1/js/TemplateLib.h:19:1: error: unknown type name 'namespace' namespace js { ^ /tmp/mozjs/include/mozjs-24.1/js/TemplateLib.h:19:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace js { ^ In file included from /tmp/mozjs/include/mozjs-24.1/jsalloc.h:10:0, from /tmp/mozjs/include/mozjs-24.1/jsapi.h:23, from SpiderMonkey.xs:15: /tmp/mozjs/include/mozjs-24.1/js/Utility.h:28:1: error: unknown type name 'namespace' namespace JS {} ^ /tmp/mozjs/include/mozjs-24.1/js/Utility.h:28:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace JS {} ^ /tmp/mozjs/include/mozjs-24.1/js/Utility.h:31:1: error: unknown type name 'namespace' namespace mozilla {} ^ /tmp/mozjs/include/mozjs-24.1/js/Utility.h:31:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace mozilla {} ^ /tmp/mozjs/include/mozjs-24.1/js/Utility.h:34:1: error: unknown type name 'namespace' namespace js {} ^ /tmp/mozjs/include/mozjs-24.1/js/Utility.h:34:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace js {} ^ /tmp/mozjs/include/mozjs-24.1/js/Utility.h:163:24: error: conflicting types for 'js_calloc' static JS_INLINE void* js_calloc(size_t nmemb, size_t size) ^ /tmp/mozjs/include/mozjs-24.1/js/Utility.h:157:24: note: previous definition of 'js_calloc' was here static JS_INLINE void* js_calloc(size_t bytes) ^ /tmp/mozjs/include/mozjs-24.1/js/Utility.h:368:15: fatal error: new: No such file or directory #include <new> ^ compilation terminated. make: *** [SpiderMonkey.o] Error 1