Last active
August 29, 2015 14:01
-
-
Save HanSooloo/8a9290c032ed603f6cf4 to your computer and use it in GitHub Desktop.
libffi errors deploying to Heroku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(venv)x-wing-air13:dev user$ git push -u ffitst2 master | |
Fetching repository, done. | |
Counting objects: 5, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (3/3), done. | |
Writing objects: 100% (3/3), 296 bytes | 0 bytes/s, done. | |
Total 3 (delta 2), reused 0 (delta 0) | |
-----> Fetching custom git buildpack... done | |
-----> Python app detected | |
-----> Using Python runtime (python-2.7.6) | |
-----> Installing dependencies using Pip (1.3.1) | |
Downloading/unpacking cryptography==0.3 (from -r requirements.txt (line 5)) | |
Running setup.py egg_info for package cryptography | |
no previously-included directories found matching 'documentation/_build' | |
zip_safe flag not set; analyzing archive contents... | |
six: module references __file__ | |
six: module references __path__ | |
Installed /tmp/pip-build-u36179/cryptography/six-1.6.1-py2.7.egg | |
Searching for cffi>=0.8 | |
Reading http://pypi.python.org/simple/cffi/ | |
Best match: cffi 0.8.2 | |
Downloading https://pypi.python.org/packages/source/c/cffi/cffi-0.8.2.tar.gz#md5=37fc88c62f40d04e8a18192433f951ec | |
Processing cffi-0.8.2.tar.gz | |
Writing /tmp/easy_install-ZlvrLu/cffi-0.8.2/setup.cfg | |
Running cffi-0.8.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ZlvrLu/cffi-0.8.2/egg-dist-tmp-zjs0Ec | |
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 | |
cc -c c/check__thread.c -o c/check__thread.o | |
c/_cffi_backend.c:14:17: error: ffi.h: No such file or directory | |
In file included from c/_cffi_backend.c:21: | |
c/malloc_closure.h:33: error: expected specifier-qualifier-list before ‘ffi_closure’ | |
c/malloc_closure.h: In function ‘more_core’: | |
c/malloc_closure.h:69: warning: division by zero | |
c/malloc_closure.h:96: error: ‘union mmaped_block’ has no member named ‘next’ | |
c/malloc_closure.h: At top level: | |
c/malloc_closure.h:105: error: expected ‘)’ before ‘*’ token | |
c/malloc_closure.h:113: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token | |
c/_cffi_backend.c:187: error: expected specifier-qualifier-list before ‘ffi_cif’ | |
c/_cffi_backend.c: In function ‘cdataowninggc_dealloc’: | |
c/_cffi_backend.c:1499: error: ‘ffi_closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:1499: error: (Each undeclared identifier is reported only once | |
c/_cffi_backend.c:1499: error: for each function it appears in.) | |
c/_cffi_backend.c:1499: error: ‘closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:1499: error: expected expression before ‘)’ token | |
c/_cffi_backend.c:1502: warning: implicit declaration of function ‘cffi_closure_free’ | |
c/_cffi_backend.c: In function ‘cdataowninggc_traverse’: | |
c/_cffi_backend.c:1514: error: ‘ffi_closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:1514: error: ‘closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:1514: error: expected expression before ‘)’ token | |
c/_cffi_backend.c: In function ‘cdataowninggc_clear’: | |
c/_cffi_backend.c:1530: error: ‘ffi_closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:1530: error: ‘closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:1530: error: expected expression before ‘)’ token | |
c/_cffi_backend.c: In function ‘cdataowning_repr’: | |
c/_cffi_backend.c:1654: error: ‘ffi_closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:1654: error: expected expression before ‘)’ token | |
c/_cffi_backend.c: At top level: | |
c/_cffi_backend.c:2200: error: expected declaration specifiers or ‘...’ before ‘ffi_abi’ | |
c/_cffi_backend.c: In function ‘cdata_call’: | |
c/_cffi_backend.c:2334: error: ‘ffi_abi’ undeclared (first use in this function) | |
c/_cffi_backend.c:2334: error: expected ‘;’ before ‘fabi’ | |
c/_cffi_backend.c:2376: error: ‘fabi’ undeclared (first use in this function) | |
c/_cffi_backend.c:2380: error: too many arguments to function ‘fb_prepare_cif’ | |
c/_cffi_backend.c:2385: error: ‘cif_description_t’ has no member named ‘exchange_size’ | |
c/_cffi_backend.c:2395: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’ | |
c/_cffi_backend.c:2425: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’ | |
c/_cffi_backend.c:2430: warning: implicit declaration of function ‘ffi_call’ | |
c/_cffi_backend.c:2430: error: ‘cif_description_t’ has no member named ‘cif’ | |
c/_cffi_backend.c: In function ‘b_new_primitive_type’: | |
c/_cffi_backend.c:3334: error: ‘ffi_type’ undeclared (first use in this function) | |
c/_cffi_backend.c:3334: error: ‘ffitype’ undeclared (first use in this function) | |
c/_cffi_backend.c:3355: error: ‘ffi_type_sint8’ undeclared (first use in this function) | |
c/_cffi_backend.c:3356: error: ‘ffi_type_sint16’ undeclared (first use in this function) | |
c/_cffi_backend.c:3357: error: ‘ffi_type_sint32’ undeclared (first use in this function) | |
c/_cffi_backend.c:3358: error: ‘ffi_type_sint64’ undeclared (first use in this function) | |
c/_cffi_backend.c:3364: error: ‘ffi_type_float’ undeclared (first use in this function) | |
c/_cffi_backend.c:3366: error: ‘ffi_type_double’ undeclared (first use in this function) | |
c/_cffi_backend.c:3368: error: ‘ffi_type_longdouble’ undeclared (first use in this function) | |
c/_cffi_backend.c:3374: error: ‘ffi_type_uint8’ undeclared (first use in this function) | |
c/_cffi_backend.c:3375: error: ‘ffi_type_uint16’ undeclared (first use in this function) | |
c/_cffi_backend.c:3376: error: ‘ffi_type_uint32’ undeclared (first use in this function) | |
c/_cffi_backend.c:3377: error: ‘ffi_type_uint64’ undeclared (first use in this function) | |
c/_cffi_backend.c: At top level: | |
c/_cffi_backend.c:3931: error: expected specifier-qualifier-list before ‘ffi_type’ | |
c/_cffi_backend.c:3950: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token | |
c/_cffi_backend.c: In function ‘fb_build’: | |
c/_cffi_backend.c:4081: error: ‘struct funcbuilder_s’ has no member named ‘atypes’ | |
c/_cffi_backend.c:4081: error: ‘ffi_type’ undeclared (first use in this function) | |
c/_cffi_backend.c:4081: error: expected expression before ‘)’ token | |
c/_cffi_backend.c:4082: error: ‘struct funcbuilder_s’ has no member named ‘nargs’ | |
c/_cffi_backend.c:4085: error: ‘struct funcbuilder_s’ has no member named ‘rtype’ | |
c/_cffi_backend.c:4085: warning: implicit declaration of function ‘fb_fill_type’ | |
c/_cffi_backend.c:4093: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’ | |
c/_cffi_backend.c:4096: error: ‘struct funcbuilder_s’ has no member named ‘rtype’ | |
c/_cffi_backend.c:4097: error: ‘ffi_arg’ undeclared (first use in this function) | |
c/_cffi_backend.c:4107: error: ‘atype’ undeclared (first use in this function) | |
c/_cffi_backend.c:4120: error: ‘struct funcbuilder_s’ has no member named ‘atypes’ | |
c/_cffi_backend.c:4121: error: ‘struct funcbuilder_s’ has no member named ‘atypes’ | |
c/_cffi_backend.c:4124: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’ | |
c/_cffi_backend.c:4131: error: ‘cif_description_t’ has no member named ‘exchange_size’ | |
c/_cffi_backend.c: In function ‘fb_build_name’: | |
c/_cffi_backend.c:4153: error: ‘struct funcbuilder_s’ has no member named ‘nargs’ | |
c/_cffi_backend.c:4162: error: ‘struct funcbuilder_s’ has no member named ‘fct’ | |
c/_cffi_backend.c:4164: error: ‘struct funcbuilder_s’ has no member named ‘fct’ | |
c/_cffi_backend.c: In function ‘fb_prepare_ctype’: | |
c/_cffi_backend.c:4205: error: ‘struct funcbuilder_s’ has no member named ‘fct’ | |
c/_cffi_backend.c:4215: error: ‘struct funcbuilder_s’ has no member named ‘fct’ | |
c/_cffi_backend.c: At top level: | |
c/_cffi_backend.c:4235: error: expected declaration specifiers or ‘...’ before ‘ffi_abi’ | |
c/_cffi_backend.c: In function ‘fb_prepare_cif’: | |
c/_cffi_backend.c:4262: warning: implicit declaration of function ‘ffi_prep_cif’ | |
c/_cffi_backend.c:4262: error: ‘cif_description_t’ has no member named ‘cif’ | |
c/_cffi_backend.c:4262: error: ‘fabi’ undeclared (first use in this function) | |
c/_cffi_backend.c:4262: error: ‘struct funcbuilder_s’ has no member named ‘nargs’ | |
c/_cffi_backend.c:4263: error: ‘struct funcbuilder_s’ has no member named ‘rtype’ | |
c/_cffi_backend.c:4263: error: ‘struct funcbuilder_s’ has no member named ‘atypes’ | |
c/_cffi_backend.c:4263: error: ‘FFI_OK’ undeclared (first use in this function) | |
c/_cffi_backend.c: In function ‘b_new_function_type’: | |
c/_cffi_backend.c:4280: error: ‘FFI_DEFAULT_ABI’ undeclared (first use in this function) | |
c/_cffi_backend.c:4318: error: too many arguments to function ‘fb_prepare_cif’ | |
c/_cffi_backend.c:4326: error: ‘struct funcbuilder_s’ has no member named ‘nargs’ | |
c/_cffi_backend.c:4336: error: ‘struct funcbuilder_s’ has no member named ‘nargs’ | |
c/_cffi_backend.c: In function ‘convert_from_object_fficallback’: | |
c/_cffi_backend.c:4360: error: ‘ffi_arg’ undeclared (first use in this function) | |
c/_cffi_backend.c: At top level: | |
c/_cffi_backend.c:4432: error: expected ‘)’ before ‘*’ token | |
c/_cffi_backend.c: In function ‘b_callback’: | |
c/_cffi_backend.c:4503: error: ‘ffi_closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:4503: error: ‘closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:4524: error: ‘ffi_arg’ undeclared (first use in this function) | |
c/_cffi_backend.c:4542: warning: implicit declaration of function ‘cffi_closure_alloc’ | |
c/_cffi_backend.c:4559: warning: implicit declaration of function ‘ffi_prep_closure’ | |
c/_cffi_backend.c:4559: error: ‘cif_description_t’ has no member named ‘cif’ | |
c/_cffi_backend.c:4560: error: ‘invoke_callback’ undeclared (first use in this function) | |
c/_cffi_backend.c:4560: error: ‘FFI_OK’ undeclared (first use in this function) | |
c/_cffi_backend.c: In function ‘init_cffi_backend’: | |
c/_cffi_backend.c:5489: error: ‘FFI_DEFAULT_ABI’ undeclared (first use in this function) | |
Traceback (most recent call last): | |
File "<string>", line 16, in <module> | |
File "/tmp/pip-build-u36179/cryptography/setup.py", line 156, in <module> | |
"test": PyTest, | |
File "/app/.heroku/python/lib/python2.7/distutils/core.py", line 112, in setup | |
_setup_distribution = dist = klass(attrs) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/dist.py", line 221, in __init__ | |
self.fetch_build_eggs(attrs.pop('setup_requires')) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/dist.py", line 245, in fetch_build_eggs | |
parse_requirements(requires), installer=self.fetch_build_egg | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 586, in resolve | |
dist = best[req.key] = env.best_match(req, self, installer) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 831, in best_match | |
return self.obtain(req, installer) # try and download/install | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 843, in obtain | |
return installer(requirement) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/dist.py", line 295, in fetch_build_egg | |
return cmd.easy_install(req) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/command/easy_install.py", line 602, in easy_install | |
return self.install_item(spec, dist.location, tmpdir, deps) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/command/easy_install.py", line 632, in install_item | |
dists = self.install_eggs(spec, download, tmpdir) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/command/easy_install.py", line 827, in install_eggs | |
return self.build_and_install(setup_script, setup_base) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/command/easy_install.py", line 1107, in build_and_install | |
self.run_setup(setup_script, setup_base, args) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/command/easy_install.py", line 1095, in run_setup | |
raise DistutilsError("Setup script exited with %s" % (v.args[0],)) | |
distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1 | |
Complete output from command python setup.py egg_info: | |
no previously-included directories found matching 'documentation/_build' | |
zip_safe flag not set; analyzing archive contents... | |
six: module references __file__ | |
six: module references __path__ | |
Installed /tmp/pip-build-u36179/cryptography/six-1.6.1-py2.7.egg | |
Searching for cffi>=0.8 | |
Reading http://pypi.python.org/simple/cffi/ | |
Best match: cffi 0.8.2 | |
Downloading https://pypi.python.org/packages/source/c/cffi/cffi-0.8.2.tar.gz#md5=37fc88c62f40d04e8a18192433f951ec | |
Processing cffi-0.8.2.tar.gz | |
Writing /tmp/easy_install-ZlvrLu/cffi-0.8.2/setup.cfg | |
Running cffi-0.8.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ZlvrLu/cffi-0.8.2/egg-dist-tmp-zjs0Ec | |
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 | |
cc -c c/check__thread.c -o c/check__thread.o | |
c/_cffi_backend.c:14:17: error: ffi.h: No such file or directory | |
In file included from c/_cffi_backend.c:21: | |
c/malloc_closure.h:33: error: expected specifier-qualifier-list before ‘ffi_closure’ | |
c/malloc_closure.h: In function ‘more_core’: | |
c/malloc_closure.h:69: warning: division by zero | |
c/malloc_closure.h:96: error: ‘union mmaped_block’ has no member named ‘next’ | |
c/malloc_closure.h: At top level: | |
c/malloc_closure.h:105: error: expected ‘)’ before ‘*’ token | |
c/malloc_closure.h:113: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token | |
c/_cffi_backend.c:187: error: expected specifier-qualifier-list before ‘ffi_cif’ | |
c/_cffi_backend.c: In function ‘cdataowninggc_dealloc’: | |
c/_cffi_backend.c:1499: error: ‘ffi_closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:1499: error: (Each undeclared identifier is reported only once | |
c/_cffi_backend.c:1499: error: for each function it appears in.) | |
c/_cffi_backend.c:1499: error: ‘closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:1499: error: expected expression before ‘)’ token | |
c/_cffi_backend.c:1502: warning: implicit declaration of function ‘cffi_closure_free’ | |
c/_cffi_backend.c: In function ‘cdataowninggc_traverse’: | |
c/_cffi_backend.c:1514: error: ‘ffi_closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:1514: error: ‘closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:1514: error: expected expression before ‘)’ token | |
c/_cffi_backend.c: In function ‘cdataowninggc_clear’: | |
c/_cffi_backend.c:1530: error: ‘ffi_closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:1530: error: ‘closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:1530: error: expected expression before ‘)’ token | |
c/_cffi_backend.c: In function ‘cdataowning_repr’: | |
c/_cffi_backend.c:1654: error: ‘ffi_closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:1654: error: expected expression before ‘)’ token | |
c/_cffi_backend.c: At top level: | |
c/_cffi_backend.c:2200: error: expected declaration specifiers or ‘...’ before ‘ffi_abi’ | |
c/_cffi_backend.c: In function ‘cdata_call’: | |
c/_cffi_backend.c:2334: error: ‘ffi_abi’ undeclared (first use in this function) | |
c/_cffi_backend.c:2334: error: expected ‘;’ before ‘fabi’ | |
c/_cffi_backend.c:2376: error: ‘fabi’ undeclared (first use in this function) | |
c/_cffi_backend.c:2380: error: too many arguments to function ‘fb_prepare_cif’ | |
c/_cffi_backend.c:2385: error: ‘cif_description_t’ has no member named ‘exchange_size’ | |
c/_cffi_backend.c:2395: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’ | |
c/_cffi_backend.c:2425: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’ | |
c/_cffi_backend.c:2430: warning: implicit declaration of function ‘ffi_call’ | |
c/_cffi_backend.c:2430: error: ‘cif_description_t’ has no member named ‘cif’ | |
c/_cffi_backend.c: In function ‘b_new_primitive_type’: | |
c/_cffi_backend.c:3334: error: ‘ffi_type’ undeclared (first use in this function) | |
c/_cffi_backend.c:3334: error: ‘ffitype’ undeclared (first use in this function) | |
c/_cffi_backend.c:3355: error: ‘ffi_type_sint8’ undeclared (first use in this function) | |
c/_cffi_backend.c:3356: error: ‘ffi_type_sint16’ undeclared (first use in this function) | |
c/_cffi_backend.c:3357: error: ‘ffi_type_sint32’ undeclared (first use in this function) | |
c/_cffi_backend.c:3358: error: ‘ffi_type_sint64’ undeclared (first use in this function) | |
c/_cffi_backend.c:3364: error: ‘ffi_type_float’ undeclared (first use in this function) | |
c/_cffi_backend.c:3366: error: ‘ffi_type_double’ undeclared (first use in this function) | |
c/_cffi_backend.c:3368: error: ‘ffi_type_longdouble’ undeclared (first use in this function) | |
c/_cffi_backend.c:3374: error: ‘ffi_type_uint8’ undeclared (first use in this function) | |
c/_cffi_backend.c:3375: error: ‘ffi_type_uint16’ undeclared (first use in this function) | |
c/_cffi_backend.c:3376: error: ‘ffi_type_uint32’ undeclared (first use in this function) | |
c/_cffi_backend.c:3377: error: ‘ffi_type_uint64’ undeclared (first use in this function) | |
c/_cffi_backend.c: At top level: | |
c/_cffi_backend.c:3931: error: expected specifier-qualifier-list before ‘ffi_type’ | |
c/_cffi_backend.c:3950: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token | |
c/_cffi_backend.c: In function ‘fb_build’: | |
c/_cffi_backend.c:4081: error: ‘struct funcbuilder_s’ has no member named ‘atypes’ | |
c/_cffi_backend.c:4081: error: ‘ffi_type’ undeclared (first use in this function) | |
c/_cffi_backend.c:4081: error: expected expression before ‘)’ token | |
c/_cffi_backend.c:4082: error: ‘struct funcbuilder_s’ has no member named ‘nargs’ | |
c/_cffi_backend.c:4085: error: ‘struct funcbuilder_s’ has no member named ‘rtype’ | |
c/_cffi_backend.c:4085: warning: implicit declaration of function ‘fb_fill_type’ | |
c/_cffi_backend.c:4093: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’ | |
c/_cffi_backend.c:4096: error: ‘struct funcbuilder_s’ has no member named ‘rtype’ | |
c/_cffi_backend.c:4097: error: ‘ffi_arg’ undeclared (first use in this function) | |
c/_cffi_backend.c:4107: error: ‘atype’ undeclared (first use in this function) | |
c/_cffi_backend.c:4120: error: ‘struct funcbuilder_s’ has no member named ‘atypes’ | |
c/_cffi_backend.c:4121: error: ‘struct funcbuilder_s’ has no member named ‘atypes’ | |
c/_cffi_backend.c:4124: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’ | |
c/_cffi_backend.c:4131: error: ‘cif_description_t’ has no member named ‘exchange_size’ | |
c/_cffi_backend.c: In function ‘fb_build_name’: | |
c/_cffi_backend.c:4153: error: ‘struct funcbuilder_s’ has no member named ‘nargs’ | |
c/_cffi_backend.c:4162: error: ‘struct funcbuilder_s’ has no member named ‘fct’ | |
c/_cffi_backend.c:4164: error: ‘struct funcbuilder_s’ has no member named ‘fct’ | |
c/_cffi_backend.c: In function ‘fb_prepare_ctype’: | |
c/_cffi_backend.c:4205: error: ‘struct funcbuilder_s’ has no member named ‘fct’ | |
c/_cffi_backend.c:4215: error: ‘struct funcbuilder_s’ has no member named ‘fct’ | |
c/_cffi_backend.c: At top level: | |
c/_cffi_backend.c:4235: error: expected declaration specifiers or ‘...’ before ‘ffi_abi’ | |
c/_cffi_backend.c: In function ‘fb_prepare_cif’: | |
c/_cffi_backend.c:4262: warning: implicit declaration of function ‘ffi_prep_cif’ | |
c/_cffi_backend.c:4262: error: ‘cif_description_t’ has no member named ‘cif’ | |
c/_cffi_backend.c:4262: error: ‘fabi’ undeclared (first use in this function) | |
c/_cffi_backend.c:4262: error: ‘struct funcbuilder_s’ has no member named ‘nargs’ | |
c/_cffi_backend.c:4263: error: ‘struct funcbuilder_s’ has no member named ‘rtype’ | |
c/_cffi_backend.c:4263: error: ‘struct funcbuilder_s’ has no member named ‘atypes’ | |
c/_cffi_backend.c:4263: error: ‘FFI_OK’ undeclared (first use in this function) | |
c/_cffi_backend.c: In function ‘b_new_function_type’: | |
c/_cffi_backend.c:4280: error: ‘FFI_DEFAULT_ABI’ undeclared (first use in this function) | |
c/_cffi_backend.c:4318: error: too many arguments to function ‘fb_prepare_cif’ | |
c/_cffi_backend.c:4326: error: ‘struct funcbuilder_s’ has no member named ‘nargs’ | |
c/_cffi_backend.c:4336: error: ‘struct funcbuilder_s’ has no member named ‘nargs’ | |
c/_cffi_backend.c: In function ‘convert_from_object_fficallback’: | |
c/_cffi_backend.c:4360: error: ‘ffi_arg’ undeclared (first use in this function) | |
c/_cffi_backend.c: At top level: | |
c/_cffi_backend.c:4432: error: expected ‘)’ before ‘*’ token | |
c/_cffi_backend.c: In function ‘b_callback’: | |
c/_cffi_backend.c:4503: error: ‘ffi_closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:4503: error: ‘closure’ undeclared (first use in this function) | |
c/_cffi_backend.c:4524: error: ‘ffi_arg’ undeclared (first use in this function) | |
c/_cffi_backend.c:4542: warning: implicit declaration of function ‘cffi_closure_alloc’ | |
c/_cffi_backend.c:4559: warning: implicit declaration of function ‘ffi_prep_closure’ | |
c/_cffi_backend.c:4559: error: ‘cif_description_t’ has no member named ‘cif’ | |
c/_cffi_backend.c:4560: error: ‘invoke_callback’ undeclared (first use in this function) | |
c/_cffi_backend.c:4560: error: ‘FFI_OK’ undeclared (first use in this function) | |
c/_cffi_backend.c: In function ‘init_cffi_backend’: | |
c/_cffi_backend.c:5489: error: ‘FFI_DEFAULT_ABI’ undeclared (first use in this function) | |
Traceback (most recent call last): | |
File "<string>", line 16, in <module> | |
File "/tmp/pip-build-u36179/cryptography/setup.py", line 156, in <module> | |
"test": PyTest, | |
File "/app/.heroku/python/lib/python2.7/distutils/core.py", line 112, in setup | |
_setup_distribution = dist = klass(attrs) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/dist.py", line 221, in __init__ | |
self.fetch_build_eggs(attrs.pop('setup_requires')) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/dist.py", line 245, in fetch_build_eggs | |
parse_requirements(requires), installer=self.fetch_build_egg | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 586, in resolve | |
dist = best[req.key] = env.best_match(req, self, installer) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 831, in best_match | |
return self.obtain(req, installer) # try and download/install | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 843, in obtain | |
return installer(requirement) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/dist.py", line 295, in fetch_build_egg | |
return cmd.easy_install(req) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/command/easy_install.py", line 602, in easy_install | |
return self.install_item(spec, dist.location, tmpdir, deps) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/command/easy_install.py", line 632, in install_item | |
dists = self.install_eggs(spec, download, tmpdir) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/command/easy_install.py", line 827, in install_eggs | |
return self.build_and_install(setup_script, setup_base) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/command/easy_install.py", line 1107, in build_and_install | |
self.run_setup(setup_script, setup_base, args) | |
File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/command/easy_install.py", line 1095, in run_setup | |
raise DistutilsError("Setup script exited with %s" % (v.args[0],)) | |
distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1 | |
---------------------------------------- | |
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-u36179/cryptography | |
Storing complete log in /app/.pip/pip.log | |
! Push rejected, failed to compile Python app | |
To git@heroku.com:ffitst2.git | |
! [remote rejected] master -> master (pre-receive hook declined) | |
error: failed to push some refs to 'git@heroku.com:ffitst2.git' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment