1. Python CFFI
  2. Untitled project
  3. cffi
  4. Issues
Issue #123 resolved

CFFI 0.8 does not install on OS X 10.7

Armin Ronacher
created an issue

It fails installing with the following error:

Unpacking /Users/mitsuhiko/Development/fireteam/event-core/cffi
  Running setup.py egg_info for package from file:///Users/mitsuhiko/Development/fireteam/event-core/cffi

Requirement already satisfied (use --upgrade to upgrade): pycparser in /Users/mitsuhiko/.virtualenvs/fireteam-event-core/lib/python2.7/site-packages (from cffi==0.8)
Installing collected packages: cffi
  Running setup.py install for cffi
    warning: build_py: byte-compiling is disabled, skipping.

    building '_cffi_backend' extension
    llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -arch i386 -arch x86_64 -DUSE__THREAD -I/usr/local/Cellar/libffi/3.0.13/lib/libffi-3.0.13/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c c/_cffi_backend.c -o build/temp.macosx-10.7-intel-2.7/c/_cffi_backend.o
    c/_cffi_backend.c:202: error: thread-local storage not supported for this target
    c/_cffi_backend.c:202: error: thread-local storage not supported for this target
    c/_cffi_backend.c: In function ‘ctypedescr_new_on_top’:
    c/_cffi_backend.c:245: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c:246: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘convert_to_object’:
    c/_cffi_backend.c:855: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c:864: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c:874: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘convert_to_object_bitfield’:
    c/_cffi_backend.c:910: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c:924: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘convert_from_object’:
    c/_cffi_backend.c:1273: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c:1274: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c:1276: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c:1286: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c:1287: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c:1289: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c:1308: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘convert_from_object_bitfield’:
    c/_cffi_backend.c:1403: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c:1405: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘get_alignment’:
    c/_cffi_backend.c:1425: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘cdata_int’:
    c/_cffi_backend.c:1678: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘cdata_float’:
    c/_cffi_backend.c:1727: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘cdata_call’:
    c/_cffi_backend.c:2373: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘_my_PyObject_AsBool’:
    c/_cffi_backend.c:2861: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘cast_to_integer_or_char’:
    c/_cffi_backend.c:2955: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘b_cast’:
    c/_cffi_backend.c:3058: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘b_new_primitive_type’:
    c/_cffi_backend.c:3379: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c:3397: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘_b_struct_or_union_type’:
    c/_cffi_backend.c:3516: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘b_complete_struct_or_union’:
    c/_cffi_backend.c:3810: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c:3843: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c:3851: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘fb_build_name’:
    c/_cffi_backend.c:4130: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c:4145: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c:4158: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘fb_prepare_ctype’:
    c/_cffi_backend.c:4178: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘fb_prepare_cif’:
    c/_cffi_backend.c:4229: warning: implicit conversion shortens 64-bit value into a 32-bit value
    c/_cffi_backend.c: In function ‘b_new_enum_type’:
    c/_cffi_backend.c:4624: warning: implicit conversion shortens 64-bit value into a 32-bit value
    lipo: can't open input file: /var/folders/q8/hjg83brn7lg20tx30fn_mxn00000gq/T//ccYluEel.out (No such file or directory)
    error: command 'llvm-gcc-4.2' failed with exit status 1
    Complete output from command /Users/mitsuhiko/.virtualenvs/fireteam-event-core/bin/python -c "import setuptools;__file__='/var/folders/q8/hjg83brn7lg20tx30fn_mxn00000gq/T/pip-JLb9gr-build/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/q8/hjg83brn7lg20tx30fn_mxn00000gq/T/pip-V3ULVc-record/install-record.txt --single-version-externally-managed --install-headers /Users/mitsuhiko/.virtualenvs/fireteam-event-core/bin/../include/site/python2.7:
    running install

running build

running build_py

creating build

creating build/lib.macosx-10.7-intel-2.7

creating build/lib.macosx-10.7-intel-2.7/cffi

copying cffi/__init__.py -> build/lib.macosx-10.7-intel-2.7/cffi

copying cffi/api.py -> build/lib.macosx-10.7-intel-2.7/cffi

copying cffi/backend_ctypes.py -> build/lib.macosx-10.7-intel-2.7/cffi

copying cffi/commontypes.py -> build/lib.macosx-10.7-intel-2.7/cffi

copying cffi/cparser.py -> build/lib.macosx-10.7-intel-2.7/cffi

copying cffi/ffiplatform.py -> build/lib.macosx-10.7-intel-2.7/cffi

copying cffi/gc_weakref.py -> build/lib.macosx-10.7-intel-2.7/cffi

copying cffi/lock.py -> build/lib.macosx-10.7-intel-2.7/cffi

copying cffi/model.py -> build/lib.macosx-10.7-intel-2.7/cffi

copying cffi/vengine_cpy.py -> build/lib.macosx-10.7-intel-2.7/cffi

copying cffi/vengine_gen.py -> build/lib.macosx-10.7-intel-2.7/cffi

copying cffi/verifier.py -> build/lib.macosx-10.7-intel-2.7/cffi

