Skip Menu |

This queue is for tickets about the JavaScript CPAN distribution.

Report information
The Basics
Id: 55610
Status: open
Priority: 0/
Queue: JavaScript

People
Owner: Nobody in particular
Requestors: dreamwvr [...] dreamwvr.com
Cc:
AdminCc:

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



Subject: javascript-1.16 - does not make cleanly
Date: Mon, 15 Mar 2010 16:28:11 -0600
To: bug-javascript [...] rt.cpan.org
From: dreamwvr <dreamwvr [...] dreamwvr.com>
Latest mozilla/js errors $ sudo perl Makefile.PL Is your SpiderMonkey compiled with JS_THREADSAFE (most things will fail if you answer wrong)? [y/N] N Is your SpiderMonkey compiled with support for unicode (t/23-unicode.t will fail if you answer wrong) ? [y/N] [N] N Do you want support for E4X (requires SpiderMonkey > 1.5) ? [y/N] [N] N In file included from /usr/local/include/js/jsfun.h:47, from /usr/local/include/js/jsinterp.h:48, from JavaScript_Env.h:10, from test_js.c:2: /usr/local/include/js/jsobj.h:60: error: expected specifier-qualifier-list before 'friend' /usr/local/include/js/jsobj.h:168: error: expected specifier-qualifier-list before 'bool' /usr/local/include/js/jsobj.h:179: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'JSObjectOps' /usr/local/include/js/jsobj.h:188: error: expected specifier-qualifier-list before 'explicit' /usr/local/include/js/jsobj.h:207: error: initializer element is not constant /usr/local/include/js/jsobj.h:246: error: variably modified 'fslots' at file scope /usr/local/include/js/jsobj.h:249: error: expected specifier-qualifier-list before 'bool' /usr/local/include/js/jsobj.h:484: error: expected identifier or '(' before '&' token /usr/local/include/js/jsobj.h: In function 'STOBJ_GET_CLASS': /usr/local/include/js/jsobj.h:507: error: 'JSObject' has no member named 'getClass' /usr/local/include/js/jsobj.h: At top level: /usr/local/include/js/jsobj.h:617: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OBJ_IS_CLONED_BLOCK' /usr/local/include/js/jsobj.h:728: error: expected ';', ',' or ')' before '=' token /usr/local/include/js/jsobj.h:735: error: expected ';', ',' or ')' before '=' token /usr/local/include/js/jsobj.h:769: error: expected ';', ',' or ')' before '=' token /usr/local/include/js/jsobj.h:782: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'js_GrowSlots' /usr/local/include/js/jsobj.h:796: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'js_EnsureReservedSlots' /usr/local/include/js/jsobj.h:862: error: expected ';', ',' or ')' before '=' token /usr/local/include/js/jsobj.h:891: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'js_IsCacheableNonGlobalScope' /usr/local/include/js/jsobj.h:955: error: expected declaration specifiers or '...' before 'bool' /usr/local/include/js/jsobj.h:973: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'js_CheckUndeclaredVarAssignment' /usr/local/include/js/jsobj.h:1036: error: expected ';', ',' or ')' before '=' token /usr/local/include/js/jsobj.h:1084: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'js_GetReservedSlot' /usr/local/include/js/jsobj.h:1087: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'js_SetReservedSlot' /usr/local/include/js/jsobj.h:1117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'js_IsCallable' In file included from /usr/local/include/js/jsinterp.h:48, from JavaScript_Env.h:10, from test_js.c:2: /usr/local/include/js/jsfun.h:131: error: expected identifier or '(' before ':' token /usr/local/include/js/jsfun.h:226: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'JSObject' /usr/local/include/js/jsfun.h:253: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'js_IsInternalFunctionObject' /usr/local/include/js/jsfun.h:260: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'js' /usr/local/include/js/jsfun.h:262: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token /usr/local/include/js/jsfun.h:392: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'js_IsNamedLambda' /usr/local/include/js/jsfun.h:406: error: initializer element is not constant /usr/local/include/js/jsfun.h:407: error: initializer element is not constant /usr/local/include/js/jsfun.h:408: error: initializer element is not constant /usr/local/include/js/jsfun.h:412: error: initializer element is not constant /usr/local/include/js/jsfun.h:420: error: expected ')' before numeric constant /usr/local/include/js/jsfun.h:420: error: expected ')' before '-' token /usr/local/include/js/jsfun.h:420: error: expected ')' before '<<' token /usr/local/include/js/jsfun.h:420: error: expected ')' before '|' token /usr/local/include/js/jsfun.h:420: error: expected ')' before '<=' token /usr/local/include/js/jsfun.h:423: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'js_IsOverriddenArgsLength' /usr/local/include/js/jsfun.h:473: warning: 'struct JSArenaPool' declared inside parameter list /usr/local/include/js/jsfun.h:473: warning: its scope is only this definition or declaration, which is probably not what you want In file included from /usr/local/include/js/jsatom.h:53, from /usr/local/include/js/jsscript.h:46, from /usr/local/include/js/jsinterp.h:50, from JavaScript_Env.h:10, from test_js.c:2: /usr/local/include/js/jslock.h:47:21: error: pratom.h: No such file or directory /usr/local/include/js/jslock.h:48:21: error: prlock.h: No such file or directory /usr/local/include/js/jslock.h:49:21: error: prcvar.h: No such file or directory /usr/local/include/js/jslock.h:50:23: error: prthread.h: No such file or directory In file included from /usr/local/include/js/jsatom.h:53, from /usr/local/include/js/jsscript.h:46, from /usr/local/include/js/jsinterp.h:50, from JavaScript_Env.h:10, from test_js.c:2: /usr/local/include/js/jslock.h:89: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'JSLock' In file included from /usr/local/include/js/jsinterp.h:50, from JavaScript_Env.h:10, from test_js.c:2: /usr/local/include/js/jsscript.h:118: error: expected specifier-qualifier-list before 'bool' /usr/local/include/js/jsscript.h: In function 'StackDepth': /usr/local/include/js/jsscript.h:211: error: 'JSScript' has no member named 'nslots' /usr/local/include/js/jsscript.h: At top level: /usr/local/include/js/jsscript.h:365: error: expected declaration specifiers or '...' before 'bool' In file included from JavaScript_Env.h:10, from test_js.c:2: /usr/local/include/js/jsinterp.h:129: error: expected specifier-qualifier-list before 'inline' /usr/local/include/js/jsinterp.h:191: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token /usr/local/include/js/jsinterp.h:280: error: expected specifier-qualifier-list before 'bool' /usr/local/include/js/jsinterp.h:372: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'js_MatchPropertyCacheShape' /usr/local/include/js/jsinterp.h:590: error: expected identifier or '(' before '&' token In file included from JavaScript_Env.h:14, from test_js.c:2: /usr/local/include/js/jsscope.h:211: error: expected identifier or '(' before ':' token /usr/local/include/js/jsscope.h:484: error: expected identifier or '(' before ':' token /usr/local/include/js/jsscope.h:520: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'JS_IS_SCOPE_LOCKED' /usr/local/include/js/jsscope.h:556: error: expected specifier-qualifier-list before 'friend' /usr/local/include/js/jsscope.h:702: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token /usr/local/include/js/jsscope.h:708: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'JSScope' /usr/local/include/js/jsscope.h:714: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token /usr/local/include/js/jsscope.h:725: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token /usr/local/include/js/jsscope.h:734: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token /usr/local/include/js/jsscope.h:744: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token /usr/local/include/js/jsscope.h:764: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token /usr/local/include/js/jsscope.h:809: error: expected declaration specifiers or '...' before 'bool' /usr/local/include/js/jsscope.h:846: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token /usr/local/include/js/jsscope.h:868: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'JSScope' /usr/local/include/js/jsscope.h:874: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'JSScopeProperty' /usr/local/include/js/jsscope.h:905: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'JSScopeProperty' /usr/local/include/js/jsscope.h:937: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'js_InitPropertyTree' Failed compiling test_js.c. ABORTING cc -o /tmp/CsEr9Whx0q test_js.c -I. -lmozjs
From: antoine [...] gmx.de
I got hit by the same bug while trying to build javascript-1.16 against the head revision of SpiderMonkey js which I got using mercurial. I am on cygwin, Windows 7, 64 bits