Skip to content

Instantly share code, notes, and snippets.

@varazir

varazir/error Secret

Created February 7, 2024 20:56
Show Gist options
  • Save varazir/7a39293f14a98430468fa72c9c940049 to your computer and use it in GitHub Desktop.
Save varazir/7a39293f14a98430468fa72c9c940049 to your computer and use it in GitHub Desktop.
Error
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/lib/python3/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-xg933h8q/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=61.0.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=1.7.0'
cwd: None
Complete output (81 lines):
Collecting setuptools>=61.0.0
Downloading setuptools-69.0.3-py3-none-any.whl (819 kB)
Collecting wheel
Downloading wheel-0.42.0-py3-none-any.whl (65 kB)
Collecting cffi>=1.12
Downloading cffi-1.16.0.tar.gz (512 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting setuptools-rust>=1.7.0
Downloading setuptools_rust-1.8.1-py3-none-any.whl (26 kB)
Collecting pycparser
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting tomli>=1.2.1
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting semantic-version<3,>=2.8.2
Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Building wheels for collected packages: cffi
Building wheel for cffi (PEP 517): started
Building wheel for cffi (PEP 517): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /tmp/tmp3fm52h2r_in_process.py build_wheel /tmp/tmptq2s1ndw
cwd: /tmp/pip-install-pgzjgvbc/cffi_2cf3baa2c7b74744a36f61aa5db87082
Complete output (48 lines):
No working compiler found, or bogus compiler options passed to
the compiler from Python's standard "distutils" module. See
the error messages above. Likely, the problem is not related
to CFFI but generic to the setup.py of any Python package that
tries to compile C code. (Hints: on OS/X 10.8, for errors about
-mno-fused-madd see http://stackoverflow.com/questions/22313407/
Otherwise, see https://wiki.python.org/moin/CompLangPython or
the IRC channel #python on irc.libera.chat.)
Trying to continue anyway. If you are trying to install CFFI from
a build done in a different context, you can ignore this warning.
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-39
creating build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/_shimmed_dist_utils.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/model.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/lock.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/commontypes.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/__init__.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/api.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/recompiler.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/cparser.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/error.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/verifier.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/_imp_emulation.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/_embedding.h -> build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-39/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-armv7l-cpython-39
creating build/temp.linux-armv7l-cpython-39/src
creating build/temp.linux-armv7l-cpython-39/src/c
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-jS0VHk/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DFFI_BUILDING=1 -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.9 -c src/c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-39/src/c/_cffi_backend.o
error: command 'arm-linux-gnueabihf-gcc' failed: No such file or directory
----------------------------------------
ERROR: Failed building wheel for cffi
Failed to build cffi
ERROR: Could not build wheels for cffi which use PEP 517 and cannot be installed directly
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/0f/6f/40f1b5c6bafc809dd21a9e577458ecc1d8062a7e10148d140f402b535eaa/cryptography-42.0.2.tar.gz#sha256=e0ec52ba3c7f1b7d813cd52649a5b3ef1fc0d433219dc8c93827c57eab6cf888 (from https://pypi.org/simple/cryptography/) (requires-python:>=3.7). Command errored out with exit status 1: /usr/bin/python3 /usr/lib/python3/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-xg933h8q/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=61.0.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=1.7.0' Check the logs for full command output.
Downloading cryptography-42.0.1.tar.gz (672 kB)
|████████████████████████████████| 672 kB 1.5 MB/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment