2014-08-05T23:37:28.29+0200 [API] ERR Encountered error: Staging error: failed to stage application: 2014-08-05T23:37:28.29+0200 [API] ERR Script exited with status 1 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:3397: error: ‘ffi_type_uint16’ undeclared (first use in this function) 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:3398: error: ‘ffi_type_uint32’ undeclared (first use in this function) 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:3399: error: ‘ffi_type_uint64’ undeclared (first use in this function) 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c: At top level: 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:3953: error: expected specifier-qualifier-list before ‘ffi_type’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:3972: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c: In function ‘fb_build’: 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4103: error: ‘struct funcbuilder_s’ has no member named ‘atypes’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4103: error: ‘ffi_type’ undeclared (first use in this function) 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4103: error: expected expression before ‘)’ token 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4104: error: ‘struct funcbuilder_s’ has no member named ‘nargs’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4107: error: ‘struct funcbuilder_s’ has no member named ‘rtype’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4107: warning: implicit declaration of function ‘fb_fill_type’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4115: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4118: error: ‘struct funcbuilder_s’ has no member named ‘rtype’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4119: error: ‘ffi_arg’ undeclared (first use in this function) 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4129: error: ‘atype’ undeclared (first use in this function) 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4142: error: ‘struct funcbuilder_s’ has no member named ‘atypes’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4143: error: ‘struct funcbuilder_s’ has no member named ‘atypes’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4146: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4153: error: ‘cif_description_t’ has no member named ‘exchange_size’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c: In function ‘fb_build_name’: 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4175: error: ‘struct funcbuilder_s’ has no member named ‘nargs’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4184: error: ‘struct funcbuilder_s’ has no member named ‘fct’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4186: error: ‘struct funcbuilder_s’ has no member named ‘fct’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c: In function ‘fb_prepare_ctype’: 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4227: error: ‘struct funcbuilder_s’ has no member named ‘fct’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4237: error: ‘struct funcbuilder_s’ has no member named ‘fct’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c: At top level: 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4257: error: expected declaration specifiers or ‘...’ before ‘ffi_abi’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c: In function ‘fb_prepare_cif’: 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4284: warning: implicit declaration of function ‘ffi_prep_cif’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4284: error: ‘cif_description_t’ has no member named ‘cif’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4284: error: ‘fabi’ undeclared (first use in this function) 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4284: error: ‘struct funcbuilder_s’ has no member named ‘nargs’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4285: error: ‘struct funcbuilder_s’ has no member named ‘rtype’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4285: error: ‘struct funcbuilder_s’ has no member named ‘atypes’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4285: error: ‘FFI_OK’ undeclared (first use in this function) 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c: In function ‘b_new_function_type’: 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4302: error: ‘FFI_DEFAULT_ABI’ undeclared (first use in this function) 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4340: error: too many arguments to function ‘fb_prepare_cif’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4348: error: ‘struct funcbuilder_s’ has no member named ‘nargs’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4358: error: ‘struct funcbuilder_s’ has no member named ‘nargs’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c: In function ‘convert_from_object_fficallback’: 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4382: error: ‘ffi_arg’ undeclared (first use in this function) 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c: At top level: 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4454: error: expected ‘)’ before ‘*’ token 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c: In function ‘b_callback’: 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4525: error: ‘ffi_closure’ undeclared (first use in this function) 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4525: error: ‘closure’ undeclared (first use in this function) 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4546: error: ‘ffi_arg’ undeclared (first use in this function) 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4564: warning: implicit declaration of function ‘cffi_closure_alloc’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4581: warning: implicit declaration of function ‘ffi_prep_closure’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4581: error: ‘cif_description_t’ has no member named ‘cif’ 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4582: error: ‘invoke_callback’ undeclared (first use in this function) 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:4582: error: ‘FFI_OK’ undeclared (first use in this function) 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c: In function ‘init_cffi_backend’: 2014-08-05T23:37:28.63+0200 [STG] OUT c/_cffi_backend.c:5511: error: ‘FFI_DEFAULT_ABI’ undeclared (first use in this function) 2014-08-05T23:37:28.63+0200 [STG] OUT Traceback (most recent call last): 2014-08-05T23:37:28.63+0200 [STG] OUT File "", line 16, in 2014-08-05T23:37:28.63+0200 [STG] OUT File "/tmp/pip-build-vcap/cryptography/setup.py", line 174, in 2014-08-05T23:37:28.63+0200 [STG] OUT "test": PyTest, 2014-08-05T23:37:28.63+0200 [STG] OUT File "/app/.heroku/python/lib/python2.7/distutils/core.py", line 112, in setup 2014-08-05T23:37:28.63+0200 [STG] OUT _setup_distribution = dist = klass(attrs) 2014-08-05T23:37:28.63+0200 [STG] OUT File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/setuptools/dist.py", line 221, in __init__ 2014-08-05T23:37:28.63+0200 [STG] OUT self.fetch_build_eggs(attrs.pop('setup_requires')) 2014-08-05T23:37:28.63+0200 [STG] OUT 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 2014-08-05T23:37:28.63+0200 [STG] OUT parse_requirements(requires), installer=self.fetch_build_egg 2014-08-05T23:37:28.63+0200 [STG] OUT File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 586, in resolve 2014-08-05T23:37:28.63+0200 [STG] OUT dist = best[req.key] = env.best_match(req, self, installer) 2014-08-05T23:37:28.63+0200 [STG] OUT File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 831, in best_match 2014-08-05T23:37:28.63+0200 [STG] OUT return self.obtain(req, installer) # try and download/install 2014-08-05T23:37:28.63+0200 [STG] OUT File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 843, in obtain 2014-08-05T23:37:28.63+0200 [STG] OUT return installer(requirement) 2014-08-05T23:37:28.63+0200 [STG] OUT 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 2014-08-05T23:37:28.63+0200 [STG] OUT return cmd.easy_install(req) 2014-08-05T23:37:28.63+0200 [STG] OUT 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 2014-08-05T23:37:28.63+0200 [STG] OUT return self.install_item(spec, dist.location, tmpdir, deps) 2014-08-05T23:37:28.63+0200 [STG] OUT 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 2014-08-05T23:37:28.63+0200 [STG] OUT dists = self.install_eggs(spec, download, tmpdir) 2014-08-05T23:37:28.63+0200 [STG] OUT 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 2014-08-05T23:37:28.63+0200 [STG] OUT return self.build_and_install(setup_script, setup_base) 2014-08-05T23:37:28.63+0200 [STG] OUT 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 2014-08-05T23:37:28.63+0200 [STG] OUT self.run_setup(setup_script, setup_base, args) 2014-08-05T23:37:28.63+0200 [STG] OUT 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 2014-08-05T23:37:28.63+0200 [STG] OUT raise DistutilsError("Setup script exited with %s" % (v.args[0],)) 2014-08-05T23:37:28.63+0200 [STG] OUT distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1 2014-08-05T23:37:28.63+0200 [STG] OUT ---------------------------------------- 2014-08-05T23:37:28.63+0200 [STG] OUT Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-vcap/cryptography 2014-08-05T23:37:28.63+0200 [STG] OUT Storing complete log in /home/vcap/.pip/pip.log 2014-08-05T23:37:28.65+0200 [STG] ERR /var/vcap/packages/dea_next/buildpacks/lib/installer.rb:19:in `compile': Buildpack compilation step failed: (RuntimeError) 2014-08-05T23:37:28.65+0200 [STG] ERR from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:74:in `block in compile_with_timeout' 2014-08-05T23:37:28.65+0200 [STG] ERR from /usr/lib/ruby/1.9.1/timeout.rb:68:in `timeout' 2014-08-05T23:37:28.65+0200 [STG] ERR from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:73:in `compile_with_timeout' 2014-08-05T23:37:28.65+0200 [STG] ERR from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:54:in `block in stage_application' 2014-08-05T23:37:28.65+0200 [STG] ERR from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:50:in `chdir' 2014-08-05T23:37:28.65+0200 [STG] ERR from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:50:in `stage_application' 2014-08-05T23:37:28.65+0200 [STG] ERR from /var/vcap/packages/dea_next/buildpacks/bin/run:10:in `
'