{"action":"opened","issue":{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/866","repository_url":"https://api.github.com/repos/Linuxbrew/linuxbrew","labels_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/866/labels{/name}","comments_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/866/comments","events_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/866/events","html_url":"https://github.com/Linuxbrew/linuxbrew/issues/866","id":137118385,"number":866,"title":"Problems building mercurial for packer in sjackman/linuxbrew Docker container.","user":{"login":"hartzell","id":312978,"avatar_url":"https://avatars.githubusercontent.com/u/312978?v=3","gravatar_id":"","url":"https://api.github.com/users/hartzell","html_url":"https://github.com/hartzell","followers_url":"https://api.github.com/users/hartzell/followers","following_url":"https://api.github.com/users/hartzell/following{/other_user}","gists_url":"https://api.github.com/users/hartzell/gists{/gist_id}","starred_url":"https://api.github.com/users/hartzell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartzell/subscriptions","organizations_url":"https://api.github.com/users/hartzell/orgs","repos_url":"https://api.github.com/users/hartzell/repos","events_url":"https://api.github.com/users/hartzell/events{/privacy}","received_events_url":"https://api.github.com/users/hartzell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-29T00:46:13Z","updated_at":"2016-02-29T00:46:13Z","closed_at":null,"body":"# Please follow the general troubleshooting steps first:\r\n\r\n- [x] Ran `brew update` and retried your prior step?\r\n- [x] Ran `brew doctor`, fixed as many issues as possible and retried your prior step?\r\n- [x] If you're seeing permission errors tried running `sudo chown -R $(whoami) $(brew --prefix)`?\r\n\r\n---\r\n\r\nI'm trying to touch up the recipe for packer (I have another pull request open which balled a bunch of changes together, I'm redoing them 1 by 1).\r\n\r\nI'm working in an `sjackman/linuxbrew` Docker image.\r\n\r\nAfter touching up the OS value in the formula, `brew install packer` starts building mercurial, which dies for lack of Python (even though /usr/bin/python in the container is v2.7.6).  Here's the [gist-log](https://gist.github.com/anonymous/557593ffd579dad1f4f7) that the error message suggests.\r\n\r\nAfter I add a dependency on Python, I still have troubles.  The details are [in this gist](https://gist.github.com/hartzell/c6800ae8e9ee093c1f57).    In short, when I `build install packer` it complains about not being able to find ncurses in homebrew/dupes (which I have not yet tapped).  When I `brew install mercurial` directly, it taps it for me but then the installation fails.\r\n\r\nI could use some help understanding what's going wrong."}}