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

Build is broken, cannot find package "github.com/Azure/azure-storage-blob-go/2018-03-28/azblob" #619

Closed
paulcdejean opened this issue Nov 8, 2018 · 4 comments
Labels

Comments

@paulcdejean
Copy link

paulcdejean commented Nov 8, 2018

admin@ip-10-2-60-103:~$ sudo docker run -it golang:1.10-stretch
root@522ff392f66c:/go# go get -d github.com/improbable-eng/thanos/...
package github.com/improbable-eng/thanos/cmd/thanos
        imports github.com/Azure/azure-storage-blob-go/2018-03-28/azblob: cannot find package "github.com/Azure/azure-storage-blob-go/2018-03-28/azblob" in any of:
        /usr/local/go/src/github.com/Azure/azure-storage-blob-go/2018-03-28/azblob (from $GOROOT)
        /go/src/github.com/Azure/azure-storage-blob-go/2018-03-28/azblob (from $GOPATH)
root@522ff392f66c:/go# exit
exit
admin@ip-10-2-60-103:~$ sudo docker run -it golang:1.11-stretch
Unable to find image 'golang:1.11-stretch' locally
1.11-stretch: Pulling from library/golang
bc9ab73e5b14: Already exists
193a6306c92a: Already exists
e5c3f8c317dc: Already exists
a587a86c9dcb: Already exists
1bc310ac474b: Already exists
87ab348d90cc: Pull complete
786bc4873ebc: Pull complete
Digest: sha256:feefda684b73cd8ef7548589c61270fd4b44156b8584b4aa483bcd7d40482524
Status: Downloaded newer image for golang:1.11-stretch
root@7ac4962cb182:/go# go get -d github.com/improbable-eng/thanos/...
package github.com/improbable-eng/thanos/cmd/thanos
        imports github.com/Azure/azure-storage-blob-go/2018-03-28/azblob: cannot find package "github.com/Azure/azure-storage-blob-go/2018-03-28/azblob" in any of:
        /usr/local/go/src/github.com/Azure/azure-storage-blob-go/2018-03-28/azblob (from $GOROOT)
        /go/src/github.com/Azure/azure-storage-blob-go/2018-03-28/azblob (from $GOPATH)
root@7ac4962cb182:/go#
@paulcdejean
Copy link
Author

@bwplotka bwplotka added the bug label Nov 8, 2018
@bwplotka
Copy link
Member

bwplotka commented Nov 8, 2018

Looks like the build works, but we no longer can do go get -d github.com/improbable-eng/thanos/... for Thanos project as we documented in Getting Started guide.

@vglafirov any ideas?
I am pretty sure go clone && make deps will work for @paulcdejean here, so we might just want to update Getting Started as a first thing, as we cannot do much more - upstream azure sdk just removed the used folder from master.

Otherwise we could look on go 1.11 support (#602) which could improve whole process.

@bwplotka
Copy link
Member

bwplotka commented Nov 8, 2018

Alternatively we can import main dir directly and pin to some version, what do you think @vglafirov ?

@vglafirov
Copy link
Contributor

I am on it

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

No branches or pull requests

3 participants