Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

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

py26buildlog (70.2 KB) - added by wiml@… 15 years ago.
Output of 'port -d build py26-pyobjc2-cocoa'
buildoutput1.8.rtf (156.3 KB) - added by ben@… 15 years ago.
output on macports 1.8 - sudo port -d build py26-pyobjc2

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by wiml@…

Attachment: py26buildlog added

Output of 'port -d build py26-pyobjc2-cocoa'

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

Resolution: invalid
Status: newclosed

comment:2 in reply to:  1 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

comment:3 Changed 15 years ago by ben@…

Cc: ben@… added

Cc Me!

Note: See TracTickets for help on using tickets.