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

all: Azure go-autorest causing ambiguous import #1990

Closed
zombiezen opened this issue May 3, 2019 · 3 comments
Closed

all: Azure go-autorest causing ambiguous import #1990

zombiezen opened this issue May 3, 2019 · 3 comments
Labels
bug Something isn't working code health Code health task, either refactoring or testing

Comments

@zombiezen
Copy link
Contributor

@clausti just encountered this error while trying to build on a PR:

build gocloud.dev/samples/gocdk-pubsub: cannot load github.com/Azure/go-autorest/tracing: ambiguous import: found github.com/Azure/go-autorest/tracing in multiple modules:
	github.com/Azure/go-autorest v11.3.2+incompatible (/Users/clausti/go/pkg/mod/github.com/!azure/go-autorest@v11.3.2+incompatible/tracing)
	github.com/Azure/go-autorest/tracing v0.1.0 (/Users/clausti/go/pkg/mod/github.com/!azure/go-autorest/tracing@v0.1.0)

(Similar to #1958)

@zombiezen zombiezen added bug Something isn't working code health Code health task, either refactoring or testing labels May 3, 2019
@eliben
Copy link
Member

eliben commented May 3, 2019

Exact reproduction steps? (@clausti ?)

Seems to work for me calling go build in samples/gocdk-pubsub. Tried clearing modcache and re-running, still works

@clausti
Copy link
Contributor

clausti commented May 3, 2019

I was working on the branch for this PR, but I don't recall exactly what proceeded it, and it's not repro-ing for me now, either.

We can reopen if anyone else sees it?

@clausti clausti closed this as completed May 3, 2019
@zombiezen
Copy link
Contributor Author

@jba has seen it:

build gocloud.dev/samples/gocdk-pubsub: cannot load github.com/Azure/go-autorest/tracing: ambiguous import: found github.com/Azure/go-autorest/tracing in multiple modules:                                                                  
        github.com/Azure/go-autorest v12.0.0+incompatible (/usr/local/google/home/jba/go/pkg/mod/github.com/!azure/go-autorest@v12.0.0+incompatible/tracing)                                                                                 
        github.com/Azure/go-autorest/tracing v0.1.0 (/usr/local/google/home/jba/go/pkg/mod/github.com/!azure/go-autorest/tracing@v0.1.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working code health Code health task, either refactoring or testing
Projects
None yet
Development

No branches or pull requests

4 participants