Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Broken with bazel_gazelle 0.22.0? #47

Open
johanbrandhorst opened this issue Aug 28, 2020 · 0 comments
Open

Broken with bazel_gazelle 0.22.0? #47

johanbrandhorst opened this issue Aug 28, 2020 · 0 comments

Comments

@johanbrandhorst
Copy link

Hi,

Thanks for this excellent package and all your work in the Go bazel community at large. I've been using the gomock rule my experimental bazel monorepo and it seems to break when upgrading to bazel_gazelle 0.22.0. I'm not sure if it's my side or the rule. This is the error I'm seeing:


ERROR: /tmp/build_output/external/com_github_golang_mock/mockgen/BUILD.bazel:3:11: no such target '@org_golang_x_tools//go/packages:packages': target 'packages' not declared in package 'go/packages' (did you mean 'packages.go'?) defined by /tmp/build_output/external/org_golang_x_tools/go/packages/BUILD.bazel and referenced by '@com_github_golang_mock//mockgen:mockgen_lib'
Analyzing: 18 targets (88 packages loaded, 6730 targets configured)
ERROR: Analysis of target '//cmd/go-server/users:list_users_service_mock' failed; build aborted: Analysis failed

More details here:

Job log, Pull request.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant