pushrax / osxmpdkeys

Control mpd with Mac media keys.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation broken on dependencies

simar7 opened this issue · comments

Hello,

I just did a pip install of osxmpdkeys and ran into the following: https://gist.github.com/simar7/63544eed59bff7df59003ba21f68fa35

This is the relevant output snippet


    building 'CoreFoundation._inlines' extension
    creating build/temp.macosx-10.10-x86_64-2.7/Modules
    clang -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.macosx-10.10-x86_64-2.7/pyobjc-include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c Modules/_CoreFoundation_inlines.m -o build/temp.macosx-10.10-x86_64-2.7/Modules/_CoreFoundation_inlines.o -DPyObjC_BUILD_RELEASE=1010 -Wno-deprecated-declarations -isysroot /
    clang -bundle -undefined dynamic_lookup build/temp.macosx-10.10-x86_64-2.7/Modules/_CoreFoundation_inlines.o -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -o build/lib.macosx-10.10-x86_64-2.7/CoreFoundation/_inlines.so -framework CoreFoundation -isysroot /
    building 'CoreFoundation._CoreFoundation' extension
    clang -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.macosx-10.10-x86_64-2.7/pyobjc-include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c Modules/_CoreFoundation.m -o build/temp.macosx-10.10-x86_64-2.7/Modules/_CoreFoundation.o -DPyObjC_BUILD_RELEASE=1010 -Wno-deprecated-declarations -isysroot /
    clang -bundle -undefined dynamic_lookup build/temp.macosx-10.10-x86_64-2.7/Modules/_CoreFoundation.o -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -o build/lib.macosx-10.10-x86_64-2.7/CoreFoundation/_CoreFoundation.so -framework CoreFoundation -isysroot /
    building 'Foundation._inlines' extension
    clang -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.macosx-10.10-x86_64-2.7/pyobjc-include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c Modules/_Foundation_inlines.m -o build/temp.macosx-10.10-x86_64-2.7/Modules/_Foundation_inlines.o -DPyObjC_BUILD_RELEASE=1010 -Wno-deprecated-declarations -isysroot /
    clang -bundle -undefined dynamic_lookup build/temp.macosx-10.10-x86_64-2.7/Modules/_Foundation_inlines.o -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -o build/lib.macosx-10.10-x86_64-2.7/Foundation/_inlines.so -framework Foundation -isysroot /
    building 'Foundation._Foundation' extension
    clang -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.macosx-10.10-x86_64-2.7/pyobjc-include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c Modules/_Foundation.m -o build/temp.macosx-10.10-x86_64-2.7/Modules/_Foundation.o -DPyObjC_BUILD_RELEASE=1010 -Wno-deprecated-declarations -isysroot /
    In file included from Modules/_Foundation.m:15:
    Modules/_Foundation_protocols.m:14:28: error: cannot find protocol declaration for 'NSProgressReporting'
        p = PyObjC_IdToPython(@protocol(NSProgressReporting)); Py_XDECREF(p);
                               ^
    Modules/_Foundation_protocols.m:15:28: error: cannot find protocol declaration for 'NSURLSessionStreamDelegate'
        p = PyObjC_IdToPython(@protocol(NSURLSessionStreamDelegate)); Py_XDECREF(p);
                               ^
    2 errors generated.
    error: command 'clang' failed with exit status 1

    ----------------------------------------
Command "/usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/w9/713f32t16fb5ywnhdtv2b72m0000gn/T/pip-build-7JEoIA/pyobjc-framework-Cocoa/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/w9/713f32t16fb5ywnhdtv2b72m0000gn/T/pip-fGBwHw-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/w9/713f32t16fb5ywnhdtv2b72m0000gn/T/pip-build-7JEoIA/pyobjc-framework-Cocoa

Any ideas what is going wrong?

This looks like a bug in PyObjC, if you're still interested can you try again?

No further reports of this, going to assume it was fixed upstream somewhere.