{"action":"created","issue":{"url":"https://api.github.com/repos/nsqio/nsq/issues/765","repository_url":"https://api.github.com/repos/nsqio/nsq","labels_url":"https://api.github.com/repos/nsqio/nsq/issues/765/labels{/name}","comments_url":"https://api.github.com/repos/nsqio/nsq/issues/765/comments","events_url":"https://api.github.com/repos/nsqio/nsq/issues/765/events","html_url":"https://github.com/nsqio/nsq/issues/765","id":157193513,"number":765,"title":"nsqd: won't compile on illumos","user":{"login":"Licenser","id":119093,"avatar_url":"https://avatars.githubusercontent.com/u/119093?v=3","gravatar_id":"","url":"https://api.github.com/users/Licenser","html_url":"https://github.com/Licenser","followers_url":"https://api.github.com/users/Licenser/followers","following_url":"https://api.github.com/users/Licenser/following{/other_user}","gists_url":"https://api.github.com/users/Licenser/gists{/gist_id}","starred_url":"https://api.github.com/users/Licenser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Licenser/subscriptions","organizations_url":"https://api.github.com/users/Licenser/orgs","repos_url":"https://api.github.com/users/Licenser/repos","events_url":"https://api.github.com/users/Licenser/events{/privacy}","received_events_url":"https://api.github.com/users/Licenser/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nsqio/nsq/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-27T12:14:03Z","updated_at":"2016-05-29T21:55:04Z","closed_at":null,"body":"It seems that dirlock depends on some Linux specific syscalls, compilation of NSQd fails with the following output\r\n\r\n```\r\n# github.com/nsqio/nsq/internal/dirlock\r\n../.go/src/github.com/nsqio/nsq/internal/dirlock/dirlock.go:28: undefined: syscall.Flock\r\n../.go/src/github.com/nsqio/nsq/internal/dirlock/dirlock.go:28: undefined: syscall.LOCK_EX\r\n../.go/src/github.com/nsqio/nsq/internal/dirlock/dirlock.go:28: undefined: syscall.LOCK_NB\r\n../.go/src/github.com/nsqio/nsq/internal/dirlock/dirlock.go:37: undefined: syscall.Flock\r\n../.go/src/github.com/nsqio/nsq/internal/dirlock/dirlock.go:37: undefined: syscall.LOCK_UN\r\n```"},"comment":{"url":"https://api.github.com/repos/nsqio/nsq/issues/comments/222385073","html_url":"https://github.com/nsqio/nsq/issues/765#issuecomment-222385073","issue_url":"https://api.github.com/repos/nsqio/nsq/issues/765","id":222385073,"user":{"login":"mreiferson","id":187441,"avatar_url":"https://avatars.githubusercontent.com/u/187441?v=3","gravatar_id":"","url":"https://api.github.com/users/mreiferson","html_url":"https://github.com/mreiferson","followers_url":"https://api.github.com/users/mreiferson/followers","following_url":"https://api.github.com/users/mreiferson/following{/other_user}","gists_url":"https://api.github.com/users/mreiferson/gists{/gist_id}","starred_url":"https://api.github.com/users/mreiferson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreiferson/subscriptions","organizations_url":"https://api.github.com/users/mreiferson/orgs","repos_url":"https://api.github.com/users/mreiferson/repos","events_url":"https://api.github.com/users/mreiferson/events{/privacy}","received_events_url":"https://api.github.com/users/mreiferson/received_events","type":"User","site_admin":false},"created_at":"2016-05-29T21:55:04Z","updated_at":"2016-05-29T21:55:04Z","body":"just need to add a compiler flag to noop the implementation on illumos"}}
{"actor":{"display_login":"mreiferson"}}