mxcl/homebrew — Issue #9242: brew install / brew upgrade warns me even when I have correct arguments
Author: adammw
Created: 2011-12-23 04:26:15+00:00
State: open

Example output:

$ brew upgrade ffmpeg --use-clang
==> Upgrading ffmpeg
Warning: Building with LLVM, but this formula is reported to not work with LLVM:

Undefined symbols when linking libavfilter

We are continuing anyway so if the build succeeds, please open a ticket with
the following information: 2335-10.7. So
that we can update the formula accordingly. Thanks!

If it doesn't work you can try: brew install --use-clang

==> Downloading http://ffmpeg.org/releases/ffmpeg-0.9.tar.bz2
File already downloaded in /Users/adam/Library/Caches/Homebrew
==> ./configure --prefix=/usr/local/Cellar/ffmpeg/0.9 --enable-shared --enable-g
==> make install
/usr/local/Cellar/ffmpeg/0.9: 99 files, 54M, built in 2.4 minutes

I don't understand why the warning warns me when I have done what it asked me to do, (especially the "Building with LLVM, but this formula is reported to not work with LLVM" part). Shouldn't this be suppressed unless there is an error when using recommended arguments?