grpc-ecosystem / grpc-httpjson-transcoding

Transcoding to provide HTTP/JSON interface for gRPC Service
Apache License 2.0
164 stars 35 forks source link

Error in build #96

Open eclazi opened 6 months ago

eclazi commented 6 months ago

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