Skip to content

Instantly share code, notes, and snippets.

@lsfalimis lsfalimis/pip.log Secret
Created Jun 21, 2014

Embed
What would you like to do?
pip install -U pyobjc error
------------------------------------------------------------
/usr/local/bin/pip run on Sat Jun 21 20:03:07 2014
Downloading/unpacking pyobjc
Getting page https://pypi.python.org/simple/pyobjc/
URLs to search for versions for pyobjc:
* https://pypi.python.org/simple/pyobjc/
Analyzing links from page https://pypi.python.org/simple/pyobjc/
Found link https://pypi.python.org/packages/source/p/pyobjc/pyobjc-2.2.tar.gz#md5=3bc18f6bd33574c2ff5d467b01377015 (from https://pypi.python.org/simple/pyobjc/), version: 2.2
Found link https://pypi.python.org/packages/source/p/pyobjc/pyobjc-2.2b1.tar.gz#md5=35affe2628617a7dc256f0ee76e6def5 (from https://pypi.python.org/simple/pyobjc/), version: 2.2b1
Found link https://pypi.python.org/packages/source/p/pyobjc/pyobjc-2.2b2.tar.gz#md5=9613a79b3d883e26f92b310604568e1f (from https://pypi.python.org/simple/pyobjc/), version: 2.2b2
Found link https://pypi.python.org/packages/source/p/pyobjc/pyobjc-2.3.tar.gz#md5=22099d0b8aa332e4c94bab019e67397b (from https://pypi.python.org/simple/pyobjc/), version: 2.3
Found link https://pypi.python.org/packages/source/p/pyobjc/pyobjc-2.4.tar.gz#md5=1bbeeafff32721e6756d0da91ca1c409 (from https://pypi.python.org/simple/pyobjc/), version: 2.4
Found link https://pypi.python.org/packages/source/p/pyobjc/pyobjc-2.5.1.tar.gz#md5=f242cff4a25ce397bb381c21a35db885 (from https://pypi.python.org/simple/pyobjc/), version: 2.5.1
Ignoring link https://pypi.python.org/packages/source/p/pyobjc/pyobjc-2.2b1.tar.gz#md5=35affe2628617a7dc256f0ee76e6def5 (from https://pypi.python.org/simple/pyobjc/), version 2.2b1 is a pre-release (use --pre to allow).
Ignoring link https://pypi.python.org/packages/source/p/pyobjc/pyobjc-2.2b2.tar.gz#md5=9613a79b3d883e26f92b310604568e1f (from https://pypi.python.org/simple/pyobjc/), version 2.2b2 is a pre-release (use --pre to allow).
Using version 2.5.1 (newest of versions: 2.5.1, 2.4, 2.3, 2.2)
Downloading pyobjc-2.5.1.tar.gz
Downloading from URL https://pypi.python.org/packages/source/p/pyobjc/pyobjc-2.5.1.tar.gz#md5=f242cff4a25ce397bb381c21a35db885 (from https://pypi.python.org/simple/pyobjc/)
Running setup.py (path:/private/var/folders/1l/tt74p_z93j9d07418vkyrj6c0000gn/T/pip_build_henry/pyobjc/setup.py) egg_info for package pyobjc
running egg_info
creating pip-egg-info/pyobjc.egg-info
writing requirements to pip-egg-info/pyobjc.egg-info/requires.txt
writing pip-egg-info/pyobjc.egg-info/PKG-INFO
writing top-level names to pip-egg-info/pyobjc.egg-info/top_level.txt
writing dependency_links to pip-egg-info/pyobjc.egg-info/dependency_links.txt
writing manifest file 'pip-egg-info/pyobjc.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/pyobjc.egg-info/SOURCES.txt'
writing manifest file 'pip-egg-info/pyobjc.egg-info/SOURCES.txt'
Source in /private/var/folders/1l/tt74p_z93j9d07418vkyrj6c0000gn/T/pip_build_henry/pyobjc has version 2.5.1, which satisfies requirement pyobjc
Downloading/unpacking pyobjc-core==2.5.1 (from pyobjc)
Getting page https://pypi.python.org/simple/pyobjc-core/
URLs to search for versions for pyobjc-core==2.5.1 (from pyobjc):
* https://pypi.python.org/simple/pyobjc-core/2.5.1
* https://pypi.python.org/simple/pyobjc-core/
Getting page https://pypi.python.org/simple/pyobjc-core/2.5.1
Could not fetch URL https://pypi.python.org/simple/pyobjc-core/2.5.1: 404 Client Error: Not Found
Will skip URL https://pypi.python.org/simple/pyobjc-core/2.5.1 when looking for download links for pyobjc-core==2.5.1 (from pyobjc)
Analyzing links from page https://pypi.python.org/simple/pyobjc-core/
Skipping link https://pypi.python.org/packages/2.6/p/pyobjc-core/pyobjc_core-2.2-py2.6-macosx-10.3-fat.egg#md5=ca08274ced883f7fbe584c7f401b0726 (from https://pypi.python.org/simple/pyobjc-core/); unknown archive format: .egg
Skipping link https://pypi.python.org/packages/2.6/p/pyobjc-core/pyobjc_core-2.2b2-py2.6-macosx-10.3-fat.egg#md5=85edc1ae6897a664e498e1e8b34fc1b7 (from https://pypi.python.org/simple/pyobjc-core/); unknown archive format: .egg
Skipping link https://pypi.python.org/packages/2.6/p/pyobjc-core/pyobjc_core-2.3-py2.6-macosx-10.6-fat.egg#md5=fe9a67cc8b36d3cdeb19195b3ce63b48 (from https://pypi.python.org/simple/pyobjc-core/); unknown archive format: .egg
Skipping link https://pypi.python.org/packages/2.7/p/pyobjc-core/pyobjc_core-2.3-py2.7-macosx-10.6-fat.egg#md5=ff2f43cd1816782732c3a40caadf9b0e (from https://pypi.python.org/simple/pyobjc-core/); unknown archive format: .egg
Skipping link https://pypi.python.org/packages/3.1/p/pyobjc-core/pyobjc_core-2.3-py3.1-macosx-10.6-fat.egg#md5=d81899a80116acec749e4bf4a96f6e6a (from https://pypi.python.org/simple/pyobjc-core/); unknown archive format: .egg
Skipping link https://pypi.python.org/packages/3.2/p/pyobjc-core/pyobjc_core-2.3-py3.2-macosx-10.6-fat.egg#md5=639ee48791febc86eada85725eed7452 (from https://pypi.python.org/simple/pyobjc-core/); unknown archive format: .egg
Found link https://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.2.tar.gz#md5=91155ec6b319c9b4b066a616dccbdaa2 (from https://pypi.python.org/simple/pyobjc-core/), version: 2.2
Found link https://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.2b1.tar.gz#md5=a4cacd7c11cacbe8de9bd2f8fd9e3b75 (from https://pypi.python.org/simple/pyobjc-core/), version: 2.2b1
Found link https://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.2b2.tar.gz#md5=8c167ab884357548ba9289559d5f0494 (from https://pypi.python.org/simple/pyobjc-core/), version: 2.2b2
Found link https://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.3.tar.gz#md5=8206a8576d557e4670c543c30e044d2a (from https://pypi.python.org/simple/pyobjc-core/), version: 2.3
Found link https://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.4.tar.gz#md5=267c6b72eb039925222565f4b70f472f (from https://pypi.python.org/simple/pyobjc-core/), version: 2.4
Found link https://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.5.1.tar.gz#md5=931c6cfb040df0d7e26c0898886380cf (from https://pypi.python.org/simple/pyobjc-core/), version: 2.5.1
Ignoring link https://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.2.tar.gz#md5=91155ec6b319c9b4b066a616dccbdaa2 (from https://pypi.python.org/simple/pyobjc-core/), version 2.2 doesn't match ==2.5.1
Ignoring link https://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.2b1.tar.gz#md5=a4cacd7c11cacbe8de9bd2f8fd9e3b75 (from https://pypi.python.org/simple/pyobjc-core/), version 2.2b1 doesn't match ==2.5.1
Ignoring link https://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.2b2.tar.gz#md5=8c167ab884357548ba9289559d5f0494 (from https://pypi.python.org/simple/pyobjc-core/), version 2.2b2 doesn't match ==2.5.1
Ignoring link https://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.3.tar.gz#md5=8206a8576d557e4670c543c30e044d2a (from https://pypi.python.org/simple/pyobjc-core/), version 2.3 doesn't match ==2.5.1
Ignoring link https://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.4.tar.gz#md5=267c6b72eb039925222565f4b70f472f (from https://pypi.python.org/simple/pyobjc-core/), version 2.4 doesn't match ==2.5.1
Downloading from URL https://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.5.1.tar.gz#md5=931c6cfb040df0d7e26c0898886380cf (from https://pypi.python.org/simple/pyobjc-core/)
Running setup.py (path:/private/var/folders/1l/tt74p_z93j9d07418vkyrj6c0000gn/T/pip_build_henry/pyobjc-core/setup.py) egg_info for package pyobjc-core
running egg_info
creating pip-egg-info/pyobjc_core.egg-info
writing include/pyobjc-compat.h to pip-egg-info/pyobjc_core.egg-info/include/pyobjc-compat.h
writing include/pyobjc-api.h to pip-egg-info/pyobjc_core.egg-info/include/pyobjc-api.h
writing pip-egg-info/pyobjc_core.egg-info/PKG-INFO
writing namespace_packages to pip-egg-info/pyobjc_core.egg-info/namespace_packages.txt
writing top-level names to pip-egg-info/pyobjc_core.egg-info/top_level.txt
writing dependency_links to pip-egg-info/pyobjc_core.egg-info/dependency_links.txt
writing manifest file 'pip-egg-info/pyobjc_core.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/pyobjc_core.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
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 '*.so' found anywhere in distribution
writing manifest file 'pip-egg-info/pyobjc_core.egg-info/SOURCES.txt'
Source in /private/var/folders/1l/tt74p_z93j9d07418vkyrj6c0000gn/T/pip_build_henry/pyobjc-core has version 2.5.1, which satisfies requirement pyobjc-core==2.5.1 (from pyobjc)
Downloading/unpacking pyobjc-framework-AddressBook==2.5.1 (from pyobjc)
Getting page https://pypi.python.org/simple/pyobjc-framework-AddressBook/
URLs to search for versions for pyobjc-framework-AddressBook==2.5.1 (from pyobjc):
* https://pypi.python.org/simple/pyobjc-framework-AddressBook/2.5.1
* https://pypi.python.org/simple/pyobjc-framework-AddressBook/
Getting page https://pypi.python.org/simple/pyobjc-framework-AddressBook/2.5.1
Could not fetch URL https://pypi.python.org/simple/pyobjc-framework-AddressBook/2.5.1: 404 Client Error: Not Found
Will skip URL https://pypi.python.org/simple/pyobjc-framework-AddressBook/2.5.1 when looking for download links for pyobjc-framework-AddressBook==2.5.1 (from pyobjc)
Analyzing links from page https://pypi.python.org/simple/pyobjc-framework-AddressBook/
Skipping link https://pypi.python.org/packages/2.6/p/pyobjc-framework-AddressBook/pyobjc_framework_AddressBook-2.2-py2.6.egg#md5=bace626ecc223309b9e1cf0b470609d1 (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/); unknown archive format: .egg
Skipping link https://pypi.python.org/packages/2.6/p/pyobjc-framework-AddressBook/pyobjc_framework_AddressBook-2.2b2-py2.6.egg#md5=1af5e4de30947b7b8ef9d74ce67ffaf8 (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/); unknown archive format: .egg
Skipping link https://pypi.python.org/packages/2.6/p/pyobjc-framework-AddressBook/pyobjc_framework_AddressBook-2.3-py2.6.egg#md5=72d7531c7996e54116364e0bed328f8b (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/); unknown archive format: .egg
Skipping link https://pypi.python.org/packages/2.7/p/pyobjc-framework-AddressBook/pyobjc_framework_AddressBook-2.3-py2.7.egg#md5=7b1d83fac02e496b9e14ef934a2f6ca6 (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/); unknown archive format: .egg
Skipping link https://pypi.python.org/packages/3.1/p/pyobjc-framework-AddressBook/pyobjc_framework_AddressBook-2.3-py3.1.egg#md5=7dea53dfa32660ea42ae4add4ef0009a (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/); unknown archive format: .egg
Skipping link https://pypi.python.org/packages/3.2/p/pyobjc-framework-AddressBook/pyobjc_framework_AddressBook-2.3-py3.2.egg#md5=333a20ea0ddc5533f12519b0eb751056 (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/); unknown archive format: .egg
Found link https://pypi.python.org/packages/source/p/pyobjc-framework-AddressBook/pyobjc-framework-AddressBook-2.2.tar.gz#md5=4f7f54e02a6acb67e5b8bd3048ac42a3 (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/), version: 2.2
Found link https://pypi.python.org/packages/source/p/pyobjc-framework-AddressBook/pyobjc-framework-AddressBook-2.2b1.tar.gz#md5=e92a63ddfdd3a21f68f81f4e2cac17d3 (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/), version: 2.2b1
Found link https://pypi.python.org/packages/source/p/pyobjc-framework-AddressBook/pyobjc-framework-AddressBook-2.2b2.tar.gz#md5=0f309f2c6583861dbef748206b273fc8 (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/), version: 2.2b2
Found link https://pypi.python.org/packages/source/p/pyobjc-framework-AddressBook/pyobjc-framework-AddressBook-2.3.tar.gz#md5=431e79e7ccb2e5f171e60713c6499394 (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/), version: 2.3
Found link https://pypi.python.org/packages/source/p/pyobjc-framework-AddressBook/pyobjc-framework-AddressBook-2.4.tar.gz#md5=90dfb14506787dd7237b6504df9acec2 (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/), version: 2.4
Found link https://pypi.python.org/packages/source/p/pyobjc-framework-AddressBook/pyobjc-framework-AddressBook-2.5.1.tar.gz#md5=27d999f1c96f9b0b766b9cfe7f31b227 (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/), version: 2.5.1
Ignoring link https://pypi.python.org/packages/source/p/pyobjc-framework-AddressBook/pyobjc-framework-AddressBook-2.2.tar.gz#md5=4f7f54e02a6acb67e5b8bd3048ac42a3 (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/), version 2.2 doesn't match ==2.5.1
Ignoring link https://pypi.python.org/packages/source/p/pyobjc-framework-AddressBook/pyobjc-framework-AddressBook-2.2b1.tar.gz#md5=e92a63ddfdd3a21f68f81f4e2cac17d3 (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/), version 2.2b1 doesn't match ==2.5.1
Ignoring link https://pypi.python.org/packages/source/p/pyobjc-framework-AddressBook/pyobjc-framework-AddressBook-2.2b2.tar.gz#md5=0f309f2c6583861dbef748206b273fc8 (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/), version 2.2b2 doesn't match ==2.5.1
Ignoring link https://pypi.python.org/packages/source/p/pyobjc-framework-AddressBook/pyobjc-framework-AddressBook-2.3.tar.gz#md5=431e79e7ccb2e5f171e60713c6499394 (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/), version 2.3 doesn't match ==2.5.1
Ignoring link https://pypi.python.org/packages/source/p/pyobjc-framework-AddressBook/pyobjc-framework-AddressBook-2.4.tar.gz#md5=90dfb14506787dd7237b6504df9acec2 (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/), version 2.4 doesn't match ==2.5.1
Downloading pyobjc-framework-AddressBook-2.5.1.tar.gz
Downloading from URL https://pypi.python.org/packages/source/p/pyobjc-framework-AddressBook/pyobjc-framework-AddressBook-2.5.1.tar.gz#md5=27d999f1c96f9b0b766b9cfe7f31b227 (from https://pypi.python.org/simple/pyobjc-framework-AddressBook/)
Running setup.py (path:/private/var/folders/1l/tt74p_z93j9d07418vkyrj6c0000gn/T/pip_build_henry/pyobjc-framework-AddressBook/setup.py) egg_info for package pyobjc-framework-AddressBook
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 '*.so' found anywhere in distribution
libffi-src/ffi.c:107:1: warning: unused function 'struct_on_stack' [-Wunused-function]
struct_on_stack(
^
1 warning generated.
libffi-src/x86/x86-ffi64.c:164:27: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
int size = byte_offset + type->size;
~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~
libffi-src/x86/x86-ffi64.c:216:39: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
(type->size + UNITS_PER_WORD - 1) / UNITS_PER_WORD;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
libffi-src/x86/x86-ffi64.c:235:27: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
int pos = byte_offset / 8;
~~~ ~~~~~~~~~~~~^~~
libffi-src/x86/x86-ffi64.c:423:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
cif->bytes = bytes;
~ ^~~~~
libffi-src/x86/x86-ffi64.c:424:15: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
cif->bytes = ALIGN(bytes,8);
~ ^~~~~~~~~~~~~~
libffi-src/include/ffi_common.h:69:46: note: expanded from macro 'ALIGN'
#define ALIGN(v, a) (((size_t)(v) + (a) - 1) & ~((a) - 1))
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
5 warnings generated.
Modules/objc/block_support.m:260:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_AllocByRef(Py_SIZE(signature) + PyTuple_Size(args), &byref, &byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Modules/objc/block_support.m:264:28: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_AllocByRef(Py_SIZE(signature), &byref, &byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/block_support.m:301:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(Py_SIZE(signature)+PyTuple_Size(args), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Modules/objc/block_support.m:306:27: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(Py_SIZE(signature), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/block_support.m:316:41: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
PyObjCFFI_FreeByRef(Py_SIZE(signature)+PyTuple_Size(args), byref, byref_attr);
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Modules/objc/block_support.m:318:23: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
PyObjCFFI_FreeByRef(Py_SIZE(signature), byref, byref_attr);
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
6 warnings generated.
Modules/objc/function.m:189:51: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_AllocByRef(Py_SIZE(self->methinfo)+PyTuple_Size(args), &byref, &byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Modules/objc/function.m:193:28: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_AllocByRef(Py_SIZE(self->methinfo), &byref, &byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/function.m:234:50: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(Py_SIZE(self->methinfo)+PyTuple_Size(args), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Modules/objc/function.m:239:27: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(Py_SIZE(self->methinfo), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/function.m:249:27: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(PyTuple_Size(args), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
Modules/objc/function.m:254:27: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(Py_SIZE(self->methinfo), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
6 warnings generated.
Modules/objc/libffi_support.m:936:9: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
return curarg;
~~~~~~ ^~~~~~
Modules/objc/libffi_support.m:988:15: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
return curarg+1;
~~~~~~ ~~~~~~^~
Modules/objc/libffi_support.m:1823:30: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
int result = Py_SIZE(sig) - 1;
~~~~~~ ~~~~~~~~~~~~~^~~
Modules/objc/libffi_support.m:3143:9: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
return Py_SIZE(methinfo);
~~~~~~ ^~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/libffi_support.m:3732:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_AllocByRef(Py_SIZE(methinfo)+PyTuple_Size(args),
~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Modules/objc/libffi_support.m:3737:28: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_AllocByRef(Py_SIZE(methinfo), &byref, &byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/libffi_support.m:3905:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(Py_SIZE(methinfo)+PyTuple_Size(args), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Modules/objc/libffi_support.m:3910:27: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(Py_SIZE(methinfo), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/libffi_support.m:3931:27: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(PyTuple_Size(args), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
Modules/objc/libffi_support.m:3936:27: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(Py_SIZE(methinfo), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/libffi_support.m:3997:42: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32]
rv = ffi_prep_cif(cif, FFI_DEFAULT_ABI, Py_SIZE(methinfo),
~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/libffi_support.m:31:19: warning: unused variable 'gCFRangeEncoding' [-Wunused-const-variable]
static const char gCFRangeEncoding[1024] = { 0 };
^
12 warnings generated.
Modules/objc/libffi_support.m:459:26: warning: implicit conversion loses integer precision: 'long long' to 'Py_ssize_t' (aka 'long') [-Wshorten-64-to-32]
case _C_LNG_LNG: return *(long long*)pvalue;
~~~~~~ ^~~~~~~~~~~~~~~~~~~
Modules/objc/libffi_support.m:460:27: warning: implicit conversion loses integer precision: 'unsigned long long' to 'Py_ssize_t' (aka 'long') [-Wshorten-64-to-32]
case _C_ULNG_LNG: return *(unsigned long long*)pvalue;
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/libffi_support.m:472:27: warning: implicit conversion loses integer precision: 'long long' to 'Py_ssize_t' (aka 'long') [-Wshorten-64-to-32]
case _C_LNG_LNG: return **(long long**)pvalue;
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
Modules/objc/libffi_support.m:473:28: warning: implicit conversion loses integer precision: 'unsigned long long' to 'Py_ssize_t' (aka 'long') [-Wshorten-64-to-32]
case _C_ULNG_LNG: return **(unsigned long long**)pvalue;
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/libffi_support.m:31:19: warning: unused variable 'gCFRangeEncoding' [-Wunused-const-variable]
static const char gCFRangeEncoding[1024] = { 0 };
^
5 warnings generated.
Modules/objc/method-signature.m:189:18: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int arg_count = [sig numberOfArguments];
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/method-signature.m:716:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
methinfo->arrayArg = PyLong_AsLong(v);
~ ^~~~~~~~~~~~~~~~
Modules/objc/method-signature.m:723:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
methinfo->arrayArg = PyInt_AsLong(v);
~ ^~~~~~~~~~~~~~~
3 warnings generated.
Modules/objc/objc-class.m:49:6: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
n = PyTuple_GET_SIZE(mro);
~ ^~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/tupleobject.h:51:33: note: expanded from macro 'PyTuple_GET_SIZE'
#define PyTuple_GET_SIZE(op) Py_SIZE(op)
^~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/objc-class.m:983:23: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
info->method_magic = PyObjC_methodlist_magic(objc_class);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/objc-class.m:1085:14: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
(magic = PyObjC_methodlist_magic(info->class))) || (info->generation != PyObjC_MappingCount)) {
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/objc-class.m:1100:23: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
info->generation = PyObjC_MappingCount;
~ ^~~~~~~~~~~~~~~~~~~
Modules/objc/objc-class.m:2634:50: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
class_addMethodList(targetClass, methodsToAdd, curMethodIndex);
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
Modules/objc/objc-class.m:2639:24: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
classMethodsToAdd, curClassMethodIndex);
^~~~~~~~~~~~~~~~~~~
6 warnings generated.
Modules/objc/objc_support.m:722:21: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
int item_align = PyObjCRT_AlignOfType(type);
~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/objc_support.m:839:35: warning: sizeof on pointer operation will return size of 'char *' instead of 'char [19]' [-Wsizeof-array-decay]
sizeof(@encode(struct sockaddr)-1)) == 0) {
~~~~~~~~~~~~~~~~~~~~~~~~^
Modules/objc/objc_support.m:901:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
int i = strtol(type+1, NULL, 10);
~ ^~~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/objc_support.m:1114:77: warning: sizeof on pointer operation will return size of 'char *' instead of 'char [19]' [-Wsizeof-array-decay]
if (strncmp(type, @encode(struct sockaddr), sizeof(@encode(struct sockaddr)-1)) == 0) {
~~~~~~~~~~~~~~~~~~~~~~~~^
Modules/objc/objc_support.m:1504:78: warning: sizeof on pointer operation will return size of 'char *' instead of 'char [19]' [-Wsizeof-array-decay]
if (strncmp(types, @encode(struct sockaddr), sizeof(@encode(struct sockaddr)-1)) == 0) {
~~~~~~~~~~~~~~~~~~~~~~~~^
Modules/objc/objc_support.m:2434:19: warning: implicit conversion loses integer precision: 'long long' to 'int' [-Wshorten-64-to-32]
*(int*)datum = temp;
~ ^~~~
Modules/objc/objc_support.m:2442:28: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32]
*(unsigned int*)datum = utemp;
~ ^~~~~
7 warnings generated.
Modules/objc/objc_support.m:839:35: warning: sizeof on pointer operation will return size of 'char *' instead of 'char [19]' [-Wsizeof-array-decay]
sizeof(@encode(struct sockaddr)-1)) == 0) {
~~~~~~~~~~~~~~~~~~~~~~~~^
Modules/objc/objc_support.m:1114:77: warning: sizeof on pointer operation will return size of 'char *' instead of 'char [19]' [-Wsizeof-array-decay]
if (strncmp(type, @encode(struct sockaddr), sizeof(@encode(struct sockaddr)-1)) == 0) {
~~~~~~~~~~~~~~~~~~~~~~~~^
Modules/objc/objc_support.m:1504:78: warning: sizeof on pointer operation will return size of 'char *' instead of 'char [19]' [-Wsizeof-array-decay]
if (strncmp(types, @encode(struct sockaddr), sizeof(@encode(struct sockaddr)-1)) == 0) {
~~~~~~~~~~~~~~~~~~~~~~~~^
Modules/objc/objc_support.m:2119:19: warning: implicit conversion loses integer precision: 'long long' to 'int' [-Wshorten-64-to-32]
*(int*)datum = temp;
~ ^~~~
Modules/objc/objc_support.m:2154:19: warning: implicit conversion loses integer precision: 'long long' to 'int' [-Wshorten-64-to-32]
*(int*)datum = temp;
~ ^~~~
Modules/objc/objc_support.m:2190:28: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32]
*(unsigned int*)datum = utemp;
~ ^~~~~
Modules/objc/objc_support.m:2198:19: warning: implicit conversion loses integer precision: 'long long' to 'int' [-Wshorten-64-to-32]
*(int*)datum = temp;
~ ^~~~
Modules/objc/objc_support.m:2206:28: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32]
*(unsigned int*)datum = utemp;
~ ^~~~~
Modules/objc/objc_support.m:2434:19: warning: implicit conversion loses integer precision: 'long long' to 'int' [-Wshorten-64-to-32]
*(int*)datum = temp;
~ ^~~~
Modules/objc/objc_support.m:2442:28: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32]
*(unsigned int*)datum = utemp;
~ ^~~~~
Modules/objc/objc_support.m:2450:20: warning: implicit conversion loses integer precision: 'long long' to 'long' [-Wshorten-64-to-32]
*(long*)datum = temp;
~ ^~~~
Modules/objc/objc_support.m:2458:29: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned long' [-Wshorten-64-to-32]
*(unsigned long*)datum = utemp;
~ ^~~~~
12 warnings generated.
Modules/objc/OC_PythonArray.m:319:23: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
[coder encodeInt32:PyTuple_Size(value) forKey:@"pylength"];
~ ^~~~~~~~~~~~~~~~~~~
Modules/objc/OC_PythonArray.m:356:34: warning: conflicting parameter types in implementation of 'initWithObjects:count:': 'const id *' vs 'NSObject **' [-Wmismatched-parameter-types]
-(id)initWithObjects:(NSObject**)objects count:(NSUInteger)count
~~~~~~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:93:46: note: previous definition is here
- (instancetype)initWithObjects:(const id [])objects count:(NSUInteger)cnt; /* designated initializer */
~~~~~ ^
2 warnings generated.
Modules/objc/OC_PythonArray.m:356:34: warning: conflicting parameter types in implementation of 'initWithObjects:count:': 'const id *' vs 'NSObject **' [-Wmismatched-parameter-types]
-(id)initWithObjects:(NSObject**)objects count:(NSUInteger)count
~~~~~~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:93:46: note: previous definition is here
- (instancetype)initWithObjects:(const id [])objects count:(NSUInteger)cnt; /* designated initializer */
~~~~~ ^
1 warning generated.
Modules/objc/OC_PythonDate.m:213:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
int hours = offset / 60;
~~~~~ ~~~~~~~^~~~
1 warning generated.
Modules/objc/OC_PythonDictionary.m:377:35: warning: conflicting parameter types in implementation of 'initWithObjects:forKeys:count:': 'const id *' vs 'NSObject **' [-Wmismatched-parameter-types]
- (id)initWithObjects:(NSObject**)objects
~~~~~~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:70:46: note: previous definition is here
- (instancetype)initWithObjects:(const id [])objects forKeys:(const id <NSCopying> [])keys count:(NSUInteger)cnt; /* designated initializer */
~~~~~ ^
Modules/objc/OC_PythonDictionary.m:378:24: warning: conflicting parameter types in implementation of 'initWithObjects:forKeys:count:': 'const id<NSCopying> *' vs 'NSObject **' [-Wmismatched-parameter-types]
forKeys:(NSObject**)keys
~~~~~~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:70:87: note: previous definition is here
- (instancetype)initWithObjects:(const id [])objects forKeys:(const id <NSCopying> [])keys count:(NSUInteger)cnt; /* designated initializer */
~~~~~~~~~~~~~~~~~ ^
2 warnings generated.
Modules/objc/OC_PythonDictionary.m:377:35: warning: conflicting parameter types in implementation of 'initWithObjects:forKeys:count:': 'const id *' vs 'NSObject **' [-Wmismatched-parameter-types]
- (id)initWithObjects:(NSObject**)objects
~~~~~~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:70:46: note: previous definition is here
- (instancetype)initWithObjects:(const id [])objects forKeys:(const id <NSCopying> [])keys count:(NSUInteger)cnt; /* designated initializer */
~~~~~ ^
Modules/objc/OC_PythonDictionary.m:378:24: warning: conflicting parameter types in implementation of 'initWithObjects:forKeys:count:': 'const id<NSCopying> *' vs 'NSObject **' [-Wmismatched-parameter-types]
forKeys:(NSObject**)keys
~~~~~~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:70:87: note: previous definition is here
- (instancetype)initWithObjects:(const id [])objects forKeys:(const id <NSCopying> [])keys count:(NSUInteger)cnt; /* designated initializer */
~~~~~~~~~~~~~~~~~ ^
2 warnings generated.
Modules/objc/OC_PythonObject.m:848:14: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
argcount = [msign numberOfArguments];
~ ^~~~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/OC_PythonObject.m:1229:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
rval = PyObject_Hash([self pyObject]);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/OC_PythonObject.m:1232:20: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
rval = (NSUInteger)[self pyObject];
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
Modules/objc/OC_PythonString.m:166:27: warning: conflicting parameter types in implementation of 'initWithBytes:length:encoding:': 'const void *' vs 'void *' [-Wmismatched-parameter-types]
-(id)initWithBytes:(void*)bytes length:(NSUInteger)length encoding:(NSStringEncoding)encoding
~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:265:45: note: previous definition is here
- (instancetype)initWithBytes:(const void *)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding;
~~~~~~ ^
1 warning generated.
Modules/objc/OC_PythonString.m:166:27: warning: conflicting parameter types in implementation of 'initWithBytes:length:encoding:': 'const void *' vs 'void *' [-Wmismatched-parameter-types]
-(id)initWithBytes:(void*)bytes length:(NSUInteger)length encoding:(NSStringEncoding)encoding
~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:265:45: note: previous definition is here
- (instancetype)initWithBytes:(const void *)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding;
~~~~~~ ^
1 warning generated.
Modules/objc/OC_PythonUnicode.m:297:27: warning: conflicting parameter types in implementation of 'initWithBytes:length:encoding:': 'const void *' vs 'void *' [-Wmismatched-parameter-types]
-(id)initWithBytes:(void*)bytes length:(NSUInteger)length encoding:(NSStringEncoding)encoding
~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:265:45: note: previous definition is here
- (instancetype)initWithBytes:(const void *)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding;
~~~~~~ ^
1 warning generated.
Modules/objc/OC_PythonUnicode.m:297:27: warning: conflicting parameter types in implementation of 'initWithBytes:length:encoding:': 'const void *' vs 'void *' [-Wmismatched-parameter-types]
-(id)initWithBytes:(void*)bytes length:(NSUInteger)length encoding:(NSStringEncoding)encoding
~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:265:45: note: previous definition is here
- (instancetype)initWithBytes:(const void *)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding;
~~~~~~ ^
1 warning generated.
Modules/objc/pointer-support.m:59:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
return end1 - signature;
~~~~~~ ~~~~~^~~~~~~~~~~
Modules/objc/pointer-support.m:61:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
return end2 - signature;
~~~~~~ ~~~~~^~~~~~~~~~~
Modules/objc/pointer-support.m:72:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
return end1 - signature;
~~~~~~ ~~~~~^~~~~~~~~~~
Modules/objc/pointer-support.m:74:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
return end2 - signature;
~~~~~~ ~~~~~^~~~~~~~~~~
Modules/objc/pointer-support.m:77:9: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
return strlen(signature);
~~~~~~ ^~~~~~~~~~~~~~~~~
5 warnings generated.
Modules/objc/selector.m:553:13: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
argslen = PyTuple_Size(args);
~ ^~~~~~~~~~~~~~~~~~
1 warning generated.
Modules/objc/struct-wrapper.m:748:9: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
len = PyList_GET_SIZE(keys);
~ ^~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/listobject.h:63:32: note: expanded from macro 'PyList_GET_SIZE'
#define PyList_GET_SIZE(op) Py_SIZE(op)
^~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
1 warning generated.
ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
Modules/objc/test/properties.m:24:9: warning: Ignore warnings about properties in this file. [-W#pragma-messages]
#pragma message "Ignore warnings about properties in this file."
^
Modules/objc/test/properties.m:28:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property id prop4;
^
Modules/objc/test/properties.m:28:1: warning: default property attribute 'assign' not appropriate for non-GC object [-Wobjc-property-no-attribute]
Modules/objc/test/properties.m:30:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(readwrite) id prop6;
^
Modules/objc/test/properties.m:30:1: warning: default property attribute 'assign' not appropriate for non-GC object [-Wobjc-property-no-attribute]
Modules/objc/test/properties.m:35:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(getter=propGetter,setter=propSetter:) id prop11;
^
Modules/objc/test/properties.m:35:1: warning: default property attribute 'assign' not appropriate for non-GC object [-Wobjc-property-no-attribute]
7 warnings generated.
Modules/objc/test/properties.m:24:9: warning: Ignore warnings about properties in this file. [-W#pragma-messages]
#pragma message "Ignore warnings about properties in this file."
^
Modules/objc/test/properties.m:28:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property id prop4;
^
Modules/objc/test/properties.m:28:1: warning: default property attribute 'assign' not appropriate for non-GC object [-Wobjc-property-no-attribute]
Modules/objc/test/properties.m:30:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(readwrite) id prop6;
^
Modules/objc/test/properties.m:30:1: warning: default property attribute 'assign' not appropriate for non-GC object [-Wobjc-property-no-attribute]
Modules/objc/test/properties.m:35:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(getter=propGetter,setter=propSetter:) id prop11;
^
Modules/objc/test/properties.m:35:1: warning: default property attribute 'assign' not appropriate for non-GC object [-Wobjc-property-no-attribute]
7 warnings generated.
Modules/objc/test/testbndl.m:521:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
int len = strlen(arg);
~~~ ^~~~~~~~~~~
Modules/objc/test/testbndl.m:761:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
int len = strlen(*arg);
~~~ ^~~~~~~~~~~~
Modules/objc/test/testbndl.m:783:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
int len = strlen(*arg);
~~~ ^~~~~~~~~~~~
3 warnings generated.
Use '/usr/bin/cc' instead of 'cc' as the compiler
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/private/var/folders/1l/tt74p_z93j9d07418vkyrj6c0000gn/T/pip_build_henry/pyobjc-framework-AddressBook/setup.py", line 34, in <module>
if fn.startswith('_AddressBook')
File "pyobjc_setup.py", line 441, in setup
**k
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/Library/Python/2.7/site-packages/setuptools/dist.py", line 261, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/Library/Python/2.7/site-packages/setuptools/dist.py", line 286, in fetch_build_eggs
replace_conflicting=True
File "/Library/Python/2.7/site-packages/pkg_resources.py", line 631, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/Library/Python/2.7/site-packages/pkg_resources.py", line 871, in best_match
return self.obtain(req, installer)
File "/Library/Python/2.7/site-packages/pkg_resources.py", line 883, in obtain
return installer(requirement)
File "/Library/Python/2.7/site-packages/setuptools/dist.py", line 336, in fetch_build_egg
return cmd.easy_install(req)
File "/Library/Python/2.7/site-packages/setuptools/command/easy_install.py", line 595, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/Library/Python/2.7/site-packages/setuptools/command/easy_install.py", line 625, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/Library/Python/2.7/site-packages/setuptools/command/easy_install.py", line 822, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/Library/Python/2.7/site-packages/setuptools/command/easy_install.py", line 1028, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/Library/Python/2.7/site-packages/setuptools/command/easy_install.py", line 1013, in run_setup
run_setup(setup_script, args)
File "/Library/Python/2.7/site-packages/setuptools/sandbox.py", line 50, in run_setup
lambda: execfile(
File "/Library/Python/2.7/site-packages/setuptools/sandbox.py", line 100, in run
return func()
File "/Library/Python/2.7/site-packages/setuptools/sandbox.py", line 52, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 574, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Library/Python/2.7/site-packages/setuptools/command/bdist_egg.py", line 157, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/Library/Python/2.7/site-packages/setuptools/command/bdist_egg.py", line 143, in call_command
self.run_command(cmdname)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Library/Python/2.7/site-packages/setuptools/command/install_lib.py", line 9, in run
outfiles = self.install()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install_lib.py", line 115, in install
outfiles = self.copy_tree(self.build_dir, self.install_dir)
File "/Library/Python/2.7/site-packages/setuptools/command/install_lib.py", line 34, in copy_tree
exclude = self.get_exclusions()
File "setup.py", line 271, in get_exclusions
AttributeError: 'module' object has no attribute '_install_lib'
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 '*.so' found anywhere in distribution
libffi-src/ffi.c:107:1: warning: unused function 'struct_on_stack' [-Wunused-function]
struct_on_stack(
^
1 warning generated.
libffi-src/x86/x86-ffi64.c:164:27: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
int size = byte_offset + type->size;
~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~
libffi-src/x86/x86-ffi64.c:216:39: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
(type->size + UNITS_PER_WORD - 1) / UNITS_PER_WORD;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
libffi-src/x86/x86-ffi64.c:235:27: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
int pos = byte_offset / 8;
~~~ ~~~~~~~~~~~~^~~
libffi-src/x86/x86-ffi64.c:423:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
cif->bytes = bytes;
~ ^~~~~
libffi-src/x86/x86-ffi64.c:424:15: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
cif->bytes = ALIGN(bytes,8);
~ ^~~~~~~~~~~~~~
libffi-src/include/ffi_common.h:69:46: note: expanded from macro 'ALIGN'
#define ALIGN(v, a) (((size_t)(v) + (a) - 1) & ~((a) - 1))
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
5 warnings generated.
Modules/objc/block_support.m:260:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_AllocByRef(Py_SIZE(signature) + PyTuple_Size(args), &byref, &byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Modules/objc/block_support.m:264:28: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_AllocByRef(Py_SIZE(signature), &byref, &byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/block_support.m:301:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(Py_SIZE(signature)+PyTuple_Size(args), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Modules/objc/block_support.m:306:27: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(Py_SIZE(signature), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/block_support.m:316:41: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
PyObjCFFI_FreeByRef(Py_SIZE(signature)+PyTuple_Size(args), byref, byref_attr);
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Modules/objc/block_support.m:318:23: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
PyObjCFFI_FreeByRef(Py_SIZE(signature), byref, byref_attr);
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
6 warnings generated.
Modules/objc/function.m:189:51: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_AllocByRef(Py_SIZE(self->methinfo)+PyTuple_Size(args), &byref, &byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Modules/objc/function.m:193:28: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_AllocByRef(Py_SIZE(self->methinfo), &byref, &byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/function.m:234:50: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(Py_SIZE(self->methinfo)+PyTuple_Size(args), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Modules/objc/function.m:239:27: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(Py_SIZE(self->methinfo), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/function.m:249:27: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(PyTuple_Size(args), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
Modules/objc/function.m:254:27: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(Py_SIZE(self->methinfo), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
6 warnings generated.
Modules/objc/libffi_support.m:936:9: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
return curarg;
~~~~~~ ^~~~~~
Modules/objc/libffi_support.m:988:15: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
return curarg+1;
~~~~~~ ~~~~~~^~
Modules/objc/libffi_support.m:1823:30: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
int result = Py_SIZE(sig) - 1;
~~~~~~ ~~~~~~~~~~~~~^~~
Modules/objc/libffi_support.m:3143:9: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
return Py_SIZE(methinfo);
~~~~~~ ^~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/libffi_support.m:3732:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_AllocByRef(Py_SIZE(methinfo)+PyTuple_Size(args),
~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Modules/objc/libffi_support.m:3737:28: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_AllocByRef(Py_SIZE(methinfo), &byref, &byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/libffi_support.m:3905:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(Py_SIZE(methinfo)+PyTuple_Size(args), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Modules/objc/libffi_support.m:3910:27: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(Py_SIZE(methinfo), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/libffi_support.m:3931:27: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(PyTuple_Size(args), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
Modules/objc/libffi_support.m:3936:27: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
if (PyObjCFFI_FreeByRef(Py_SIZE(methinfo), byref, byref_attr) < 0) {
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/libffi_support.m:3997:42: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32]
rv = ffi_prep_cif(cif, FFI_DEFAULT_ABI, Py_SIZE(methinfo),
~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/libffi_support.m:31:19: warning: unused variable 'gCFRangeEncoding' [-Wunused-const-variable]
static const char gCFRangeEncoding[1024] = { 0 };
^
12 warnings generated.
Modules/objc/libffi_support.m:459:26: warning: implicit conversion loses integer precision: 'long long' to 'Py_ssize_t' (aka 'long') [-Wshorten-64-to-32]
case _C_LNG_LNG: return *(long long*)pvalue;
~~~~~~ ^~~~~~~~~~~~~~~~~~~
Modules/objc/libffi_support.m:460:27: warning: implicit conversion loses integer precision: 'unsigned long long' to 'Py_ssize_t' (aka 'long') [-Wshorten-64-to-32]
case _C_ULNG_LNG: return *(unsigned long long*)pvalue;
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/libffi_support.m:472:27: warning: implicit conversion loses integer precision: 'long long' to 'Py_ssize_t' (aka 'long') [-Wshorten-64-to-32]
case _C_LNG_LNG: return **(long long**)pvalue;
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
Modules/objc/libffi_support.m:473:28: warning: implicit conversion loses integer precision: 'unsigned long long' to 'Py_ssize_t' (aka 'long') [-Wshorten-64-to-32]
case _C_ULNG_LNG: return **(unsigned long long**)pvalue;
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/libffi_support.m:31:19: warning: unused variable 'gCFRangeEncoding' [-Wunused-const-variable]
static const char gCFRangeEncoding[1024] = { 0 };
^
5 warnings generated.
Modules/objc/method-signature.m:189:18: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int arg_count = [sig numberOfArguments];
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/method-signature.m:716:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
methinfo->arrayArg = PyLong_AsLong(v);
~ ^~~~~~~~~~~~~~~~
Modules/objc/method-signature.m:723:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
methinfo->arrayArg = PyInt_AsLong(v);
~ ^~~~~~~~~~~~~~~
3 warnings generated.
Modules/objc/objc-class.m:49:6: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
n = PyTuple_GET_SIZE(mro);
~ ^~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/tupleobject.h:51:33: note: expanded from macro 'PyTuple_GET_SIZE'
#define PyTuple_GET_SIZE(op) Py_SIZE(op)
^~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Modules/objc/objc-class.m:983:23: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
info->method_magic = PyObjC_methodlist_magic(objc_class);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/objc-class.m:1085:14: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
(magic = PyObjC_methodlist_magic(info->class))) || (info->generation != PyObjC_MappingCount)) {
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/objc-class.m:1100:23: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
info->generation = PyObjC_MappingCount;
~ ^~~~~~~~~~~~~~~~~~~
Modules/objc/objc-class.m:2634:50: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
class_addMethodList(targetClass, methodsToAdd, curMethodIndex);
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
Modules/objc/objc-class.m:2639:24: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
classMethodsToAdd, curClassMethodIndex);
^~~~~~~~~~~~~~~~~~~
6 warnings generated.
Modules/objc/objc_support.m:722:21: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
int item_align = PyObjCRT_AlignOfType(type);
~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/objc_support.m:839:35: warning: sizeof on pointer operation will return size of 'char *' instead of 'char [19]' [-Wsizeof-array-decay]
sizeof(@encode(struct sockaddr)-1)) == 0) {
~~~~~~~~~~~~~~~~~~~~~~~~^
Modules/objc/objc_support.m:901:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
int i = strtol(type+1, NULL, 10);
~ ^~~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/objc_support.m:1114:77: warning: sizeof on pointer operation will return size of 'char *' instead of 'char [19]' [-Wsizeof-array-decay]
if (strncmp(type, @encode(struct sockaddr), sizeof(@encode(struct sockaddr)-1)) == 0) {
~~~~~~~~~~~~~~~~~~~~~~~~^
Modules/objc/objc_support.m:1504:78: warning: sizeof on pointer operation will return size of 'char *' instead of 'char [19]' [-Wsizeof-array-decay]
if (strncmp(types, @encode(struct sockaddr), sizeof(@encode(struct sockaddr)-1)) == 0) {
~~~~~~~~~~~~~~~~~~~~~~~~^
Modules/objc/objc_support.m:2434:19: warning: implicit conversion loses integer precision: 'long long' to 'int' [-Wshorten-64-to-32]
*(int*)datum = temp;
~ ^~~~
Modules/objc/objc_support.m:2442:28: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32]
*(unsigned int*)datum = utemp;
~ ^~~~~
7 warnings generated.
Modules/objc/objc_support.m:839:35: warning: sizeof on pointer operation will return size of 'char *' instead of 'char [19]' [-Wsizeof-array-decay]
sizeof(@encode(struct sockaddr)-1)) == 0) {
~~~~~~~~~~~~~~~~~~~~~~~~^
Modules/objc/objc_support.m:1114:77: warning: sizeof on pointer operation will return size of 'char *' instead of 'char [19]' [-Wsizeof-array-decay]
if (strncmp(type, @encode(struct sockaddr), sizeof(@encode(struct sockaddr)-1)) == 0) {
~~~~~~~~~~~~~~~~~~~~~~~~^
Modules/objc/objc_support.m:1504:78: warning: sizeof on pointer operation will return size of 'char *' instead of 'char [19]' [-Wsizeof-array-decay]
if (strncmp(types, @encode(struct sockaddr), sizeof(@encode(struct sockaddr)-1)) == 0) {
~~~~~~~~~~~~~~~~~~~~~~~~^
Modules/objc/objc_support.m:2119:19: warning: implicit conversion loses integer precision: 'long long' to 'int' [-Wshorten-64-to-32]
*(int*)datum = temp;
~ ^~~~
Modules/objc/objc_support.m:2154:19: warning: implicit conversion loses integer precision: 'long long' to 'int' [-Wshorten-64-to-32]
*(int*)datum = temp;
~ ^~~~
Modules/objc/objc_support.m:2190:28: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32]
*(unsigned int*)datum = utemp;
~ ^~~~~
Modules/objc/objc_support.m:2198:19: warning: implicit conversion loses integer precision: 'long long' to 'int' [-Wshorten-64-to-32]
*(int*)datum = temp;
~ ^~~~
Modules/objc/objc_support.m:2206:28: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32]
*(unsigned int*)datum = utemp;
~ ^~~~~
Modules/objc/objc_support.m:2434:19: warning: implicit conversion loses integer precision: 'long long' to 'int' [-Wshorten-64-to-32]
*(int*)datum = temp;
~ ^~~~
Modules/objc/objc_support.m:2442:28: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned int' [-Wshorten-64-to-32]
*(unsigned int*)datum = utemp;
~ ^~~~~
Modules/objc/objc_support.m:2450:20: warning: implicit conversion loses integer precision: 'long long' to 'long' [-Wshorten-64-to-32]
*(long*)datum = temp;
~ ^~~~
Modules/objc/objc_support.m:2458:29: warning: implicit conversion loses integer precision: 'unsigned long long' to 'unsigned long' [-Wshorten-64-to-32]
*(unsigned long*)datum = utemp;
~ ^~~~~
12 warnings generated.
Modules/objc/OC_PythonArray.m:319:23: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
[coder encodeInt32:PyTuple_Size(value) forKey:@"pylength"];
~ ^~~~~~~~~~~~~~~~~~~
Modules/objc/OC_PythonArray.m:356:34: warning: conflicting parameter types in implementation of 'initWithObjects:count:': 'const id *' vs 'NSObject **' [-Wmismatched-parameter-types]
-(id)initWithObjects:(NSObject**)objects count:(NSUInteger)count
~~~~~~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:93:46: note: previous definition is here
- (instancetype)initWithObjects:(const id [])objects count:(NSUInteger)cnt; /* designated initializer */
~~~~~ ^
2 warnings generated.
Modules/objc/OC_PythonArray.m:356:34: warning: conflicting parameter types in implementation of 'initWithObjects:count:': 'const id *' vs 'NSObject **' [-Wmismatched-parameter-types]
-(id)initWithObjects:(NSObject**)objects count:(NSUInteger)count
~~~~~~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:93:46: note: previous definition is here
- (instancetype)initWithObjects:(const id [])objects count:(NSUInteger)cnt; /* designated initializer */
~~~~~ ^
1 warning generated.
Modules/objc/OC_PythonDate.m:213:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
int hours = offset / 60;
~~~~~ ~~~~~~~^~~~
1 warning generated.
Modules/objc/OC_PythonDictionary.m:377:35: warning: conflicting parameter types in implementation of 'initWithObjects:forKeys:count:': 'const id *' vs 'NSObject **' [-Wmismatched-parameter-types]
- (id)initWithObjects:(NSObject**)objects
~~~~~~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:70:46: note: previous definition is here
- (instancetype)initWithObjects:(const id [])objects forKeys:(const id <NSCopying> [])keys count:(NSUInteger)cnt; /* designated initializer */
~~~~~ ^
Modules/objc/OC_PythonDictionary.m:378:24: warning: conflicting parameter types in implementation of 'initWithObjects:forKeys:count:': 'const id<NSCopying> *' vs 'NSObject **' [-Wmismatched-parameter-types]
forKeys:(NSObject**)keys
~~~~~~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:70:87: note: previous definition is here
- (instancetype)initWithObjects:(const id [])objects forKeys:(const id <NSCopying> [])keys count:(NSUInteger)cnt; /* designated initializer */
~~~~~~~~~~~~~~~~~ ^
2 warnings generated.
Modules/objc/OC_PythonDictionary.m:377:35: warning: conflicting parameter types in implementation of 'initWithObjects:forKeys:count:': 'const id *' vs 'NSObject **' [-Wmismatched-parameter-types]
- (id)initWithObjects:(NSObject**)objects
~~~~~~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:70:46: note: previous definition is here
- (instancetype)initWithObjects:(const id [])objects forKeys:(const id <NSCopying> [])keys count:(NSUInteger)cnt; /* designated initializer */
~~~~~ ^
Modules/objc/OC_PythonDictionary.m:378:24: warning: conflicting parameter types in implementation of 'initWithObjects:forKeys:count:': 'const id<NSCopying> *' vs 'NSObject **' [-Wmismatched-parameter-types]
forKeys:(NSObject**)keys
~~~~~~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:70:87: note: previous definition is here
- (instancetype)initWithObjects:(const id [])objects forKeys:(const id <NSCopying> [])keys count:(NSUInteger)cnt; /* designated initializer */
~~~~~~~~~~~~~~~~~ ^
2 warnings generated.
Modules/objc/OC_PythonObject.m:848:14: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
argcount = [msign numberOfArguments];
~ ^~~~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/OC_PythonObject.m:1229:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
rval = PyObject_Hash([self pyObject]);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Modules/objc/OC_PythonObject.m:1232:20: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
rval = (NSUInteger)[self pyObject];
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
Modules/objc/OC_PythonString.m:166:27: warning: conflicting parameter types in implementation of 'initWithBytes:length:encoding:': 'const void *' vs 'void *' [-Wmismatched-parameter-types]
-(id)initWithBytes:(void*)bytes length:(NSUInteger)length encoding:(NSStringEncoding)encoding
~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:265:45: note: previous definition is here
- (instancetype)initWithBytes:(const void *)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding;
~~~~~~ ^
1 warning generated.
Modules/objc/OC_PythonString.m:166:27: warning: conflicting parameter types in implementation of 'initWithBytes:length:encoding:': 'const void *' vs 'void *' [-Wmismatched-parameter-types]
-(id)initWithBytes:(void*)bytes length:(NSUInteger)length encoding:(NSStringEncoding)encoding
~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:265:45: note: previous definition is here
- (instancetype)initWithBytes:(const void *)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding;
~~~~~~ ^
1 warning generated.
Modules/objc/OC_PythonUnicode.m:297:27: warning: conflicting parameter types in implementation of 'initWithBytes:length:encoding:': 'const void *' vs 'void *' [-Wmismatched-parameter-types]
-(id)initWithBytes:(void*)bytes length:(NSUInteger)length encoding:(NSStringEncoding)encoding
~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:265:45: note: previous definition is here
- (instancetype)initWithBytes:(const void *)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding;
~~~~~~ ^
1 warning generated.
Modules/objc/OC_PythonUnicode.m:297:27: warning: conflicting parameter types in implementation of 'initWithBytes:length:encoding:': 'const void *' vs 'void *' [-Wmismatched-parameter-types]
-(id)initWithBytes:(void*)bytes length:(NSUInteger)length encoding:(NSStringEncoding)encoding
~~~~~ ^
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:265:45: note: previous definition is here
- (instancetype)initWithBytes:(const void *)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding;
~~~~~~ ^
1 warning generated.
Modules/objc/pointer-support.m:59:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
return end1 - signature;
~~~~~~ ~~~~~^~~~~~~~~~~
Modules/objc/pointer-support.m:61:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
return end2 - signature;
~~~~~~ ~~~~~^~~~~~~~~~~
Modules/objc/pointer-support.m:72:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
return end1 - signature;
~~~~~~ ~~~~~^~~~~~~~~~~
Modules/objc/pointer-support.m:74:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
return end2 - signature;
~~~~~~ ~~~~~^~~~~~~~~~~
Modules/objc/pointer-support.m:77:9: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
return strlen(signature);
~~~~~~ ^~~~~~~~~~~~~~~~~
5 warnings generated.
Modules/objc/selector.m:553:13: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
argslen = PyTuple_Size(args);
~ ^~~~~~~~~~~~~~~~~~
1 warning generated.
Modules/objc/struct-wrapper.m:748:9: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
len = PyList_GET_SIZE(keys);
~ ^~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/listobject.h:63:32: note: expanded from macro 'PyList_GET_SIZE'
#define PyList_GET_SIZE(op) Py_SIZE(op)
^~~~~~~~~~~
Modules/objc/pyobjc-compat.h:153:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
1 warning generated.
ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
Modules/objc/test/properties.m:24:9: warning: Ignore warnings about properties in this file. [-W#pragma-messages]
#pragma message "Ignore warnings about properties in this file."
^
Modules/objc/test/properties.m:28:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property id prop4;
^
Modules/objc/test/properties.m:28:1: warning: default property attribute 'assign' not appropriate for non-GC object [-Wobjc-property-no-attribute]
Modules/objc/test/properties.m:30:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(readwrite) id prop6;
^
Modules/objc/test/properties.m:30:1: warning: default property attribute 'assign' not appropriate for non-GC object [-Wobjc-property-no-attribute]
Modules/objc/test/properties.m:35:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(getter=propGetter,setter=propSetter:) id prop11;
^
Modules/objc/test/properties.m:35:1: warning: default property attribute 'assign' not appropriate for non-GC object [-Wobjc-property-no-attribute]
7 warnings generated.
Modules/objc/test/properties.m:24:9: warning: Ignore warnings about properties in this file. [-W#pragma-messages]
#pragma message "Ignore warnings about properties in this file."
^
Modules/objc/test/properties.m:28:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property id prop4;
^
Modules/objc/test/properties.m:28:1: warning: default property attribute 'assign' not appropriate for non-GC object [-Wobjc-property-no-attribute]
Modules/objc/test/properties.m:30:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(readwrite) id prop6;
^
Modules/objc/test/properties.m:30:1: warning: default property attribute 'assign' not appropriate for non-GC object [-Wobjc-property-no-attribute]
Modules/objc/test/properties.m:35:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
@property(getter=propGetter,setter=propSetter:) id prop11;
^
Modules/objc/test/properties.m:35:1: warning: default property attribute 'assign' not appropriate for non-GC object [-Wobjc-property-no-attribute]
7 warnings generated.
Modules/objc/test/testbndl.m:521:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
int len = strlen(arg);
~~~ ^~~~~~~~~~~
Modules/objc/test/testbndl.m:761:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
int len = strlen(*arg);
~~~ ^~~~~~~~~~~~
Modules/objc/test/testbndl.m:783:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
int len = strlen(*arg);
~~~ ^~~~~~~~~~~~
3 warnings generated.
Use '/usr/bin/cc' instead of 'cc' as the compiler
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/private/var/folders/1l/tt74p_z93j9d07418vkyrj6c0000gn/T/pip_build_henry/pyobjc-framework-AddressBook/setup.py", line 34, in <module>
if fn.startswith('_AddressBook')
File "pyobjc_setup.py", line 441, in setup
**k
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/Library/Python/2.7/site-packages/setuptools/dist.py", line 261, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/Library/Python/2.7/site-packages/setuptools/dist.py", line 286, in fetch_build_eggs
replace_conflicting=True
File "/Library/Python/2.7/site-packages/pkg_resources.py", line 631, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/Library/Python/2.7/site-packages/pkg_resources.py", line 871, in best_match
return self.obtain(req, installer)
File "/Library/Python/2.7/site-packages/pkg_resources.py", line 883, in obtain
return installer(requirement)
File "/Library/Python/2.7/site-packages/setuptools/dist.py", line 336, in fetch_build_egg
return cmd.easy_install(req)
File "/Library/Python/2.7/site-packages/setuptools/command/easy_install.py", line 595, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/Library/Python/2.7/site-packages/setuptools/command/easy_install.py", line 625, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/Library/Python/2.7/site-packages/setuptools/command/easy_install.py", line 822, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/Library/Python/2.7/site-packages/setuptools/command/easy_install.py", line 1028, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/Library/Python/2.7/site-packages/setuptools/command/easy_install.py", line 1013, in run_setup
run_setup(setup_script, args)
File "/Library/Python/2.7/site-packages/setuptools/sandbox.py", line 50, in run_setup
lambda: execfile(
File "/Library/Python/2.7/site-packages/setuptools/sandbox.py", line 100, in run
return func()
File "/Library/Python/2.7/site-packages/setuptools/sandbox.py", line 52, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 574, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Library/Python/2.7/site-packages/setuptools/command/bdist_egg.py", line 157, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/Library/Python/2.7/site-packages/setuptools/command/bdist_egg.py", line 143, in call_command
self.run_command(cmdname)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Library/Python/2.7/site-packages/setuptools/command/install_lib.py", line 9, in run
outfiles = self.install()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install_lib.py", line 115, in install
outfiles = self.copy_tree(self.build_dir, self.install_dir)
File "/Library/Python/2.7/site-packages/setuptools/command/install_lib.py", line 34, in copy_tree
exclude = self.get_exclusions()
File "setup.py", line 271, in get_exclusions
AttributeError: 'module' object has no attribute '_install_lib'
----------------------------------------
Cleaning up...
Removing temporary dir /private/var/folders/1l/tt74p_z93j9d07418vkyrj6c0000gn/T/pip_build_henry...
Command python setup.py egg_info failed with error code 1 in /private/var/folders/1l/tt74p_z93j9d07418vkyrj6c0000gn/T/pip_build_henry/pyobjc-framework-AddressBook
Exception information:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", line 1229, in prepare_files
req_to_install.run_egg_info()
File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", line 325, in run_egg_info
command_desc='python setup.py egg_info')
File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/util.py", line 697, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in /private/var/folders/1l/tt74p_z93j9d07418vkyrj6c0000gn/T/pip_build_henry/pyobjc-framework-AddressBook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.