{"issue":{"milestone":null,"user":{"id":1221194,"login":"zencuke","url":"https://api.github.com/users/zencuke","avatar_url":"https://secure.gravatar.com/avatar/9adfdfd72a020335ccbd1e0edfd3be0b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9adfdfd72a020335ccbd1e0edfd3be0b"},"title":"Brew doctor (xcode 4.2) gives bad advice","created_at":"2011-11-29T22:06:06Z","updated_at":"2011-12-18T15:22:56Z","labels":[],"state":"closed","id":2394243,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/mxcl/homebrew/issues/8878","closed_at":"2011-11-30T02:14:34Z","body":"Several comments:\r\n\r\n1) The new gcc message is a slight improvement over the previous untrue message about the absolute latest release of xcode 4.2 being out of date but would be better if there was the slightest hint about what a brew end user is supposed to do about it. The fact that xcode 4.2 is the culprit would be a useful start.\r\n\r\n2) So many things are failing with xcode 4.2 (I can't even 'brew install gist' to help report all the bugs) that there really should be warning about xcode 4.2 somewhere in the brew installation doc. I recently bought a new Mac with Lion installed, downloaded xCode from the App store then heard about homebrew as a convenient replacement for MacPorts. I immediately downloaded it and have had nothing but trouble since, first with MacPorts then with llvm. Because there was no warning my first reaction (and likely the reaction of others in my situation) was that brew was an overhyped piece of garbage. Clearly Apple is the actual bad guy in this scenario but it was hard work figuring that out. \r\n\r\n3) When giving an alarming message like \"Unless you know...\" the fix advice should work. Now brew doctior is warning me about something I have no clue how to fix. See log below. By the way I have never touched the homebrew core or git directly so I have no idea why I get this warning.\r\n\r\nbash-3.2$ brew doctor\r\nWe couldn't detect gcc 4.2.x. Some formulae require this compiler.\r\n\r\n==> You have uncommitted modifications to Homebrew's core.\r\nUnless you know what you are doing, you should: git reset --hard\r\n\r\nbash-3.2$ git reset --hard\r\nfatal: Failed to resolve 'HEAD' as a valid ref.\r\nbash-3.2$ ","number":8878,"url":"https://api.github.com/repos/mxcl/homebrew/issues/8878","comments":33,"assignee":null},"comment":{"user":{"id":857035,"login":"lpar","url":"https://api.github.com/users/lpar","avatar_url":"https://secure.gravatar.com/avatar/04d072ab8843cfd3d1714faf3a2a0fb2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"04d072ab8843cfd3d1714faf3a2a0fb2"},"created_at":"2011-12-18T15:22:56Z","updated_at":"2011-12-18T15:22:56Z","id":3195195,"body":"zencuke, if you look back you'll see that *you* are the one who started on the insulting ad hominem path. All I've done is discuss the behavior of the software, while you've repeatedly called me discourteous and ignorant, and now you're trying to start a pissing match over who has the best Unix credentials. So I'll consider taking social advice from you when you stop being a flaming hypocrite.","url":"https://api.github.com/repos/mxcl/homebrew/issues/comments/3195195"},"action":"created"}