"cannot find interface declaration for 'Object'", pip install fails OS 10.7.5

Issue #100 new
Nils Guillermin
created an issue

pip install on 10.7.5 fails with this:

InstallationError: Command python setup.py egg_info failed with error code 1 in /private/var/folders/mx/yy3b5_cs42l_v8bfzwy47ry80000gn/T/pip_build_username/pyobjc-framework-AddressBook

I think the problem is here:

Modules/objc/objc-runtime-compat.m:885:17: error: cannot find interface declaration for 'Object'; did you mean 'NSObject'?

@implementation Object (NSObjectCompat)

                ^~~~~~

                NSObject

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:76:12: note: 'NSObject' declared here

@interface NSObject <NSObject> {

           ^

Modules/objc/objc-runtime-compat.m:891:1: warning: method has no return type specified; defaults to 'id' [-Wmissing-method-return-type]

-doesNotRecognizeSelector:(SEL)sel

^

 (id)

Modules/objc/objc-runtime-compat.m:886:1: warning: category is implementing a method which will also be implemented by its primary class [-Wobjc-protocol-method-implementation]

- (id)self

^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:20:1: note: method 'self' declared here

- (id)self;

^

2 warnings and 1 error generated.

Comments (35)

  1. Ronald Oussoren repo owner

    That's annoying.

    I haven't tested on OSX 10.7 in quite some time, and it seems that support for "older" OSX versions has suffered from bitrot. I guess its time find my test VMs with older releases of the system :-(

  2. jameerbh

    I've also encountered same issue while installation of pyobjc on OSx 10.11.5 with Python 2.7.11 and pip 8.1.2.

