{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/50068","repository_url":"https://api.github.com/repos/Homebrew/homebrew","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/50068/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/50068/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/50068/events","html_url":"https://github.com/Homebrew/homebrew/issues/50068","id":140472848,"number":50068,"title":"Dependencies of requirements break `brew uses --recursive` and `brew deps` ","user":{"login":"ilovezfs","id":5268928,"avatar_url":"https://avatars.githubusercontent.com/u/5268928?v=3","gravatar_id":"","url":"https://api.github.com/users/ilovezfs","html_url":"https://github.com/ilovezfs","followers_url":"https://api.github.com/users/ilovezfs/followers","following_url":"https://api.github.com/users/ilovezfs/following{/other_user}","gists_url":"https://api.github.com/users/ilovezfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ilovezfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilovezfs/subscriptions","organizations_url":"https://api.github.com/users/ilovezfs/orgs","repos_url":"https://api.github.com/users/ilovezfs/repos","events_url":"https://api.github.com/users/ilovezfs/events{/privacy}","received_events_url":"https://api.github.com/users/ilovezfs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-03-13T10:26:11Z","updated_at":"2016-03-18T03:56:12Z","closed_at":null,"body":"brew uses --recursive broken:\r\n```\r\niMac-TMP:local joe$ git reset --hard origin/master\r\nHEAD is now at 4b30df2 superenv: fix make_jobs regular expression\r\niMac-TMP:local joe$ brew uses pkg-config|grep python\r\npython\r\npython3\r\niMac-TMP:local joe$ brew uses python|grep libxml2\r\nlibxml2\r\niMac-TMP:local joe$ brew uses --recursive pkg-config|grep libxml2\r\niMac-TMP:local joe$ perl -pi -e 's/:python/\"python\"/' `brew --prefix`/Library/Formula/libxml2.rb\r\niMac-TMP:local joe$ brew uses --recursive pkg-config|grep libxml2\r\nlibxml2\r\n```\r\nbrew deps broken:\r\n```\r\niMac-TMP:local joe$ git reset --hard origin/master\r\nHEAD is now at 4b30df2 superenv: fix make_jobs regular expression\r\niMac-TMP:local joe$ brew deps libxml2\r\npython\r\niMac-TMP:local joe$ brew deps python\r\nberkeley-db4\r\ngdbm\r\nhomebrew/dupes/tcl-tk\r\nicu4c\r\nmakedepend\r\nopenssl\r\npkg-config\r\nreadline\r\nsqlite\r\niMac-TMP:local joe$ perl -pi -e 's/:python/\"python\"/' `brew --prefix`/Library/Formula/libxml2.rb\r\niMac-TMP:local joe$ brew deps libxml2\r\nberkeley-db4\r\ngdbm\r\nhomebrew/dupes/tcl-tk\r\nicu4c\r\nmakedepend\r\nopenssl\r\npkg-config\r\npython\r\nreadline\r\nsqlite\r\niMac-TMP:local joe$ brew deps python\r\nberkeley-db4\r\ngdbm\r\nhomebrew/dupes/tcl-tk\r\nicu4c\r\nmakedepend\r\nopenssl\r\npkg-config\r\nreadline\r\nsqlite\r\niMac-TMP:local joe$\r\n```"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/198196378","html_url":"https://github.com/Homebrew/homebrew/issues/50068#issuecomment-198196378","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/50068","id":198196378,"user":{"login":"tdsmith","id":173889,"avatar_url":"https://avatars.githubusercontent.com/u/173889?v=3","gravatar_id":"","url":"https://api.github.com/users/tdsmith","html_url":"https://github.com/tdsmith","followers_url":"https://api.github.com/users/tdsmith/followers","following_url":"https://api.github.com/users/tdsmith/following{/other_user}","gists_url":"https://api.github.com/users/tdsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/tdsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdsmith/subscriptions","organizations_url":"https://api.github.com/users/tdsmith/orgs","repos_url":"https://api.github.com/users/tdsmith/repos","events_url":"https://api.github.com/users/tdsmith/events{/privacy}","received_events_url":"https://api.github.com/users/tdsmith/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T03:56:12Z","updated_at":"2016-03-18T03:56:12Z","body":"Should we have `--resolve-requirements` and `--no-resolve-requirements` behaviors? `--resolve-requirements` would (pessimistically) resolve all possible requirements to the Homebrew package which provides them and `--no-resolve-requirements` would (optimistically) assume that all possible requirements are already fulfilled by the system as it stands.\r\n\r\nOr maybe you could have `--resolve-requirements :all` vs `--resolve-requirements :none` vs `--resolve-requirements python`?\r\n\r\n(Incidentally libxml2's python bits probably build fine against any ol' Python!)"}}