{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/2869","repository_url":"https://api.github.com/repos/Homebrew/homebrew-core","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/2869/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/2869/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/2869/events","html_url":"https://github.com/Homebrew/homebrew-core/issues/2869","id":164677384,"number":2869,"title":"libevent: [warn] kq_init: detected broken kqueue; not using.: Undefined error: 0","user":{"login":"deepj","id":33736,"avatar_url":"https://avatars.githubusercontent.com/u/33736?v=3","gravatar_id":"","url":"https://api.github.com/users/deepj","html_url":"https://github.com/deepj","followers_url":"https://api.github.com/users/deepj/followers","following_url":"https://api.github.com/users/deepj/following{/other_user}","gists_url":"https://api.github.com/users/deepj/gists{/gist_id}","starred_url":"https://api.github.com/users/deepj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepj/subscriptions","organizations_url":"https://api.github.com/users/deepj/orgs","repos_url":"https://api.github.com/users/deepj/repos","events_url":"https://api.github.com/users/deepj/events{/privacy}","received_events_url":"https://api.github.com/users/deepj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/homebrew-core/labels/10.12","name":"10.12","color":"fef2c0"},{"url":"https://api.github.com/repos/Homebrew/homebrew-core/labels/upstream%20issue","name":"upstream issue","color":"ff7722"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-09T17:40:52Z","updated_at":"2016-07-27T02:42:42Z","closed_at":null,"body":"I'm getting this warning on macOS Sierra PB1 when I run `crystal` compiler.  It probably prevents to run a simple Kemal app (it's web framework written in Crystal language). Apparently the problem lies in `libevent`. Tthe library would belong to https://github.com/Homebrew/homebrew-core/issues/1957 list.\r\n\r\nIt seems the fix is the following https://codereview.chromium.org/2134603002/diff/20001/base/third_party/libevent/kqueue.c (according to a guy from Crystal IRC).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/comments/235466172","html_url":"https://github.com/Homebrew/homebrew-core/issues/2869#issuecomment-235466172","issue_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/2869","id":235466172,"user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T02:42:42Z","updated_at":"2016-07-27T02:42:42Z","body":"Yeah, I can reproduce. The upstream fix doesn't seem completely sufficient, at least for `crystal-lang`.\r\n\r\nIt makes a significant difference though, at least on the surface. I don't know enough about `crystal-lang` to poke around deeper:\r\n```\r\n~> brew install libevent --HEAD && brew install crystal-lang -v\r\n\r\n==> make crystal release=true\r\nclang++ -c -o src/llvm/ext/llvm_ext.o src/llvm/ext/llvm_ext.cc `/usr/local/opt/llvm/bin/llvm-config --cxxflags`\r\nclang -fPIC   -c -o src/ext/sigfault.o src/ext/sigfault.c\r\nar -rcs src/ext/libcrystal.a src/ext/sigfault.o\r\n./bin/crystal build --release  -o .build/crystal src/compiler/crystal.cr -D without_openssl -D without_zlib\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\nDeprecation: The build command was renamed to compile and will be removed in a future version.\r\n...\r\n\r\n==> Summary\r\n🍺  /usr/local/Cellar/crystal-lang/0.18.7: 631 files, 34.3M, built in 4 minutes 49 seconds\r\n$ crystal\r\nUsage: crystal [command] [switches] [program file] [--] [arguments]\r\n```\r\n\r\nCompared to:\r\n```\r\n~> brew install libevent && brew install crystal-lang -v\r\n\r\n==> make crystal release=true\r\nclang++ -c -o src/llvm/ext/llvm_ext.o src/llvm/ext/llvm_ext.cc `/usr/local/opt/llvm/bin/llvm-config --cxxflags`\r\nclang -fPIC   -c -o src/ext/sigfault.o src/ext/sigfault.c\r\nar -rcs src/ext/libcrystal.a src/ext/sigfault.o\r\n./bin/crystal build --release  -o .build/crystal src/compiler/crystal.cr -D without_openssl -D without_zlib\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\nDeprecation: The build command was renamed to compile and will be removed in a future version.\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\n...\r\n\r\n==> Summary\r\n🍺  /usr/local/Cellar/crystal-lang/0.18.7: 631 files, 34.3M, built in 4 minutes 18 seconds\r\n$ crystal\r\n[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0\r\nUsage: crystal [command] [switches] [program file] [--] [arguments]\r\n```\r\n"}}
{"actor":{"display_login":"DomT4"}}