{"action":"created","issue":{"url":"https://api.github.com/repos/inviwo/inviwo/issues/238","repository_url":"https://api.github.com/repos/inviwo/inviwo","labels_url":"https://api.github.com/repos/inviwo/inviwo/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/inviwo/inviwo/issues/238/comments","events_url":"https://api.github.com/repos/inviwo/inviwo/issues/238/events","html_url":"https://github.com/inviwo/inviwo/issues/238","id":360222607,"node_id":"MDU6SXNzdWUzNjAyMjI2MDc=","number":238,"title":"Sigar on Arch prevents Build","user":{"login":"Sparkier","id":5690524,"node_id":"MDQ6VXNlcjU2OTA1MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5690524?v=4","gravatar_id":"","url":"https://api.github.com/users/Sparkier","html_url":"https://github.com/Sparkier","followers_url":"https://api.github.com/users/Sparkier/followers","following_url":"https://api.github.com/users/Sparkier/following{/other_user}","gists_url":"https://api.github.com/users/Sparkier/gists{/gist_id}","starred_url":"https://api.github.com/users/Sparkier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sparkier/subscriptions","organizations_url":"https://api.github.com/users/Sparkier/orgs","repos_url":"https://api.github.com/users/Sparkier/repos","events_url":"https://api.github.com/users/Sparkier/events{/privacy}","received_events_url":"https://api.github.com/users/Sparkier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-14T09:16:26Z","updated_at":"2018-09-14T15:38:33Z","closed_at":null,"author_association":"NONE","body":"**Issue**\r\n\r\nInviwo fails to build on Arch because of sigar.\r\nErrors are the following:\r\n```bash\r\ninviwo/ext/sigar/src/os/linux/linux_sigar.c:1149:22: \r\nerror: called object ‘major’ is not a function or function pointer \r\n#define ST_MAJOR(sb) major((sb).st_rdev)\r\n\r\ninviwo/ext/sigar/src/os/linux/linux_sigar.c:1150:22: \r\nerror: called object ‘minor’ is not a function or function pointer \r\n#define ST_MINOR(sb) minor((sb).st_rdev)\r\n```\r\nalong with other occurences in other lines of the same file.\r\n\r\n**Steps to reproduce**\r\n\r\n```\r\ngit clone https://github.com/inviwo/inviwo.git\r\ngit submodule update --init --recursive\r\nmkdir build && cd build\r\ncmake ..\r\nmake inviwo\r\n```\r\n\r\n**Environment information**\r\n* Operating System: Arch Linux\r\n* Compiler/IDE: gcc\r\n* QT Version: 5.11.1\r\n* Python version: 3.7.0\r\n"},"comment":{"url":"https://api.github.com/repos/inviwo/inviwo/issues/comments/421398133","html_url":"https://github.com/inviwo/inviwo/issues/238#issuecomment-421398133","issue_url":"https://api.github.com/repos/inviwo/inviwo/issues/238","id":421398133,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTM5ODEzMw==","user":{"login":"petersteneteg","id":3638222,"node_id":"MDQ6VXNlcjM2MzgyMjI=","avatar_url":"https://avatars3.githubusercontent.com/u/3638222?v=4","gravatar_id":"","url":"https://api.github.com/users/petersteneteg","html_url":"https://github.com/petersteneteg","followers_url":"https://api.github.com/users/petersteneteg/followers","following_url":"https://api.github.com/users/petersteneteg/following{/other_user}","gists_url":"https://api.github.com/users/petersteneteg/gists{/gist_id}","starred_url":"https://api.github.com/users/petersteneteg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petersteneteg/subscriptions","organizations_url":"https://api.github.com/users/petersteneteg/orgs","repos_url":"https://api.github.com/users/petersteneteg/repos","events_url":"https://api.github.com/users/petersteneteg/events{/privacy}","received_events_url":"https://api.github.com/users/petersteneteg/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T15:38:33Z","updated_at":"2018-09-14T15:38:33Z","author_association":"MEMBER","body":":( there should be a cmake option to disable sigar I think... \r\nunfortunately sigar is very old and not updated anymore..."}}
{"actor":{"display_login":"petersteneteg"}}