**** Failed to install cffi-1.7.0 (caused by: NonZeroExit("received exit code 1 during execution of `['/Users/jcohen/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.uqDWep/install/bin/python2.7', '-', 'bdist_egg', '--dist-dir=/var/folders/67/7q52jjm91kx7mwm7jsxj15jh0000gn/T/tmp9l8l9B']`",) ): stdout: running bdist_egg running egg_info writing requirements to cffi.egg-info/requires.txt writing cffi.egg-info/PKG-INFO writing top-level names to cffi.egg-info/top_level.txt writing dependency_links to cffi.egg-info/dependency_links.txt writing entry points to cffi.egg-info/entry_points.txt reading manifest file 'cffi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'cffi.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.4-x86_64/egg running install_lib running build_py creating build creating build/lib.macosx-10.4-x86_64-2.7 creating build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/__init__.py -> build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/api.py -> build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/backend_ctypes.py -> build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/cffi_opcode.py -> build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/commontypes.py -> build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/cparser.py -> build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/ffiplatform.py -> build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/lock.py -> build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/model.py -> build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/recompiler.py -> build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/setuptools_ext.py -> build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/vengine_cpy.py -> build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/vengine_gen.py -> build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/verifier.py -> build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/_cffi_include.h -> build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/parse_c_type.h -> build/lib.macosx-10.4-x86_64-2.7/cffi copying cffi/_embedding.h -> build/lib.macosx-10.4-x86_64-2.7/cffi running build_ext building '_cffi_backend' extension creating build/temp.macosx-10.4-x86_64-2.7 creating build/temp.macosx-10.4-x86_64-2.7/c /usr/bin/gcc -fno-strict-aliasing -I/tmp/python.91OyMm/readline/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include/ffi -I/usr/include/libffi -I/Users/jcohen/Python/CPython-2.7.10/include/python2.7 -c c/_cffi_backend.c -o build/temp.macosx-10.4-x86_64-2.7/c/_cffi_backend.o stderr: Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found _configtest.c:1:1: error: thread-local storage is not supported for the current target __thread int some_threadlocal_variable_42; ^ 1 error generated. Note: will not use '__thread' in the C code The above error message can be safely ignored c/_cffi_backend.c:15:10: fatal error: 'ffi.h' file not found #include ^ 1 error generated. error: command '/usr/bin/gcc' failed with exit status 1 Exception caught: () File "/Users/jcohen/.cache/pants/setup/bootstrap-Darwin-x86_64/1.2.0dev11/bin/pants", line 11, in sys.exit(main()) File "/Users/jcohen/.cache/pants/setup/bootstrap-Darwin-x86_64/1.2.0dev11/lib/python2.7/site-packages/pants/bin/pants_exe.py", line 44, in main PantsRunner(exiter).run() File "/Users/jcohen/.cache/pants/setup/bootstrap-Darwin-x86_64/1.2.0dev11/lib/python2.7/site-packages/pants/bin/pants_runner.py", line 57, in run options_bootstrapper=options_bootstrapper) File "/Users/jcohen/.cache/pants/setup/bootstrap-Darwin-x86_64/1.2.0dev11/lib/python2.7/site-packages/pants/bin/pants_runner.py", line 46, in _run return LocalPantsRunner(exiter, args, env, options_bootstrapper=options_bootstrapper).run() File "/Users/jcohen/.cache/pants/setup/bootstrap-Darwin-x86_64/1.2.0dev11/lib/python2.7/site-packages/pants/bin/local_pants_runner.py", line 53, in run self._maybe_profiled(self._run) File "/Users/jcohen/.cache/pants/setup/bootstrap-Darwin-x86_64/1.2.0dev11/lib/python2.7/site-packages/pants/bin/local_pants_runner.py", line 50, in _maybe_profiled runner() File "/Users/jcohen/.cache/pants/setup/bootstrap-Darwin-x86_64/1.2.0dev11/lib/python2.7/site-packages/pants/bin/local_pants_runner.py", line 59, in _run options, build_config = OptionsInitializer(options_bootstrapper, exiter=self._exiter).setup() File "/Users/jcohen/.cache/pants/setup/bootstrap-Darwin-x86_64/1.2.0dev11/lib/python2.7/site-packages/pants/bin/options_initializer.py", line 46, in __init__ self._working_set = working_set or PluginResolver(self._options_bootstrapper).resolve() File "/Users/jcohen/.cache/pants/setup/bootstrap-Darwin-x86_64/1.2.0dev11/lib/python2.7/site-packages/pants/bin/plugin_resolver.py", line 49, in resolve for plugin_location in self._resolve_plugin_locations(): File "/Users/jcohen/.cache/pants/setup/bootstrap-Darwin-x86_64/1.2.0dev11/lib/python2.7/site-packages/pants/bin/plugin_resolver.py", line 73, in _resolve_exact_plugin_locations for plugin in self._resolve_plugins(): File "/Users/jcohen/.cache/pants/setup/bootstrap-Darwin-x86_64/1.2.0dev11/lib/python2.7/site-packages/pants/bin/plugin_resolver.py", line 93, in _resolve_plugins cache_ttl=self._python_setup.resolver_cache_ttl) File "/Users/jcohen/.cache/pants/setup/bootstrap-Darwin-x86_64/1.2.0dev11/lib/python2.7/site-packages/pex/resolver.py", line 346, in resolve return resolver.resolve(resolvables_from_iterable(requirements, builder)) File "/Users/jcohen/.cache/pants/setup/bootstrap-Darwin-x86_64/1.2.0dev11/lib/python2.7/site-packages/pex/resolver.py", line 200, in resolve dist = self.build(package, resolvable.options) File "/Users/jcohen/.cache/pants/setup/bootstrap-Darwin-x86_64/1.2.0dev11/lib/python2.7/site-packages/pex/resolver.py", line 257, in build dist = super(CachingResolver, self).build(package, options) File "/Users/jcohen/.cache/pants/setup/bootstrap-Darwin-x86_64/1.2.0dev11/lib/python2.7/site-packages/pex/resolver.py", line 168, in build raise Untranslateable('Package %s is not translateable by %s' % (package, translator)) Exception message: Package SourcePackage(u'file:///Users/jcohen/.cache/pants/plugins/cffi-1.7.0.tar.gz') is not translateable by ChainedTranslator(EggTranslator, SourceTranslator)