Opened 15 years ago

Closed 15 years ago

#20901 closed defect (duplicate)

py25-pyobjc2 fails on Snow Leopard

Reported by: skymoo (Adam Mercer) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard Cc:
Port: py25-pyobjc2

Description

py25-pyobjc2 is failing to build for me on Snow Leopard with the following error:

/usr/bin/gcc-4.2 -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include/python2.5 -c libffi-src/ffi.c -o build/temp.macosx-10.6-i386-2.5/libffi-src/ffi.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -no-cpp-precomp -Wno-long-double -g -O1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-import -I/opt/local/include/libxml2 -Ibuild/codegen/ -Ilibffi-src/include -Ilibffi-src/powerpc
cc1: error: unrecognized command line option "-Wno-long-double"
error: command '/usr/bin/gcc-4.2' failed with exit status 1

I've attached the full debug build log.

Attachments (1)

py25-pyobjc2.log (143.3 KB) - added by skymoo (Adam Mercer) 15 years ago.
full debug log

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by skymoo (Adam Mercer)

Attachment: py25-pyobjc2.log added

full debug log

comment:1 Changed 15 years ago by jowens (John Owens)

FWIW, I hacked this to work in my own install by removing the -Wno-long-double line in setup.py for this port. I don't pretend that's the right thing to do, but it got me past the build bottleneck for py25-matplotlib which appears to work correctly with the fix.

comment:2 Changed 15 years ago by jmroot (Joshua Root)

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