{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/14024","labels_url":"https://api.github.com/repos/golang/go/issues/14024/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/14024/comments","events_url":"https://api.github.com/repos/golang/go/issues/14024/events","html_url":"https://github.com/golang/go/issues/14024","id":127579043,"number":14024,"title":"cmd/dist: \"go tool dist: unknown $GOOS linux\"","user":{"login":"danhardman","id":5691966,"avatar_url":"https://avatars.githubusercontent.com/u/5691966?v=3","gravatar_id":"","url":"https://api.github.com/users/danhardman","html_url":"https://github.com/danhardman","followers_url":"https://api.github.com/users/danhardman/followers","following_url":"https://api.github.com/users/danhardman/following{/other_user}","gists_url":"https://api.github.com/users/danhardman/gists{/gist_id}","starred_url":"https://api.github.com/users/danhardman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danhardman/subscriptions","organizations_url":"https://api.github.com/users/danhardman/orgs","repos_url":"https://api.github.com/users/danhardman/repos","events_url":"https://api.github.com/users/danhardman/events{/privacy}","received_events_url":"https://api.github.com/users/danhardman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-20T01:09:34Z","updated_at":"2016-01-20T01:12:21Z","closed_at":"2016-01-20T01:12:21Z","body":"1. Go version: 1.5.3\r\n2. Windows/AMD64\r\n3. Ran make.bat from C:/go/src\r\n4. Not really sure\r\n5. go tool dist: unknown $GOOS linux\r\n\r\nI'm trying to set my target GOOS and GOARCH to `linux/arm` whilst developing using atom go that I can build on save and see appropriate error messages given to me through the atom package: go-plus. However, When I do this on Windows, I get error messages saying go tools cannot be found. \r\n\r\nI was told running make.bat would solve this issue, however when it gets to running `.\\cmd\\dist\\` I get this error `go tool dist: unknown $GOOS linux`.\r\n\r\nObviously \"linux\" is included in `okgoos` so I'm not sure why https://github.com/golang/go/blob/master/src/cmd/dist/build.go#L115 is failing.\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/173043403","html_url":"https://github.com/golang/go/issues/14024#issuecomment-173043403","issue_url":"https://api.github.com/repos/golang/go/issues/14024","id":173043403,"user":{"login":"davecheney","id":7171,"avatar_url":"https://avatars.githubusercontent.com/u/7171?v=3","gravatar_id":"","url":"https://api.github.com/users/davecheney","html_url":"https://github.com/davecheney","followers_url":"https://api.github.com/users/davecheney/followers","following_url":"https://api.github.com/users/davecheney/following{/other_user}","gists_url":"https://api.github.com/users/davecheney/gists{/gist_id}","starred_url":"https://api.github.com/users/davecheney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecheney/subscriptions","organizations_url":"https://api.github.com/users/davecheney/orgs","repos_url":"https://api.github.com/users/davecheney/repos","events_url":"https://api.github.com/users/davecheney/events{/privacy}","received_events_url":"https://api.github.com/users/davecheney/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T01:12:21Z","updated_at":"2016-01-20T01:12:21Z","body":"This is likely to be a mistake in your Go installation, caused by step 3. I recommend removing what's left of your Go installation and replacing it with a fresh one. \r\n\r\nAs of Go 1.5 no additional steps are required to prepare for cross compilation."}}