Skip to content

Commit d91bf77

Browse files
committed
Update to Bazel 6.5.0
This is the last release in the Bazel 6 line. With the changes up to this point, the Bazel 7 build only fails on protobuf generation, e.g. on `bazel build //test/proto3:all`, as seen below. Bumping to Bazel 6.5.0 on top of all the previous changes isolates the Bazel 7.0.0 changes causing the failure. ```txt $ bazel build //test/proto3:all ERROR: .../rules_scala/test/proto3/BUILD:14:14: ProtoScalaPBRule test/proto3/generated-proto-lib_jvm_extra_protobuf_generator_scalapb.srcjar failed: (Exit 1): scalapb_worker failed: error executing ProtoScalaPBRule command (from target //test/proto3:generated-proto-lib) bazel-out/darwin_arm64-opt-exec-ST-13d3ddad9198/bin/src/scala/scripts/scalapb_worker ... (remaining 2 arguments skipped) Could not find file in descriptor database: bazel-out/darwin_arm64-fastbuild/bin/test/proto3/generated.proto: No such file or directory java.lang.RuntimeException: Exit with code 1 at scala.sys.package$.error(package.scala:30) at scripts.ScalaPBWorker$.work(ScalaPBWorker.scala:44) at io.bazel.rulesscala.worker.Worker.persistentWorkerMain(Worker.java:96) at io.bazel.rulesscala.worker.Worker.workerMain(Worker.java:49) at scripts.ScalaPBWorker$.main(ScalaPBWorker.scala:39) at scripts.ScalaPBWorker.main(ScalaPBWorker.scala) Use --verbose_failures to see the command lines of failed build steps. ERROR: .../rules_scala/test/proto3/BUILD:14:14 scala @//test/proto3:generated-proto-lib failed: (Exit 1): scalapb_worker failed: error executing ProtoScalaPBRule command (from target //test/proto3:generated-proto-lib) bazel-out/darwin_arm64-opt-exec-ST-13d3ddad9198/bin/src/scala/scripts/scalapb_worker ... (remaining 2 arguments skipped) ```
1 parent a4284a2 commit d91bf77

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.bazelci/presubmit.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@ tasks:
4747
platform: windows
4848
shell_commands:
4949
- "bash test_rules_scala.sh"
50-
test_coverage_linux_6_3_0:
50+
test_coverage_linux_6_5_0:
5151
name: "./test_coverage"
5252
platform: ubuntu2004
53-
bazel: 6.3.0
53+
bazel: 6.5.0
5454
shell_commands:
5555
- "./test_coverage.sh"
56-
test_coverage_macos_6.3.0:
56+
test_coverage_macos_6.5.0:
5757
name: "./test_coverage"
5858
platform: macos
59-
bazel: 6.3.0
59+
bazel: 6.5.0
6060
shell_commands:
6161
- "./test_coverage.sh"
6262
test_reproducibility_linux:
@@ -82,13 +82,13 @@ tasks:
8282
examples_linux:
8383
name: "./test_examples"
8484
platform: ubuntu2004
85-
bazel: 6.3.0
85+
bazel: 6.5.0
8686
shell_commands:
8787
- "./test_examples.sh"
8888
cross_build_linux:
8989
name: "./test_cross_build"
9090
platform: ubuntu2004
91-
bazel: 6.3.0
91+
bazel: 6.5.0
9292
shell_commands:
9393
- "./test_cross_build.sh"
9494
lint_linux:

.bazelversion

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.3.0
1+
6.5.0

0 commit comments

Comments
 (0)