Closed
Description
What version of Go are you using (go version
)?
go version devel +c52e27e68d Sun Feb 11 20:41:48 2018 +0000 linux/amd64
Does this issue reproduce with the latest release?
This doesn't happen on Go 1.9.4.
What operating system and processor architecture are you using (go env
)?
GOARCH="amd64"
GOOS="linux"
What did you do?
Here is a simple reproduction, showing a just fetched and built command package being reported as stale due to a stale dependency.
$ export GOPATH=/tmp/gp
$ mkdir $GOPATH
$ go get mvdan.cc/sh/cmd/shfmt
$ go list -f '{{.ImportPath}} - {{.Stale}} - {{.StaleReason}}' mvdan.cc/sh/cmd/shfmt
mvdan.cc/sh/cmd/shfmt - true - stale dependency: mvdan.cc/sh/fileutil
This appears to happen for anything that has dependencies outside of the core packages, including dependencies to golang.org/x packages.