{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/20657","repository_url":"https://api.github.com/repos/Homebrew/homebrew-core","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/20657/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/20657/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/20657/events","html_url":"https://github.com/Homebrew/homebrew-core/issues/20657","id":273962188,"number":20657,"title":"brew upgrade failed with error message","user":{"login":"zhenyulin","id":3323196,"avatar_url":"https://avatars0.githubusercontent.com/u/3323196?v=4","gravatar_id":"","url":"https://api.github.com/users/zhenyulin","html_url":"https://github.com/zhenyulin","followers_url":"https://api.github.com/users/zhenyulin/followers","following_url":"https://api.github.com/users/zhenyulin/following{/other_user}","gists_url":"https://api.github.com/users/zhenyulin/gists{/gist_id}","starred_url":"https://api.github.com/users/zhenyulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhenyulin/subscriptions","organizations_url":"https://api.github.com/users/zhenyulin/orgs","repos_url":"https://api.github.com/users/zhenyulin/repos","events_url":"https://api.github.com/users/zhenyulin/events{/privacy}","received_events_url":"https://api.github.com/users/zhenyulin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-11-14T22:12:50Z","updated_at":"2017-11-16T13:24:46Z","closed_at":null,"author_association":"NONE","body":"- Tried `brew install node`/`brew upgrade node`, it works fine; \r\n\r\n- Ran `brew doctor`, get the following error message\r\n```\r\nUnexpected header files:\r\n  /usr/local/include/python2.7/greenlet/greenlet.h\r\n  /usr/local/include/python3.6m/greenlet/greenlet.h\r\nError: formulae require at least a URL\r\nPlease report this bug:\r\n  https://docs.brew.sh/Troubleshooting.html\r\n/usr/local/Homebrew/Library/Homebrew/formula.rb:237:in `determine_active_spec'\r\n/usr/local/Homebrew/Library/Homebrew/formula.rb:191:in `initialize'\r\n/usr/local/Homebrew/Library/Homebrew/formulary.rb:89:in `new'\r\n/usr/local/Homebrew/Library/Homebrew/formulary.rb:89:in `get_formula'\r\n/usr/local/Homebrew/Library/Homebrew/formulary.rb:280:in `factory'\r\n/usr/local/Homebrew/Library/Homebrew/formulary.rb:314:in `rescue in from_keg'\r\n/usr/local/Homebrew/Library/Homebrew/formulary.rb:310:in `from_keg'\r\n/usr/local/Homebrew/Library/Homebrew/formulary.rb:294:in `from_rack'\r\n/usr/local/Homebrew/Library/Homebrew/formula.rb:1384:in `block in installed'\r\n/usr/local/Homebrew/Library/Homebrew/formula.rb:1382:in `each'\r\n/usr/local/Homebrew/Library/Homebrew/formula.rb:1382:in `flat_map'\r\n/usr/local/Homebrew/Library/Homebrew/formula.rb:1382:in `installed'\r\n/usr/local/Homebrew/Library/Homebrew/diagnostic.rb:869:in `check_missing_deps'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/doctor.rb:43:in `block in doctor'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/doctor.rb:35:in `each'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/doctor.rb:35:in `doctor'\r\n/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'\r\n```\r\nIt looks like it is a brew/formula problem, rather than cask/tap problem.\r\n\r\n- `brew gist-logs cleanup` output below\r\n```\r\nError: No available formula with the name \"cleanup\"\r\n```\r\n\r\n- `brew config` output is as below\r\n```\r\nHOMEBREW_VERSION: 1.3.7\r\nORIGIN: https://github.com/Homebrew/brew.git\r\nHEAD: 441c212f2dd70f053ee21eac8398c5fe5dfd0551\r\nLast commit: 4 days ago\r\nCore tap ORIGIN: https://github.com/Homebrew/homebrew-core\r\nCore tap HEAD: 8c40e71a15fe779a27d059823f1d9cd00a5f70c3\r\nCore tap last commit: 2 hours ago\r\nHOMEBREW_PREFIX: /usr/local\r\nHOMEBREW_GIT_CONFIG_FILE: /usr/local/Homebrew/.git/config\r\nCPU: octa-core 64-bit ivybridge\r\nHomebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby\r\nGCC-4.2: build 5666\r\nClang: 9.0 build 900\r\nGit: 2.15.0 => /usr/local/bin/git\r\nCurl: 7.54.0 => /usr/bin/curl\r\nPerl: /usr/local/bin/perl => /usr/local/Cellar/perl/5.26.1/bin/perl\r\nPython: /usr/local/opt/python/libexec/bin/python => /usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/bin/python2.7\r\nRuby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.4.2_1/bin/ruby\r\nJava: 1.8.0_111\r\nmacOS: 10.13.1-x86_64\r\nXcode: 9.1\r\nCLT: N/A\r\nX11: 2.7.11 => /opt/X11\r\n```\r\n\r\nrecently just upgraded to macOS 10.13.1, got the error message when firstly run `brew update`, and run `brew update` shows `All up-to-date.`, while run `brew upgrade` fails continuously with the above error message."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/comments/344921500","html_url":"https://github.com/Homebrew/homebrew-core/issues/20657#issuecomment-344921500","issue_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/20657","id":344921500,"user":{"login":"zhenyulin","id":3323196,"avatar_url":"https://avatars0.githubusercontent.com/u/3323196?v=4","gravatar_id":"","url":"https://api.github.com/users/zhenyulin","html_url":"https://github.com/zhenyulin","followers_url":"https://api.github.com/users/zhenyulin/followers","following_url":"https://api.github.com/users/zhenyulin/following{/other_user}","gists_url":"https://api.github.com/users/zhenyulin/gists{/gist_id}","starred_url":"https://api.github.com/users/zhenyulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhenyulin/subscriptions","organizations_url":"https://api.github.com/users/zhenyulin/orgs","repos_url":"https://api.github.com/users/zhenyulin/repos","events_url":"https://api.github.com/users/zhenyulin/events{/privacy}","received_events_url":"https://api.github.com/users/zhenyulin/received_events","type":"User","site_admin":false},"created_at":"2017-11-16T13:24:46Z","updated_at":"2017-11-16T13:24:46Z","author_association":"NONE","body":"@ilovezfs what do you think would be the cause of the current errors?"}}
{"actor":{"display_login":"zhenyulin"}}