-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Open
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)area-WindowsWindows-specific issues and feature requestsWindows-specific issues and feature requestshelp wantedSomeone outside the Bazel team could own thisSomeone outside the Bazel team could own thisteam-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websiteIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: bug
Description
Description of the bug:
Namaste,
While attempting to build using bazel by pointing buildkite toward a RAM mounted file system
I see the following error. I'm not sure under what conditions blaze_util::MakeCanonical fails on Windows.
[FATAL 12:14:05.257 src/main/cpp/blaze.cc:1302] blaze_util::MakeCanonical('r:\buildkite-agent\builds\windows-amd64-mustang-1\yesudeep\rules-clojure') failed: (error: 1): Incorrect function.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
- Create a RAM disk using ImDisk
- Point your CI agent to use the Ram disk.
- Have it run bazel there.
Which operating system are you running Bazel on?
Windows 11 Pro
What is the output of bazel info release?
release 6.0.0
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?
No response
Have you found anything relevant by searching the web?
- Source location:
Line 1301 in ccfeeff
if (result.empty()) { - Impl:
bazel/src/main/cpp/util/file_windows.cc
Line 482 in da23fd5
string MakeCanonical(const char* path) {
Any other information, logs, or outputs that you want to share?
- The problem is not reproducible if I switch to drive mounted at C: (SSD) instead of R: (RAM FS)
Metadata
Metadata
Assignees
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)area-WindowsWindows-specific issues and feature requestsWindows-specific issues and feature requestshelp wantedSomeone outside the Bazel team could own thisSomeone outside the Bazel team could own thisteam-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websiteIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: bug