MatthewPierson/Vieux

error: command 'clang' failed with exit status 1

Opened this issue · 1 comments

Describe the issue
REQUIRED -
A clear and concise description of what the issue is and what you have already tried to fix the issue.

Screenshots
REQUIRED -
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -I/usr/local/opt/openssl/include -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/ffi -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c c/_cffi_backend.c -o build/temp.macosx-10.14.6-x86_64-3.8/c/_cffi_backend.o
c/_cffi_backend.c:6196:9: error: implicit declaration of function 'ffi_prep_closure' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (ffi_prep_closure(closure, &cif_descr->cif,
^
1 error generated.
error: command 'clang' failed with exit status 1

ERROR: Failed building wheel for cffi
Running setup.py clean for cffi
Successfully built bsdiff4
Failed to build cffi
Installing collected packages: six, pycparser, cffi, bcrypt, bsdiff4, cryptography, PyNaCl, paramiko, pyusb, scp
Found existing installation: six 1.15.0
Uninstalling six-1.15.0:
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: 'RECORD'
Consider using the --user option or check the permissions.

WARNING: You are using pip version 19.2.3, however version 21.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Computer (please complete the following information):
REQUIRED -

  • Computer Model [e.g. MacBook Pro 2016 or macbookpro14,3 + Year]
  • MacOS Version 11.2.2
  • Python Version 2.7.16
  • Vieux Version [e.g. Public Beta: 2 or Commit "ec3d67b944b626519e5ecdd682e4d3cf89dc7e51"]

iOS Device (please complete the following information):
REQUIRED -

  • Device: [e.g. iPhone6,2]
  • Desired Version: [e.g. iOS 10.3.3]

Additional context
Add any other context about the issue here.

same error.

c/_cffi_backend.c:6196:9: error: implicit declaration of function 'ffi_prep_closure' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

macbook m1
python3.9.4