Ticket #20901 (closed defect: duplicate)
py25-pyobjc2 fails on Snow Leopard
| Reported by: | ram@… | Owned by: | jmr@… |
|---|---|---|---|
| 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
Change History
Changed 4 years ago by ram@…
- Attachment py25-pyobjc2.log added
comment:1 Changed 4 years ago by 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.
Note: See
TracTickets for help on using
tickets.


full debug log