I think this is only happening in the main branch right? There's a fix pending for that https://github.com/protocolbuffers/protobuf/pull/19576
On Tuesday, December 10, 2024 at 5:46:18 AM UTC-5 [email protected] wrote: > bazel build :protoc :protobuf --enable_bzlmod > Starting local Bazel server and connecting to it... > WARNING: For repository 'bazel_skylib', the root module requires module > version [email protected], but got [email protected] in the resolved dependency > graph. Please update the version in your MODULE.bazel or set > --check_direct_dependencies=off > WARNING: For repository 'rules_java', the root module requires module > version [email protected], but got [email protected] in the resolved dependency > graph. Please update the version in your MODULE.bazel or set > --check_direct_dependencies=off > WARNING: For repository 'rules_python', the root module requires module > version [email protected], but got [email protected] in the resolved > dependency graph. Please update the version in your MODULE.bazel or set > --check_direct_dependencies=off > WARNING: For repository 'platforms', the root module requires module > version [email protected], but got [email protected] in the resolved dependency > graph. Please update the version in your MODULE.bazel or set > --check_direct_dependencies=off > WARNING: For repository 'zlib', the root module requires module version > [email protected], but got [email protected] in the resolved dependency graph. > Please update the version in your MODULE.bazel or set > --check_direct_dependencies=off > WARNING: For repository 'proto_bazel_features', the root module requires > module version [email protected], but got [email protected] in the resolved > dependency graph. Please update the version in your MODULE.bazel or set > --check_direct_dependencies=off > WARNING: For repository 'com_google_googletest', the root module requires > module version [email protected], but got [email protected] in the resolved > dependency graph. Please update the version in your MODULE.bazel or set > --check_direct_dependencies=off > WARNING: For repository 'rules_proto', the root module requires module > version [email protected], but got [email protected] in the resolved dependency > graph. Please update the version in your MODULE.bazel or set > --check_direct_dependencies=off > ERROR: Traceback (most recent call last): > File "/mnt/e/test/protobuf/bazel/private/native.bzl", line 5, > column 26, in <toplevel> > native_cc_proto_aspect = cc_proto_aspect > Error: predeclared variable 'cc_proto_aspect' is referenced before > assignment. > ERROR: Skipping ':protobuf': error loading package '': at > /mnt/e/test/protobuf/bazel/toolchains/proto_lang_toolchain.bzl:11:6: at > /mnt/e/test/protobuf/bazel/common/proto_common.bzl:12:6: initialization of > module 'bazel/private/native.bzl' failed > ERROR: error loading package '': at > /mnt/e/test/protobuf/bazel/toolchains/proto_lang_toolchain.bzl:11:6: at > /mnt/e/test/protobuf/bazel/common/proto_common.bzl:12:6: initialization of > module 'bazel/private/native.bzl' failed > INFO: Elapsed time: 6.367s > INFO: 0 processes. > ERROR: Build did NOT complete successfully > FAILED: > Fetching module extension version_extension in > @@bazel_features+//private:extensions.bzl; starting > > > > https://github.com/protocolbuffers/protobuf/actions/runs/12247346225/job/34165016864 > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/protobuf/e0087f2f-0d6a-4f8e-a672-cb892707bdd3n%40googlegroups.com.
