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: fails to serve website at CL 293412 or newer #44613

Closed
dmitshur opened this issue Feb 25, 2021 · 1 comment
Closed

x/build/cmd/tip: fails to serve website at CL 293412 or newer #44613

dmitshur opened this issue Feb 25, 2021 · 1 comment
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@dmitshur
Copy link
Contributor

dmitshur commented Feb 25, 2021

https://farmer.golang.org/#health reports a problem with the tip.golang.org website.

CL 293412 removed the -index and -index_interval flags. cmd/tip needs to be updated accordingly (see golangorg.go#L79). Otherwise it fails to start the golangorg binary:

[...]
Installed Go for linux/amd64 in /build/tip/b/go
Installed commands in /build/tip/b/go/bin
go=2c4c189b/website=65c83740: 2021/02/25 16:54:07 installing golangorg ...
go=2c4c189b/website=65c83740: 2021/02/25 16:54:18 starting golangorg ...
flag provided but not defined: -index
usage: golangorg
   -goroot string
    	Go root directory (default "/build/tip/b/go")
  -http string
    	HTTP service address (default "localhost:6060")
  -links
    	link identifiers to their declarations (default true)
  -notes string
    	regular expression matching note markers to show (default "BUG")
  -play
    	enable playground (default true)
  -templates string
    	load templates/JS/CSS from disk in this directory (usually /path-to-website/content)
  -timestamps
    	show timestamps with directory listings
  -v	verbose mode
process in /build/tip/b exited: exit status 2 (*exec.ExitError)
ProcessState.Sys() = 512

CC @rsc, @golang/release.

@dmitshur dmitshur added the NeedsFix The path to resolution is known, but the work has not been done. label Feb 25, 2021
@dmitshur dmitshur added this to the Unreleased milestone Feb 25, 2021
@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label Feb 25, 2021
@rsc rsc self-assigned this Feb 25, 2021
@gopherbot
Copy link

Change https://golang.org/cl/296384 mentions this issue: cmd/tip: stop using golangorg -index

@golang golang locked and limited conversation to collaborators Feb 25, 2022
@rsc rsc removed their assignment Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Builders x/build issues (builders, bots, dashboards) 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