We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenSSL 1.1.1h macOS 11.0.1
compile fails even on x86_64 platform
% pip3 install cryptography WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. Defaulting to user installation because normal site-packages is not writeable Collecting cryptography Downloading cryptography-3.2.1.tar.gz (540 kB) |████████████████████████████████| 540 kB 2.8 MB/s Installing build dependencies ... error ERROR: Command errored out with exit status 1: command: /Library/Developer/CommandLineTools/usr/bin/python3 /Library/Python/3.8/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-build-env-zeafbfds/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"'' cwd: None Complete output (106 lines): Collecting setuptools>=40.6.0 Using cached setuptools-50.3.2-py3-none-any.whl (785 kB) Collecting wheel Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB) Collecting cffi!=1.11.3,>=1.8 Using cached cffi-1.14.3.tar.gz (470 kB) Collecting pycparser Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB) Building wheels for collected packages: cffi Building wheel for cffi (setup.py): started Building wheel for cffi (setup.py): finished with status 'error' ERROR: Command errored out with exit status 1: command: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-install-1s9qgnky/cffi/setup.py'"'"'; __file__='"'"'/private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-install-1s9qgnky/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 /private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-wheel-qz4vwz6c cwd: /private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-install-1s9qgnky/cffi/ Complete output (39 lines): running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.14.6-x86_64-3.8 creating build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/backend_ctypes.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/error.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/setuptools_ext.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/cffi_opcode.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/vengine_gen.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/pkgconfig.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/model.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/ffiplatform.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/api.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/vengine_cpy.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/commontypes.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/lock.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/recompiler.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/cparser.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/verifier.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/_cffi_include.h -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/parse_c_type.h -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/_embedding.h -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/_cffi_errors.h -> build/lib.macosx-10.14.6-x86_64-3.8/cffi running build_ext building '_cffi_backend' extension creating build/temp.macosx-10.14.6-x86_64-3.8 creating build/temp.macosx-10.14.6-x86_64-3.8/c 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 -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:5854:2: error: Apple Arm64 ABI requires ffi_prep_cif_var #error Apple Arm64 ABI requires ffi_prep_cif_var ^ c/_cffi_backend.c:6304: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, ^ 2 errors generated. error: command 'clang' failed with exit status 1 ---------------------------------------- ERROR: Failed building wheel for cffi Running setup.py clean for cffi Failed to build cffi Installing collected packages: setuptools, wheel, pycparser, cffi Running setup.py install for cffi: started Running setup.py install for cffi: finished with status 'error' ERROR: Command errored out with exit status 1: command: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-install-1s9qgnky/cffi/setup.py'"'"'; __file__='"'"'/private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-install-1s9qgnky/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 /private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-record-fpkebl34/install-record.txt --single-version-externally-managed --prefix /private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-build-env-zeafbfds/overlay --compile --install-headers /private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-build-env-zeafbfds/overlay/include/python3.8/cffi cwd: /private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-install-1s9qgnky/cffi/ Complete output (39 lines): running install running build running build_py creating build creating build/lib.macosx-10.14.6-x86_64-3.8 creating build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/backend_ctypes.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/error.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/setuptools_ext.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/cffi_opcode.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/vengine_gen.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/pkgconfig.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/model.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/ffiplatform.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/api.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/vengine_cpy.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/commontypes.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/lock.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/recompiler.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/cparser.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/verifier.py -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/_cffi_include.h -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/parse_c_type.h -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/_embedding.h -> build/lib.macosx-10.14.6-x86_64-3.8/cffi copying cffi/_cffi_errors.h -> build/lib.macosx-10.14.6-x86_64-3.8/cffi running build_ext building '_cffi_backend' extension creating build/temp.macosx-10.14.6-x86_64-3.8 creating build/temp.macosx-10.14.6-x86_64-3.8/c 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 -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:5854:2: error: Apple Arm64 ABI requires ffi_prep_cif_var #error Apple Arm64 ABI requires ffi_prep_cif_var ^ c/_cffi_backend.c:6304: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, ^ 2 errors generated. error: command 'clang' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-install-1s9qgnky/cffi/setup.py'"'"'; __file__='"'"'/private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-install-1s9qgnky/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 /private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-record-fpkebl34/install-record.txt --single-version-externally-managed --prefix /private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-build-env-zeafbfds/overlay --compile --install-headers /private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-build-env-zeafbfds/overlay/include/python3.8/cffi Check the logs for full command output. ---------------------------------------- ERROR: Command errored out with exit status 1: /Library/Developer/CommandLineTools/usr/bin/python3 /Library/Python/3.8/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/lt/l0f42yp93cs9yc7zktz6w3dm0000gn/T/pip-build-env-zeafbfds/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
The text was updated successfully, but these errors were encountered:
Dupe of #5572
Sorry, something went wrong.
No branches or pull requests
OpenSSL 1.1.1h
macOS 11.0.1
compile fails even on x86_64 platform
The text was updated successfully, but these errors were encountered: