Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#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)

out.txt (10.2 KB) - added by nerdling (Jeremy Lavergne) 15 years ago.
build phase, verbose

Download all attachments as: .zip

Change History (9)

Changed 15 years ago by nerdling (Jeremy Lavergne)

Attachment: out.txt added

build phase, verbose

comment:1 Changed 15 years ago by nerdling (Jeremy Lavergne)

Priority: NormalLow

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.11.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 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 in reply to:  4 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 in reply to:  4 ; 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:7 Changed 15 years ago by tobypeterson

Resolution: fixed
Status: newclosed

comment:8 in reply to:  6 Changed 14 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

Note: See TracTickets for help on using tickets.