sectordistrict / intentrace

intentrace is strace with intent, it goes all the way for you instead of half the way. intentrace is currently in beta
MIT License
521 stars 8 forks source link

v0.2.6 fails to build on Windows10 #9

Closed ArnaudKunzi closed 2 hours ago

ArnaudKunzi commented 2 hours ago

cargo install intentrace fails to build on windows10 with the default stable MSVC toolchain.

The failure occured in src/black_box.c

Relevant error message:

error: failed to run custom build command for `uapi v0.2.13`
Caused by:
  process didn't exit successfully: `C:\Users\ak\AppData\Local\Temp\cargo-installGXgrar\release\build\uapi-11d8376508bc3cc7\build-script-build` (exit code: 1)

Relevant stderr output:

error occurred: Command "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-O2" "-Brepro" "-W4" "-FoC:\\Users\\ak\\AppData\\Local\\Temp\\cargo-installGXgrar\\release\\build\\uapi-159e00799fda9739\\out\\2e40c9e35e9506f4-black_box.o" "-c" "src/black_box.c" with args cl.exe did not execute successfully (status code exit code: 2).

Whole stdout/stderr output: failed-build-intentrace-v0.2.6-windows10.txt

Using the stable gnu toolchain with cargo +stable-x86_64-pc-windows-gnu install intentrace and an up to date mingw64 for gcc did not work either as windows is an unsupported platform for dependency procfs.

Let me know if I can help further!

ArnaudKunzi commented 2 hours ago

Closed because of course this is not a tool for tracing windows syscalls!