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

Error in build #96

Open
eclazi opened this issue Apr 22, 2024 · 0 comments
Open

Error in build #96

eclazi opened this issue Apr 22, 2024 · 0 comments

Comments

@eclazi
Copy link

eclazi commented Apr 22, 2024

Trying to build on windows but having issues

PS E:\src\grpc-httpjson-transcoding> bazel build //...
Starting local Bazel server and connecting to it...
WARNING: --enable_bzlmod is set, but no MODULE.bazel file was found at the workspace root. Bazel will create an empty MODULE.bazel file. Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel. For more details, please refer to https://github.com/bazelbuild/bazel/issues/18958.
ERROR: C:/users/joss/_bazel_joss/qwq6hdnq/external/io_bazel_rules_docker/platforms/BUILD:78:9: in constraint_values attribute of platform rule @@io_bazel_rules_docker//platforms:image_transition: '@@io_bazel_rules_docker//platforms:image_transition_cpu' does not have mandatory providers: 'ConstraintValueInfo'
ERROR: C:/users/joss/_bazel_joss/qwq6hdnq/external/io_bazel_rules_docker/platforms/BUILD:78:9: in constraint_values attribute of platform rule @@io_bazel_rules_docker//platforms:image_transition: '@@io_bazel_rules_docker//platforms:image_transition_os' does not have mandatory providers: 'ConstraintValueInfo'
ERROR: C:/users/joss/_bazel_joss/qwq6hdnq/external/io_bazel_rules_docker/platforms/BUILD:78:9: Analysis of target '@@io_bazel_rules_docker//platforms:image_transition' failed
ERROR: E:/src/grpc-httpjson-transcoding/perf_benchmark/BUILD:73:9: Target @@io_bazel_rules_docker//platforms:image_transition was referenced as a platform, but does not provide PlatformInfo
ERROR: Analysis of target '//perf_benchmark:benchmark_main_image' failed; build aborted
INFO: Elapsed time: 26.266s, Critical Path: 0.09s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully
FAILED:
    Fetching repository @@go_sdk; starting
    Fetching repository @@fuzzing_py_deps; Extracting wheels
    Fetching repository @@local_jdk; starting
    Fetching repository @@bazel_skylib~; starting
    Fetching repository @@apple_support~; starting
    Fetching repository @@protobuf~; starting
    Fetching repository @@rules_cc~; starting
    ```
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

1 participant