-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Labels
platform: windowsteam-CoreSkyframe, bazel query, BEP, options parsing, bazelrcSkyframe, bazel query, BEP, options parsing, bazelrctype: buguntriaged
Description
Description of the bug:
Steps to reproduce the problem
Create a new workspace with the following structure:
workspace
├ main
| ├ BUILD
| └ hello_world.cc
├ .bazelrc
├ MODULE.bazel
└ user.bazelrc
In .bazelrc:
try-import user.bazelrc
In user.bazelrc:
startup --output_user_root="D:\Users\username\_bazel_username"
Then run:
bazel buildProblem description
OS: Windows
Bazel Version: 9.0.1
Error message:
[INFO 02:24:53.779 src/main/cpp/rc_file.cc:94] Parsing the RcFile ******/.bazelrc
[INFO 02:24:53.779 src/main/cpp/rc_file.cc:94] Parsing the RcFile user.bazelrc
[FATAL 02:24:53.780 src/main/cpp/util/path_windows.cc:85] MakeAbsolute(D:Usersusername_bazel_username): AsAbsoluteWindowsPath failed: working-directory relative paths are unsupportedTemporary solution
Modify user.bazelrc:
startup --output_user_root="D:/Users/username/_bazel_username"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
platform: windowsteam-CoreSkyframe, bazel query, BEP, options parsing, bazelrcSkyframe, bazel query, BEP, options parsing, bazelrctype: buguntriaged