Bazel has major incompatibilities with `git bash` MINGW64
- Dominant language
- Java
- Stars
- 25.8k
- Forks
- 4.6k
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 72
Description
### Description of the bug:
Several issues occur when using bazel on `git bash`.
For example, that "@io_bazel_rules_scala//twitter_scrooge:twitter_scrooge.bzl" rule results in errors about pathing:
> LAUNCHER ERROR: Rlocation failed on external\remotejdk11_win\bin\java.exe, path doesn't exist in MANIFEST file
The same command runs perfectly fine in PowerShell.
Here is my BUILD.bazel file as an example.
```
load("@io_bazel_rules_scala//thrift:thrift.bzl", "thrift_library")
load("@io_bazel_rules_scala//twitter_scrooge:twitter_scrooge.bzl", "scrooge_scala_library")
thrift_library(
name = "thrift",
srcs = ["src/main/thrift/service.thrift"],
)
scrooge_scala_library(
name = "scrooge",
visibility = ["//visibility:public"],
deps = [":thrift"],
)
```
and the command i'm running is:
> bazel build ///my-service-thrift:thrift
Note the extra slash since you guys still haven't fixed that bug.
### What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
_No response_
### Which operating system are you running Bazel on?
Windows 11
### What is the output of `bazel info release`?
release 5.3.2
### 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?
no
### Any other information, logs, or outputs that you want to share?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.