-
Notifications
You must be signed in to change notification settings - Fork 18.1k
cmd/go: package continues to be stale after go install #23818
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
Comments
We decided in the release meeting to think about this for Go 1.10.1. |
Bumping to 1.10.2 since there's no fix yet. |
@bradfitz @andybons what was the decision about it on the meeting? I am wondering about the expected behaviour. I am trying to fix cmd/go test which uses this functionality and I came to this weird solution: https://go-review.googlesource.com/c/go/+/103675 - it does smell fishy with "-i" flags over there. Thanks! |
@ysmolsky, everything that was decided was posted above:
But that didn't happen. Perhaps @rsc can take a look soon. |
Almost duplicate of #24558 (that's about binaries, this is about packages). |
Change https://golang.org/cl/107957 mentions this issue: |
@gopherbot please file this for backport against 1.10. |
Backport issue(s) opened: #25032 (for 1.10). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://golang.org/wiki/MinorReleases. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Haven't checked yet.
What operating system and processor architecture are you using (
go env
)?What did you do?
Note that at the time of this issue report,
github.com/kisielk/gotool
is at revision https://github.com/kisielk/gotool/tree/d6ce6262d87e3a4e153e86023ff56ae771554a41.What did you expect to see?
What did you see instead?
As shown in "What did you do?" section, the package
github.com/kisielk/gotool
was being reported as "stale" with the reason that there was a stale dependencygithub.com/kisielk/gotool/internal/load
. Doinggo install
did not make the package fresh, even though it should've.To me, this looks like the same issue as #23797, and it's related to the new build cache of Go 1.10 (/cc @mvdan @bradfitz @rsc). However, I figured I'd report it anyway for an extra test case, since it was so easily reproducible. There's a small chance it's not exactly the same issue, but easy to verify after #23797 is resolved.
The text was updated successfully, but these errors were encountered: