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
Using latest MSYS2 MINGW64 and GCC within, it is not possible to build this project when installing with Pip. I am working on a project and it is expected that poetry install works. As such I either need a wheel or I have to build the project. There is no 3.11 wheel.
gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=nocona -msahf -mtune=generic -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wp,-D__USE_MINGW_ANSI_STDIO=1 -O3 -march=nocona -msahf -mtune=generic -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wp,-D__USE_MINGW_ANSI_STDIO=1 -O3 -Wno-error=incompatible-pointer-types -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=610 -DPy_LIMITED_API=0x03070000 -DPSUTIL_WINDOWS=1 -D_WIN32_WINNT=0x01000 -D_AVAIL_WINVER_=0x01000 -D_CRT_SECURE_NO_WARNINGS -DPSAPI_VERSION=1 -IC:/msys64/tmp/tmps3xtuh07/.venv/include -IC:/msys64/mingw64/include/python3.11 -c psutil/_psutil_com
mon.c -o build/temp.mingw_x86_64-cpython-311/psutil/_psutil_common.o
In file included from psutil/_psutil_common.h:143,
from psutil/_psutil_common.c:10:
psutil/arch/windows/ntextapi.h:59:14: error: redeclaration of 'enum _KWAIT_REASON'
59 | typedef enum _KWAIT_REASON {
| ^~~~~~~~~~~~~
In file included from psutil/arch/windows/ntextapi.h:10:
C:/msys64/mingw64/include/winternl.h:693:16: note: originally defined here
693 | typedef enum _KWAIT_REASON {
| ^~~~~~~~~~~~~
If I work around this by making changes to winternl.h, multiple definition errors occur. Workaround is to do the following around lines 693 to 716:
Summary
Description
Using latest MSYS2 MINGW64 and GCC within, it is not possible to build this project when installing with Pip. I am working on a project and it is expected that
poetry install
works. As such I either need a wheel or I have to build the project. There is no 3.11 wheel.If I work around this by making changes to
winternl.h
, multiple definition errors occur. Workaround is to do the following around lines 693 to 716:Log:
And many more of this kind of error.
The text was updated successfully, but these errors were encountered: