MatthewPierson / Vieux

Vieux - A tool for 32/64 Bit iOS downgrades using OTA Blobs
805 stars 146 forks source link

error: command 'clang' failed with exit status 1 #232

Open Kevin-Ben opened 3 years ago

Kevin-Ben commented 3 years ago

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 -

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

Additional context Add any other context about the issue here.

0987363 commented 3 years ago

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