You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when pip installing cffi on windows in the python 3.13 free threaded build the module fails to build due to the error in the title.
while 3.13t isn't officially out yet, it might be good to prepare support for it. #72 implies 3.13t as well.
❯ pip install cffi
Collecting cffi
Using cached cffi-1.16.0.tar.gz (512 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pycparser (from cffi)
Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: cffi
Building wheel for cffi (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for cffi (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [135 lines of output]
_configtest.c
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-313
creating build\lib.win-amd64-cpython-313\cffi
copying src\cffi\api.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\backend_ctypes.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\cffi_opcode.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\commontypes.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\cparser.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\error.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\ffiplatform.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\lock.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\model.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\pkgconfig.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\recompiler.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\setuptools_ext.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\vengine_cpy.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\vengine_gen.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\verifier.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\_imp_emulation.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\_shimmed_dist_utils.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\__init__.py -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\_cffi_include.h -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\parse_c_type.h -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\_embedding.h -> build\lib.win-amd64-cpython-313\cffi
copying src\cffi\_cffi_errors.h -> build\lib.win-amd64-cpython-313\cffi
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building '_cffi_backend' extension
creating build\temp.win-amd64-cpython-313
creating build\temp.win-amd64-cpython-313\Release
creating build\temp.win-amd64-cpython-313\Release\src
creating build\temp.win-amd64-cpython-313\Release\src\c
creating build\temp.win-amd64-cpython-313\Release\src\c\libffi_x86_x64
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DFFI_BUILDING=1 -Isrc/c/libffi_x86_x64 "-IC:\Users\NuitkaDevOps\Desktop\Nuitka-Issues\313t DOA\313t-venv\include" -IC:\Users\NuitkaDevOps\AppData\Local\Programs\Python\Python313\include -IC:\Users\NuitkaDevOps\AppData\Local\Programs\Python\Python313\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" /Tcsrc/c/_cffi_backend.c /Fobuild\temp.win-amd64-cpython-313\Release\src/c/_cffi_backend.obj
_cffi_backend.c
src/c/_cffi_backend.c(413): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(414): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1105): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1114): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1139): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1162): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1181): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1195): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1344): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1346): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1696): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1697): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1699): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1711): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1712): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1715): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1734): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1778): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1843): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1845): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1856): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(1859): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(2258): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(2263): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(2267): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(2282): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(2341): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(3271): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(3992): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(4092): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(4208): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(4249): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(4521): warning C4133: 'function': incompatible types - from 'PyUnicodeObject *' to 'PyObject *'
src/c/_cffi_backend.c(4532): warning C4996: 'Py_FileSystemDefaultEncoding': deprecated in 3.12
src/c/_cffi_backend.c(4816): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(4834): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(4975): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(4966): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(4987): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5383): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5430): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5437): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5656): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned short', possible loss of data
src/c/_cffi_backend.c(5790): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5794): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5810): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5823): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5852): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
src/c/_cffi_backend.c(5918): warning C4244: 'function': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
src/c/_cffi_backend.c(6006): warning C4244: 'function': conversion from 'Py_ssize_t' to 'long', possible loss of data
src/c/_cffi_backend.c(6121): warning C4013: '_PyErr_WriteUnraisableMsg' undefined; assuming extern returning int
src/c/_cffi_backend.c(6556): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\parse_c_type.c(218): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\parse_c_type.c(287): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\parse_c_type.c(341): warning C4244: '=': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\parse_c_type.c(445): warning C4244: 'return': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\realize_c_type.c(425): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\realize_c_type.c(430): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\realize_c_type.c(448): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\realize_c_type.c(460): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\realize_c_type.c(559): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\realize_c_type.c(621): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\realize_c_type.c(700): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\realize_c_type.c(753): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\lib_obj.c(130): warning C4244: 'initializing': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\lib_obj.c(306): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\lib_obj.c(358): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\lib_obj.c(384): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\lib_obj.c(405): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\lib_obj.c(419): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\cdlopen.c(170): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\cdlopen.c(215): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\cdlopen.c(247): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\cdlopen.c(248): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\cdlopen.c(260): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\cdlopen.c(261): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\cdlopen.c(281): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\cdlopen.c(301): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\cdlopen.c(302): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\cdlopen.c(307): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\cdlopen.c(327): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\cdlopen.c(331): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
C:\Users\NuitkaDevOps\AppData\Local\Temp\pip-install-g9n56uvj\cffi_a4e3f255b50c4ab9b6d6f23bfe4863a9\src\c\call_python.c(110): warning C4244: 'function': conversion from 'intptr_t' to 'int', possible loss of data
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DFFI_BUILDING=1 -Isrc/c/libffi_x86_x64 "-IC:\Users\NuitkaDevOps\Desktop\Nuitka-Issues\313t DOA\313t-venv\include" -IC:\Users\NuitkaDevOps\AppData\Local\Programs\Python\Python313\include -IC:\Users\NuitkaDevOps\AppData\Local\Programs\Python\Python313\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" /Tcsrc/c/libffi_x86_x64\ffi.c /Fobuild\temp.win-amd64-cpython-313\Release\src/c/libffi_x86_x64\ffi.obj
ffi.c
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DFFI_BUILDING=1 -Isrc/c/libffi_x86_x64 "-IC:\Users\NuitkaDevOps\Desktop\Nuitka-Issues\313t DOA\313t-venv\include" -IC:\Users\NuitkaDevOps\AppData\Local\Programs\Python\Python313\include -IC:\Users\NuitkaDevOps\AppData\Local\Programs\Python\Python313\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" /Tcsrc/c/libffi_x86_x64\prep_cif.c /Fobuild\temp.win-amd64-cpython-313\Release\src/c/libffi_x86_x64\prep_cif.obj
prep_cif.c
src/c/libffi_x86_x64\prep_cif.c(169): warning C4267: '+=': conversion from 'size_t' to 'unsigned int', possible loss of data
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DFFI_BUILDING=1 -Isrc/c/libffi_x86_x64 "-IC:\Users\NuitkaDevOps\Desktop\Nuitka-Issues\313t DOA\313t-venv\include" -IC:\Users\NuitkaDevOps\AppData\Local\Programs\Python\Python313\include -IC:\Users\NuitkaDevOps\AppData\Local\Programs\Python\Python313\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" /Tcsrc/c/libffi_x86_x64\types.c /Fobuild\temp.win-amd64-cpython-313\Release\src/c/libffi_x86_x64\types.obj
types.c
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO "/LIBPATH:C:\Users\NuitkaDevOps\Desktop\Nuitka-Issues\313t DOA\313t-venv\libs" /LIBPATH:C:\Users\NuitkaDevOps\AppData\Local\Programs\Python\Python313\libs /LIBPATH:C:\Users\NuitkaDevOps\AppData\Local\Programs\Python\Python313 "/LIBPATH:C:\Users\NuitkaDevOps\Desktop\Nuitka-Issues\313t DOA\313t-venv\PCbuild\amd64" "/LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\\lib\10.0.22621.0\\um\x64" /EXPORT:PyInit__cffi_backend build\temp.win-amd64-cpython-313\Release\src/c/_cffi_backend.obj build\temp.win-amd64-cpython-313\Release\src/c/libffi_x86_x64\ffi.obj build\temp.win-amd64-cpython-313\Release\src/c/libffi_x86_x64\prep_cif.obj build\temp.win-amd64-cpython-313\Release\src/c/libffi_x86_x64\types.obj /OUT:build\lib.win-amd64-cpython-313\_cffi_backend.cp313t-win_amd64.pyd /IMPLIB:build\temp.win-amd64-cpython-313\Release\src/c\_cffi_backend.cp313t-win_amd64.lib src/c/libffi_x86_x64\win64.obj
Creating library build\temp.win-amd64-cpython-313\Release\src/c\_cffi_backend.cp313t-win_amd64.lib and object build\temp.win-amd64-cpython-313\Release\src/c\_cffi_backend.cp313t-win_amd64.exp
_cffi_backend.obj : error LNK2001: unresolved external symbol _PyErr_WriteUnraisableMsg
build\lib.win-amd64-cpython-313\_cffi_backend.cp313t-win_amd64.pyd : fatal error LNK1120: 1 unresolved externals
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cffi
Failed to build cffi
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (cffi)
The text was updated successfully, but these errors were encountered:
The particular error you get occurs on 3.13 has been fixed already (I guess not released yet). The free-threading part is unrelated to the error, but indeed it's explained in #40.
when
pip installing cffi
on windows in the python 3.13 free threaded build the module fails to build due to the error in the title.while 3.13t isn't officially out yet, it might be good to prepare support for it.
#72 implies 3.13t as well.
The text was updated successfully, but these errors were encountered: