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

This version of %1 is not compatible with the version of Windows you're running for rules_dotnet #1949

Open
sgowroji opened this issue May 6, 2024 · 1 comment

Comments

@sgowroji
Copy link
Member

sgowroji commented May 6, 2024

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3836#018f4c13-7caf-40e7-bb7c-97bf312b89ff

Platform: Windows, linux

Logs:

bazel --output_user_root=C:/b info output_base
2024/05/06 04:12:30 could not run Bazel: could not start Bazel: fork/exec C:\Users\b\AppData\Local\bazelisk\local\C--temp-tmp4swp6ij8-bazel\bin\bazel.exe: This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
Traceback (most recent call last):
  File "c:\b\bk-windows-4lt6\bazel\bazel-at-head-plus-downstream\bazelci.py", line 4434, in <module>
    sys.exit(main())
  File "c:\b\bk-windows-4lt6\bazel\bazel-at-head-plus-downstream\bazelci.py", line 4402, in main
    execute_commands(
  File "c:\b\bk-windows-4lt6\bazel\bazel-at-head-plus-downstream\bazelci.py", line 1328, in execute_commands
    PrepareRepoInCwd(True, initial_setup=True)
  File "c:\b\bk-windows-4lt6\bazel\bazel-at-head-plus-downstream\bazelci.py", line 1316, in PrepareRepoInCwd
    os.environ["OUTPUT_BASE"] = get_output_base(bazel_binary)
  File "c:\b\bk-windows-4lt6\bazel\bazel-at-head-plus-downstream\bazelci.py", line 2079, in get_output_base
    return execute_command_and_get_output(
  File "c:\b\bk-windows-4lt6\bazel\bazel-at-head-plus-downstream\bazelci.py", line 2683, in execute_command_and_get_output
    process = subprocess.run(
  File "C:\python3\lib\subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--output_user_root=C:/b', 'info', 'output_base']' returned non-zero exit status 1.
🚨 Error: The command exited with status 1

CC Greenteam @mai93

@mai93
Copy link
Contributor

mai93 commented May 6, 2024

@fweikert @meteorcloudy

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

No branches or pull requests

2 participants