klauern
2/18/2012 - 1:22 PM

command-line output of `brew install -v redis` and `brew doctor`

command-line output of brew install -v redis and brew doctor

airbook:local klauer$ brew install -v redis
==> Downloading http://redis.googlecode.com/files/redis-2.4.7.tar.gz
File already downloaded in /Users/klauer/Library/Caches/Homebrew
/usr/bin/tar xf /Users/klauer/Library/Caches/Homebrew/redis-2.4.7.tar.gz
==> make -C src
make -C src 
MAKE hiredis
    CC ae.o
    CC anet.o
    CC redis-benchmark.o
clang: warning: argument unused during compilation: '-rdynamic'
clang: warning: argument unused during compilation: '-ggdb'
clang: warning: argument unused during compilation: '-rdynamic'
clang: warning: argument unused during compilation: '-ggdb'
clang: warning: argument unused during compilation: '-rdynamic'
clang: warning: argument unused during compilation: '-ggdb'
/usr/bin/clang -c -Os -w -pipe -march=native -arch x86_64 -g -ggdb  net.c
clang: warning: argument unused during compilation: '-ggdb'
/usr/bin/clang -c -Os -w -pipe -march=native -arch x86_64 -g -ggdb  hiredis.c
clang: warning: argument unused during compilation: '-ggdb'
hiredis.c:700:31: error: second argument to 'va_arg' is of incomplete type 'void'
                    va_arg(ap,void);
                    ~~~~~~~~~~^~~~~
/usr/bin/../lib/clang/3.1/include/stdarg.h:35:50: note: expanded from macro 'va_arg'
#define va_arg(ap, type)    __builtin_va_arg(ap, type)
                                                 ^
1 error generated.
    CC sds.o
make[1]: *** [hiredis.o] Error 1
make: *** [dependencies] Error 2
make: *** Waiting for unfinished jobs....
clang: warning: argument unused during compilation: '-rdynamic'
clang: warning: argument unused during compilation: '-ggdb'
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/redis.rb#L18
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 4e9c4e3872bb0f4ff4b55af6ffc6e84fc2d9146b
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: quad-core 64-bit sandybridge
OS X: 10.7.3
Kernel Architecture: x86_64
Xcode: 4.3
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 3.1 build 318
MacPorts or Fink? false
X11 installed? true
System Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Which Perl:   /usr/bin/perl
Which Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.2/bin/python
Which Ruby:   /Users/klauer/.rvm/rubies/ruby-1.9.3-p125/bin/ruby
==> Build Flags
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native
CXXFLAGS: -Os -w -pipe -march=native
MAKEFLAGS: -j4

Error: Failed executing: make -C src 
If `brew doctor' does not help diagnose the issue, please report the bug:
    https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue


And then `brew doctor` doesn't tell me anything's wrong

airbook:local klauer$ brew doctor
Your system is raring to brew.
airbook:local klauer$