{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/28333","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/28333/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/28333/comments","events_url":"https://api.github.com/repos/golang/go/issues/28333/events","html_url":"https://github.com/golang/go/issues/28333","id":372935806,"node_id":"MDU6SXNzdWUzNzI5MzU4MDY=","number":28333,"title":"net/http: Error when trying to start http server or make a request","user":{"login":"sviechnikov","id":2579599,"node_id":"MDQ6VXNlcjI1Nzk1OTk=","avatar_url":"https://avatars2.githubusercontent.com/u/2579599?v=4","gravatar_id":"","url":"https://api.github.com/users/sviechnikov","html_url":"https://github.com/sviechnikov","followers_url":"https://api.github.com/users/sviechnikov/followers","following_url":"https://api.github.com/users/sviechnikov/following{/other_user}","gists_url":"https://api.github.com/users/sviechnikov/gists{/gist_id}","starred_url":"https://api.github.com/users/sviechnikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sviechnikov/subscriptions","organizations_url":"https://api.github.com/users/sviechnikov/orgs","repos_url":"https://api.github.com/users/sviechnikov/repos","events_url":"https://api.github.com/users/sviechnikov/events{/privacy}","received_events_url":"https://api.github.com/users/sviechnikov/received_events","type":"User","site_admin":false},"labels":[{"id":373402289,"node_id":"MDU6TGFiZWwzNzM0MDIyODk=","url":"https://api.github.com/repos/golang/go/labels/NeedsInvestigation","name":"NeedsInvestigation","color":"ededed","default":false},{"id":357033853,"node_id":"MDU6TGFiZWwzNTcwMzM4NTM=","url":"https://api.github.com/repos/golang/go/labels/WaitingForInfo","name":"WaitingForInfo","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/65","html_url":"https://github.com/golang/go/milestone/65","labels_url":"https://api.github.com/repos/golang/go/milestones/65/labels","id":3072996,"node_id":"MDk6TWlsZXN0b25lMzA3Mjk5Ng==","number":65,"title":"Go1.12","description":"","creator":{"login":"rsc","id":104030,"node_id":"MDQ6VXNlcjEwNDAzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/104030?v=4","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":756,"closed_issues":310,"state":"open","created_at":"2018-01-29T21:17:52Z","updated_at":"2018-10-24T03:02:28Z","due_on":"2019-01-31T08:00:00Z","closed_at":null},"comments":3,"created_at":"2018-10-23T10:51:22Z","updated_at":"2018-10-24T05:35:07Z","closed_at":null,"author_association":"NONE","body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n#### What did you do?\r\n```\r\npackage main\r\n\r\nimport (\r\n\t\"log\"\r\n\t\"net/http\"\r\n)\r\n\r\nfunc main() {\r\n\tlog.Fatal(http.ListenAndServe(\":8080\", nil))\r\n}\r\n```\r\n\r\n\r\n#### What did you expect to see?\r\nListening of http server\r\n\r\n#### What did you see instead?\r\n```\r\n net\r\n/usr/local/go/src/net/cgo_bsd.go:11:10: fatal error: 'netdb.h' file not found\r\n#include <netdb.h>\r\n         ^~~~~~~~~\r\n1 error generated.\r\n```\r\n\r\n#### System details\r\n\r\n```\r\ngo version go1.11.1 darwin/amd64\r\nGOARCH=\"amd64\"\r\nGOBIN=\"/Users/max/Projects/go/bin\"\r\nGOCACHE=\"/Users/max/Library/Caches/go-build\"\r\nGOEXE=\"\"\r\nGOFLAGS=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"darwin\"\r\nGOOS=\"darwin\"\r\nGOPATH=\"/Users/max/Projects/go\"\r\nGOPROXY=\"\"\r\nGORACE=\"\"\r\nGOROOT=\"/usr/local/go\"\r\nGOTMPDIR=\"\"\r\nGOTOOLDIR=\"/usr/local/go/pkg/tool/darwin_amd64\"\r\nGCCGO=\"gccgo\"\r\nCC=\"clang\"\r\nCXX=\"clang++\"\r\nCGO_ENABLED=\"1\"\r\nGOMOD=\"/Users/max/Projects/edu/go/polygraph/go.mod\"\r\nGOROOT/bin/go version: go version go1.11.1 darwin/amd64\r\nGOROOT/bin/go tool compile -V: compile version go1.11.1\r\nuname -v: Darwin Kernel Version 18.0.0: Wed Aug 22 20:13:40 PDT 2018; root:xnu-4903.201.2~1/RELEASE_X86_64\r\nProductName:\tMac OS X\r\nProductVersion:\t10.14\r\nBuildVersion:\t18A391\r\nlldb --version: lldb-1000.11.37.1\r\n  Swift-4.2\r\n```"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/432518878","html_url":"https://github.com/golang/go/issues/28333#issuecomment-432518878","issue_url":"https://api.github.com/repos/golang/go/issues/28333","id":432518878,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjUxODg3OA==","user":{"login":"sviechnikov","id":2579599,"node_id":"MDQ6VXNlcjI1Nzk1OTk=","avatar_url":"https://avatars2.githubusercontent.com/u/2579599?v=4","gravatar_id":"","url":"https://api.github.com/users/sviechnikov","html_url":"https://github.com/sviechnikov","followers_url":"https://api.github.com/users/sviechnikov/followers","following_url":"https://api.github.com/users/sviechnikov/following{/other_user}","gists_url":"https://api.github.com/users/sviechnikov/gists{/gist_id}","starred_url":"https://api.github.com/users/sviechnikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sviechnikov/subscriptions","organizations_url":"https://api.github.com/users/sviechnikov/orgs","repos_url":"https://api.github.com/users/sviechnikov/repos","events_url":"https://api.github.com/users/sviechnikov/events{/privacy}","received_events_url":"https://api.github.com/users/sviechnikov/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T05:35:07Z","updated_at":"2018-10-24T05:35:07Z","author_association":"NONE","body":"Go was installed using [official bundle](https://dl.google.com/go/go1.11.1.darwin-amd64.pkg) and tried with `brew`.... Nothing helps "}}
{"actor":{"display_login":"sviechnikov"}}