Building latest release (currently v1.13.1) succeeds.
What happened?
First, build fails because of an allegedly missing dependency. Quite questionable because go vendoring is used and vendor path exists. When trying fix it by letting go to reapply the vendor folder, that fails as well due to another dependency is gone. I found out that go modules is turned off in a specific command, so this repo now is expected to be within GOPATH or we turn go modules on. Either way would not solve the issue, the second dependency is still missing in vendor. So the issue here is, the provided vendor folder must be complete, but according to my investigation, it is not.
$ env GOPROXY=proxy.golang.org go mod vendor
go: github.com/mjibson/appstats@v0.0.0-20151004071057-0542d5f0e87e: reading https://proxy.golang.org/github.com/mjibson/appstats/@v/v0.0.0-20151004071057-0542d5f0e87e.mod: 410 Gone
server response:
not found: github.com/mjibson/appstats@v0.0.0-20151004071057-0542d5f0e87e: invalid version: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /tmp/gopath/pkg/mod/cache/vcs/444aab7ea271b6130ec26c66b91d9ad882ee59ce867f2107d31a0875343c64c2: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
There is no need to enable terminal prompts, the repo is just gone.
$ grep "github.com/mjibson/appstats" go.mod
github.com/mjibson/appstats v0.0.0-20151004071057-0542d5f0e87e // indirect
$ ls vendor/github.com/mjibson/appstats
ls: cannot access 'vendor/github.com/mjibson/appstats': No such file or directory
What you expected to happen?
Building latest release (currently v1.13.1) succeeds.
What happened?
First, build fails because of an allegedly missing dependency. Quite questionable because go vendoring is used and vendor path exists. When trying fix it by letting go to reapply the vendor folder, that fails as well due to another dependency is gone. I found out that go modules is turned off in a specific command, so this repo now is expected to be within GOPATH or we turn go modules on. Either way would not solve the issue, the second dependency is still missing in vendor. So the issue here is, the provided vendor folder must be complete, but according to my investigation, it is not.
How to reproduce it?
git clone https://github.com/weaveworks/scope.git ~/somewhere
cd ~/somewhere
git checkout v1.13.1
make BUILD_IN_CONTAINER=false
[1]go mod vendor
[3]GO111MODULE=off
(as I think this is overdue), results in the same error as previously [4]github.com/mjibson/appstats
is still missing [5]Anything else we need to know?
esc
was missing and Makefile seems not to handle its installation, I had togo get github.com/mjibson/esc
Versions:
Logs:
[1]
[2]
[3]
There is no need to enable terminal prompts, the repo is just gone.
[4]
[5]