I used OS X because I had a MBA. When classes were over I decided to see how much work Linux would be on it given that Mac hardware and linux don't always get along. Basically everything worked out of the box though, minus a powersave script I ran.
egrep, gdb, and the few other things I fought last month in brew were not uncommon things. They were all things that were preinstalled in Ubuntu. Furthermore, I haven't had to build anything from source other than the projects I collab on in years.
I don't know why we're quibbling about this, it's generally accepted among Mac devs... it's a small price to pay if you like the OS X user experience. I haven't for some time now so the developer tools lacking and the competition of better linux DEs have tipped that scale. Trust me, I still love my MBA.
I've never had any issues with homebrew whatsoever. It's just a thin wrapper for build scripts, it's pretty easy to dig in and see what's going wrong.