mxcl/homebrew — Issue #10299: 10.7.3 xcode 4.3 & redis
Author: tspore
Created: 2012-02-18 08:08:28+00:00
State: open

Just doing a fresh install, and with the developer directory now phased out, I am not able to get redis installed. Any thoughts?

BREW DOCTOR:
==> /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. This is an issue if you eg. brew installed Python.

Consider editing your .bashrc to put:
/usr/local/bin
ahead of /usr/bin in your PATH.

Command line stuff:
==> Downloading http://redis.googlecode.com/files/redis-2.4.7.tar.gz
File already downloaded in /Users/tspore/Library/Caches/Homebrew
==> make -C src
MAKE hiredis
CC ae.o
CC anet.o
CC redis-benchmark.o
CC sds.o
CC adlist.o
CC zmalloc.o
CC redis-cli.o
clang: warning: clangargument unused during compilation: '-rdynamic':
clangclang: clangwarning: argument unused during compilation: '-ggdb': warning:
argument unused during compilation: '-rdynamic'
: warning: clang: warning: argument unused during compilation: '-ggdb'
argument unused during compilation: '-rdynamic'warning: argument unused during compilation: '-rdynamic'

clang: warning: argument unused during compilation: '-ggdb'
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'
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'
CC release.o
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 hiredis.c
clang: warning: argument unused during compilation: '-ggdb'
CC lzf_c.o
CC redis-check-dump.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'
CC lzf_d.o
clang: warning: argument unused during compilation: '-rdynamic'
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.
make[1]: *** [hiredis.o] Error 1
make: *** [dependencies] Error 2
make: *** Waiting for unfinished jobs....
CC redis-check-aof.o
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: (none)
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: 8-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/bin/python
Which Ruby: /Users/tspore/.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: -j8

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