Describe the problem
I upgraded to bazel 5 and I get build errors:
INFO: Reading rc options for 'build' from /data/home/kena/src/go/src/github.com/cockroachdb/cockroach/.bazelrc:
'build' options: --define gotags=bazel,gss --experimental_proto_descriptor_sets_include_source_info --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution --symlink_prefix=_bazel/ --experimental_no_product_name_out_symlink --ui_event_filters=-DEBUG
ERROR: --experimental_no_product_name_out_symlink :: Unrecognized option: --experimental_no_product_name_out_symlink
To Reproduce
- upgrade bazel to 5.x
- run a
build command
Expected behavior
Build succeeds
Additional data / screenshots
I was able to work around by manually editing .bazelrc to remove the flag.
Epic CRDB-8036
Describe the problem
I upgraded to bazel 5 and I get build errors:
To Reproduce
buildcommandExpected behavior
Build succeeds
Additional data / screenshots
I was able to work around by manually editing
.bazelrcto remove the flag.Epic CRDB-8036