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/release: windows installer for Go 1.13.1 creates a broken link to godoc.exe #34892

Closed
pilkjaer opened this issue Oct 14, 2019 · 5 comments
Assignees
Milestone

Comments

@pilkjaer
Copy link

@pilkjaer pilkjaer commented Oct 14, 2019

godoc was removed from the installation as for #30029 but Windows installer still creates a link to godoc.exe in the Start menu for that script which is no longer present in the installation and results in file not found error.

What version of Go are you using (go version)?

$ go version
go version go1.13.1 windows/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env

What did you do?

What did you expect to see?

What did you see instead?

@julieqiu julieqiu changed the title Installer Go 1.31.1 for windows still creates broken link on godoc.exe Windows installer for Go 1.13.1 creates a broken link to godoc.exe Oct 15, 2019
@julieqiu
Copy link
Contributor

@julieqiu julieqiu commented Oct 15, 2019

@julieqiu julieqiu added this to the Unreleased milestone Oct 15, 2019
@WhitG
Copy link

@WhitG WhitG commented Oct 15, 2019

I'm having the same issue for Windows Installer for Go 1.13.1 creating the broken link to godoc.exe

@bradfitz bradfitz changed the title Windows installer for Go 1.13.1 creates a broken link to godoc.exe x/build/cmd/releaselet: windows installer for Go 1.13.1 creates a broken link to godoc.exe Oct 15, 2019
@gopherbot gopherbot added the Builders label Oct 15, 2019
@bradfitz
Copy link
Contributor

@bradfitz bradfitz commented Oct 15, 2019

x/build/cmd/release/releaselet.go needs to only conditionally include:

    <Shortcut                                                                                                                                                                      
        Id="GoDocServerStartMenuShortcut"                                                                                                                                          
        Name="GoDocServer"                                                                                                                                                         
        Description="Starts the Go documentation server (http://localhost:6060)"                                                                                                   
        Show="minimized"                                                                                                                                                           
        Arguments='/c start "Godoc Server http://localhost:6060" "[INSTALLDIR]bin\godoc.exe" -http=localhost:6060 -goroot="[INSTALLDIR]." &amp;&amp; start http://localhost:6060'  
        Icon="gopher.ico"                                                                                                                                                          
        Target="[%ComSpec]" />                                                                                                                                                     
@bradfitz bradfitz added the NeedsFix label Oct 15, 2019
@bradfitz bradfitz changed the title x/build/cmd/releaselet: windows installer for Go 1.13.1 creates a broken link to godoc.exe x/build/cmd/release: windows installer for Go 1.13.1 creates a broken link to godoc.exe Oct 15, 2019
@bradfitz bradfitz modified the milestones: Unreleased, Go1.14 Oct 15, 2019
@gopherbot
Copy link

@gopherbot gopherbot commented Oct 15, 2019

Change https://golang.org/cl/201201 mentions this issue: cmd/release: don't include a godoc shortcut in Windows installer

@bradfitz bradfitz self-assigned this Oct 15, 2019
@WhitG
Copy link

@WhitG WhitG commented Oct 15, 2019

Thanks for the shortcut @bradfitz
Not sure if it will be short for me though :) I'm completely brand new to programming

codebien added a commit to codebien/build that referenced this issue Nov 13, 2019
Fixes golang/go#34892

Change-Id: I9dc14575677c3a4d75a12556896dbed340d442cc
Reviewed-on: https://go-review.googlesource.com/c/build/+/201201
Reviewed-by: Bryan C. Mills <bcmills@google.com>
@golang golang locked and limited conversation to collaborators Oct 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.