Skip to content

Commit 202b559

Browse files
craig[bot]tbg
craig[bot]
andcommitted
Merge #139041
139041: DEPS: fix build when cache clear r=tbg a=tbg This broke silently in #138283. As of that PR, you'd get ``` $ ./dev cache --down; ./dev cache --clear; bazel clean --expunge; ./dev build short ``` fail with ``` ERROR: no such package '`@@org_golang_google_genproto_googleapis//rpc/code':` The repository '`@@org_golang_google_genproto_googleapis'` could not be resolved: Repository '`@@org_golang_google_genproto_googleapis'` is not defined ERROR: /private/var/tmp/_bazel_tbg/b1346cddcc70d57afdaa90f7f09f9b2c/external/com_github_buchgr_bazel_remote/server/BUILD.bazel:3:11: no such package '`@@org_golang_google_genproto_googleapis//rpc/code':` The repository '`@@org_golang_google_genproto_googleapis'` could not be resolved: Repository '`@@org_golang_google_genproto_googleapis'` is not defined and referenced by '`@@com_github_buchgr_bazel_remote//server:go_default_library'` ERROR: Analysis of target '`@@com_github_buchgr_bazel_remote//:bazel-remote'` failed; build aborted: Analysis failed ``` Now it works. Closes #139038. Epic: none Release note: none Co-authored-by: Tobias Grieger <tobias.b.grieger@gmail.com>
2 parents 0c7b590 + d4d9811 commit 202b559

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/patches/com_github_buchgr_bazel_remote.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ index f60cf80..ba707d3 100644
153153
- "@go_googleapis//google/bytestream:bytestream_go_proto",
154154
- "@go_googleapis//google/rpc:code_go_proto",
155155
- "@go_googleapis//google/rpc:status_go_proto",
156-
+ "@org_golang_google_genproto//googleapis/bytestream:go_default_library",
157-
+ "@org_golang_google_genproto//googleapis/rpc/code:go_default_library",
158-
+ "@org_golang_google_genproto//googleapis/rpc/status:go_default_library",
156+
+ "@org_golang_google_genproto_googleapis_bytestream//:go_default_library",
157+
+ "@org_golang_google_genproto_googleapis_rpc//code:go_default_library",
158+
+ "@org_golang_google_genproto_googleapis_rpc//status:go_default_library",
159159
"@org_golang_google_grpc//:go_default_library",
160160
"@org_golang_google_grpc//codes:go_default_library",
161161
"@org_golang_google_grpc//encoding/gzip:go_default_library",
@@ -164,7 +164,7 @@ index f60cf80..ba707d3 100644
164164
"@com_github_golang_protobuf//proto:go_default_library",
165165
"@com_github_google_uuid//:go_default_library",
166166
- "@go_googleapis//google/bytestream:bytestream_go_proto",
167-
+ "@org_golang_google_genproto//googleapis/bytestream:go_default_library",
167+
+ "@org_golang_google_genproto_googleapis_bytestream//:go_default_library",
168168
"@org_golang_google_grpc//:go_default_library",
169169
"@org_golang_google_grpc//codes:go_default_library",
170170
"@org_golang_google_grpc//status:go_default_library",

0 commit comments

Comments
 (0)