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
Build works, or there is a clear error message saying that the repo root path is too long.
(The specific repro steps above produce cmake warning about long paths. However, there are situations like in the original runtimelab report where this warning is not present or buried too deep to be noticeable.)
Actual behavior
Build fails with:
...
running "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --build D:\LongPathLongPathLongPathLongPathLongPathLongPathLongPath\runtime\src\coreclr\..\..\artifacts\obj\coreclr\windows.x64.Release --target install --config Release --
ninja: error: mkdir(Native.Windows/System.IO.Compression.Native/CMakeFiles/System.IO.Compression.Native-Static.dir/D_/LongPathLongPathLongPathLongPathLongPathLongPathLongPath): No such file or directory
ninja: build stopped: .
Configuration
Windows 10, VS 2022 Preview
Activity
ghost added
untriagedNew issue has not been triaged by the area owner
Activity
jkotas commentedon Oct 24, 2021
cc @jkoritzinsky Looks like ninja is not able to handle long paths.