mxcl/homebrew — Issue #10623: streamripper 1.64.6 build failure with Lion/Xcode 4.3
Author: jwhitley
Created: 2012-03-01 19:05:02+00:00
State: open

[Gist of build failure](https://gist.github.com/1952215)

The basic symptom appears to be that the streamripper build fails when it can't find `mad.h`, yet `mad.h` is clearly present in Homebrew's include directory. Digging in deeper, it looks like the `-isystem /path/to/hb/include` in CPPFLAGS in brew's environment is probably being ignored by clang. At least from clang's man page, the `-isystem` gcc-ism isn't documented. As such, this build failure appears to be a harbinger of a more widespread compatibility problem with the clang frontend.

FWIW, I tried forcing `ENV.llvm` in the formula, but essentially the same failures occured with llvm-gcc.