warning: build_py: byte-compiling is disabled, skipping.



running build_ext

building '_cffi_backend' extension

creating build/temp.macosx-10.7-intel-2.7

creating build/temp.macosx-10.7-intel-2.7/c

llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -arch i386 -arch x86_64 -DUSE__THREAD -I/usr/local/Cellar/libffi/3.0.13/lib/libffi-3.0.13/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c c/_cffi_backend.c -o build/temp.macosx-10.7-intel-2.7/c/_cffi_backend.o

c/_cffi_backend.c:202: error: thread-local storage not supported for this target

c/_cffi_backend.c:202: error: thread-local storage not supported for this target

c/_cffi_backend.c: In function ‘ctypedescr_new_on_top’:

c/_cffi_backend.c:245: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c:246: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘convert_to_object’:

c/_cffi_backend.c:855: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c:864: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c:874: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘convert_to_object_bitfield’:

c/_cffi_backend.c:910: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c:924: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘convert_from_object’:

c/_cffi_backend.c:1273: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c:1274: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c:1276: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c:1286: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c:1287: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c:1289: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c:1308: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘convert_from_object_bitfield’:

c/_cffi_backend.c:1403: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c:1405: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘get_alignment’:

c/_cffi_backend.c:1425: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘cdata_int’:

c/_cffi_backend.c:1678: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘cdata_float’:

c/_cffi_backend.c:1727: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘cdata_call’:

c/_cffi_backend.c:2373: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘_my_PyObject_AsBool’:

c/_cffi_backend.c:2861: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘cast_to_integer_or_char’:

c/_cffi_backend.c:2955: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘b_cast’:

c/_cffi_backend.c:3058: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘b_new_primitive_type’:

c/_cffi_backend.c:3379: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c:3397: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘_b_struct_or_union_type’:

c/_cffi_backend.c:3516: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘b_complete_struct_or_union’:


c/_cffi_backend.c:3843: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c:3851: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘fb_build_name’:

c/_cffi_backend.c:4130: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c:4145: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c:4158: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘fb_prepare_ctype’:

c/_cffi_backend.c:4178: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘fb_prepare_cif’:

c/_cffi_backend.c:4229: warning: implicit conversion shortens 64-bit value into a 32-bit value

c/_cffi_backend.c: In function ‘b_new_enum_type’:

c/_cffi_backend.c:4624: warning: implicit conversion shortens 64-bit value into a 32-bit value

lipo: can't open input file: /var/folders/q8/hjg83brn7lg20tx30fn_mxn00000gq/T//ccYluEel.out (No such file or directory)

error: command 'llvm-gcc-4.2' failed with exit status 1

----------------------------------------
Cleaning up...
Command /Users/mitsuhiko/.virtualenvs/fireteam-event-core/bin/python -c "import setuptools;__file__='/var/folders/q8/hjg83brn7lg20tx30fn_mxn00000gq/T/pip-JLb9gr-build/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/q8/hjg83brn7lg20tx30fn_mxn00000gq/T/pip-V3ULVc-record/install-record.txt --single-version-externally-managed --install-headers /Users/mitsuhiko/.virtualenvs/fireteam-event-core/bin/../include/site/python2.7 failed with error code 1 in /var/folders/q8/hjg83brn7lg20tx30fn_mxn00000gq/T/pip-JLb9gr-build
Storing complete log in /Users/mitsuhiko/.pip/pip.log

