{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/brew/issues/367","repository_url":"https://api.github.com/repos/Homebrew/brew","labels_url":"https://api.github.com/repos/Homebrew/brew/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/367/comments","events_url":"https://api.github.com/repos/Homebrew/brew/issues/367/events","html_url":"https://github.com/Homebrew/brew/issues/367","id":160460907,"number":367,"title":"error / audit errors after `brew update`","user":{"login":"adamv","id":3566,"avatar_url":"https://avatars.githubusercontent.com/u/3566?v=3","gravatar_id":"","url":"https://api.github.com/users/adamv","html_url":"https://github.com/adamv","followers_url":"https://api.github.com/users/adamv/followers","following_url":"https://api.github.com/users/adamv/following{/other_user}","gists_url":"https://api.github.com/users/adamv/gists{/gist_id}","starred_url":"https://api.github.com/users/adamv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamv/subscriptions","organizations_url":"https://api.github.com/users/adamv/orgs","repos_url":"https://api.github.com/users/adamv/repos","events_url":"https://api.github.com/users/adamv/events{/privacy}","received_events_url":"https://api.github.com/users/adamv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-15T16:05:17Z","updated_at":"2016-06-15T22:52:46Z","closed_at":null,"body":"When doing a `brew update` I got a warning about `:perl` being unsupported. Running a `brew audit` gives me:\r\n\r\n```\r\n$ brew audit\r\nError: Failed to import: /Users/adamv/source/homebrew/Library/Taps/homebrew/homebrew-core/Formula/asciinema2gif.rb\r\nUnsupported special dependency :perl\r\nError: cannot load such file -- language/node\r\nPlease report this bug:\r\n    https://git.io/brew-troubleshooting\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'\r\n/Users/adamv/source/homebrew/Library/Taps/homebrew/homebrew-core/Formula/autocode.rb:1:in `load_formula'\r\n/Users/adamv/source/homebrew/Library/Homebrew/formulary.rb:21:in `module_eval'\r\n/Users/adamv/source/homebrew/Library/Homebrew/formulary.rb:21:in `load_formula'\r\n/Users/adamv/source/homebrew/Library/Homebrew/formulary.rb:38:in `load_formula_from_path'\r\n/Users/adamv/source/homebrew/Library/Homebrew/formulary.rb:87:in `load_file'\r\n/Users/adamv/source/homebrew/Library/Homebrew/formulary.rb:78:in `klass'\r\n/Users/adamv/source/homebrew/Library/Homebrew/formulary.rb:74:in `get_formula'\r\n/Users/adamv/source/homebrew/Library/Homebrew/formulary.rb:211:in `factory'\r\n/Users/adamv/source/homebrew/Library/Homebrew/formula.rb:1112:in `block in each'\r\n/Users/adamv/source/homebrew/Library/Homebrew/formula.rb:1110:in `each'\r\n/Users/adamv/source/homebrew/Library/Homebrew/formula.rb:1110:in `each'\r\n/Users/adamv/source/homebrew/Library/Homebrew/cmd/audit.rb:70:in `audit'\r\n/Users/adamv/source/homebrew/Library/brew.rb:81:in `<main>'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Homebrew/brew/issues/comments/226343447","html_url":"https://github.com/Homebrew/brew/issues/367#issuecomment-226343447","issue_url":"https://api.github.com/repos/Homebrew/brew/issues/367","id":226343447,"user":{"login":"UniqMartin","id":11892150,"avatar_url":"https://avatars.githubusercontent.com/u/11892150?v=3","gravatar_id":"","url":"https://api.github.com/users/UniqMartin","html_url":"https://github.com/UniqMartin","followers_url":"https://api.github.com/users/UniqMartin/followers","following_url":"https://api.github.com/users/UniqMartin/following{/other_user}","gists_url":"https://api.github.com/users/UniqMartin/gists{/gist_id}","starred_url":"https://api.github.com/users/UniqMartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UniqMartin/subscriptions","organizations_url":"https://api.github.com/users/UniqMartin/orgs","repos_url":"https://api.github.com/users/UniqMartin/repos","events_url":"https://api.github.com/users/UniqMartin/events{/privacy}","received_events_url":"https://api.github.com/users/UniqMartin/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T22:52:46Z","updated_at":"2016-06-15T22:52:46Z","body":"> ```\r\n> ORIGIN: https://github.com/Homebrew/brew.git\r\n> HEAD: c3c233dd809f9c358ba8aa5268b64c335202bc56\r\n> Last commit: 8 weeks ago\r\n> ```\r\n\r\nThis is the problem. For whatever reason you Homebrew repository (the one with the package manager inside) is stuck in the past, while the core forumlae repository has advanced as usual. This is problematic because recent changes to formulae use features added to the package manager.\r\n\r\nI suspect you have `HOMEBREW_DEVELOPER` set in your environment and checked out the main repository to a non-`master` branch. Under these conditions, `brew update` will update the `master` branch, but afterwards will restore your working directory to the previous state (original branch and local modifications, if any). This should fix your problem:\r\n\r\n```\r\ncd $(brew --repository)\r\ngit checkout master\r\n```"}}
{"actor":{"display_login":"UniqMartin"}}