#19778: spidermonkey fails to build ----------------------------------+----------------------------------------- Reporter: luce.chris@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: spidermonkey | Port: spidermonkey ----------------------------------+----------------------------------------- Spidermonkey fails to build on OSX 10.5.7 with the following error: {{{ sudo port install spidermonkey ---> Building spidermonkey Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_spidermonkey/work/js/src" && make all -f Makefile.ref LIBDIR="/lib" SO_SUFFIX=dylib JS_THREADSAFE=1 CC=/usr/bin/gcc-4.0 DEFINES=-DJS_C_STRINGS_ARE_UTF8 " returned error 2 Command output: cat: ../../dist/Darwin_OPT.OBJ/nspr/Version: No such file or directory cd editline; make -f Makefile.ref all make[1]: Nothing to be done for `all'. make -f Makefile.ref Darwin_OPT.OBJ/libjs.a Darwin_OPT.OBJ/libjs.dylib Darwin_OPT.OBJ/js Darwin_OPT.OBJ/jsautocfg.h Darwin_OPT.OBJ/jscpucfg Darwin_OPT.OBJ/jscpucfg.o cat: ../../dist/Darwin_OPT.OBJ/nspr/Version: No such file or directory make[1]: Circular jscpucfg.h <- Darwin_OPT.OBJ/jsautocfg.h dependency dropped. make[1]: Circular Darwin_OPT.OBJ/jsautocfg.h <- Darwin_OPT.OBJ/jsautocfg.h dependency dropped. /usr/bin/gcc-4.0 -o Darwin_OPT.OBJ/jsemit.o -c -Wall -Wno-format -no-cpp- precomp -fno-common -pipe -O -DJS_THREADSAFE -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN -DJS_C_STRINGS_ARE_UTF8 -DJS_C_STRINGS_ARE_UTF8 -IDarwin_OPT.OBJ -I/opt/local/include/nspr jsemit.c jsemit.c: In function 'js_PushStatement': jsemit.c:1247: error: 'uint' undeclared (first use in this function) jsemit.c:1247: error: (Each undeclared identifier is reported only once jsemit.c:1247: error: for each function it appears in.) jsemit.c: In function 'EmitNonLocalJumpFixup': jsemit.c:1329: error: 'uint' undeclared (first use in this function) jsemit.c: In function 'js_PopStatement': jsemit.c:1464: error: 'uint' undeclared (first use in this function) jsemit.c: In function 'js_PopStatementCG': jsemit.c:1479: error: 'uint' undeclared (first use in this function) make[1]: *** [Darwin_OPT.OBJ/jsemit.o] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/19778> MacPorts <http://www.macports.org/> Ports system for Mac OS