{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/11778","labels_url":"https://api.github.com/repos/golang/go/issues/11778/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/11778/comments","events_url":"https://api.github.com/repos/golang/go/issues/11778/events","html_url":"https://github.com/golang/go/issues/11778","id":95806037,"number":11778,"title":"cmd/go: spurious error about GOBIN during cross-compile","user":{"login":"zcalusic","id":12140851,"avatar_url":"https://avatars.githubusercontent.com/u/12140851?v=3","gravatar_id":"","url":"https://api.github.com/users/zcalusic","html_url":"https://github.com/zcalusic","followers_url":"https://api.github.com/users/zcalusic/followers","following_url":"https://api.github.com/users/zcalusic/following{/other_user}","gists_url":"https://api.github.com/users/zcalusic/gists{/gist_id}","starred_url":"https://api.github.com/users/zcalusic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcalusic/subscriptions","organizations_url":"https://api.github.com/users/zcalusic/orgs","repos_url":"https://api.github.com/users/zcalusic/repos","events_url":"https://api.github.com/users/zcalusic/events{/privacy}","received_events_url":"https://api.github.com/users/zcalusic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"crawshaw","id":161319,"avatar_url":"https://avatars.githubusercontent.com/u/161319?v=3","gravatar_id":"","url":"https://api.github.com/users/crawshaw","html_url":"https://github.com/crawshaw","followers_url":"https://api.github.com/users/crawshaw/followers","following_url":"https://api.github.com/users/crawshaw/following{/other_user}","gists_url":"https://api.github.com/users/crawshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/crawshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crawshaw/subscriptions","organizations_url":"https://api.github.com/users/crawshaw/orgs","repos_url":"https://api.github.com/users/crawshaw/repos","events_url":"https://api.github.com/users/crawshaw/events{/privacy}","received_events_url":"https://api.github.com/users/crawshaw/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/1","html_url":"https://github.com/golang/go/milestones/Go1.5","labels_url":"https://api.github.com/repos/golang/go/milestones/1/labels","id":905105,"number":1,"title":"Go1.5","description":"","creator":{"login":"bradfitz","id":2621,"avatar_url":"https://avatars.githubusercontent.com/u/2621?v=3","gravatar_id":"","url":"https://api.github.com/users/bradfitz","html_url":"https://github.com/bradfitz","followers_url":"https://api.github.com/users/bradfitz/followers","following_url":"https://api.github.com/users/bradfitz/following{/other_user}","gists_url":"https://api.github.com/users/bradfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfitz/subscriptions","organizations_url":"https://api.github.com/users/bradfitz/orgs","repos_url":"https://api.github.com/users/bradfitz/repos","events_url":"https://api.github.com/users/bradfitz/events{/privacy}","received_events_url":"https://api.github.com/users/bradfitz/received_events","type":"User","site_admin":false},"open_issues":74,"closed_issues":962,"state":"open","created_at":"2014-12-16T02:26:41Z","updated_at":"2015-07-21T05:57:29Z","due_on":"2015-07-31T04:00:00Z","closed_at":null},"comments":9,"created_at":"2015-07-18T09:10:28Z","updated_at":"2015-07-21T14:58:06Z","closed_at":null,"body":"The error in title is the result of: GOARCH=386 go install -x\r\n\r\nBut $GOBIN is NOT set!\r\n\r\nHow do I install cross-compiled binaries now?\r\n\r\ngo version devel +aadd84e Sat Jul 18 01:35:25 2015 +0000 linux/amd64\r\n\r\nBasically go1.5beta2 + some fixes"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/123359430","html_url":"https://github.com/golang/go/issues/11778#issuecomment-123359430","issue_url":"https://api.github.com/repos/golang/go/issues/11778","id":123359430,"user":{"login":"dmitris","id":31205,"avatar_url":"https://avatars.githubusercontent.com/u/31205?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitris","html_url":"https://github.com/dmitris","followers_url":"https://api.github.com/users/dmitris/followers","following_url":"https://api.github.com/users/dmitris/following{/other_user}","gists_url":"https://api.github.com/users/dmitris/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitris/subscriptions","organizations_url":"https://api.github.com/users/dmitris/orgs","repos_url":"https://api.github.com/users/dmitris/repos","events_url":"https://api.github.com/users/dmitris/events{/privacy}","received_events_url":"https://api.github.com/users/dmitris/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T14:58:06Z","updated_at":"2015-07-21T14:58:06Z","body":"I hit the same error and wonder what needs to be done to avoid rebuilding all the standard library dependencies on every invocation of `GOOS=linux go build` (when cross-compiling on a Mac)."}}