You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running bazel run //:update_go_deps with -build_file_proto_mode=disable_global set, all go_repository import rules
will have build_file_proto_mode = "disable_global" set, the following error
results when you try to build all.
link: package conflict error: github.com/golang/protobuf/ptypes/any: multiple copies of package passed to linker:
@io_bazel_rules_go//proto/wkt:any_go_proto
@com_github_golang_protobuf//ptypes/any:any
Set "importmap" to different paths or use 'bazel cquery' to ensure only one
package with this path is linked.
Which service does this bug affect?
All go services
To Reproduce
Steps to reproduce the behavior:
Add -build_file_proto_mode=disable_global to the update_go_deps command.
Run bazel build //...
Wait for error
Expected behavior
We expect all of this to compile correctly.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Describe the bug
When running
bazel run //:update_go_deps
with-build_file_proto_mode=disable_global
set, allgo_repository
import ruleswill have
build_file_proto_mode = "disable_global"
set, the following errorresults when you try to build all.
Which service does this bug affect?
All go services
To Reproduce
Steps to reproduce the behavior:
-build_file_proto_mode=disable_global
to theupdate_go_deps
command.bazel build //...
Expected behavior
We expect all of this to compile correctly.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Online searches:
The text was updated successfully, but these errors were encountered: