Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ambiguous import with 1.70 -- possibly fixed? #8127

Open
pkovacs opened this issue Feb 26, 2025 · 0 comments
Open

Ambiguous import with 1.70 -- possibly fixed? #8127

pkovacs opened this issue Feb 26, 2025 · 0 comments

Comments

@pkovacs
Copy link

pkovacs commented Feb 26, 2025

Something in 1.70 is tripping this ambiguous import error googleapis/go-genproto#1015 for a package called 'status', I note that 1.69 is ok, 1.70 yields the error below, but for master (or tag 1.72-dev) the adjustment of some deps seems to have cleared the problem. I think it might be census-instrumentation pulling in [email protected]/googleapis/rpc/status which is problematic now.

go build ./...
../../../go/pkg/mod/google.golang.org/[email protected]/status/status.go:35:2: ambiguous import: found package google.golang.org/genproto/googleapis/rpc/status in multiple modules:
	google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc (/home/phil/go/pkg/mod/google.golang.org/[email protected]/googleapis/rpc/status)
	google.golang.org/genproto/googleapis/rpc v0.0.0-20250224174004-546df14abb99 (/home/phil/go/pkg/mod/google.golang.org/genproto/googleapis/[email protected]/status)

By skipping over 1.70 and using master (e.g. 1.72-dev) the problem get cleared.

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

No branches or pull requests

1 participant