Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bazel Windows Issues #128

Closed
Danaozhong opened this issue Feb 16, 2024 · 1 comment · Fixed by #136
Closed

Bazel Windows Issues #128

Danaozhong opened this issue Feb 16, 2024 · 1 comment · Fixed by #136
Assignees

Comments

@Danaozhong
Copy link
Collaborator

Danaozhong commented Feb 16, 2024

Currently, several Bazel commands in this repository don't work on Windows:

  • I couldn't get buildifier to run under Windows. It fails with:
FATAL: ExecuteProgram(C:\users\...\...(...\execroot\__main__\bazel-out\x64_windows-fastbuild\bin\buildifier.bash) failed:
ERROR: src/main/native/windows/process.cc(202): CreateProcessW("C:\users\...\...(...\execroot\__main__\bazel-out\x64_windows-fastbuild\bin\buildifier.bash"): %1 is not a valid Win32 application.

root cause seems to be bazelbuild/buildtools#346 .

@Danaozhong Danaozhong changed the title Bazel Windows Support Bazel Windows build partially broken Feb 16, 2024
@Danaozhong Danaozhong changed the title Bazel Windows build partially broken Bazel Windows Issues Feb 16, 2024
@aignas
Copy link
Collaborator

aignas commented Jun 20, 2024

I think #136 should fix this as I have switched to using pre-built binaries of buildifier.

Please test and tell me if it works on your Windows machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants