Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13583 closed defect (fixed)

ocaml 3.10.0 build failure on Tiger: 'struct mcontext' has no member named '__ss'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: bfulgham@…, ajmas@…, macports.users@…
Port:

Description

I can build ocaml 3.10.0@r30771 with no problem, but the current version of the portfile at r31240, following the fixes for #13236 and #13308, causes this build failure:

cd asmrun; make all
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -DSYS_macosx  -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT   -c -o startup.o startup.c
ln -s ../byterun/main.c main.c
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -DSYS_macosx  -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT   -c -o main.o main.c
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -DSYS_macosx  -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT   -c -o fail.o fail.c
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -DSYS_macosx  -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT   -c -o roots.o roots.c
ln -s ../byterun/globroots.c globroots.c
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -DSYS_macosx  -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT   -c -o globroots.o globroots.c
ln -s ../byterun/signals.c signals.c
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -DSYS_macosx  -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT   -c -o signals.o signals.c
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -DSYS_macosx  -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT   -c -o signals_asm.o signals_asm.c
signals_asm.c: In function 'segv_handler':
signals_asm.c:193: error: 'struct mcontext' has no member named '__ss'
signals_asm.c:193: error: 'struct mcontext' has no member named '__ss'
make[1]: *** [signals_asm.o] Error 1
make: *** [runtimeopt] Error 2

Error: The following dependencies failed to build: ocaml
Error: Status 1 encountered during processing.

This is on Mac OS X 10.4.11, MacBookPro3,1, Xcode 2.4.1, MacPorts 1.7.0 from trunk.

Change History (4)

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ajmas@… added

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: macports.users@… added

comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Since the maintainer is not responding, I'll deal with this.

r31240 broke ocaml. When the patch was originally attached to ticket #13308, the patchfiles were wrapped in a "platform darwin 9" section, but as committed, the patchfiles apply on all platforms. I am changing this in r32486 so that the patchfiles only apply on darwin 9, so that it builds again on earlier systems.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.