Opened 15 years ago

Closed 15 years ago

#21147 closed defect (fixed)

py26-pyobjc2 uses -Wno-long-double

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

Description (last modified by tobypeterson)

$ sudo port install py26-pyobjc2
--->  Computing dependencies for py26-pyobjc2
--->  Fetching py26-pyobjc2
--->  Verifying checksum(s) for py26-pyobjc2
--->  Extracting py26-pyobjc2
--->  Configuring py26-pyobjc2
--->  Building py26-pyobjc2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-pyobjc2/work/pyobjc-core" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build " returned error 1
Command output: copying Lib/objc/test/test_posing.py -> build/lib.macosx-10.6-i386-2.6/objc/test
copying Lib/objc/test/test_protected.py -> build/lib.macosx-10.6-i386-2.6/objc/test
copying Lib/objc/test/test_protocol.py -> build/lib.macosx-10.6-i386-2.6/objc/test
copying Lib/objc/test/test_protocolNamed.py -> build/lib.macosx-10.6-i386-2.6/objc/test
copying Lib/objc/test/test_regr.py -> build/lib.macosx-10.6-i386-2.6/objc/test
copying Lib/objc/test/test_signatures.py -> build/lib.macosx-10.6-i386-2.6/objc/test
copying Lib/objc/test/test_sockaddr.py -> build/lib.macosx-10.6-i386-2.6/objc/test
copying Lib/objc/test/test_splitsig.py -> build/lib.macosx-10.6-i386-2.6/objc/test
copying Lib/objc/test/test_structpointer.py -> build/lib.macosx-10.6-i386-2.6/objc/test
copying Lib/objc/test/test_structs.py -> build/lib.macosx-10.6-i386-2.6/objc/test
copying Lib/objc/test/test_subclass.py -> build/lib.macosx-10.6-i386-2.6/objc/test
copying Lib/objc/test/test_varargs.py -> build/lib.macosx-10.6-i386-2.6/objc/test
copying Lib/objc/test/test_voidpointer.py -> build/lib.macosx-10.6-i386-2.6/objc/test
copying Lib/objc/test/test_weakref.py -> build/lib.macosx-10.6-i386-2.6/objc/test
creating build/lib.macosx-10.6-i386-2.6/PyObjCTools
copying Lib/PyObjCTools/__init__.py -> build/lib.macosx-10.6-i386-2.6/PyObjCTools
copying Lib/PyObjCTools/KeyValueCoding.py -> build/lib.macosx-10.6-i386-2.6/PyObjCTools
copying Lib/PyObjCTools/MachSignals.py -> build/lib.macosx-10.6-i386-2.6/PyObjCTools
copying Lib/PyObjCTools/Signals.py -> build/lib.macosx-10.6-i386-2.6/PyObjCTools
running build_ext
building 'objc._objc' extension
creating build/temp.macosx-10.6-i386-2.6
creating build/temp.macosx-10.6-i386-2.6/libffi-src
creating build/temp.macosx-10.6-i386-2.6/libffi-src/powerpc
creating build/temp.macosx-10.6-i386-2.6/libffi-src/x86
creating build/temp.macosx-10.6-i386-2.6/Modules
creating build/temp.macosx-10.6-i386-2.6/Modules/objc
/usr/bin/gcc-4.2 -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.6-i386-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/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

Error: Status 1 encountered during processing.

Attachments (1)

py26-pyobjc2.patch (332 bytes) - added by otto@… 15 years ago.
comments out CFLAGS that cause problems in setup.py

Download all attachments as: .zip

Change History (4)

comment:1 Changed 15 years ago by tobypeterson

Description: modified (diff)
Owner: changed from macports-tickets@… to jmr@…
Summary: py26-pyobjc2 fails in build (10.6)py26-pyobjc2 uses -Wno-long-double
Version: 1.8.0

comment:2 Changed 15 years ago by skymoo (Adam Mercer)

Cc: ram@… added

Cc Me!

Changed 15 years ago by otto@…

Attachment: py26-pyobjc2.patch added

comments out CFLAGS that cause problems in setup.py

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

Resolution: fixed
Status: newclosed

Toby fixed this in r57160, but I wouldn't be surprised if you see the same failure as in #20989 now.

Note: See TracTickets for help on using tickets.