{"action":"created","issue":{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/984","repository_url":"https://api.github.com/repos/Linuxbrew/linuxbrew","labels_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/984/labels{/name}","comments_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/984/comments","events_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/984/events","html_url":"https://github.com/Linuxbrew/linuxbrew/pull/984","id":143422264,"number":984,"title":"zsh: Depends on ncurses for Linuxbrew","user":{"login":"rwhogg","id":2373856,"avatar_url":"https://avatars.githubusercontent.com/u/2373856?v=3","gravatar_id":"","url":"https://api.github.com/users/rwhogg","html_url":"https://github.com/rwhogg","followers_url":"https://api.github.com/users/rwhogg/followers","following_url":"https://api.github.com/users/rwhogg/following{/other_user}","gists_url":"https://api.github.com/users/rwhogg/gists{/gist_id}","starred_url":"https://api.github.com/users/rwhogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwhogg/subscriptions","organizations_url":"https://api.github.com/users/rwhogg/orgs","repos_url":"https://api.github.com/users/rwhogg/repos","events_url":"https://api.github.com/users/rwhogg/events{/privacy}","received_events_url":"https://api.github.com/users/rwhogg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/labels/build-error","name":"build-error","color":"e11d21"},{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/labels/Dependency","name":"Dependency","color":"fef2c0"},{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"rwhogg","id":2373856,"avatar_url":"https://avatars.githubusercontent.com/u/2373856?v=3","gravatar_id":"","url":"https://api.github.com/users/rwhogg","html_url":"https://github.com/rwhogg","followers_url":"https://api.github.com/users/rwhogg/followers","following_url":"https://api.github.com/users/rwhogg/following{/other_user}","gists_url":"https://api.github.com/users/rwhogg/gists{/gist_id}","starred_url":"https://api.github.com/users/rwhogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwhogg/subscriptions","organizations_url":"https://api.github.com/users/rwhogg/orgs","repos_url":"https://api.github.com/users/rwhogg/repos","events_url":"https://api.github.com/users/rwhogg/events{/privacy}","received_events_url":"https://api.github.com/users/rwhogg/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-03-25T04:42:45Z","updated_at":"2016-03-25T06:45:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/pulls/984","html_url":"https://github.com/Linuxbrew/linuxbrew/pull/984","diff_url":"https://github.com/Linuxbrew/linuxbrew/pull/984.diff","patch_url":"https://github.com/Linuxbrew/linuxbrew/pull/984.patch"},"body":"`zsh` depends on `ncurses`.\r\n\r\n```\r\nconfigure: error: in `/home/bob/tmp/zsh20160324-12221-1iabe4a/zsh-5.2':\r\nconfigure: error: \"No terminal handling library was found on your system.\r\nThis is probably a library called 'curses' or 'ncurses'.  You may\r\nneed to install a package called 'curses-devel' or 'ncurses-devel' on your\r\nsystem.\"\r\nSee `config.log' for more details\r\n```\r\n\r\n- [x] Have you followed the guidelines in our [Contributing](https://github.com/Linuxbrew/linuxbrew/blob/master/.github/CONTRIBUTING.md) document?\r\n- [x] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/Linuxbrew/linuxbrew/pulls) for the same update/change?\r\n- [x] Have you included a log of the failed build without your patch using `brew gist-logs <formula>`?\r\n- [ ] Does your submission pass\r\n`brew audit --strict <formula>` (where `<formula>` is the name of the formula you're submitting)?\r\n- [x] Have you built your formula locally prior to submission with `brew install <formula>`?\r\n\r\nThere are unresolved issues building `ncurses` on my machine at the moment; I'm going to leave this PR open until those are resolved.\r\n\r\nSimilarly, `zsh` doesn't pass a strict audit, but that should be fixed upstream."},"comment":{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/comments/201172353","html_url":"https://github.com/Linuxbrew/linuxbrew/pull/984#issuecomment-201172353","issue_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/984","id":201172353,"user":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T06:45:29Z","updated_at":"2016-03-25T06:45:29Z","body":"Ach, that's totally my fault for not giving enough log context. Sorry, Bob.\r\n\r\nIt was `pcre` that failed to build, not `zlib`. So you can remove the `zlib` dependency from here, and add it to `pcre`.\r\n\r\n```\r\n** Cannot --enable-pcregrep-libz because zlib.h was not found\r\n==> Formula\r\nPath: /home/linuxbrew/.linuxbrew/Library/Formula/pcre.rb\r\n```"}}