TheThingsArchive / ttn

The Things Network Stack V2
https://www.thethingsnetwork.org
MIT License
461 stars 279 forks source link

Cannot run make dev-deps: Remotes failed for "otto" etc. #750

Closed rbricheno closed 5 years ago

rbricheno commented 5 years ago

This is a bug report for the build process.

What do you want to do?

Run make dev-deps without error

What steps did you take?

Ran make dev-deps

What went wrong or what is missing?

The hashes for otto specify a commit which does not seem to exist.

ttn@ttn:~/go/src/github.com/TheThingsNetwork/ttn$ make dev-deps
govendor sync -v
fetch "github.com/robertkrimen/otto" from "github.com/TheThingsIndustries/otto"
# cd /home/ttn/go/.cache/govendor/github.com/TheThingsIndustries/otto; git reset --hard 571d0fa31a277d8a63de1fd0afee431d627fbbaf
fatal: Could not parse object '571d0fa31a277d8a63de1fd0afee431d627fbbaf'.
# cd /home/ttn/go/.cache/govendor/github.com/TheThingsIndustries/otto; git reset --hard 571d0fa31a277d8a63de1fd0afee431d627fbbaf
fatal: Could not parse object '571d0fa31a277d8a63de1fd0afee431d627fbbaf'.
fetch "github.com/robertkrimen/otto/ast" from "github.com/TheThingsIndustries/otto/ast"
# cd /home/ttn/go/.cache/govendor/github.com/TheThingsIndustries/otto; git reset --hard 571d0fa31a277d8a63de1fd0afee431d627fbbaf
fatal: Could not parse object '571d0fa31a277d8a63de1fd0afee431d627fbbaf'.
# cd /home/ttn/go/.cache/govendor/github.com/TheThingsIndustries/otto; git reset --hard 571d0fa31a277d8a63de1fd0afee431d627fbbaf
fatal: Could not parse object '571d0fa31a277d8a63de1fd0afee431d627fbbaf'.
fetch "github.com/robertkrimen/otto/dbg" from "github.com/TheThingsIndustries/otto/dbg"
# cd /home/ttn/go/.cache/govendor/github.com/TheThingsIndustries/otto; git reset --hard 571d0fa31a277d8a63de1fd0afee431d627fbbaf
fatal: Could not parse object '571d0fa31a277d8a63de1fd0afee431d627fbbaf'.
# cd /home/ttn/go/.cache/govendor/github.com/TheThingsIndustries/otto; git reset --hard 571d0fa31a277d8a63de1fd0afee431d627fbbaf
fatal: Could not parse object '571d0fa31a277d8a63de1fd0afee431d627fbbaf'.
fetch "github.com/robertkrimen/otto/file" from "github.com/TheThingsIndustries/otto/file"
# cd /home/ttn/go/.cache/govendor/github.com/TheThingsIndustries/otto; git reset --hard 571d0fa31a277d8a63de1fd0afee431d627fbbaf
fatal: Could not parse object '571d0fa31a277d8a63de1fd0afee431d627fbbaf'.
# cd /home/ttn/go/.cache/govendor/github.com/TheThingsIndustries/otto; git reset --hard 571d0fa31a277d8a63de1fd0afee431d627fbbaf
fatal: Could not parse object '571d0fa31a277d8a63de1fd0afee431d627fbbaf'.
fetch "github.com/robertkrimen/otto/parser" from "github.com/TheThingsIndustries/otto/parser"
# cd /home/ttn/go/.cache/govendor/github.com/TheThingsIndustries/otto; git reset --hard 571d0fa31a277d8a63de1fd0afee431d627fbbaf
fatal: Could not parse object '571d0fa31a277d8a63de1fd0afee431d627fbbaf'.
# cd /home/ttn/go/.cache/govendor/github.com/TheThingsIndustries/otto; git reset --hard 571d0fa31a277d8a63de1fd0afee431d627fbbaf
fatal: Could not parse object '571d0fa31a277d8a63de1fd0afee431d627fbbaf'.
fetch "github.com/robertkrimen/otto/registry" from "github.com/TheThingsIndustries/otto/registry"
# cd /home/ttn/go/.cache/govendor/github.com/TheThingsIndustries/otto; git reset --hard 571d0fa31a277d8a63de1fd0afee431d627fbbaf
fatal: Could not parse object '571d0fa31a277d8a63de1fd0afee431d627fbbaf'.
# cd /home/ttn/go/.cache/govendor/github.com/TheThingsIndustries/otto; git reset --hard 571d0fa31a277d8a63de1fd0afee431d627fbbaf
fatal: Could not parse object '571d0fa31a277d8a63de1fd0afee431d627fbbaf'.
fetch "github.com/robertkrimen/otto/token" from "github.com/TheThingsIndustries/otto/token"
# cd /home/ttn/go/.cache/govendor/github.com/TheThingsIndustries/otto; git reset --hard 571d0fa31a277d8a63de1fd0afee431d627fbbaf
fatal: Could not parse object '571d0fa31a277d8a63de1fd0afee431d627fbbaf'.
# cd /home/ttn/go/.cache/govendor/github.com/TheThingsIndustries/otto; git reset --hard 571d0fa31a277d8a63de1fd0afee431d627fbbaf
fatal: Could not parse object '571d0fa31a277d8a63de1fd0afee431d627fbbaf'.
Error: Remotes failed for:
        Failed for "github.com/robertkrimen/otto" (failed to sync repo to 571d0fa31a277d8a63de1fd0afee431d627fbbaf): exit status 128
        Failed for "github.com/robertkrimen/otto/ast" (failed to sync repo to 571d0fa31a277d8a63de1fd0afee431d627fbbaf): exit status 128
        Failed for "github.com/robertkrimen/otto/dbg" (failed to sync repo to 571d0fa31a277d8a63de1fd0afee431d627fbbaf): exit status 128
        Failed for "github.com/robertkrimen/otto/file" (failed to sync repo to 571d0fa31a277d8a63de1fd0afee431d627fbbaf): exit status 128
        Failed for "github.com/robertkrimen/otto/parser" (failed to sync repo to 571d0fa31a277d8a63de1fd0afee431d627fbbaf): exit status 128
        Failed for "github.com/robertkrimen/otto/registry" (failed to sync repo to 571d0fa31a277d8a63de1fd0afee431d627fbbaf): exit status 128
        Failed for "github.com/robertkrimen/otto/token" (failed to sync repo to 571d0fa31a277d8a63de1fd0afee431d627fbbaf): exit status 128

Makefile:25: recipe for target 'deps' failed
make: *** [deps] Error 2

Can you fix this yourself and submit a pull request?

I have a candidate fix (use the latest commit from TheThingsIndustries repo) which I'll submit as a new pull request, but there may be some reason I don't know about to specify a particular (older) commit.