Skip to content
New issue

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

Failure to build With Python 3.11 #10

Open
s0undt3ch opened this issue Feb 19, 2023 · 0 comments
Open

Failure to build With Python 3.11 #10

s0undt3ch opened this issue Feb 19, 2023 · 0 comments

Comments

@s0undt3ch
Copy link

Might be related to cython/cython#4428

  Running setup.py install for timelib did not run successfully.
  exit code: 1
  
  [59 lines of output]
  running install
  D:\a\salt\salt\artifacts\salt\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
    warnings.warn(
  running build
  running build_ext
  building 'timelib' extension
  creating build
  creating build\temp.win-amd64-cpython-311
  creating build\temp.win-amd64-cpython-311\Release
  creating build\temp.win-amd64-cpython-311\Release\ext-date-lib
  "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DHAVE_STRING_H=1 -I. -Iext-date-lib -I. -Iext-date-lib -ID:\a\salt\salt\artifacts\salt\include -ID:\a\salt\salt\artifacts\salt\Include -ID:\a\salt\salt\artifacts\salt/include "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\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" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcext-date-lib/astro.c /Fobuild\temp.win-amd64-cpython-311\Release\ext-date-lib/astro.obj
  astro.c
  ext-date-lib/astro.c(262): warning C4244: '=': conversion from 'double' to 'timelib_sll', possible loss of data
  ext-date-lib/astro.c(267): warning C4244: '=': conversion from 'double' to 'timelib_sll', possible loss of data
  ext-date-lib/astro.c(278): warning C4244: '=': conversion from 'double' to 'timelib_sll', possible loss of data
  ext-date-lib/astro.c(279): warning C4244: '=': conversion from 'double' to 'timelib_sll', possible loss of data
  ext-date-lib/astro.c(297): warning C4244: '=': conversion from 'timelib_sll' to 'double', possible loss of data
  "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DHAVE_STRING_H=1 -I. -Iext-date-lib -I. -Iext-date-lib -ID:\a\salt\salt\artifacts\salt\include -ID:\a\salt\salt\artifacts\salt\Include -ID:\a\salt\salt\artifacts\salt/include "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\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" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcext-date-lib/dow.c /Fobuild\temp.win-amd64-cpython-311\Release\ext-date-lib/dow.obj
  dow.c
  ext-date-lib/dow.c(88): warning C4244: '=': conversion from 'timelib_sll' to 'int', possible loss of data
  ext-date-lib/dow.c(92): warning C4244: '=': conversion from 'timelib_sll' to 'int', possible loss of data
  ext-date-lib/dow.c(93): warning C4244: '=': conversion from 'timelib_sll' to 'int', possible loss of data
  "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DHAVE_STRING_H=1 -I. -Iext-date-lib -I. -Iext-date-lib -ID:\a\salt\salt\artifacts\salt\include -ID:\a\salt\salt\artifacts\salt\Include -ID:\a\salt\salt\artifacts\salt/include "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\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" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcext-date-lib/parse_date.c /Fobuild\temp.win-amd64-cpython-311\Release\ext-date-lib/parse_date.obj
  parse_date.c
  C:\Users\runneradmin\AppData\Local\Temp\pip-install-yixsjium\timelib_277e73459f0b409fa66194559eb56662\ext-date-lib\fallbackmap.h(29): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data
  C:\Users\runneradmin\AppData\Local\Temp\pip-install-yixsjium\timelib_277e73459f0b409fa66194559eb56662\ext-date-lib\fallbackmap.h(30): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data
  C:\Users\runneradmin\AppData\Local\Temp\pip-install-yixsjium\timelib_277e73459f0b409fa66194559eb56662\ext-date-lib\fallbackmap.h(37): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data
  ext-date-lib/parse_date.c(339): warning C4244: '=': conversion from '__int64' to 'int', possible loss of data
  ext-date-lib/parse_date.c(341): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details.
  ext-date-lib/parse_date.c(348): warning C4244: '=': conversion from '__int64' to 'int', possible loss of data
  ext-date-lib/parse_date.c(350): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details.
  ext-date-lib/parse_date.c(414): warning C4996: 'strnicmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strnicmp. See online help for details.
  ext-date-lib/parse_date.c(513): warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp. See online help for details.
  ext-date-lib/parse_date.c(546): warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp. See online help for details.
  ext-date-lib/parse_date.c(584): warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp. See online help for details.
  ext-date-lib/parse_date.c(632): warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp. See online help for details.
  ext-date-lib/parse_date.c(637): warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp. See online help for details.
  ext-date-lib/parse_date.c(22355): warning C4244: '=': conversion from 'double' to 'timelib_sll', possible loss of data
  ext-date-lib/parse_date.c(22415): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details.
  "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DHAVE_STRING_H=1 -I. -Iext-date-lib -I. -Iext-date-lib -ID:\a\salt\salt\artifacts\salt\include -ID:\a\salt\salt\artifacts\salt\Include -ID:\a\salt\salt\artifacts\salt/include "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\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" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcext-date-lib/parse_tz.c /Fobuild\temp.win-amd64-cpython-311\Release\ext-date-lib/parse_tz.obj
  parse_tz.c
  ext-date-lib/parse_tz.c(230): warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp. See online help for details.
  ext-date-lib/parse_tz.c(387): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details.
  "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DHAVE_STRING_H=1 -I. -Iext-date-lib -I. -Iext-date-lib -ID:\a\salt\salt\artifacts\salt\include -ID:\a\salt\salt\artifacts\salt\Include -ID:\a\salt\salt\artifacts\salt/include "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\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" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcext-date-lib/timelib.c /Fobuild\temp.win-amd64-cpython-311\Release\ext-date-lib/timelib.obj
  timelib.c
  ext-date-lib/timelib.c(46): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details.
  ext-date-lib/timelib.c(76): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details.
  ext-date-lib/timelib.c(162): warning C4244: '=': conversion from 'double' to 'int', possible loss of data
  ext-date-lib/timelib.c(163): warning C4244: '=': conversion from 'double' to 'int', possible loss of data
  ext-date-lib/timelib.c(164): warning C4244: '=': conversion from 'double' to 'int', possible loss of data
  "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DHAVE_STRING_H=1 -I. -Iext-date-lib -I. -Iext-date-lib -ID:\a\salt\salt\artifacts\salt\include -ID:\a\salt\salt\artifacts\salt\Include -ID:\a\salt\salt\artifacts\salt/include "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\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" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcext-date-lib/tm2unixtime.c /Fobuild\temp.win-amd64-cpython-311\Release\ext-date-lib/tm2unixtime.obj
  tm2unixtime.c
  "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DHAVE_STRING_H=1 -I. -Iext-date-lib -I. -Iext-date-lib -ID:\a\salt\salt\artifacts\salt\include -ID:\a\salt\salt\artifacts\salt\Include -ID:\a\salt\salt\artifacts\salt/include "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\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" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcext-date-lib/unixtime2tm.c /Fobuild\temp.win-amd64-cpython-311\Release\ext-date-lib/unixtime2tm.obj
  unixtime2tm.c
  ext-date-lib/unixtime2tm.c(229): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details.
  "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DHAVE_STRING_H=1 -I. -Iext-date-lib -I. -Iext-date-lib -ID:\a\salt\salt\artifacts\salt\include -ID:\a\salt\salt\artifacts\salt\Include -ID:\a\salt\salt\artifacts\salt/include "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\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" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tctimelib.c /Fobuild\temp.win-amd64-cpython-311\Release\timelib.obj
  timelib.c
  timelib.c(181): fatal error C1083: Cannot open include file: 'longintrepr.h': No such file or directory
  error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
  [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

Encountered error while trying to install package.
  × Running setup.py install for timelib did not run successfully.
  │ exit code: 1
  ╰─> [24 lines of output]
      Error in sitecustomize; set PYTHONVERBOSE for traceback:
      SyntaxError: f-string: single '}' is not allowed (runtime.py, line 204)
      running install
      /opt/actions-runner/_work/salt/salt/artifacts/salt/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_ext
      building 'timelib' extension
      creating build
      creating build/temp.linux-x86_64-cpython-311
      creating build/temp.linux-x86_64-cpython-311/ext-date-lib
      /home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/bin/x86_64-linux-gnu-gcc -no-pie -pthread -Wsign-compare -DNDEBUG -g -O3 -Wall -L/opt/actions-runner/_work/salt/salt/artifacts/salt/lib -L/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/readline -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/ncursesw -I/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/usr/include -L/opt/actions-runner/_work/salt/salt/artifacts/salt/lib -L/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/readline -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/ncursesw -I/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/usr/include -fPIC -DHAVE_STRING_H=1 -I. -Iext-date-lib -I. -Iext-date-lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/python3.11 -c ext-date-lib/astro.c -o build/temp.linux-x86_64-cpython-311/ext-date-lib/astro.o
      /home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/bin/x86_64-linux-gnu-gcc -no-pie -pthread -Wsign-compare -DNDEBUG -g -O3 -Wall -L/opt/actions-runner/_work/salt/salt/artifacts/salt/lib -L/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/readline -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/ncursesw -I/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/usr/include -L/opt/actions-runner/_work/salt/salt/artifacts/salt/lib -L/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/readline -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/ncursesw -I/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/usr/include -fPIC -DHAVE_STRING_H=1 -I. -Iext-date-lib -I. -Iext-date-lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/python3.11 -c ext-date-lib/dow.c -o build/temp.linux-x86_64-cpython-311/ext-date-lib/dow.o
      /home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/bin/x86_64-linux-gnu-gcc -no-pie -pthread -Wsign-compare -DNDEBUG -g -O3 -Wall -L/opt/actions-runner/_work/salt/salt/artifacts/salt/lib -L/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/readline -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/ncursesw -I/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/usr/include -L/opt/actions-runner/_work/salt/salt/artifacts/salt/lib -L/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/readline -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/ncursesw -I/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/usr/include -fPIC -DHAVE_STRING_H=1 -I. -Iext-date-lib -I. -Iext-date-lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/python3.11 -c ext-date-lib/parse_date.c -o build/temp.linux-x86_64-cpython-311/ext-date-lib/parse_date.o
      /home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/bin/x86_64-linux-gnu-gcc -no-pie -pthread -Wsign-compare -DNDEBUG -g -O3 -Wall -L/opt/actions-runner/_work/salt/salt/artifacts/salt/lib -L/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/readline -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/ncursesw -I/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/usr/include -L/opt/actions-runner/_work/salt/salt/artifacts/salt/lib -L/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/readline -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/ncursesw -I/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/usr/include -fPIC -DHAVE_STRING_H=1 -I. -Iext-date-lib -I. -Iext-date-lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/python3.11 -c ext-date-lib/parse_tz.c -o build/temp.linux-x86_64-cpython-311/ext-date-lib/parse_tz.o
      /home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/bin/x86_64-linux-gnu-gcc -no-pie -pthread -Wsign-compare -DNDEBUG -g -O3 -Wall -L/opt/actions-runner/_work/salt/salt/artifacts/salt/lib -L/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/readline -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/ncursesw -I/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/usr/include -L/opt/actions-runner/_work/salt/salt/artifacts/salt/lib -L/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/readline -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/ncursesw -I/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/usr/include -fPIC -DHAVE_STRING_H=1 -I. -Iext-date-lib -I. -Iext-date-lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/python3.11 -c ext-date-lib/timelib.c -o build/temp.linux-x86_64-cpython-311/ext-date-lib/timelib.o
      /home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/bin/x86_64-linux-gnu-gcc -no-pie -pthread -Wsign-compare -DNDEBUG -g -O3 -Wall -L/opt/actions-runner/_work/salt/salt/artifacts/salt/lib -L/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/readline -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/ncursesw -I/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/usr/include -L/opt/actions-runner/_work/salt/salt/artifacts/salt/lib -L/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/readline -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/ncursesw -I/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/usr/include -fPIC -DHAVE_STRING_H=1 -I. -Iext-date-lib -I. -Iext-date-lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/python3.11 -c ext-date-lib/tm2unixtime.c -o build/temp.linux-x86_64-cpython-311/ext-date-lib/tm2unixtime.o
      /home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/bin/x86_64-linux-gnu-gcc -no-pie -pthread -Wsign-compare -DNDEBUG -g -O3 -Wall -L/opt/actions-runner/_work/salt/salt/artifacts/salt/lib -L/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/readline -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/ncursesw -I/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/usr/include -L/opt/actions-runner/_work/salt/salt/artifacts/salt/lib -L/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/readline -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/ncursesw -I/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/usr/include -fPIC -DHAVE_STRING_H=1 -I. -Iext-date-lib -I. -Iext-date-lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/python3.11 -c ext-date-lib/unixtime2tm.c -o build/temp.linux-x86_64-cpython-311/ext-date-lib/unixtime2tm.o
      /home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/bin/x86_64-linux-gnu-gcc -no-pie -pthread -Wsign-compare -DNDEBUG -g -O3 -Wall -L/opt/actions-runner/_work/salt/salt/artifacts/salt/lib -L/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/readline -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/ncursesw -I/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/usr/include -L/opt/actions-runner/_work/salt/salt/artifacts/salt/lib -L/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/readline -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/ncursesw -I/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/x86_64-linux-gnu/sysroot/usr/include -fPIC -DHAVE_STRING_H=1 -I. -Iext-date-lib -I. -Iext-date-lib -I/opt/actions-runner/_work/salt/salt/artifacts/salt/include/python3.11 -c timelib.c -o build/temp.linux-x86_64-cpython-311/timelib.o
      timelib.c:181:12: fatal error: longintrepr.h: No such file or directory
        181 |   #include "longintrepr.h"
            |            ^~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/home/ubuntu/.local/relenv/toolchain/x86_64-linux-gnu/bin/x86_64-linux-gnu-gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant