{"action":"created","issue":{"url":"https://api.github.com/repos/lopter/lightsd/issues/14","repository_url":"https://api.github.com/repos/lopter/lightsd","labels_url":"https://api.github.com/repos/lopter/lightsd/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/lopter/lightsd/issues/14/comments","events_url":"https://api.github.com/repos/lopter/lightsd/issues/14/events","html_url":"https://github.com/lopter/lightsd/issues/14","id":143541268,"number":14,"title":"Building lightsd on FreeBSD fails - missing endian.h","user":{"login":"etenim","id":625145,"avatar_url":"https://avatars.githubusercontent.com/u/625145?v=3","gravatar_id":"","url":"https://api.github.com/users/etenim","html_url":"https://github.com/etenim","followers_url":"https://api.github.com/users/etenim/followers","following_url":"https://api.github.com/users/etenim/following{/other_user}","gists_url":"https://api.github.com/users/etenim/gists{/gist_id}","starred_url":"https://api.github.com/users/etenim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etenim/subscriptions","organizations_url":"https://api.github.com/users/etenim/orgs","repos_url":"https://api.github.com/users/etenim/repos","events_url":"https://api.github.com/users/etenim/events{/privacy}","received_events_url":"https://api.github.com/users/etenim/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lopter/lightsd/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lopter/lightsd/milestones/1","html_url":"https://github.com/lopter/lightsd/milestones/1.2.0","labels_url":"https://api.github.com/repos/lopter/lightsd/milestones/1/labels","id":1490426,"number":1,"title":"1.2.0","description":"","creator":{"login":"lopter","id":152398,"avatar_url":"https://avatars.githubusercontent.com/u/152398?v=3","gravatar_id":"","url":"https://api.github.com/users/lopter","html_url":"https://github.com/lopter","followers_url":"https://api.github.com/users/lopter/followers","following_url":"https://api.github.com/users/lopter/following{/other_user}","gists_url":"https://api.github.com/users/lopter/gists{/gist_id}","starred_url":"https://api.github.com/users/lopter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lopter/subscriptions","organizations_url":"https://api.github.com/users/lopter/orgs","repos_url":"https://api.github.com/users/lopter/repos","events_url":"https://api.github.com/users/lopter/events{/privacy}","received_events_url":"https://api.github.com/users/lopter/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":2,"state":"open","created_at":"2016-01-07T21:30:35Z","updated_at":"2016-04-11T06:35:47Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2016-03-25T16:56:43Z","updated_at":"2016-05-05T14:23:04Z","closed_at":null,"body":"lightsd version 1.1.2\r\nCMake version 3.5.0\r\nlibevent2 version 2.0.22\r\n\r\nThe problem is that it isn't finding endian.h and running \"cmake -DCMAKE_BUILD_TYPE=RELEASE ..\" fails due to that.\r\n\"Could not find Endian (missing: ENDIAN_H_PATH)\"\r\n\r\nFrom what I can gather by a little research is that Linux and other systems use #include endian.h while it seems FreeBSD and possibly other BSD's use #include sys/endian.h\r\n\r\nCreating a directory lightsd/compat/FreeBSD and putting endian.h from FreeBSD's system in there is a workaround that seems to work. However, running make to build lightsd fails with multiple errors. I don't know if that is because of my tinkering with endian.h or if it would fail anyway with a proper fix to that issue."},"comment":{"url":"https://api.github.com/repos/lopter/lightsd/issues/comments/217167651","html_url":"https://github.com/lopter/lightsd/issues/14#issuecomment-217167651","issue_url":"https://api.github.com/repos/lopter/lightsd/issues/14","id":217167651,"user":{"login":"lopter","id":152398,"avatar_url":"https://avatars.githubusercontent.com/u/152398?v=3","gravatar_id":"","url":"https://api.github.com/users/lopter","html_url":"https://github.com/lopter","followers_url":"https://api.github.com/users/lopter/followers","following_url":"https://api.github.com/users/lopter/following{/other_user}","gists_url":"https://api.github.com/users/lopter/gists{/gist_id}","starred_url":"https://api.github.com/users/lopter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lopter/subscriptions","organizations_url":"https://api.github.com/users/lopter/orgs","repos_url":"https://api.github.com/users/lopter/repos","events_url":"https://api.github.com/users/lopter/events{/privacy}","received_events_url":"https://api.github.com/users/lopter/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T14:23:04Z","updated_at":"2016-05-05T14:23:04Z","body":"> I should have waited longer 8)\r\n\r\nThat previous output didn't look very promising though; hope you got it to work!\r\n\r\nDiscovery usually happens faster than this, typically around a second. If your bulbs aren't discovered in the first five seconds something is probably wrong."}}