{"action":"created","issue":{"url":"https://api.github.com/repos/gopherjs/gopherjs/issues/750","repository_url":"https://api.github.com/repos/gopherjs/gopherjs","labels_url":"https://api.github.com/repos/gopherjs/gopherjs/issues/750/labels{/name}","comments_url":"https://api.github.com/repos/gopherjs/gopherjs/issues/750/comments","events_url":"https://api.github.com/repos/gopherjs/gopherjs/issues/750/events","html_url":"https://github.com/gopherjs/gopherjs/issues/750","id":296079467,"number":750,"title":"Gopherjs throws error while gopherjs build package","user":{"login":"madguy02","id":8217234,"avatar_url":"https://avatars2.githubusercontent.com/u/8217234?v=4","gravatar_id":"","url":"https://api.github.com/users/madguy02","html_url":"https://github.com/madguy02","followers_url":"https://api.github.com/users/madguy02/followers","following_url":"https://api.github.com/users/madguy02/following{/other_user}","gists_url":"https://api.github.com/users/madguy02/gists{/gist_id}","starred_url":"https://api.github.com/users/madguy02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madguy02/subscriptions","organizations_url":"https://api.github.com/users/madguy02/orgs","repos_url":"https://api.github.com/users/madguy02/repos","events_url":"https://api.github.com/users/madguy02/events{/privacy}","received_events_url":"https://api.github.com/users/madguy02/received_events","type":"User","site_admin":false},"labels":[{"id":664595941,"url":"https://api.github.com/repos/gopherjs/gopherjs/labels/WaitingForInfo","name":"WaitingForInfo","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-10T06:48:46Z","updated_at":"2018-02-10T13:56:25Z","closed_at":null,"author_association":"NONE","body":"```\r\ngolang.org/x/sys/unix/syscall_unix.go:153:38: undeclared name: _Socklen\r\ngolang.org/x/sys/unix/affinity_linux.go:13:20: undeclared name: _CPU_SETSIZE\r\ngolang.org/x/sys/unix/affinity_linux.go:13:35: undeclared name: _NCPUBITS\r\ngolang.org/x/sys/unix/affinity_linux.go:16:25: undeclared name: cpuMask\r\ngolang.org/x/sys/unix/affinity_linux.go:49:27: undeclared name: cpuMask\r\ngolang.org/x/sys/unix/flock.go:13:30: undeclared name: SYS_FCNTL\r\ngolang.org/x/sys/unix/flock.go:16:42: undeclared name: Flock_t\r\ngolang.org/x/sys/unix/sockcmsg_linux.go:14:29: undeclared name: Ucred\r\ngolang.org/x/sys/unix/sockcmsg_unix.go:43:9: undeclared name: Cmsghdr\r\ngolang.org/x/sys/unix/sockcmsg_linux.go:27:54: undeclared name: Ucred\r\ngolang.org/x/sys/unix/sockcmsg_linux.go:27:54: too many errors\r\n\r\n```\r\nEDIT:\r\nMy $GOARCH is unset, can someone suggest how do i set or is there any work around to fix this?"},"comment":{"url":"https://api.github.com/repos/gopherjs/gopherjs/issues/comments/364656904","html_url":"https://github.com/gopherjs/gopherjs/issues/750#issuecomment-364656904","issue_url":"https://api.github.com/repos/gopherjs/gopherjs/issues/750","id":364656904,"user":{"login":"madguy02","id":8217234,"avatar_url":"https://avatars2.githubusercontent.com/u/8217234?v=4","gravatar_id":"","url":"https://api.github.com/users/madguy02","html_url":"https://github.com/madguy02","followers_url":"https://api.github.com/users/madguy02/followers","following_url":"https://api.github.com/users/madguy02/following{/other_user}","gists_url":"https://api.github.com/users/madguy02/gists{/gist_id}","starred_url":"https://api.github.com/users/madguy02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madguy02/subscriptions","organizations_url":"https://api.github.com/users/madguy02/orgs","repos_url":"https://api.github.com/users/madguy02/repos","events_url":"https://api.github.com/users/madguy02/events{/privacy}","received_events_url":"https://api.github.com/users/madguy02/received_events","type":"User","site_admin":false},"created_at":"2018-02-10T13:56:25Z","updated_at":"2018-02-10T13:56:25Z","author_association":"NONE","body":"gopherjs build ``` package name ```"}}
{"actor":{"display_login":"madguy02"}}