shurcooL / binstale

binstale tells you whether the binaries in your GOPATH/bin are stale or up to date.
MIT License
146 stars 4 forks source link

binstale reports stale fmt and bytes packages #12

Closed bits01 closed 6 years ago

bits01 commented 6 years ago
Go-Package-Store
    stale: github.com/shurcooL/Go-Package-Store/cmd/Go-Package-Store (stale dependency: fmt)
binstale
    stale: github.com/shurcooL/binstale (stale dependency: fmt)
goimports
    stale: golang.org/x/tools/cmd/goimports (stale dependency: fmt)
govendor
    stale: github.com/kardianos/govendor (stale dependency: bytes)
...

Any ideas why? This is with go 1.10, not sure whether it has anything to do with the new build cache.

dmitshur commented 6 years ago

Yes, this is a known regression upstream in cmd/go in Go 1.10. It might get fixed in Go 1.10.1.

See https://github.com/golang/go/issues/23818 and https://github.com/golang/go/issues/23797.

Thanks for reporting this anyway.

bits01 commented 6 years ago

Thank you, appreciate your prompt reply.

dmitshur commented 6 years ago

Go 1.10.2 has been released today, which resolves this issue. Please update to it and rebuild binstale.