#20146 closed defect (fixed)
spidermonkey build fail in 10.6
Reported by: | nerdling (Jeremy Lavergne) | Owned by: | akitada@… |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | Cc: | ||
Port: | spidermonkey |
Description
Failed building on Intel 10.6.
/usr/bin/gcc-4.2 -o Darwin_OPT.OBJ/jsprf.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 jsprf.c jsprf.c: In function 'BuildArgArray': jsprf.c:644: error: incompatible types in assignment
Attachments (1)
Change History (9)
Changed 15 years ago by nerdling (Jeremy Lavergne)
comment:1 Changed 15 years ago by nerdling (Jeremy Lavergne)
Priority: | Normal → Low |
---|
Lowering priority since 10.6 is not yet out.
comment:2 Changed 15 years ago by akitada@…
Could you please take this ticket and try to make it work yourself? I don't have 10.6.
comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)
Version: | 1.7.1 → 1.8.0 |
---|
I checked to see if disabling parallel builds helped, but they didn't change it; it's likely something we should inform the spidermonkey developers.
comment:4 follow-ups: 5 6 Changed 15 years ago by mathieu.ravaux@…
Hi,
I managed to compile and install by adding the following build flags : HAVE_VA_COPY VA_COPY=va_copy
Mathieu
comment:5 Changed 15 years ago by nerdling (Jeremy Lavergne)
Replying to mathieu.ravaux@…:
I managed to compile and install by adding the following build flags : HAVE_VA_COPY VA_COPY=va_copy
Does that impact installing on 10.5? If so, we can put it inside a darwin 10 condition. Otherwise, we can always have those set.
comment:6 follow-up: 8 Changed 15 years ago by nerdling (Jeremy Lavergne)
Replying to mathieu.ravaux@…:
I managed to compile and install by adding the following build flags :
I didn't have such luck after having added those to the Portfile. Same error.
comment:8 Changed 15 years ago by valango@…
I didn't have such luck after having added those to the Portfile. Same error.
This did work for me:
http://github.com/janl/couchdbx-core/blob/ff47372552d10df00d74cb7989dfed4a19a6040d/patches/js/patch-jsprf.c
Villem
build phase, verbose