bazelbuild / bazelbuild/bazel

Help needed in getting bazel build command working on Windows from a mapped network drive

Open
#28,321 20 comments 0 reactions 0 assignees View on GitHub
area-Windows awaiting-user-response help wanted P3 team-OSS
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 16h
Merged PRs (30d)
72

Description

Can someone provide me guidance on how to invoke bazel from a mapped network drive that holds my bazel workspace?

I have a very simple setup based on the Bazel tutorial examples mentioned here : https://bazel.build/start/cpp
This setup along with the examples of bazel build works from my local drive but when I move this setup to the network drive and run bazel build command from the workspace directory the bazel command just stalls. I have observed that when I do this the bazel server doesn't even start.

When I examine the command text file created in output base directory, within the server directory I see that the workspace-directory option to the bazel server command was empty.
Has anyone seen this before and has recommendations on how to proceed?

Please let me know if more details are needed.

Contributor guide

Open the contributing guide

Research direction

Reproduce the Bazel C++ tutorial setup on a mapped network drive and compare it with the local-drive invocation. Inspect the command text file in the output base directory, especially the server command and its workspace-directory option; done means the Bazel server starts and the build completes from the network workspace.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.