{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/14874","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/14874/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/14874/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/14874/events","html_url":"https://github.com/JuliaLang/julia/pull/14874","id":130123268,"number":14874,"title":"Remove nonstandard header sys/sysctl.h","user":{"login":"albap","id":16973276,"avatar_url":"https://avatars.githubusercontent.com/u/16973276?v=3","gravatar_id":"","url":"https://api.github.com/users/albap","html_url":"https://github.com/albap","followers_url":"https://api.github.com/users/albap/followers","following_url":"https://api.github.com/users/albap/following{/other_user}","gists_url":"https://api.github.com/users/albap/gists{/gist_id}","starred_url":"https://api.github.com/users/albap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albap/subscriptions","organizations_url":"https://api.github.com/users/albap/orgs","repos_url":"https://api.github.com/users/albap/repos","events_url":"https://api.github.com/users/albap/events{/privacy}","received_events_url":"https://api.github.com/users/albap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-31T12:50:20Z","updated_at":"2016-01-31T12:55:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/14874","html_url":"https://github.com/JuliaLang/julia/pull/14874","diff_url":"https://github.com/JuliaLang/julia/pull/14874.diff","patch_url":"https://github.com/JuliaLang/julia/pull/14874.patch"},"body":"This header prevents me from building Julia on musl libc.\r\n\r\n```\r\n/home/alba/julia/src/sys.c:16:24: fatal error: sys/sysctl.h: No such file or directory\r\ncompilation terminated.\r\nMakefile:94: recipe for target 'sys.o' failed\r\nmake[1]: *** [sys.o] Error 1\r\n```\r\n\r\nIf I remove it from julia/src/sys.c then it works.\r\n\r\nWhy is sys/sysctl.h needed in first place? I cannot find it in POSIX."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/177494144","html_url":"https://github.com/JuliaLang/julia/pull/14874#issuecomment-177494144","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/14874","id":177494144,"user":{"login":"tkelman","id":5934628,"avatar_url":"https://avatars.githubusercontent.com/u/5934628?v=3","gravatar_id":"","url":"https://api.github.com/users/tkelman","html_url":"https://github.com/tkelman","followers_url":"https://api.github.com/users/tkelman/followers","following_url":"https://api.github.com/users/tkelman/following{/other_user}","gists_url":"https://api.github.com/users/tkelman/gists{/gist_id}","starred_url":"https://api.github.com/users/tkelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkelman/subscriptions","organizations_url":"https://api.github.com/users/tkelman/orgs","repos_url":"https://api.github.com/users/tkelman/repos","events_url":"https://api.github.com/users/tkelman/events{/privacy}","received_events_url":"https://api.github.com/users/tkelman/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T12:55:24Z","updated_at":"2016-01-31T12:55:24Z","body":"Blame says https://github.com/albap/julia/commit/5733c5149c69ea5375e381b38bc21c67258e9c5e, there are still a few places we use `sysconf` or `sysctl` in this file. Let's see if deleting the include makes it through CI."}}