Comments (10)

  1. Armin Ronacher reporter

    To make it install do this:

    • install libffi from brew as normally.
    • export LDFLAGS before installing
    • download cffi
    • manually make the compiler.compile check fail in the setup.py
  2. kunal_gandhi

    I understand that the format for LDFLAGS is LDFLAGS=-L<some path> -R<some path> but not sure what the path should be ?

    The error that I am seeing is very similar

     Complete output from command /Users/kugandhi/Dev/source/openstratus-keystone/.venv/bin/python -c "import setuptools;__file__='/Users/kugandhi/Dev/source/openstratus-keystone/.venv/build/cffi/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/pz/bhp1xyfx7v1b03r_lnt7ck8r38znjm/T/pip-_Zdzun-record/install-record.txt --single-version-externally-managed --install-headers /Users/kugandhi/Dev/source/openstratus-keystone/.venv/bin/../include/site/python2.7:
        running install
    
    running build
    
    running build_py
    
    creating build
    
    creating build/lib.macosx-10.7-intel-2.7
    
    creating build/lib.macosx-10.7-intel-2.7/cffi
    
    copying cffi/__init__.py -> build/lib.macosx-10.7-intel-2.7/cffi
    
    copying cffi/api.py -> build/lib.macosx-10.7-intel-2.7/cffi
    
    copying cffi/backend_ctypes.py -> build/lib.macosx-10.7-intel-2.7/cffi
    
    copying cffi/commontypes.py -> build/lib.macosx-10.7-intel-2.7/cffi
    
    copying cffi/cparser.py -> build/lib.macosx-10.7-intel-2.7/cffi
    
    copying cffi/ffiplatform.py -> build/lib.macosx-10.7-intel-2.7/cffi
    
    copying cffi/gc_weakref.py -> build/lib.macosx-10.7-intel-2.7/cffi
    
    copying cffi/lock.py -> build/lib.macosx-10.7-intel-2.7/cffi
    
    copying cffi/model.py -> build/lib.macosx-10.7-intel-2.7/cffi
    
    copying cffi/vengine_cpy.py -> build/lib.macosx-10.7-intel-2.7/cffi
    
    copying cffi/vengine_gen.py -> build/lib.macosx-10.7-intel-2.7/cffi
    
    copying cffi/verifier.py -> build/lib.macosx-10.7-intel-2.7/cffi
    
    running build_ext
    
    building '_cffi_backend' extension
    
    creating build/temp.macosx-10.7-intel-2.7
    
    creating build/temp.macosx-10.7-intel-2.7/c
    
    llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -DUSE__THREAD -I/usr/local/Cellar/libffi/3.0.11/lib/libffi-3.0.11/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c c/_cffi_backend.c -o build/temp.macosx-10.7-intel-2.7/c/_cffi_backend.o
    
    c/_cffi_backend.c:202: error: thread-local storage not supported for this target
    
    c/_cffi_backend.c:202: error: thread-local storage not supported for this target
    
    c/_cffi_backend.c: In function ctypedescr_new_on_top:
    
    c/_cffi_backend.c:245: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c:246: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function convert_to_object:
    
    c/_cffi_backend.c:855: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c:864: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c:874: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function convert_to_object_bitfield:
    
    c/_cffi_backend.c:910: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c:924: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function convert_from_object:
    
    c/_cffi_backend.c:1273: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c:1274: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c:1276: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c:1286: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c:1287: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c:1289: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c:1308: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function convert_from_object_bitfield:
    
    c/_cffi_backend.c:1403: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c:1405: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function get_alignment:
    
    c/_cffi_backend.c:1425: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function cdata_int:
    
    c/_cffi_backend.c:1678: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function cdata_float:
    
    c/_cffi_backend.c:1727: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function cdata_call:
    
    c/_cffi_backend.c:2373: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function _my_PyObject_AsBool:
    
    c/_cffi_backend.c:2861: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function cast_to_integer_or_char:
    
    c/_cffi_backend.c:2955: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function b_cast:
    
    c/_cffi_backend.c:3058: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function b_new_primitive_type:
    
    c/_cffi_backend.c:3379: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c:3397: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function _b_struct_or_union_type:
    
    c/_cffi_backend.c:3516: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function b_complete_struct_or_union:
    
    c/_cffi_backend.c:3810: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c:3843: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c:3851: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function fb_build_name:
    
    c/_cffi_backend.c:4130: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c:4145: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c:4158: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function fb_prepare_ctype:
    
    c/_cffi_backend.c:4178: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function fb_prepare_cif:
    
    c/_cffi_backend.c:4229: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    c/_cffi_backend.c: In function b_new_enum_type:
    
    c/_cffi_backend.c:4624: warning: implicit conversion shortens 64-bit value into a 32-bit value
    
    lipo: can't open input file: /var/folders/pz/bhp1xyfx7v1b03r_lnt7ck8r38znjm/T//ccsftjcV.out (No such file or directory)
    
    error: command 'llvm-gcc-4.2' failed with exit status 1
    
    ----------------------------------------
    Cleaning up...
    Command /Users/kugandhi/Dev/source/openstratus-keystone/.venv/bin/python -c "import setuptools;__file__='/Users/kugandhi/Dev/source/openstratus-keystone/.venv/build/cffi/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/pz/bhp1xyfx7v1b03r_lnt7ck8r38znjm/T/pip-_Zdzun-record/install-record.txt --single-version-externally-managed --install-headers /Users/kugandhi/Dev/source/openstratus-keystone/.venv/bin/../include/site/python2.7 failed with error code 1 in /Users/kugandhi/Dev/source/openstratus-keystone/.venv/build/cffi
    Traceback (most recent call last):
      File "/Users/kugandhi/Dev/source/openstratus-keystone/.venv/bin/pip", line 9, in <module>
        load_entry_point('pip==1.4.1', 'console_scripts', 'pip')()
      File "/Users/kugandhi/Dev/source/openstratus-keystone/.venv/lib/python2.7/site-packages/pip/__init__.py", line 148, in main
        return command.main(args[1:], options)
      File "/Users/kugandhi/Dev/source/openstratus-keystone/.venv/lib/python2.7/site-packages/pip/basecommand.py", line 169, in main
        text = '\n'.join(complete_log)
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 35: ordinal not in range(128)
    
  3. Armin Rigo

    Closing this, as the original problem appears to be resolved. kunal_gandhi: if you still have questions about usîng LDFLAGS on OS/X, please redirect them to the mailing list (I have little knowledge of OS/X-specific problems myself).

  4. Jim Ramberg

    I would like to suggest that you add the word "Warning" to the message so whomever is installing will realize that what they are seeing is not a bug that they are hitting. I had to read the issue to figure that out.

  5. Log in to comment