    jimmypangsMini:pyobjc imtc$ MACOSX_DEPLOYMENT_TARGET=10.11 pip install --upgrade pyobjc Collecting pyobjc Using cached pyobjc-3.1.1.tar.gz Requirement already up-to-date: py2app>=0.10 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app-0.10-py2.7.egg (from pyobjc) Collecting pyobjc-core==3.1.1 (from pyobjc) Using cached pyobjc-core-3.1.1.tar.gz Collecting pyobjc_framework-AVKit==3.1.1 (from pyobjc) Using cached pyobjc-framework-AVKit-3.1.1.tar.gz Complete output from command python setup.py egg_info: warning: no directories found matching 'Scripts' warning: no directories found matching 'setup-lib' warning: no directories found matching 'source-deps' warning: no previously-included files matching '.DS_Store' found anywhere in distribution warning: no previously-included files matching '.pyc' found anywhere in distribution warning: no previously-included files matching '.pyo' found anywhere in distribution warning: no previously-included files matching '.so' found anywhere in distribution warning: no previously-included files matching '.dSYM/' found anywhere in distribution warning: no previously-included files matching '.dSYM' found anywhere in distribution warning: no previously-included files matching 'pycache' found anywhere in distribution Modules/objc/informal-protocol.m:341:17: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!PyObjCRT_SignaturesEqual(PyObjCSelector_Signature(m), ^ Modules/objc/informal-protocol.m:341:17: note: add parentheses after the '!' to evaluate the comparison first if (!PyObjCRT_SignaturesEqual(PyObjCSelector_Signature(m), ^ Modules/objc/informal-protocol.m:341:17: note: add parentheses around left hand side expression to silence this warning if (!PyObjCRT_SignaturesEqual(PyObjCSelector_Signature(m), ^ 1 warning generated. Modules/objc/informal-protocol.m:341:17: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!PyObjCRT_SignaturesEqual(PyObjCSelector_Signature(m), ^ Modules/objc/informal-protocol.m:341:17: note: add parentheses after the '!' to evaluate the comparison first if (!PyObjCRT_SignaturesEqual(PyObjCSelector_Signature(m), ^ Modules/objc/informal-protocol.m:341:17: note: add parentheses around left hand side expression to silence this warning if (!PyObjCRT_SignaturesEqual(PyObjCSelector_Signature(m), ^ 1 warning generated. Modules/objc/objc-runtime-compat.m:885:17: error: cannot find interface declaration for 'Object'; did you mean 'NSObject'? @Implementation Object (NSObjectCompat) ^~ NSObject /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/objc/NSObject.h:53:12: note: 'NSObject' declared here @Interface NSObject <NSObject> { ^ Modules/objc/objc-runtime-compat.m:891:1: warning: method has no return type specified; defaults to 'id' [-Wmissing-method-return-type] -doesNotRecognizeSelector:(SEL)sel ^ (id) Modules/objc/objc-runtime-compat.m:886:1: warning: category is implementing a method which will also be implemented by its primary class [-Wobjc-protocol-method-implementation] - (id)self ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/objc/NSObject.h:22:1: note: method 'self' declared here - (instancetype)self; ^ 2 warnings and 1 error generated. Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/folders/zw/_glhnrr90cd_pvh69jtd3q680000gp/T/pip-build-boDn2C/pyobjc-framework-AVKit/setup.py", line 35, in <module> if fn.startswith('_AVKit') File "pyobjc_setup.py", line 496, in setup **k File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 111, in setup _setup_distribution = dist = klass(attrs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", line 269, in init self.fetch_build_eggs(attrs['setup_requires']) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", line 313, in fetch_build_eggs replace_conflicting=True, File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/init.py", line 826, in resolve dist = best[req.key] = env.best_match(req, ws, installer) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/init.py", line 1092, in best_match return self.obtain(req, installer) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/init.py", line 1104, in obtain return installer(requirement) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", line 380, in fetch_build_egg return cmd.easy_install(req) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 664, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 694, in install_item dists = self.install_eggs(spec, download, tmpdir) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 875, in install_eggs return self.build_and_install(setup_script, setup_base) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1114, in build_and_install self.run_setup(setup_script, setup_base, args) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1102, in run_setup raise DistutilsError("Setup script exited with %s" % (v.args[0],)) distutils.errors.DistutilsError: Setup script exited with error: command '//usr/bin/clang' failed with exit status 1

  3. Ronald Oussoren repo owner

    I'm currently traffeling and will try to revive on old OS X 10.7 VM when I'm back home. That is several weeks out.

    What I don't understand is that some of you have the problem on 10.11 as well. That's because I do all my work on an up-to-date 10.11 box and haven't been able to reproduce the issue myself. Which Python do you use? /usr/bin/python, python.org, homebrew, anaconda, ...?

  4. Jason R. Coombs

    I'm encountering this error also. Using Python 3.5.2 (from python.org), OS X 10.11.6, and pip 8.1.2:

    $ python -m pip install -U pyobjc-core          
    Collecting pyobjc-core
      Using cached pyobjc-core-3.1.1.tar.gz
    Building wheels for collected packages: pyobjc-core
      Running setup.py bdist_wheel for pyobjc-core ... error
      Complete output from command /Library/Frameworks/Python.framework/Versions/3.5/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-build-hh4lpt5z/pyobjc-core/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/tmpy88xh04qpip-wheel- --python-tag cp35:
      running bdist_wheel
      running build
      running build_py
      Overriding build_packages to copy PyObjCTest
      creating build
      creating build/lib.macosx-10.6-intel-3.5
      creating build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/__init__.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_bridges.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_bridgesupport.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_callable_docstr.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_category.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_compat.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_context.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_convenience.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_convenience_mapping.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_convenience_nsarray.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_convenience_nsdata.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_convenience_nsdecimal.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_convenience_nsdictionary.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_convenience_nsobject.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_convenience_nsset.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_convenience_nsstring.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_convenience_sequence.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_descriptors.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_dyld.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_framework.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_lazyimport.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_locking.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_properties.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_protocols.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_pycoder.py -> build/lib.macosx-10.6-intel-3.5/objc
      copying Lib/objc/_pythonify.py -> build/lib.macosx-10.6-intel-3.5/objc
      creating build/lib.macosx-10.6-intel-3.5/PyObjCTools
      copying Lib/PyObjCTools/__init__.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTools
      copying Lib/PyObjCTools/KeyValueCoding.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTools
      copying Lib/PyObjCTools/MachSignals.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTools
      copying Lib/PyObjCTools/Signals.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTools
      copying Lib/PyObjCTools/TestSupport.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTools
      creating build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/__init__.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/dejagnu.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/fnd.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/helper_bridgesupport.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/keyvaluehelper.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/loader.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test2_dict_interface.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test2_dictviews.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test2_filepointer.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test3_dict_interface.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test3_protocol.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test3_typecheck.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_allocatebuffer.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_archive_python.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_archiving_interop.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_array_interface.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_array_property.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_arrays.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_assocations.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_blocks.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_bridges.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_bridgesupport.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_bundleFunctions.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_bundleVariables.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_callable_docstr.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_callbacks.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_classandinst.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_classhooks.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_clinmeth.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_compat.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_context.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_convenience.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_conversion.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_copying.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_corefoundation.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_ctests.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_descriptors.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_dict_property.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_dict_proxy.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_dyld.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_exceptions.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_framework.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_fsref.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_hidden_selector.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_identity.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_imp.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_initialized.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_inspect_signatures.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_ivar.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_keyvalue.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_keyvalue_prop.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_keyvaluecoding.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_lazy_import.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_leaks.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_list_proxy.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_locking.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_metadata.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_metadata_function.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_metadata_imp.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_metadata_inheritance.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_metadata_py.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_metadata_py2py.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_method_prototypes.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_methodaccess.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_methodedits.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_methodlookup.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_methods.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_methods2.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_methres.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_nsdata.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_nsdate_proxy.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_nsdecimal.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_NULL.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_number_proxy.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_objc.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_objcpointer.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_object_property.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_opaque.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_outputinitializer.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_pickle.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_pickling_objc.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_pointer_compat.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_posing.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_propertiesforclass.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_protected.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_protocol.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_protocolNamed.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_python_method.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_regr.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_set_interface.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_set_property.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_set_proxy.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_signatures.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_sockaddr.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_specialtypecodes_charbyte.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_specialtypecodes_charint.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_specialtypecodes_methdef.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_specialtypecodes_nsbool.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_specialtypecodes_struct.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_specialtypecodes_unichar.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_splitsig.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_structpointer.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_structs.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_subclass.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_synthesize.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_testsupport.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_unicode.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_usekvo.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_varargs.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_voidpointer.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      copying PyObjCTest/test_weakref.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
      running build_ext
      building 'objc._objc' extension
      creating build/temp.macosx-10.6-intel-3.5
      creating build/temp.macosx-10.6-intel-3.5/Modules
      creating build/temp.macosx-10.6-intel-3.5/Modules/objc
      creating build/temp.macosx-10.6-intel-3.5/libffi-src
      creating build/temp.macosx-10.6-intel-3.5/libffi-src/powerpc
      creating build/temp.macosx-10.6-intel-3.5/libffi-src/x86
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/block_support.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/block_support.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/bundle-variables.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/bundle-variables.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/class-builder.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/class-builder.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/class-list.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/class-list.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/closure_pool.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/closure_pool.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/corefoundation.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/corefoundation.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/ctests.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/ctests.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/formal-protocol.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/formal-protocol.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      Modules/objc/formal-protocol.m:121:10: warning: comparison of address of 'PyObjC_objc_allocateProtocol' equal to a null pointer is always false [-Wtautological-pointer-compare]
          if (&objc_allocateProtocol == NULL) {
               ^~~~~~~~~~~~~~~~~~~~~    ~~~~
      Modules/objc/objc-runtime-compat.h:236:31: note: expanded from macro 'objc_allocateProtocol'
      #define objc_allocateProtocol PyObjC_objc_allocateProtocol
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      1 warning generated.
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/fsref.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/fsref.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/fsspec.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/fsspec.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/function.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/function.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/helpers-foundation-nscoder.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/helpers-foundation-nscoder.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/helpers-foundation-nsdata.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/helpers-foundation-nsdata.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/helpers-foundation-nsdecimal.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/helpers-foundation-nsdecimal.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/helpers-foundation-nsobject.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/helpers-foundation-nsobject.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/informal-protocol.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/informal-protocol.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      Modules/objc/informal-protocol.m:341:17: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
                  if (!PyObjCRT_SignaturesEqual(PyObjCSelector_Signature(m),
                      ^
      Modules/objc/informal-protocol.m:341:17: note: add parentheses after the '!' to evaluate the comparison first
                  if (!PyObjCRT_SignaturesEqual(PyObjCSelector_Signature(m),
                      ^
      Modules/objc/informal-protocol.m:341:17: note: add parentheses around left hand side expression to silence this warning
                  if (!PyObjCRT_SignaturesEqual(PyObjCSelector_Signature(m),
                      ^
      1 warning generated.
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/instance-var.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/instance-var.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/ivar-accessor.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/ivar-accessor.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/libffi_support.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/libffi_support.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/method-accessor.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/method-accessor.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/method-imp.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/method-imp.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/method-signature.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/method-signature.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/module.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/module.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/objc-class.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/objc-class.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/objc-NULL.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/objc-NULL.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/objc-object.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/objc-object.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/objc-runtime-compat.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/objc-runtime-compat.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
      Modules/objc/objc-runtime-compat.m:885:17: error: cannot find interface declaration for 'Object'; did you mean 'NSObject'?
      @implementation Object (NSObjectCompat)
                      ^~~~~~
                      NSObject
      /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/objc/NSObject.h:53:12: note: 'NSObject' declared here
      @interface NSObject <NSObject> {
                 ^
      Modules/objc/objc-runtime-compat.m:891:1: warning: method has no return type specified; defaults to 'id' [-Wmissing-method-return-type]
      -doesNotRecognizeSelector:(SEL)sel
      ^
       (id)
      Modules/objc/objc-runtime-compat.m:886:1: warning: category is implementing a method which will also be implemented by its primary class [-Wobjc-protocol-method-implementation]
      - (id)self
      ^
      /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/objc/NSObject.h:22:1: note: method 'self' declared here
      - (instancetype)self;
      ^
      2 warnings and 1 error generated.
      error: command '/usr/bin/clang' failed with exit status 1
    
      ----------------------------------------
      Failed building wheel for pyobjc-core
      Running setup.py clean for pyobjc-core
    Failed to build pyobjc-core
    Installing collected packages: pyobjc-core
      Found existing installation: pyobjc-core 3.0.5
        Uninstalling pyobjc-core-3.0.5:
          Successfully uninstalled pyobjc-core-3.0.5
      Running setup.py install for pyobjc-core ... error
        Complete output from command /Library/Frameworks/Python.framework/Versions/3.5/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-build-hh4lpt5z/pyobjc-core/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-kh0ha376-record/install-record.txt --single-version-externally-managed --compile:
        running install
        running build
        running build_py
        Overriding build_packages to copy PyObjCTest
        creating build
        creating build/lib.macosx-10.6-intel-3.5
        creating build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/__init__.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_bridges.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_bridgesupport.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_callable_docstr.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_category.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_compat.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_context.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_convenience.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_convenience_mapping.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_convenience_nsarray.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_convenience_nsdata.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_convenience_nsdecimal.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_convenience_nsdictionary.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_convenience_nsobject.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_convenience_nsset.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_convenience_nsstring.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_convenience_sequence.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_descriptors.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_dyld.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_framework.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_lazyimport.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_locking.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_properties.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_protocols.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_pycoder.py -> build/lib.macosx-10.6-intel-3.5/objc
        copying Lib/objc/_pythonify.py -> build/lib.macosx-10.6-intel-3.5/objc
        creating build/lib.macosx-10.6-intel-3.5/PyObjCTools
        copying Lib/PyObjCTools/__init__.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTools
        copying Lib/PyObjCTools/KeyValueCoding.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTools
        copying Lib/PyObjCTools/MachSignals.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTools
        copying Lib/PyObjCTools/Signals.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTools
        copying Lib/PyObjCTools/TestSupport.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTools
        creating build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/__init__.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/dejagnu.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/fnd.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/helper_bridgesupport.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/keyvaluehelper.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/loader.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test2_dict_interface.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test2_dictviews.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test2_filepointer.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test3_dict_interface.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test3_protocol.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test3_typecheck.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_allocatebuffer.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_archive_python.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_archiving_interop.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_array_interface.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_array_property.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_arrays.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_assocations.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_blocks.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_bridges.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_bridgesupport.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_bundleFunctions.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_bundleVariables.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_callable_docstr.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_callbacks.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_classandinst.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_classhooks.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_clinmeth.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_compat.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_context.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_convenience.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_conversion.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_copying.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_corefoundation.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_ctests.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_descriptors.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_dict_property.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_dict_proxy.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_dyld.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_exceptions.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_framework.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_fsref.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_hidden_selector.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_identity.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_imp.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_initialized.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_inspect_signatures.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_ivar.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_keyvalue.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_keyvalue_prop.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_keyvaluecoding.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_lazy_import.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_leaks.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_list_proxy.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_locking.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_metadata.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_metadata_function.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_metadata_imp.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_metadata_inheritance.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_metadata_py.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_metadata_py2py.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_method_prototypes.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_methodaccess.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_methodedits.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_methodlookup.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_methods.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_methods2.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_methres.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_nsdata.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_nsdate_proxy.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_nsdecimal.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_NULL.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_number_proxy.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_objc.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_objcpointer.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_object_property.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_opaque.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_outputinitializer.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_pickle.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_pickling_objc.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_pointer_compat.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_posing.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_propertiesforclass.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_protected.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_protocol.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_protocolNamed.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_python_method.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_regr.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_set_interface.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_set_property.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_set_proxy.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_signatures.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_sockaddr.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_specialtypecodes_charbyte.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_specialtypecodes_charint.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_specialtypecodes_methdef.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_specialtypecodes_nsbool.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_specialtypecodes_struct.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_specialtypecodes_unichar.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_splitsig.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_structpointer.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_structs.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_subclass.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_synthesize.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_testsupport.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_unicode.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_usekvo.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_varargs.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_voidpointer.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        copying PyObjCTest/test_weakref.py -> build/lib.macosx-10.6-intel-3.5/PyObjCTest
        running build_ext
        building 'objc._objc' extension
        creating build/temp.macosx-10.6-intel-3.5
        creating build/temp.macosx-10.6-intel-3.5/Modules
        creating build/temp.macosx-10.6-intel-3.5/Modules/objc
        creating build/temp.macosx-10.6-intel-3.5/libffi-src
        creating build/temp.macosx-10.6-intel-3.5/libffi-src/powerpc
        creating build/temp.macosx-10.6-intel-3.5/libffi-src/x86
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/block_support.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/block_support.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/bundle-variables.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/bundle-variables.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/class-builder.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/class-builder.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/class-list.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/class-list.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/closure_pool.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/closure_pool.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/corefoundation.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/corefoundation.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/ctests.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/ctests.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/formal-protocol.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/formal-protocol.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        Modules/objc/formal-protocol.m:121:10: warning: comparison of address of 'PyObjC_objc_allocateProtocol' equal to a null pointer is always false [-Wtautological-pointer-compare]
            if (&objc_allocateProtocol == NULL) {
                 ^~~~~~~~~~~~~~~~~~~~~    ~~~~
        Modules/objc/objc-runtime-compat.h:236:31: note: expanded from macro 'objc_allocateProtocol'
        #define objc_allocateProtocol PyObjC_objc_allocateProtocol
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        1 warning generated.
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/fsref.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/fsref.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/fsspec.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/fsspec.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/function.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/function.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/helpers-foundation-nscoder.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/helpers-foundation-nscoder.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/helpers-foundation-nsdata.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/helpers-foundation-nsdata.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/helpers-foundation-nsdecimal.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/helpers-foundation-nsdecimal.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/helpers-foundation-nsobject.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/helpers-foundation-nsobject.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/informal-protocol.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/informal-protocol.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        Modules/objc/informal-protocol.m:341:17: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
                    if (!PyObjCRT_SignaturesEqual(PyObjCSelector_Signature(m),
                        ^
        Modules/objc/informal-protocol.m:341:17: note: add parentheses after the '!' to evaluate the comparison first
                    if (!PyObjCRT_SignaturesEqual(PyObjCSelector_Signature(m),
                        ^
        Modules/objc/informal-protocol.m:341:17: note: add parentheses around left hand side expression to silence this warning
                    if (!PyObjCRT_SignaturesEqual(PyObjCSelector_Signature(m),
                        ^
        1 warning generated.
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/instance-var.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/instance-var.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/ivar-accessor.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/ivar-accessor.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/libffi_support.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/libffi_support.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/method-accessor.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/method-accessor.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/method-imp.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/method-imp.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/method-signature.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/method-signature.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/module.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/module.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/objc-class.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/objc-class.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/objc-NULL.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/objc-NULL.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/objc-object.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/objc-object.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c Modules/objc/objc-runtime-compat.m -o build/temp.macosx-10.6-intel-3.5/Modules/objc/objc-runtime-compat.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1006 -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pragmas -Wshorten-64-to-32 -Ilibffi-src/include -Ilibffi-src/powerpc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
        Modules/objc/objc-runtime-compat.m:885:17: error: cannot find interface declaration for 'Object'; did you mean 'NSObject'?
        @implementation Object (NSObjectCompat)
                        ^~~~~~
                        NSObject
        /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/objc/NSObject.h:53:12: note: 'NSObject' declared here
        @interface NSObject <NSObject> {
                   ^
        Modules/objc/objc-runtime-compat.m:891:1: warning: method has no return type specified; defaults to 'id' [-Wmissing-method-return-type]
        -doesNotRecognizeSelector:(SEL)sel
        ^
         (id)
        Modules/objc/objc-runtime-compat.m:886:1: warning: category is implementing a method which will also be implemented by its primary class [-Wobjc-protocol-method-implementation]
        - (id)self
        ^
        /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/objc/NSObject.h:22:1: note: method 'self' declared here
        - (instancetype)self;
        ^
        2 warnings and 1 error generated.
        error: command '/usr/bin/clang' failed with exit status 1
    
        ----------------------------------------
      Rolling back uninstall of pyobjc-core
    Command "/Library/Frameworks/Python.framework/Versions/3.5/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-build-hh4lpt5z/pyobjc-core/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-kh0ha376-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-build-hh4lpt5z/pyobjc-core/
    
  5. Jason R. Coombs

    And that gets its value from distutils.sysconfig:

    >>> distutils.sysconfig.get_config_var('CFLAGS')
    '-fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -g -I/usr/local/opt/openssl/include'
    
  6. Jason R. Coombs

    Apparently implicated, I have this in my user profile:

    # Make OpenSSL generally available.
    # See https://github.com/pyca/cryptography/issues/2350
    # and consider
    # https://github.com/phusion/passenger/issues/1630#issuecomment-147527656
    export LDFLAGS="-L$(brew --prefix openssl)/lib"
    export CFLAGS="-I$(brew --prefix openssl)/include"
    
  7. Jason R. Coombs

    It seems that if CFLAGS is set to anything, even the empty string, it causes the config var to grow an isysroot:

    $ unset CFLAGS
    $ python -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_vars('CFLAGS'))"
    ['-fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64  -g']
    $ CFLAGS="" python -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_vars('CFLAGS'))"
    ['-fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -g']
    
  8. Jason R. Coombs

    Here are the config vars I find in my environment:

    >>> pprint.pprint({k: v for k, v in distutils.sysconfig.get_config_vars().items() if '10.6' in str(v)})
    {'CONFIGURE_CFLAGS': '-arch i386 -arch x86_64 -isysroot '
                         '/Developer/SDKs/MacOSX10.6.sdk -g',
     'CONFIGURE_CPPFLAGS': '-isysroot /Developer/SDKs/MacOSX10.6.sdk',
     'CONFIGURE_LDFLAGS': '-arch i386 -arch x86_64 -isysroot '
                          '/Developer/SDKs/MacOSX10.6.sdk -g',
     'CONFIG_ARGS': "'-C' '--enable-framework' "
                    "'--enable-universalsdk=/Developer/SDKs/MacOSX10.6.sdk' "
                    "'--with-universal-archs=intel' '--with-computed-gotos' "
                    "'--without-ensurepip' 'LDFLAGS=-g' 'CFLAGS=-g' 'CC=gcc-4.2'",
     'MACOSX_DEPLOYMENT_TARGET': '10.6',
     'UNIVERSALSDK': '/Developer/SDKs/MacOSX10.6.sdk',
     '_OSX_SUPPORT_INITIAL_BLDSHARED': 'gcc-4.2 -bundle -undefined dynamic_lookup '
                                       '-arch i386 -arch x86_64 -isysroot '
                                       '/Developer/SDKs/MacOSX10.6.sdk -g',
     '_OSX_SUPPORT_INITIAL_CFLAGS': '-fno-strict-aliasing -Wsign-compare '
                                    '-fno-common -dynamic -DNDEBUG -g -fwrapv -O3 '
                                    '-Wall -Wstrict-prototypes -arch i386 -arch '
                                    'x86_64 -isysroot '
                                    '/Developer/SDKs/MacOSX10.6.sdk -g',
     '_OSX_SUPPORT_INITIAL_CPPFLAGS': '-I. -IInclude '
                                      '-I/Users/sysadmin/build/v3.5.2/Include '
                                      '-isysroot /Developer/SDKs/MacOSX10.6.sdk',
     '_OSX_SUPPORT_INITIAL_LDFLAGS': '-arch i386 -arch x86_64 -isysroot '
                                     '/Developer/SDKs/MacOSX10.6.sdk -g',
     '_OSX_SUPPORT_INITIAL_LDSHARED': 'gcc-4.2 -bundle -undefined dynamic_lookup '
                                      '-arch i386 -arch x86_64 -isysroot '
                                      '/Developer/SDKs/MacOSX10.6.sdk -g',
     '_OSX_SUPPORT_INITIAL_PY_CFLAGS': '-fno-strict-aliasing -Wsign-compare '
                                       '-fno-common -dynamic -DNDEBUG -g -fwrapv '
                                       '-O3 -Wall -Wstrict-prototypes -arch i386 '
                                       '-arch x86_64 -isysroot '
                                       '/Developer/SDKs/MacOSX10.6.sdk -g',
     '_OSX_SUPPORT_INITIAL_PY_CORE_CFLAGS': '-fno-strict-aliasing -Wsign-compare '
                                            '-fno-common -dynamic -DNDEBUG -g '
                                            '-fwrapv -O3 -Wall -Wstrict-prototypes '
                                            '-arch i386 -arch x86_64 -isysroot '
                                            '/Developer/SDKs/MacOSX10.6.sdk -g '
                                            '-Werror=declaration-after-statement '
                                            '-I. -IInclude '
                                            '-I/Users/sysadmin/build/v3.5.2/Include '
                                            '-isysroot '
                                            '/Developer/SDKs/MacOSX10.6.sdk  '
                                            '-DPy_BUILD_CORE',
     '_OSX_SUPPORT_INITIAL_PY_CPPFLAGS': '-I. -IInclude '
                                         '-I/Users/sysadmin/build/v3.5.2/Include '
                                         '-isysroot /Developer/SDKs/MacOSX10.6.sdk',
     '_OSX_SUPPORT_INITIAL_PY_LDFLAGS': '-arch i386 -arch x86_64 -isysroot '
                                        '/Developer/SDKs/MacOSX10.6.sdk -g'}
    
  9. Jason R. Coombs

    I've confirmed where the isysroot is removed, but only when CFLAGS is not set.

    $ cat > test.py
    import distutils.sysconfig
    import pprint
    pprint.pprint(distutils.sysconfig.get_config_vars())
    $ python -m pdb test.py
    > /Users/jaraco/Dropbox/code/public/pyobjc/test.py(1)<module>()
    -> import distutils.sysconfig
    (Pdb) b distutils/sysconfig.py:535
    Breakpoint 1 at /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/sysconfig.py:535
    (Pdb) c
    > /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/sysconfig.py(535)get_config_vars()
    -> _osx_support.customize_config_vars(_config_vars)
    (Pdb) _config_vars['CFLAGS']
    '-fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -g'
    (Pdb) n
    > /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/sysconfig.py(537)get_config_vars()
    -> if args:
    (Pdb) _config_vars['CFLAGS']
    '-fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64  -g'
    
  10. Jason R. Coombs

    And deeper, it's the call to _check_for_unavailable_sdk.

    > /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/_osx_support.py(404)customize_config_vars()
    -> _check_for_unavailable_sdk(_config_vars)
    (Pdb) '10.6' in _config_vars['CFLAGS']
    True
    (Pdb) n
    > /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/_osx_support.py(406)customize_config_vars()
    -> return _config_vars
    (Pdb) '10.6' in _config_vars['CFLAGS']
    False
    
  11. Jason R. Coombs

    Seems the issue lies here where if CFLAGS is set to anything in the environment, the patch is suppressed. The same code can be found in 2.7.

    I can't tell yet what should be happening here - should _osx_support be more robust about platform/sdk selection when environment variables are present? Should pyobjc be more robust about detecting the SDK level in such cases?

  12. Jason R. Coombs

    I've found if I unset CFLAGS before installing pyobjc 3.1.1, the project will build and install properly, so that should serve as a suitable workaround for cases like mine.

  13. Ronald Oussoren repo owner

    "unset CFLAGS" refers to the shell environment variable CFLAGS. Assuming you use bash as your shell (the default on OSX):

    $ unset CFLAGS
    

    @Jason R. Coombs: W.r.t. _osx_support: that's part of CPython and cannot be fixed through PyObjC. I haven't had time yet to look at the relevant code, but the behavior sounds wrong to me.

  14. Ronald Oussoren repo owner

    BTW. Which relate of Python are you looking at? I cannot find the line with '10.6' in _config_vars['CFLAGS'] on my machine (relevantly recent checkout of the 3.5 branch)

  15. Jason R. Coombs

    I'm using Python 3.5.2 as installed by the installer from python.org.

    The line '10.6' in _config_vars['CFLAGS'] was typed by me into the pdb prompt before and after the call to customize_config_vars to show where the value was getting removed (when CFLAGS is not set).

  16. Cole Mahlowitz

    Bump

    I have the exact same issue on my setup (python 2.7, MacOSX10.7.5, Xcode 4.3)

    I tried Jason's workaround with $ unset CFLAGS , but not even that worked for me :/

    anyone else with any other fixes!??

  17. lokilaufey

    Getting the same issue on 10.7.5. I've tried installing previous versions of pyobjc, but all fail because of this error. 10.7 ships with pyobjc 2.3, which cannot be installed as well (the installation just stalls at some point). So far the best resolution I have found was to copy the pyobjc package that came with OSX to a standalone Python 2 installation and use it instead. For Python 3 the same trick does not work.

    It would be nice to get this working as I would like to freeze my application and I would like to have Lion as the oldest supported system. If there are any other ways to set a target OSX version for frozen applications, I would love to hear that.

  18. Marc Van Olmen

    I was getting the same error, but I fixed it (see) later

    @implementation Object (NSObjectCompat)
    
                    ^~~~~~
    
                    NSObject
    
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:76:12: note: 'NSObject' declared here
    

    I tried to install with pip install pyobjc Then I downloaded latest source and latest module graph and other py2app altgraph macho lib

    macholib-1.8-py2.7.egg py2app-0.14-py2.7.egg modulegraph-0.16-py2.7.egg altgraph-0.15-py2.7.egg

    using python 2.7.6, Xcode 8.2.1 installed MacOS SDK 10.12,

    by renaming my old /Developer folder to /Developer2

  19. Ronald Oussoren repo owner

    As I mentioned before I cannot reproduce the problem, that makes it hard to fix.

    • What architectures do you build for?

    • What is the deployment target?

    • How did you install Xcode? The Xcode version doesn't appear to match the SDK in the error message

  20. Jason R. Coombs

    Indeed, I seem to be unable to replicate the issue in a clean environment such as with this run. If I can find the time, I may try to replicate the issue again locally and then bisect the two environments to figure out what other factors may be implicated, but I'll have to defer that for a better day.

  21. Ronald Oussoren repo owner

    @Marc Van Olmen

    • Which version of macOS did you use?
    • What was in /Developer, was that an older version of OSX, and if so which SDKs were included?
    • Do you recall what the compiler command line was (for one of the files compiled when running "python setup.py build_ext" in the pyobjc-core directory)?
    • How was python installed (system install, home-brew, python.org installer, ...)?
    • What was the return value of sysconfig.get_config_var('CFLAGS') (before you moved /Developer to /Developer2)

    I'm starting to wonder if the setup.py code for getting sane compiler flags got confused for some reason.

  22. Marc Van Olmen

    Ronald,

    (correction, I misstated it was working on MacOS Sierra, but it wasn't see below)

        env CC=clang python install.py install
    

    and

        python install.py install
    
    • was dmg file downloaded from python.org
    • I just upgraded my System to MacOS Sierra, Python 2.7.13, Xcode 8.3.1 and the problem doesn't happen anymore even If I renamed developer back to /Developer and now it is generating the error again:
    -fno-strict-aliasing -fno-common -dynamic -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
    

    if I rename the folder to Developer2 it generates this:

    -fno-strict-aliasing -fno-common -dynamic  -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
    

    Then I compiles.

  23. Ronald Oussoren repo owner

    Marc,

    It looks like my hunch is correct, although I haven't tried to reproduce the problem: With /Developer the PyObjC build is using the headers from /Developer with the default compiler (probably the one from /Applications/Xcode.app) and while assuming that an up-to-date compiler is used.

    I'll try to coax PyObjC's setup.py to do the right thing in this scenario, until then the easiest way forward is to just use the provided wheels on PyPI because those sidestep the entire compile step for you.

  24. Log in to comment