Windows: cannot shorten the path enough #19710
Labels
area-Windows
Windows-specific issues and feature requests
team-OSS
Issues for the Bazel OSS team: installation, release processBazel packaging, website
type: bug
untriaged
Description of the bug:
When running tests on windows with
--windows_enable_symlinks
and--enable_runfiles
, the test would fail with(reformatted log to multiple lines for readability)
This is not expected as the Windows instance has been configured with Long Paths support
Which category does this issue belong to?
Core, Local Execution
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Perform any test on Windows with a sufficient long package path.
Which operating system are you running Bazel on?
Windows
What is the output of
bazel info release
?release 6.4.0rc1
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.N/A
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getshortpathnamew
So ideally, we should just migrate Windows syscalls to the new behavior.
The text was updated successfully, but these errors were encountered: