Opened 15 years ago

Closed 15 years ago

#19778 closed defect (invalid)

spidermonkey fails to build

Reported by: luce.chris@… Owned by: akitada@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: spidermonkey Cc:
Port: spidermonkey

Description

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.

Change History (3)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to akitada@…

WFM on 10.5.7. What version of Xcode do you have installed? Please update to version 3.1.2 if you are below that.

comment:2 in reply to:  1 Changed 15 years ago by luce.chris@…

Replying to macsforever2000@…:

WFM on 10.5.7. What version of Xcode do you have installed? Please update to version 3.1.2 if you are below that.

Initially had Xcode version 3.1.1. Just upgraded to Xcode 3.1.2 and it builds correctly. Thanks for your help.

comment:3 Changed 15 years ago by akitada@…

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.