thoth-station / analyzer

Analyzer library for the Thoth project
https://thoth-station.github.io/
GNU General Public License v3.0
0 stars 10 forks source link

Failed to update dependencies to their latest version #197

Closed sesheta closed 5 years ago

sesheta commented 5 years ago

Automatic dependency update failed for the current master with SHA 6346909f9644177a433e59c08de1544b8745eeff.

The automatic dependency management cannot continue. Please fix errors reported bellow.

Command
  $ pipenv update --dev
Standard output ``` Running $ pipenv lock then $ pipenv sync. Installing dependencies from Pipfile.lock (8ed576)… Installing initially failed dependencies… ```
Standard error ``` Creating a virtualenv for this project… Pipfile: /tmp/tmpbd71v681/Pipfile Using /usr/bin/python3 (3.6.8) to create virtualenv… Already using interpreter /usr/bin/python3 Using base prefix '/usr' No LICENSE.txt / LICENSE found in source New python executable in /tmp/tmpbd71v681/.venv/bin/python3 Also creating executable in /tmp/tmpbd71v681/.venv/bin/python Installing setuptools, pip, wheel... done. Virtualenv location: /tmp/tmpbd71v681/.venv Locking [dev-packages] dependencies… Locking [packages] dependencies… Updated Pipfile.lock (8ed576)! An error occurred while installing cffi==1.13.0 --hash=sha256:8fe230f612c18af1df6f348d02d682fe2c28ca0a6c3856c99599cdacae7cf226! Will try again. [pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 2611, in do_sync [pipenv.exceptions.InstallError]: system=system, [pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 1253, in do_init [pipenv.exceptions.InstallError]: pypi_mirror=pypi_mirror, [pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 859, in do_install_dependencies [pipenv.exceptions.InstallError]: retry_list, procs, failed_deps_queue, requirements_dir, **install_kwargs [pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 763, in batch_install [pipenv.exceptions.InstallError]: _cleanup_procs(procs, not blocking, failed_deps_queue, retry=retry) [pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 681, in _cleanup_procs [pipenv.exceptions.InstallError]: raise exceptions.InstallError(c.dep.name, extra=err_lines) [pipenv.exceptions.InstallError]: ['Looking in indexes: https://pypi.python.org/simple', 'Collecting cffi==1.13.0', ' Using cached https://files.pythonhosted.org/packages/d6/cf/ba7e2df852a2fc807d48b3f7bea46f741830be4f047a0712e6de3e95fb6a/cffi-1.13.0.tar.gz', 'Building wheels for collected packages: cffi', ' Building wheel for cffi (setup.py): started', " Building wheel for cffi (setup.py): finished with status 'error'", ' Running setup.py clean for cffi', 'Failed to build cffi', 'Installing collected packages: cffi', ' Running setup.py install for cffi: started', " Running setup.py install for cffi: finished with status 'error'"] [pipenv.exceptions.InstallError]: ['ERROR: Command errored out with exit status 1:', ' command: /tmp/tmpbd71v681/.venv/bin/python3 -u -c \'import sys, setuptools, tokenize; sys.argv[0] = \'"\'"\'/tmp/pip-install-wroa6mo9/cffi/setup.py\'"\'"\'; __file__=\'"\'"\'/tmp/pip-install-wroa6mo9/cffi/setup.py\'"\'"\';f=getattr(tokenize, \'"\'"\'open\'"\'"\', open)(__file__);code=f.read().replace(\'"\'"\'\\r\\n\'"\'"\', \'"\'"\'\\n\'"\'"\');f.close();exec(compile(code, __file__, \'"\'"\'exec\'"\'"\'))\' bdist_wheel -d /tmp/pip-wheel-dz_gpxzb --python-tag cp36', ' cwd: /tmp/pip-install-wroa6mo9/cffi/', ' Complete output (58 lines):', ' 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', " Package 'libffi', required by 'virtual:world', not 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', " Package 'libffi', required by 'virtual:world', not 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', " Package 'libffi', required by 'virtual:world', not 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', " Package 'libffi', required by 'virtual:world', not 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', " Package 'libffi', required by 'virtual:world', not found", ' running bdist_wheel', ' running build', ' running build_py', ' creating build', ' creating build/lib.linux-x86_64-3.6', ' creating build/lib.linux-x86_64-3.6/cffi', ' copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/model.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/commontypes.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/error.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/cparser.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/api.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/lock.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/__init__.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/verifier.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/recompiler.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/_embedding.h -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.6/cffi', ' warning: build_py: byte-compiling is disabled, skipping.', ' ', ' running build_ext', " building '_cffi_backend' extension", ' creating build/temp.linux-x86_64-3.6', ' creating build/temp.linux-x86_64-3.6/c', ' gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.6m -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.6/c/_cffi_backend.o', ' c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory', ' #include ', ' ^~~~~~~', ' compilation terminated.', " error: command 'gcc' failed with exit status 1", ' ----------------------------------------', ' ERROR: Failed building wheel for cffi', ' ERROR: Command errored out with exit status 1:', ' command: /tmp/tmpbd71v681/.venv/bin/python3 -u -c \'import sys, setuptools, tokenize; sys.argv[0] = \'"\'"\'/tmp/pip-install-wroa6mo9/cffi/setup.py\'"\'"\'; __file__=\'"\'"\'/tmp/pip-install-wroa6mo9/cffi/setup.py\'"\'"\';f=getattr(tokenize, \'"\'"\'open\'"\'"\', open)(__file__);code=f.read().replace(\'"\'"\'\\r\\n\'"\'"\', \'"\'"\'\\n\'"\'"\');f.close();exec(compile(code, __file__, \'"\'"\'exec\'"\'"\'))\' install --record /tmp/pip-record-p6eh2eet/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/tmpbd71v681/.venv/include/site/python3.6/cffi', ' cwd: /tmp/pip-install-wroa6mo9/cffi/', ' Complete output (58 lines):', ' 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', " Package 'libffi', required by 'virtual:world', not 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', " Package 'libffi', required by 'virtual:world', not 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', " Package 'libffi', required by 'virtual:world', not 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', " Package 'libffi', required by 'virtual:world', not 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', " Package 'libffi', required by 'virtual:world', not found", ' running install', ' running build', ' running build_py', ' creating build', ' creating build/lib.linux-x86_64-3.6', ' creating build/lib.linux-x86_64-3.6/cffi', ' copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/model.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/commontypes.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/error.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/cparser.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/api.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/lock.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/__init__.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/verifier.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/recompiler.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/_embedding.h -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.6/cffi', ' warning: build_py: byte-compiling is disabled, skipping.', ' ', ' running build_ext', " building '_cffi_backend' extension", ' creating build/temp.linux-x86_64-3.6', ' creating build/temp.linux-x86_64-3.6/c', ' gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.6m -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.6/c/_cffi_backend.o', ' c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory', ' #include ', ' ^~~~~~~', ' compilation terminated.', " error: command 'gcc' failed with exit status 1", ' ----------------------------------------', 'ERROR: Command errored out with exit status 1: /tmp/tmpbd71v681/.venv/bin/python3 -u -c \'import sys, setuptools, tokenize; sys.argv[0] = \'"\'"\'/tmp/pip-install-wroa6mo9/cffi/setup.py\'"\'"\'; __file__=\'"\'"\'/tmp/pip-install-wroa6mo9/cffi/setup.py\'"\'"\';f=getattr(tokenize, \'"\'"\'open\'"\'"\', open)(__file__);code=f.read().replace(\'"\'"\'\\r\\n\'"\'"\', \'"\'"\'\\n\'"\'"\');f.close();exec(compile(code, __file__, \'"\'"\'exec\'"\'"\'))\' install --record /tmp/pip-record-p6eh2eet/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/tmpbd71v681/.venv/include/site/python3.6/cffi Check the logs for full command output.'] ERROR: ERROR: Package installation failed... ```
Environment details ``` Kebechet version: 1.0.0 Python version: 3.6.8 Platform: Linux-3.10.0-957.21.2.el7.x86_64-x86_64-with-fedora-28-Twenty_Eight pipenv version: pipenv, version 2018.11.26 ```
Dependency graph ``` Unable to obtain dependency graph: An error occurred while installing thoth-common! Will try again. [pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 1874, in do_install [pipenv.exceptions.InstallError]: keep_outdated=keep_outdated [pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 1253, in do_init [pipenv.exceptions.InstallError]: pypi_mirror=pypi_mirror, [pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 859, in do_install_dependencies [pipenv.exceptions.InstallError]: retry_list, procs, failed_deps_queue, requirements_dir, **install_kwargs [pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 763, in batch_install [pipenv.exceptions.InstallError]: _cleanup_procs(procs, not blocking, failed_deps_queue, retry=retry) [pipenv.exceptions.InstallError]: File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 681, in _cleanup_procs [pipenv.exceptions.InstallError]: raise exceptions.InstallError(c.dep.name, extra=err_lines) [pipenv.exceptions.InstallError]: ['Looking in indexes: https://pypi.python.org/simple', 'Requirement already up-to-date: thoth-common in ./.venv/lib/python3.6/site-packages (0.9.14)', 'Requirement already satisfied, skipping upgrade: attrs in ./.venv/lib/python3.6/site-packages (from thoth-common) (19.3.0)', 'Requirement already satisfied, skipping upgrade: openshift==0.8.0 in ./.venv/lib/python3.6/site-packages (from thoth-common) (0.8.0)', 'Requirement already satisfied, skipping upgrade: pyyaml in ./.venv/lib/python3.6/site-packages (from thoth-common) (3.13)', 'Requirement already satisfied, skipping upgrade: requests in ./.venv/lib/python3.6/site-packages (from thoth-common) (2.22.0)', 'Requirement already satisfied, skipping upgrade: daiquiri in ./.venv/lib/python3.6/site-packages (from thoth-common) (1.6.0)', 'Requirement already satisfied, skipping upgrade: sentry-sdk in ./.venv/lib/python3.6/site-packages (from thoth-common) (0.12.3)', 'Requirement already satisfied, skipping upgrade: rfc5424-logging-handler in ./.venv/lib/python3.6/site-packages (from thoth-common) (1.4.3)', 'Requirement already satisfied, skipping upgrade: python-string-utils in ./.venv/lib/python3.6/site-packages (from openshift==0.8.0->thoth-common) (0.6.0)', 'Requirement already satisfied, skipping upgrade: kubernetes<9.0.0,>=8.0.0 in ./.venv/lib/python3.6/site-packages (from openshift==0.8.0->thoth-common) (8.0.2)', 'Requirement already satisfied, skipping upgrade: jinja2 in ./.venv/lib/python3.6/site-packages (from openshift==0.8.0->thoth-common) (2.10.3)', 'Requirement already satisfied, skipping upgrade: ruamel.yaml>=0.15 in ./.venv/lib/python3.6/site-packages (from openshift==0.8.0->thoth-common) (0.16.5)', 'Requirement already satisfied, skipping upgrade: dictdiffer in ./.venv/lib/python3.6/site-packages (from openshift==0.8.0->thoth-common) (0.8.0)', 'Requirement already satisfied, skipping upgrade: six in ./.venv/lib/python3.6/site-packages (from openshift==0.8.0->thoth-common) (1.12.0)', 'Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in ./.venv/lib/python3.6/site-packages (from requests->thoth-common) (2019.9.11)', 'Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in ./.venv/lib/python3.6/site-packages (from requests->thoth-common) (1.25.6)', 'Requirement already satisfied, skipping upgrade: idna<2.9,>=2.5 in ./.venv/lib/python3.6/site-packages (from requests->thoth-common) (2.8)', 'Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in ./.venv/lib/python3.6/site-packages (from requests->thoth-common) (3.0.4)', 'Requirement already satisfied, skipping upgrade: tzlocal in ./.venv/lib/python3.6/site-packages (from rfc5424-logging-handler->thoth-common) (2.0.0)', 'Requirement already satisfied, skipping upgrade: pytz in ./.venv/lib/python3.6/site-packages (from rfc5424-logging-handler->thoth-common) (2019.3)', 'Requirement already satisfied, skipping upgrade: websocket-client!=0.40.0,!=0.41.*,!=0.42.*,>=0.32.0 in ./.venv/lib/python3.6/site-packages (from kubernetes<9.0.0,>=8.0.0->openshift==0.8.0->thoth-common) (0.56.0)', 'Requirement already satisfied, skipping upgrade: requests-oauthlib in ./.venv/lib/python3.6/site-packages (from kubernetes<9.0.0,>=8.0.0->openshift==0.8.0->thoth-common) (1.2.0)', 'Requirement already satisfied, skipping upgrade: google-auth>=1.0.1 in ./.venv/lib/python3.6/site-packages (from kubernetes<9.0.0,>=8.0.0->openshift==0.8.0->thoth-common) (1.6.3)', 'Requirement already satisfied, skipping upgrade: python-dateutil>=2.5.3 in ./.venv/lib/python3.6/site-packages (from kubernetes<9.0.0,>=8.0.0->openshift==0.8.0->thoth-common) (2.8.0)', 'Requirement already satisfied, skipping upgrade: adal>=1.0.2 in ./.venv/lib/python3.6/site-packages (from kubernetes<9.0.0,>=8.0.0->openshift==0.8.0->thoth-common) (1.2.2)', 'Requirement already satisfied, skipping upgrade: setuptools>=21.0.0 in ./.venv/lib/python3.6/site-packages (from kubernetes<9.0.0,>=8.0.0->openshift==0.8.0->thoth-common) (41.4.0)', 'Requirement already satisfied, skipping upgrade: MarkupSafe>=0.23 in ./.venv/lib/python3.6/site-packages (from jinja2->openshift==0.8.0->thoth-common) (1.1.1)', 'Requirement already satisfied, skipping upgrade: ruamel.yaml.clib>=0.1.2; platform_python_implementation == "CPython" and python_version < "3.8" in ./.venv/lib/python3.6/site-packages (from ruamel.yaml>=0.15->openshift==0.8.0->thoth-common) (0.2.0)', 'Requirement already satisfied, skipping upgrade: oauthlib>=3.0.0 in ./.venv/lib/python3.6/site-packages (from requests-oauthlib->kubernetes<9.0.0,>=8.0.0->openshift==0.8.0->thoth-common) (3.1.0)', 'Requirement already satisfied, skipping upgrade: rsa>=3.1.4 in ./.venv/lib/python3.6/site-packages (from google-auth>=1.0.1->kubernetes<9.0.0,>=8.0.0->openshift==0.8.0->thoth-common) (4.0)', 'Requirement already satisfied, skipping upgrade: pyasn1-modules>=0.2.1 in ./.venv/lib/python3.6/site-packages (from google-auth>=1.0.1->kubernetes<9.0.0,>=8.0.0->openshift==0.8.0->thoth-common) (0.2.7)', 'Requirement already satisfied, skipping upgrade: cachetools>=2.0.0 in ./.venv/lib/python3.6/site-packages (from google-auth>=1.0.1->kubernetes<9.0.0,>=8.0.0->openshift==0.8.0->thoth-common) (3.1.1)', 'Requirement already satisfied, skipping upgrade: cryptography>=1.1.0 in ./.venv/lib/python3.6/site-packages (from adal>=1.0.2->kubernetes<9.0.0,>=8.0.0->openshift==0.8.0->thoth-common) (2.7)', 'Requirement already satisfied, skipping upgrade: PyJWT>=1.0.0 in ./.venv/lib/python3.6/site-packages (from adal>=1.0.2->kubernetes<9.0.0,>=8.0.0->openshift==0.8.0->thoth-common) (1.7.1)', 'Requirement already satisfied, skipping upgrade: pyasn1>=0.1.3 in ./.venv/lib/python3.6/site-packages (from rsa>=3.1.4->google-auth>=1.0.1->kubernetes<9.0.0,>=8.0.0->openshift==0.8.0->thoth-common) (0.4.7)', 'Requirement already satisfied, skipping upgrade: asn1crypto>=0.21.0 in ./.venv/lib/python3.6/site-packages (from cryptography>=1.1.0->adal>=1.0.2->kubernetes<9.0.0,>=8.0.0->openshift==0.8.0->thoth-common) (1.1.0)', 'Collecting cffi!=1.11.3,>=1.8', ' Using cached https://files.pythonhosted.org/packages/d6/cf/ba7e2df852a2fc807d48b3f7bea46f741830be4f047a0712e6de3e95fb6a/cffi-1.13.0.tar.gz', 'Requirement already satisfied, skipping upgrade: pycparser in ./.venv/lib/python3.6/site-packages (from cffi!=1.11.3,>=1.8->cryptography>=1.1.0->adal>=1.0.2->kubernetes<9.0.0,>=8.0.0->openshift==0.8.0->thoth-common) (2.19)', 'Building wheels for collected packages: cffi', ' Building wheel for cffi (setup.py): started', " Building wheel for cffi (setup.py): finished with status 'error'", ' Running setup.py clean for cffi', 'Failed to build cffi', 'Installing collected packages: cffi', ' Running setup.py install for cffi: started', " Running setup.py install for cffi: finished with status 'error'"] [pipenv.exceptions.InstallError]: ['ERROR: Command errored out with exit status 1:', ' command: /tmp/tmpbd71v681/.venv/bin/python3 -u -c \'import sys, setuptools, tokenize; sys.argv[0] = \'"\'"\'/tmp/pip-install-6ak_v7ty/cffi/setup.py\'"\'"\'; __file__=\'"\'"\'/tmp/pip-install-6ak_v7ty/cffi/setup.py\'"\'"\';f=getattr(tokenize, \'"\'"\'open\'"\'"\', open)(__file__);code=f.read().replace(\'"\'"\'\\r\\n\'"\'"\', \'"\'"\'\\n\'"\'"\');f.close();exec(compile(code, __file__, \'"\'"\'exec\'"\'"\'))\' bdist_wheel -d /tmp/pip-wheel-d29_niv_ --python-tag cp36', ' cwd: /tmp/pip-install-6ak_v7ty/cffi/', ' Complete output (58 lines):', ' 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', " Package 'libffi', required by 'virtual:world', not 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', " Package 'libffi', required by 'virtual:world', not 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', " Package 'libffi', required by 'virtual:world', not 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', " Package 'libffi', required by 'virtual:world', not 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', " Package 'libffi', required by 'virtual:world', not found", ' running bdist_wheel', ' running build', ' running build_py', ' creating build', ' creating build/lib.linux-x86_64-3.6', ' creating build/lib.linux-x86_64-3.6/cffi', ' copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/model.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/commontypes.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/error.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/cparser.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/api.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/lock.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/__init__.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/verifier.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/recompiler.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/_embedding.h -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.6/cffi', ' warning: build_py: byte-compiling is disabled, skipping.', ' ', ' running build_ext', " building '_cffi_backend' extension", ' creating build/temp.linux-x86_64-3.6', ' creating build/temp.linux-x86_64-3.6/c', ' gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.6m -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.6/c/_cffi_backend.o', ' c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory', ' #include ', ' ^~~~~~~', ' compilation terminated.', " error: command 'gcc' failed with exit status 1", ' ----------------------------------------', ' ERROR: Failed building wheel for cffi', ' ERROR: Command errored out with exit status 1:', ' command: /tmp/tmpbd71v681/.venv/bin/python3 -u -c \'import sys, setuptools, tokenize; sys.argv[0] = \'"\'"\'/tmp/pip-install-6ak_v7ty/cffi/setup.py\'"\'"\'; __file__=\'"\'"\'/tmp/pip-install-6ak_v7ty/cffi/setup.py\'"\'"\';f=getattr(tokenize, \'"\'"\'open\'"\'"\', open)(__file__);code=f.read().replace(\'"\'"\'\\r\\n\'"\'"\', \'"\'"\'\\n\'"\'"\');f.close();exec(compile(code, __file__, \'"\'"\'exec\'"\'"\'))\' install --record /tmp/pip-record-kknfppm6/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/tmpbd71v681/.venv/include/site/python3.6/cffi', ' cwd: /tmp/pip-install-6ak_v7ty/cffi/', ' Complete output (58 lines):', ' 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', " Package 'libffi', required by 'virtual:world', not 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', " Package 'libffi', required by 'virtual:world', not 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', " Package 'libffi', required by 'virtual:world', not 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', " Package 'libffi', required by 'virtual:world', not 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', " Package 'libffi', required by 'virtual:world', not found", ' running install', ' running build', ' running build_py', ' creating build', ' creating build/lib.linux-x86_64-3.6', ' creating build/lib.linux-x86_64-3.6/cffi', ' copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/model.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/commontypes.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/error.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/cparser.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/api.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/lock.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/__init__.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/verifier.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/recompiler.py -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/_embedding.h -> build/lib.linux-x86_64-3.6/cffi', ' copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.6/cffi', ' warning: build_py: byte-compiling is disabled, skipping.', ' ', ' running build_ext', " building '_cffi_backend' extension", ' creating build/temp.linux-x86_64-3.6', ' creating build/temp.linux-x86_64-3.6/c', ' gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.6m -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.6/c/_cffi_backend.o', ' c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory', ' #include ', ' ^~~~~~~', ' compilation terminated.', " error: command 'gcc' failed with exit status 1", ' ----------------------------------------', 'ERROR: Command errored out with exit status 1: /tmp/tmpbd71v681/.venv/bin/python3 -u -c \'import sys, setuptools, tokenize; sys.argv[0] = \'"\'"\'/tmp/pip-install-6ak_v7ty/cffi/setup.py\'"\'"\'; __file__=\'"\'"\'/tmp/pip-install-6ak_v7ty/cffi/setup.py\'"\'"\';f=getattr(tokenize, \'"\'"\'open\'"\'"\', open)(__file__);code=f.read().replace(\'"\'"\'\\r\\n\'"\'"\', \'"\'"\'\\n\'"\'"\');f.close();exec(compile(code, __file__, \'"\'"\'exec\'"\'"\'))\' install --record /tmp/pip-record-kknfppm6/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/tmpbd71v681/.venv/include/site/python3.6/cffi Check the logs for full command output.'] ERROR: ERROR: Package installation failed... ```
Notes

For more information, see Pipfile and Pipfile.lock.

Once this issue is resolved, the issue will be automatically closed by bot.

sesheta commented 5 years ago

Closing this issue as it is no longer relevant for the current master with SHA 6346909f9644177a433e59c08de1544b8745eeff.