#20691 closed defect (invalid)
py26-pyobjc2 does not build on 10.6
Reported by: | wiml@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ben@… | |
Port: | py26-pyobjc2 |
Description
building 'objc._objc' extension /Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c libffi-src/ffi.c -o build/temp.macosx-10.5-universal-2.6/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/usr/include/libxml2 -Ibuild/codegen/ -Ilibffi-src/include -Ilibffi-src/powerpc cc1: error: unrecognized command line option "-Wno-long-double"
Full output attached in a file.
Presumably if I rebuilt everything with gcc-4.2 this would succeed, but I apparently can't override the compiler just for py26-pyobjc2 --- I assume it's getting the compiler setting from py26 itself. (python26, along with py26-bdist_mpkg, py26-cairo, py26-configobj, py26-dateutil, py26-macholib, py26-modulegraph-devel, py26-nose, py26-numpy, py26-py2app-devel, py26-setuptools, and py26-tz, have built and installed successfully with llvm-gcc-4.2 i386+x86_64 fat.)
Attachments (2)
Change History (5)
Changed 15 years ago by wiml@…
Attachment: | py26buildlog added |
---|
comment:1 follow-up: 2 Changed 15 years ago by jmroot (Joshua Root)
Resolution: | → invalid |
---|---|
Status: | new → closed |
You need MacPorts 1.8 on Snow Leopard. http://lists.macosforge.org/pipermail/macports-users/2009-August/016045.html
comment:2 Changed 15 years ago by ben@…
Replying to jmr@…:
You need MacPorts 1.8 on Snow Leopard. http://lists.macosforge.org/pipermail/macports-users/2009-August/016045.html
I am trying it with MacPorts 1.8 (and Snow Leopard) and am also getting an error building and installing this. I will attach my build output
Changed 15 years ago by ben@…
Attachment: | buildoutput1.8.rtf added |
---|
output on macports 1.8 - sudo port -d build py26-pyobjc2
Output of 'port -d build py26-pyobjc2-cocoa'