Skip to content
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

x/build/cmd/tip: stopped updating (godoc fails to build due to new dependency that isn't fetched) #29874

Closed
dmitshur opened this issue Jan 22, 2019 · 3 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@dmitshur
Copy link
Contributor

go=8d2e65d2/tools=b2f18478: 2019/01/22 16:26:57 installing godoc...
go=8d2e65d2/tools=b2f18478: 2019/01/22 16:26:57 /build/tip/b/gopath/src/golang.org/x/tools/godoc/redirect/redirect.go:22:2: cannot find package "golang.org/x/net/context/ctxhttp" in any of:
        /build/tip/b/go/src/golang.org/x/net/context/ctxhttp (from $GOROOT)
        /build/tip/b/gopath/src/golang.org/x/net/context/ctxhttp (from $GOPATH)
go=8d2e65d2/tools=b2f18478: 2019/01/22 16:26:57 Init failed: go install golang.org/x/tools/cmd/godoc: exit status 1

It's because of CL 157197, which added a new golang.org/x/net/context/ctxhttp dependency to the golang.org/x/tools/godoc/redirect package.

/cc @bradfitz @cnoellekb FYI.

@dmitshur dmitshur added the NeedsFix The path to resolution is known, but the work has not been done. label Jan 22, 2019
@dmitshur dmitshur added this to the Unreleased milestone Jan 22, 2019
@dmitshur dmitshur self-assigned this Jan 22, 2019
@bradfitz
Copy link
Contributor

As I wrote on chat:

looks like godocBuilder's Init needs to also install x/net in addition to x/tools now.
but really, let's just switch to modules and delete code instead.
we can use the existing private Athens cache

@gopherbot
Copy link

Change https://golang.org/cl/158937 mentions this issue: cmd/tip: also fetch x/net repository before building cmd/godoc

@dmitshur
Copy link
Contributor Author

looks like godocBuilder's Init needs to also install x/net in addition to x/tools now.

That's what was done in CL 158937 for now.

let's just switch to modules and delete code instead

Can you elaborate on what you had mind? In what way would modules be used here? Do you mean once the website uses modules itself, or something else?

@dmitshur dmitshur changed the title x/tools/cmd/tip: stopped updating (godoc fails to build due to new dependency that isn't fetched) x/build/cmd/tip: stopped updating (godoc fails to build due to new dependency that isn't fetched) Feb 1, 2019
@golang golang locked and limited conversation to collaborators Feb 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

3 participants